yarn workspace <package1> add <package2>
Use -W
to install for the entire workspace:
yarn add -D -W <package>
By specifying the version here, Yarn will install the local dependency that hasn’t been published to npm yet.
yarn workspace <package1> add <package2@0.1.0>
Use our plop generator:
yarn generate package
yarn generate pattern