Skip to content

Commit 34bddbf

Browse files
authoredDec 21, 2021
chore: use commitlint with cz (#953)
1 parent 3c51f6f commit 34bddbf

File tree

3 files changed

+14
-16
lines changed

3 files changed

+14
-16
lines changed
 

‎.czrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"path": "./node_modules/cz-conventional-changelog"
2+
"path": "@commitlint/cz-commitlint"
33
}

‎package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050
"@babel/core": "^7.15.8",
5151
"@commitlint/cli": "^15.0.0",
5252
"@commitlint/config-conventional": "^15.0.0",
53+
"@commitlint/cz-commitlint": "^15.0.0",
5354
"@rollup/plugin-node-resolve": "^13.0.5",
5455
"@size-limit/preset-big-lib": "^7.0.4",
5556
"@storybook/addon-actions": "^6.3.12",
@@ -74,7 +75,6 @@
7475
"chartjs-adapter-date-fns": "^2.0.0",
7576
"clean-publish": "^3.4.1",
7677
"commitizen": "^4.2.4",
77-
"cz-conventional-changelog": "3.3.0",
7878
"date-fns": "^2.25.0",
7979
"eslint": "^7.32.0",
8080
"eslint-config-prettier": "^8.3.0",

‎yarn.lock

+12-14
Original file line numberDiff line numberDiff line change
@@ -1210,6 +1210,18 @@
12101210
dependencies:
12111211
conventional-changelog-conventionalcommits "^4.3.1"
12121212

1213+
"@commitlint/cz-commitlint@^15.0.0":
1214+
version "15.0.0"
1215+
resolved "https://registry.yarnpkg.com/@commitlint/cz-commitlint/-/cz-commitlint-15.0.0.tgz#35ef65981b0febfbc16134c3d46e618e3b0697bb"
1216+
integrity sha512-e2hdYijPOMVB4JNRHRRhD++Mh9V64AgRJLpyApzJQchNGuWS7ssfTLkmrZWI7omHin7ppgBXuiB7AnI4450Kfg==
1217+
dependencies:
1218+
"@commitlint/ensure" "^15.0.0"
1219+
"@commitlint/load" "^15.0.0"
1220+
"@commitlint/types" "^15.0.0"
1221+
chalk "^4.1.0"
1222+
lodash "^4.17.21"
1223+
word-wrap "^1.2.3"
1224+
12131225
"@commitlint/ensure@^15.0.0":
12141226
version "15.0.0"
12151227
resolved "https://registry.yarnpkg.com/@commitlint/ensure/-/ensure-15.0.0.tgz#06a63738e2393970a085b428e6cf80fa1fe76f48"
@@ -5683,20 +5695,6 @@ cz-conventional-changelog@3.2.0:
56835695
optionalDependencies:
56845696
"@commitlint/load" ">6.1.1"
56855697

5686-
cz-conventional-changelog@3.3.0:
5687-
version "3.3.0"
5688-
resolved "https://registry.yarnpkg.com/cz-conventional-changelog/-/cz-conventional-changelog-3.3.0.tgz#9246947c90404149b3fe2cf7ee91acad3b7d22d2"
5689-
integrity sha512-U466fIzU5U22eES5lTNiNbZ+d8dfcHcssH4o7QsdWaCcRs/feIPCxKYSWkYBNs5mny7MvEfwpTLWjvbm94hecw==
5690-
dependencies:
5691-
chalk "^2.4.1"
5692-
commitizen "^4.0.3"
5693-
conventional-commit-types "^3.0.0"
5694-
lodash.map "^4.5.1"
5695-
longest "^2.0.1"
5696-
word-wrap "^1.0.3"
5697-
optionalDependencies:
5698-
"@commitlint/load" ">6.1.1"
5699-
57005698
dargs@^7.0.0:
57015699
version "7.0.0"
57025700
resolved "https://registry.yarnpkg.com/dargs/-/dargs-7.0.0.tgz#04015c41de0bcb69ec84050f3d9be0caf8d6d5cc"

0 commit comments

Comments
 (0)
Please sign in to comment.