Skip to content

Commit 3bdd642

Browse files
chore: add commitizen
1 parent e6ab338 commit 3bdd642

File tree

2 files changed

+934
-22
lines changed

2 files changed

+934
-22
lines changed

package.json

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
"prettier": "prettier --write .",
1212
"typecheck": "tsc --noEmit",
1313
"preview": "vite preview",
14-
"prepare": "husky install"
14+
"prepare": "husky install",
15+
"commit": "cz"
1516
},
1617
"dependencies": {
1718
"@eslint/compat": "^1.1.1",
@@ -38,6 +39,8 @@
3839
"@typescript-eslint/eslint-plugin": "^8.2.0",
3940
"@typescript-eslint/parser": "^8.2.0",
4041
"@vitejs/plugin-react": "^4.3.1",
42+
"commitizen": "^4.3.0",
43+
"cz-conventional-changelog": "^3.3.0",
4144
"eslint": "^9.9.1",
4245
"eslint-config-prettier": "^9.1.0",
4346
"eslint-plugin-prettier": "^5.2.1",
@@ -49,5 +52,10 @@
4952
"typescript": "^5.5.4",
5053
"vite": "^5.4.2"
5154
},
52-
"packageManager": "[email protected]+sha512.af78262d7d125afbfeed740602ace8c5e4405cd7f4735c08feb327286b2fdb2390fbca01589bfd1f50b1240548b74806767f5a063c94b67e431aabd0d86f7774"
55+
"packageManager": "[email protected]+sha512.af78262d7d125afbfeed740602ace8c5e4405cd7f4735c08feb327286b2fdb2390fbca01589bfd1f50b1240548b74806767f5a063c94b67e431aabd0d86f7774",
56+
"config": {
57+
"commitizen": {
58+
"path": "cz-conventional-changelog"
59+
}
60+
}
5361
}

0 commit comments

Comments
 (0)