Skip to content

Commit e46e4e3

Browse files
johnpcJohn Corser
authored andcommitted
build: use @commitlint/cz-commitlint instead of cz-conventional-changelog (aws-amplify#7264)
This commit updates to @commitlint/cz-commitlint, which adds the `scope` enum from commitlint without changing the interactive commit experience. Further motivation is explained in conventional-changelog/commitlint#2547 Co-authored-by: John Corser <[email protected]>
1 parent 3bbf563 commit e46e4e3

File tree

2 files changed

+359
-231
lines changed

2 files changed

+359
-231
lines changed

package.json

+6-5
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,11 @@
8181
"@babel/plugin-proposal-numeric-separator": "^7.10.4",
8282
"@babel/plugin-transform-modules-commonjs": "7.10.4",
8383
"@babel/plugin-transform-typescript": "7.10.5",
84-
"@commitlint/cli": "^8.1.0",
85-
"@commitlint/config-conventional": "^8.1.0",
86-
"@commitlint/config-lerna-scopes": "^8.1.0",
84+
"@commitlint/cli": "^12.1.2",
85+
"@commitlint/config-conventional": "^12.1.2",
86+
"@commitlint/config-lerna-scopes": "^12.1.2",
87+
"@commitlint/cz-commitlint": "^12.1.2",
88+
"@commitlint/prompt": "^12.1.2",
8789
"@types/jest": "^26.0.20",
8890
"@types/js-yaml": "^4.0.0",
8991
"@typescript-eslint/eslint-plugin": "^4.14.2",
@@ -94,7 +96,6 @@
9496
"codecov": "^3.7.0",
9597
"commitizen": "^4.2.4",
9698
"copyfiles": "^2.2.0",
97-
"cz-conventional-changelog": "^3.0.2",
9899
"eslint": "^7.19.0",
99100
"eslint-config-airbnb": "^18.0.1",
100101
"eslint-config-prettier": "^7.2.0",
@@ -129,7 +130,7 @@
129130
},
130131
"config": {
131132
"commitizen": {
132-
"path": "./node_modules/cz-conventional-changelog"
133+
"path": "./node_modules/@commitlint/cz-commitlint"
133134
}
134135
}
135136
}

0 commit comments

Comments
 (0)