obfu5c8 / yarn-all-workspaces

CLI utility for executing yarn commands on all workspaces in a project
0 stars 0 forks source link

yarn-all-workspaces

CLI utility to help execute yarn commands in every workspace in a project

Greenkeeper badge CircleCI


Installation

Install via yarn

$> yarn add yarn-all-workspaces

Usage

yarn all-workspaces [--parallel|-p] <command-to-run>

Example 1

Execute yarn run clean in each workspace sequentially

$> yarn all-workspaces run clean

Example 2

Execute yarn run build in each workspace in parallel.

$> yarn all-workspaces --parallel run build

Example 3

Additional arguments will be passed to the yarn invocation in each workspace.

$> yarn all-workspaces run build --watch