Skip to content

Commit 4fd5af1

Browse files
committedFeb 4, 2024
feat: add cz plugin
1 parent a2752ed commit 4fd5af1

File tree

2 files changed

+792
-36
lines changed

2 files changed

+792
-36
lines changed
 

‎package.json

+8
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,15 @@
88
"leet-create": "node common/scripts/create.js",
99
"leet-create:i": "node common/scripts/create.js -i",
1010
"leet-check": "node common/scripts/check.js",
11+
"commit": "cz",
1112
"test": "vitest --run",
1213
"lint": "eslint --fix --ext .js,jsx,cjs,mjs ./common"
1314
},
1415
"author": "EternalHeart",
1516
"license": "ISC",
1617
"dependencies": {
18+
"commitizen": "^4.3.0",
19+
"cz-conventional-changelog": "^3.3.0",
1720
"jsdom": "^23.2.0",
1821
"vite": "^5.0.11"
1922
},
@@ -24,5 +27,10 @@
2427
"eslint-plugin-import": "^2.29.1",
2528
"rimraf": "^5.0.5",
2629
"vitest": "^1.2.2"
30+
},
31+
"config": {
32+
"commitizen": {
33+
"path": "./node_modules/cz-conventional-changelog"
34+
}
2735
}
2836
}

0 commit comments

Comments
 (0)