Skip to content

Commit a0b6659

Browse files
authored
Docs: Run the command for directory workspaces
1 parent 93bd6d1 commit a0b6659

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

docs/lib/content/using-npm/workspaces.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,11 @@ command-line in order to target multiple workspaces, e.g:
176176
npm run test --workspace=a --workspace=b
177177
```
178178

179+
Or run the command for each workspace within the 'packages' folder:
180+
```
181+
npm run test --workspace=packages
182+
```
183+
179184
It's also possible to use the `workspaces` (plural) configuration option to
180185
enable the same behavior but running that command in the context of **all**
181186
configured workspaces. e.g:

0 commit comments

Comments
 (0)