yarn workspaces list
List all available workspaces.
Usage
$> yarn workspaces list [-v,--verbose] [--json]
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).
If the --json
flag is set the output will follow a JSON-stream output also
known as NDJSON (https://github.com/ndjson/ndjson-spec).