Warning: pre-alpha code!
yarnyarn bootstrapyarn start
In addition to compiling each package in watch mode, this will also spin up an example app on http://localhost:3000/.
yarn lerna add <DEPENDENCY> --scope <SUBPACKAGE>
- Delete the relevant
package.jsonentry
Because of a lerna bug, it's not possible to prune yarn.lock programmatically, so regenerate it manually:
rm -f packages/<SUBPACKAGE>/yarn.lockyarn clean --scope SUBPACKAGEyarn bootstrap