diff --git a/packages/plugin-workspace-tools/sources/commands/foreach.ts b/packages/plugin-workspace-tools/sources/commands/foreach.ts index 946185c75357..7a1e84fd6347 100644 --- a/packages/plugin-workspace-tools/sources/commands/foreach.ts +++ b/packages/plugin-workspace-tools/sources/commands/foreach.ts @@ -59,6 +59,10 @@ export default class WorkspacesForeachCommand extends BaseCommand { [ `Run the build script on several packages and all their dependencies, building dependencies first`, `yarn workspaces foreach -Rpt --from '{workspace-a,workspace-b}' run build`, + ], + [ + `Run the build script in parallel only on a specific set of packages`, + `yarn workspaces foreach -Ap --include '{workspace-a,workspace-b}' run build`, ]], });