CLI utility to help execute yarn commands in every workspace in a project
Install via yarn
$> yarn add yarn-all-workspaces
yarn all-workspaces [--parallel|-p] <command-to-run>
Execute yarn run clean
in each workspace sequentially
$> yarn all-workspaces run clean
Execute yarn run build
in each workspace in parallel.
$> yarn all-workspaces --parallel run build
Additional arguments will be passed to the yarn invocation in each workspace.
$> yarn all-workspaces run build --watch