Warning: pre-alpha code!
yarn
yarn bootstrap
yarn 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.json
entry
Because of a lerna bug, it's not possible to prune yarn.lock
programmatically, so regenerate it manually:
rm -f packages/<SUBPACKAGE>/yarn.lock
yarn clean --scope SUBPACKAGE
yarn bootstrap