Skip to content

Commit

Permalink
docs: run the comand for directory workspaces (#5875)
Browse files Browse the repository at this point in the history
  • Loading branch information
1aron committed Nov 22, 2022
1 parent dc8e6bd commit 8043ac9
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 8043ac9

Please sign in to comment.