Skip to content

Commit

Permalink
build: use @commitlint/cz-commitlint instead of cz-conventional-chang…
Browse files Browse the repository at this point in the history
…elog (#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]>
  • Loading branch information
johnpc and John Corser authored May 24, 2021
1 parent fd552b4 commit 5b0fd05
Show file tree
Hide file tree
Showing 2 changed files with 359 additions and 231 deletions.
11 changes: 6 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,11 @@
"@babel/plugin-proposal-numeric-separator": "^7.10.4",
"@babel/plugin-transform-modules-commonjs": "7.10.4",
"@babel/plugin-transform-typescript": "7.10.5",
"@commitlint/cli": "^8.1.0",
"@commitlint/config-conventional": "^8.1.0",
"@commitlint/config-lerna-scopes": "^8.1.0",
"@commitlint/cli": "^12.1.2",
"@commitlint/config-conventional": "^12.1.2",
"@commitlint/config-lerna-scopes": "^12.1.2",
"@commitlint/cz-commitlint": "^12.1.2",
"@commitlint/prompt": "^12.1.2",
"@types/jest": "^26.0.20",
"@types/js-yaml": "^4.0.0",
"@typescript-eslint/eslint-plugin": "^4.14.2",
Expand All @@ -94,7 +96,6 @@
"codecov": "^3.7.0",
"commitizen": "^4.2.4",
"copyfiles": "^2.2.0",
"cz-conventional-changelog": "^3.0.2",
"eslint": "^7.19.0",
"eslint-config-airbnb": "^18.0.1",
"eslint-config-prettier": "^7.2.0",
Expand Down Expand Up @@ -129,7 +130,7 @@
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
"path": "./node_modules/@commitlint/cz-commitlint"
}
}
}
Loading

0 comments on commit 5b0fd05

Please sign in to comment.