Running-Yarn-Commands-In-Workspaces

Running Yarn Commands In Workspaces

Source

When running yarn commands you can actually run these in specific workspaces.

For exmple if you want to add react and react-dom to one specific workspace you can run

yarn workspace awesome-package add react react-dom --dev

This will install those two packages in your packages/awesome-package.json.

#JavaScript
#Yarn