Skip to content

Nx and Lerna based mono repo template to get started.

License

Notifications You must be signed in to change notification settings

srinivas-jay/monorepo-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

081cd04 · Jul 26, 2023

History

12 Commits
Jul 26, 2023
May 8, 2023
Jul 26, 2023
Jul 23, 2023
Jul 23, 2023
Jul 23, 2023
Jul 23, 2023
Jul 23, 2023
Jul 23, 2023
Jul 23, 2023
May 8, 2023
May 9, 2023
Jul 23, 2023
Jul 23, 2023
Jul 23, 2023
Jul 23, 2023
Jul 23, 2023
Jul 23, 2023

Repository files navigation

MonorepoTemplate

This workspace has been generated by Nx, a Smart, fast and extensible build system.

Understand this workspace

Run nx graph to see a diagram of the dependencies of the projects.

Remote caching

Run npx nx connect-to-nx-cloud to enable remote caching and make CI faster.

Further help

Visit the Nx Documentation to learn more.

commitlint

This project uses commitlint to enforce commit message conventions. The commit message conventions are defined in the commitlint.config.js file.

Husky

This project uses husky to run git hooks. The git hooks are defined in the husky.config.js file.

as part of yarn install husky will run husky install which will create a .husky directory and add a pre-commit hook to the .git/hooks directory. The pre-commit hook will run yarn lint before allowing a commit to be made.

npx husky add .husky/pre-commit "npx lint-staged"
# .husky/commit-msg (v8)
npx --no -- commitlint --edit $1
npx husky add .husky/commit-msg "npx --no -- commitlint --edit $1"