Skip to content

Commit

Permalink
Docs: Run the command for directory workspaces
Browse files Browse the repository at this point in the history
  • Loading branch information
1aron committed Nov 21, 2022
1 parent 93bd6d1 commit a0b6659
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/lib/content/using-npm/workspaces.md
Expand Up @@ -176,6 +176,11 @@ command-line in order to target multiple workspaces, e.g:
npm run test --workspace=a --workspace=b
```

Or run the command for each workspace within the 'packages' folder:
```
npm run test --workspace=packages
```

It's also possible to use the `workspaces` (plural) configuration option to
enable the same behavior but running that command in the context of **all**
configured workspaces. e.g:
Expand Down

0 comments on commit a0b6659

Please sign in to comment.