2.0.1 • Published 1 year ago

@skywire-london/conventional-changelog-commit-hooks v2.0.1

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

conventional changelog commit-msg hook

Verifies the commit message matches the Skywire conventional changelog standard

Requirements

node 12

Installation

npm install --global @skywire-london/conventional-changelog-commit-hooks

Configure git to use hooks

mkdir -p ~/.git-templates/hooks/
git config --global core.hooksPath ~/.git-templates/hooks/

Symlink this script into your hooks directory

ln -s $(npm root -g)/@skywire-london/conventional-changelog-commit-hooks/index.js ~/.git-templates/hooks/conventional-changelog-commit-hooks

Make the script executable

chmod +x ~/.git-templates/hooks/conventional-changelog-commit-hooks