W3cubDocs

/Yarn

yarn workspace

Run a command within the specified workspace.

Usage

Examples

Add a package to a single workspace :

Run build script on a single workspace :

Details

This command will run a given sub-command on a single workspace.

© 2016–present Yarn Contributors
Licensed under the BSD License.
https://yarnpkg.com/cli/workspace