yarn-workspaces-foreach
v0.2.0
Published
yarn workspaces foreach
Downloads
5,550
Readme
yarn-workspaces-foreach
Run a command in each workspace.
const { foreach } = require('yarn-workspaces-foreach');
await foreach('yarn build', { parallel: true, topological: true });
$ workspaces-foreach -pt yarn build
foreach(command, options?)
workspaces-foreach <command...> [options]
Options:
--parallel
/-p
run commands in parallel--topological
/-t
run commands ordered by dependency graph--jobs <count>
/-j <count>
number of parallel jobs to run--include
workspaces to include--exclude
workspaces to exclude