React-monorepo-boilerplate frontend application constists of couple packages in a single monorepo.
@rmb/ui
, @rmb/data
, @rmb/app
To run npm scripts of some package, you can use:
yarn ui ...
yarn data ...
yarn app ...
yarn && yarn lerna bootstrap
yarn lerna add module-1 --scope=module-2
Install module-1 to module-2yarn lerna add module-1 --scope=module-2 --dev
Install module-1 to module-2 in devDependenciesyarn lerna add module-1
Install module-1 in all modules except module-1yarn lerna a add babel-core
Install babel-core in all modules
yarn lerna exec --scope module-2 yarn remove module-1
Remove module-1 from module-2