yarn workspaces list
List all available workspaces.
Usage
$> yarn workspaces list
Options
Definition |
Description |
---|---|
|
Also return the cross-dependencies between workspaces |
|
Format the output as an NDJSON stream |
Details
This command will print the list of all workspaces in the project. If both the
-v,--verbose
and --json
options are set, Yarn will also return the
cross-dependencies between each workspaces (useful when you wish to
automatically generate Buck / Bazel rules).