A template for monorepo projects
The word monorepo is a combination between “mono”, as in the Greek word mónos (in translation, alone) and an abbreviation of the word repository. A simple concept if taken verbatim: one lonely repository. The domain is software engineering so we’re referring to a home for source code, multimedia assets, binary files, and so on. But this definition is just the tip of the iceberg, since a monorepo in practice is so much more.
The monorepo structure is managed with Lerna
- Master - with default configuration
- With Rollup - with Rollup configuration for bundling files
- Eslint - For linting code
- Typescript - As programming language
- Husky - For running pre-commit hooks
- Jest - For testing
- Prettier - For writing neat code
- Commitlint - For linting commit messages
To start working with a project built with this template
Run this command to bootstrap all the packages and install the dependencies
yarn bootstrap
Run this command to run all test
yarn run test
View the lerna docs to see other commands
This template is maintained by Renli
Licence MIT