This is a awesome boilerplate for a monorepository in Typescript using LernaJS.
The goal is to solve quickly these points:
- Have a templater for generating a new package inside the monorepository (zero thinkings, only coding)
- Have a linter that checks your code
- Have a standard for your commits
- Have a fast builder for your packages
- Have an omogenous documentation
- Have a base for Docker
- Have a tool for testing
- Have a common configurations (jest, tsup, etc) shared between other packages
- Have debugger configurated for VS code
Let's fork and try it! Any suggest is welcome!
Only docker.
- Docker
- Monorepository handler: LernaJS
- Package templater: Plop
- Linter: TS-standard
- Commit checker: Husky + Conventional commit
- Test: Jest
- Build: Tsup
- Doc: Typedoc
This package contains shared configurations between the other packages inside the monorepository.
Before start to use the commands make sure give the following permit
chmod +x dc-run.sh
./dc-run npm run setup
./dc-run npm run plop library
./dc-run npm run build
./dc-run npm run test
./dc-run npm run gen-doc