1.0.8 • Published 3 years ago
@thtliife/repo-config v1.0.8
@thtliife/repo-config
This is my quick start for setting up commitlint and commitizen for use with commitlint's config-conventional strategy.
On install, this will create / update the following files in your package directory.
commitlint.config.js
.czrc
.git/hooks/commit-msg
it will also add a new script commit
to your package.json
file to be used to call commitizen when you want to use an interactive prompt for commit messages.
Warning: If any of these files exist in your project directory, they will be modified. If you still want to continue, install by simply running the following in a new project folder.
# Initialise a new project (Optional)
npm init -y
# Install package and peer dependencies
npx install-peerdeps --dev @thtliife/repo-config
glhf :)