Skip to content

Commit 229e4d1

Browse files
committed
docs(workspaces): Document --include use case
1 parent 666aa3a commit 229e4d1

File tree

1 file changed

+4
-0
lines changed
  • packages/plugin-workspace-tools/sources/commands

1 file changed

+4
-0
lines changed

packages/plugin-workspace-tools/sources/commands/foreach.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,10 @@ export default class WorkspacesForeachCommand extends BaseCommand {
5959
[
6060
`Run the build script on several packages and all their dependencies, building dependencies first`,
6161
`yarn workspaces foreach -Rpt --from '{workspace-a,workspace-b}' run build`,
62+
],
63+
[
64+
`Run the build script only on a specific set of packages in parallel`,
65+
`yarn workspaces foreach -Ap --include '{workspace-a,workspace-b}' run build`,
6266
]],
6367
});
6468

0 commit comments

Comments
 (0)