Javascript monorepo project starter.
$ git clone https://github.com/rjoydip/monorepo-starter.git
$ cd monorepo-starter
$ npm install
Inside monorepo.
monorepo-starter
└── packages
├── cli # Project CLI
└── core # Core modules
Existing npm scripts.
- add Add a dependency to matched packages
- boot Link local packages together and install remaining package dependencies
- lerna:test
- clean Remove the node_modules directory from all packages
- ls List local packages
- link Symlink together all packages that are dependencies of each other
- global Install
monorepo-starter
CLI globally in local machine - cleanup Remove the
node_modules
directory from all packages and re-install them - test Used Jest Run an npm script in each package that contains that script
- lint Used prettier and eslint for linting utility
$ npm run global
$ monorepo-starter
Welcome to lerna javascript monorepo project starter
MIT © Joydip Roy