Skip to content

Commit

Permalink
chore: Cleaner naming of tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
vitch committed May 19, 2023
1 parent c004493 commit 17638ae
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ You can now visit:
If you don't need to run both apps you can save a little of your local
compute by running:

* `start:only:docs` and visiting http://localhost:4201/
* `start:only:tests` and visiting http://localhost:4202/tests
* `start:docs-app` and visiting http://localhost:4201/
* `start:test-app` and visiting http://localhost:4202/tests

These commands will still build and watch the `packages/*` and sync changes
to the running app. Don't run both `only` tasks together as this will cause
Expand Down
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,17 @@
"scripts": {
"release": "changeset publish",
"build:docs": "pnpm turbo build --filter docs-app",
"start": "concurrently 'npm:start:*(!only)' --names 'start:'",
"start:docs": "pnpm --filter docs-app start",
"start:tests": "pnpm --filter test-app start",
"start:addon": "pnpm --filter './packages/*' start --no-watch.clearScreen",
"start:only:docs": "pnpm --stream --parallel --filter docs-app... start",
"start:only:tests": "pnpm --stream --parallel --filter test-app... start",
"start": "concurrently 'npm:_start:*' --names '_start:'",
"start:docs-app": "pnpm --stream --parallel --filter docs-app... start",
"start:test-app": "pnpm --stream --parallel --filter test-app... start",
"build": "pnpm turbo build",
"test": "pnpm turbo --filter test-app test",
"test:docs": "pnpm turbo --filter docs-app test",
"lint": "pnpm turbo lint",
"lint:fix": "pnpm --filter '*' lint:fix"
"lint:fix": "pnpm --filter '*' lint:fix",
"_start:docs": "pnpm --filter docs-app start",
"_start:tests": "pnpm --filter test-app start",
"_start:addon": "pnpm --filter './packages/*' start --no-watch.clearScreen"
},
"devDependencies": {
"@changesets/changelog-github": "^0.4.8",
Expand Down

0 comments on commit 17638ae

Please sign in to comment.