Skip to content

Commit

Permalink
chore(cz): migrate cz-customizable to cz-conventional-changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
manudeli committed Feb 11, 2023
1 parent 6ba5761 commit dcf1477
Show file tree
Hide file tree
Showing 67 changed files with 956 additions and 385 deletions.
41 changes: 0 additions & 41 deletions .cz-config.js

This file was deleted.

3 changes: 3 additions & 0 deletions .czrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"path": "cz-conventional-changelog"
}
660 changes: 509 additions & 151 deletions .pnp.cjs

Large diffs are not rendered by default.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed .yarn/cache/temp-npm-0.9.4-750c79cf8d-8709d4d632.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
15 changes: 1 addition & 14 deletions commitlint.config.js
Original file line number Diff line number Diff line change
@@ -1,14 +1 @@
const commitizenConfig = require("./.cz-config")

module.exports = {
extends: ["@commitlint/config-conventional"],
rules: {
"type-enum": [
2,
"always",
commitizenConfig.types.map(({ value }) => value),
],
"type-case": [2, "always", "lower-case"],
"scope-empty": [2, "never"],
},
}
module.exports = { extends: ['@commitlint/config-conventional'] }
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
"scripts": {
"build": "yarn workspaces foreach -ptiv run build",
"commit": "cz-customizable",
"commit": "cz",
"dev:web": "yarn workspace web run dev",
"postinstall": "husky install",
"lint": "yarn workspaces foreach run lint",
Expand Down Expand Up @@ -43,7 +43,8 @@
"@typescript-eslint/eslint-plugin": "^5.37.0",
"@typescript-eslint/parser": "^5.37.0",
"all-contributors-cli": "^6.24.0",
"cz-customizable": "^7.0.0",
"commitizen": "^4.2.6",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^8.23.1",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-airbnb-typescript": "^17.0.0",
Expand Down
Loading

0 comments on commit dcf1477

Please sign in to comment.