Skip to content

Commit 737535a

Browse files
committed
chore: 🤖 Git commitizen for better commits
This commit adds git commitizen for better commit messages and listing on github BREAKING CHANGE: 🧨 NA
1 parent 3fe05ce commit 737535a

File tree

2 files changed

+18
-2
lines changed

2 files changed

+18
-2
lines changed

package-lock.json

Lines changed: 7 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@
55
"scripts": {
66
"fastify-generator-typescript": "node cli.js",
77
"start": "node cli.js",
8-
"test": "echo \"Error: no test specified\" && exit 1"
8+
"test": "echo \"Error: no test specified\" && exit 1",
9+
"commit-a": "git add . && git cz",
10+
"commit": "git cz"
911
},
1012
"main": "cli.js",
1113
"bin": {
@@ -60,5 +62,13 @@
6062
"dependencies": {
6163
"ncp": "^2.0.0",
6264
"prompt": "^1.0.0"
65+
},
66+
"devDependencies": {
67+
"git-cz": "^4.7.0"
68+
},
69+
"config": {
70+
"commitizen": {
71+
"path": "./node_modules/git-cz"
72+
}
6373
}
6474
}

0 commit comments

Comments
 (0)