yarn workspace
run a command within the specified workspace
yarn workspace <workspaceName> <commandName> ...
Examples
Section titled “Examples”Add a package to a single workspace :
yarn workspace components add -D react
Run build script on a single workspace :
yarn workspace components run build
Details
Section titled “Details”This command will run a given sub-command on a single workspace.