Skip to content

Commit

Permalink
Restore previous 'yarn prepare' functionality
Browse files Browse the repository at this point in the history
Signed-off-by: Marc Dumais <[email protected]>
  • Loading branch information
marcdumais-work committed Sep 19, 2023
1 parent 859367b commit ffe1b7f
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
restore-keys: |
${{ runner.os }}-yarn-
- run: yarn --frozen-lockfile && yarn all
- run: yarn --frozen-lockfile

- run: yarn test
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-next.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
registry-url: 'https://registry.npmjs.org'
# Defaults to the user or organization that owns the workflow file
scope: '@theia-ide'
- run: yarn && yarn all
- run: yarn
- run: yarn publish:next
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
2 changes: 1 addition & 1 deletion .gitpod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ tasks:
yarn download:server
- init: >
yarn download:sample-traces &&
yarn && yarn all
yarn
command: >
export GITPOD_URL=$(gp url 8080) &&
export TRACE_SERVER_URL=$(echo "$GITPOD_URL/tsp/api") &&
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ Here is the step in order to build the trace viewer
3. Now you are ready to build the application:

```bash
yarn && yarn all # install npm dependencies and build all
yarn # install npm dependencies and build all
```

**Note for some Debian-based machines**: On some distributions, there are 2 yarn commands. If you get an error message saying **ERROR: There are no scenarios; must have at least one.**, you are using the wrong yarn. See [yarn issue #2821][yarn-issue-2821].
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"private": true,
"scripts": {
"all": "yarn -s clean && yarn -s tsref && yarn -s tsbuild && yarn -s prepare:examples && yarn -s download:plugins",
"prepare": "yarn -s clean && yarn -s tsref && yarn -s tsbuild && yarn -s prepare:examples && yarn -s download:plugins",
"tsref": "node scripts/typescript-references.js",
"tsbuild": "tsc -b",
"tswatch": "tsc -b -w",
Expand Down

0 comments on commit ffe1b7f

Please sign in to comment.