Monorepa based on lerna and yarn workspace
npm install rimraf lerna -g
yarn bootstrap
- add
.env
yarn bootstrap
deployyarn ls
list packagesyarn dev
run development on all packagesyarn dev --scope packageName
run development on define packageyarn clean
clean dependencies packages (does not touch root)
cp ./package/sample ./package/newPackage
- edit name
./package/newPackage/package.json
yarn bootstrap
yarn dev --scope newPackage
node
yarn
typescript
lerna
parsel-bundler
react
react-dom