Skip to content

Commit

Permalink
chore(project): use commitlint instead of commitzen
Browse files Browse the repository at this point in the history
  • Loading branch information
Philip London committed Feb 10, 2020
1 parent aa4e437 commit 2f9c6cd
Show file tree
Hide file tree
Showing 3 changed files with 346 additions and 22 deletions.
1 change: 1 addition & 0 deletions commitlint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = { extends: ['@commitlint/config-conventional'] }
10 changes: 3 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,9 @@
"workspaces": [
"packages/*"
],
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "lint-staged && node ./scripts/commitHook.js",
"pre-push": "yarn test"
}
Expand All @@ -60,7 +56,6 @@
"ci:test:core:components": "yarn wsrun --serial --exclude-missing ci:test",
"ci:test:frontend": "yarn workspace blockchain-wallet-v4-frontend ci:test:frontend",
"clean": "cross-env yarn wsrun clean && rimraf build && rimraf coverage && rimraf dist && rimraf *.log && rimraf node_modules",
"commit": "git cz --gpg-sign",
"coverage": "cross-env rimraf coverage && yarn wsrun coverage && yarn run report",
"coverage:components": "cross-env rimraf coverage && yarn workspace blockchain-info-components coverage && yarn run report",
"coverage:core": "cross-env rimraf coverage && yarn workspace blockchain-wallet-v4 coverage && yarn run report",
Expand Down Expand Up @@ -112,6 +107,8 @@
"@babel/preset-env": "7.6.2",
"@babel/preset-react": "7.0.0",
"@codechecks/client": "0.1.10",
"@commitlint/cli": "8.3.5",
"@commitlint/config-conventional": "8.3.4",
"@storybook/addon-actions": "4.1.9",
"@storybook/addon-info": "4.1.9",
"@storybook/addon-links": "4.1.9",
Expand Down Expand Up @@ -140,7 +137,6 @@
"case-sensitive-paths-webpack-plugin": "2.2.0",
"chalk": "2.4.2",
"clean-webpack-plugin": "3.0.0",
"commitizen": "3.1.1",
"copy-webpack-plugin": "5.0.4",
"coveralls": "3.0.6",
"cross-env": "6.0.0",
Expand Down

0 comments on commit 2f9c6cd

Please sign in to comment.