My lerna mono-repo template
git clone git@github.com:bingtimren/lerna-repo-template.git
mv lerna-repo-template name-of-new-repo
cd name-of-new-repo
rm -fr .git
git init .
Review the files, make appropriate changes, then create first commit.
- uses zero-config "opinionated tools"
- upon git commit:
- build changed & affected projects
- test changed & affected projects
- lint & format staged Typescript, Javascript, JSON sources
- update Markdown (.md) file's Topic of Content (marked by
<!-- tpc -->
) - check dependency (depcheck) of changed & affected projects
- prepare and enforce commit message in conventional format
- uses 'op-tscdoc' to compile Typescript codes and API documents
- uses 'op-jest' to run tests written in Typescript
- by default
lerna create
creates a public ES Module package - by default publishes to local registry (verdaccio)