0.1.2 • Published 5 years ago
@chruit/monorepo-starter v0.1.2
Monorepo Starter
install
yarn install # lerna bootstrap --npm-client yarn --use-workspacesclean
lerna clean # clean all the node_modules
yarn workspaces run clean # clean the node_modules under each packageadd/remove dependency
yarn workspace packageA remove lodash # only remove lodash from packageA
yarn workspaces remove lodash # remove lodash from all packages
yarn remove -W -D typescript # remove typescript from rootbuild
lerna run --stream --sort buildversion bump
lerna version --conventional-commits # auto version bump by conventional-commits
lerna version # manual version bumppublish
lerna publish from-git # publish to npmcreate package
lerna create packageA -y # create packageA