1.0.0 • Published 4 years ago

@skywire-london/conventional-changelog-commit-hooks v1.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
4 years 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

Get your global module install path:

npm root -g

Configure git to use hooks

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

Symlink or move this script into your hooks directory

ln -s [not_root]/@skywire-london/conventional-changelog-commit-hooks/index.js ~/.git-templates/hooks/commit-msg

Make the script executable

chmod +x ~/.git-templates/hooks/commit-msg