yarn-workspaces-foreach
v0.2.0
Published
yarn workspaces foreach
Downloads
724
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 buildforeach(command, options?)
workspaces-foreach <command...> [options]
Options:
--parallel/-prun commands in parallel--topological/-trun commands ordered by dependency graph--jobs <count>/-j <count>number of parallel jobs to run--includeworkspaces to include--excludeworkspaces to exclude
