This is a git repo template for setting up your own project as a Monorepo using Typescript, Yarn, Lerna, and Jest.
Click Use this template to initialize a new repository on Github.
- Typescript
- Lerna
- Jest
- Eslint
- Git hooks
- post-checkout: on branch change, attempts to install third-party modules
- post-merge: attempts to install third-party modules
- post-rebase: attempts to install third-party modules
- pre-commit: runs Typescript, and lint-staged
- lints changed files
- runs related tests for changed file
Builds all packages in parallel
Cleans up all build files for all packages
Shortcut command to run CI-friendly conformance checks for lint
, typescript
checks, and test
s.
Runs lint and auto-fixes code if necessary.
Runs all tests.
Shortcut for jest
. You can pass any jest
CLI flags to this command like --watch
Runs a noEmit
Typescript check across all files.