Skip to content

Commit dc3b869

Browse files
authored
chore(commits): introduce commitizen (#237)
1 parent be3281c commit dc3b869

File tree

2 files changed

+1750
-1266
lines changed

2 files changed

+1750
-1266
lines changed

package.json

+10-2
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@
2828
"build-storybook": "build-storybook",
2929
"storybook": "start-storybook -p 6006",
3030
"chromatic": "npx chromatic --project-token dqq8k95raoo",
31-
"semantic-release": "semantic-release"
31+
"semantic-release": "semantic-release",
32+
"commit": "cz"
3233
},
3334
"peerDependencies": {
3435
"react": "^16.14.0",
@@ -57,7 +58,9 @@
5758
"@typescript-eslint/eslint-plugin": "^5.14.0",
5859
"@typescript-eslint/parser": "^5.14.0",
5960
"chromatic": "^5.10.2",
61+
"commitizen": "^4.2.4",
6062
"cross-env": "^7.0.3",
63+
"cz-conventional-changelog": "^3.3.0",
6164
"eslint": "^6.8.0",
6265
"eslint-config-airbnb-typescript": "^10.0.0",
6366
"eslint-config-prettier": "^8.4.0",
@@ -115,5 +118,10 @@
115118
"resolutions": {
116119
"npm/chalk": "^4.1.2"
117120
},
118-
"packageManager": "yarn@3.1.1"
121+
"packageManager": "yarn@3.1.1",
122+
"config": {
123+
"commitizen": {
124+
"path": "./node_modules/cz-conventional-changelog"
125+
}
126+
}
119127
}

0 commit comments

Comments
 (0)