Skip to content

Commit e176b26

Browse files
committed
Merge pull request #2 from marionebl/chore/commit-message-helper
chore: add and configure commit message helper
2 parents 80c4e01 + 86c076b commit e176b26

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,11 @@
2525
"version": "npm run changelog && git add . && echo \"$(conventional-changelog -p angular)\" > .git/COMMITMSG.tmp",
2626
"postversion": "echo $(git log -1 --pretty=%B HEAD^..HEAD) > .git/RELEASE_VERSION.tmp && git tag -d v$(cat .git/RELEASE_VERSION.tmp) && git commit --amend -m \"chore(release): $(cat .git/RELEASE_VERSION.tmp)\n$(cat .git/COMMITMSG.tmp)\" && git tag -a v$(cat .git/RELEASE_VERSION.tmp) -m \"$(cat .git/COMMITMSG.tmp)\""
2727
},
28+
"config": {
29+
"commitizen": {
30+
"path": "cz-conventional-changelog-lint"
31+
}
32+
},
2833
"repository": {
2934
"type": "git",
3035
"url": "git+https://github.com/nerdlabs/patternplate-transform-cssmodules.git"

0 commit comments

Comments
 (0)