1.0.0 • Published 8 years agoCLI
yarn-all-workspaces
Licence
MIT
Version
1.0.0
Deps
2
Vulns
0
Weekly
0
yarn-all-workspaces
CLI utility to help execute yarn commands in every workspace in a project
Installation
Install via yarn
__CODE_BLOCK_0__gt; yarn add yarn-all-workspaces
Usage
yarn all-workspaces [--parallel|-p] <command-to-run>
Example 1
Execute yarn run clean in each workspace sequentially
__CODE_BLOCK_1__gt; yarn all-workspaces run clean
Example 2
Execute yarn run build in each workspace in parallel.
__CODE_BLOCK_2__gt; yarn all-workspaces --parallel run build
Example 3
Additional arguments will be passed to the yarn invocation in each workspace.
__CODE_BLOCK_3__gt; yarn all-workspaces run build --watch