Skip to content

Commit 4cdf283

Browse files
chore(tooling): replace weareopensource adapter with cz-git, standard-version with release-it
- Replace dead @weareopensource/conventional-changelog (last publish 2020) with cz-git - Remove standard-version (archived 2022), replace with release-it - Add release-it for manual releases, keep release:auto on semantic-release - Fix .husky/commit-msg: git cz --hook -> commitlint --edit (actual validation)
1 parent 14f653d commit 4cdf283

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

.husky/commit-msg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/bin/sh
22
. "$(dirname "$0")/_/husky.sh"
33

4-
exec < /dev/tty && git cz --hook || true
4+
npx --no-install commitlint --edit "$1"

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
"format": "prettier --write .",
4444
"snyk-protect": "snyk protect",
4545
"commit": "npx cz",
46-
"release": "standard-version",
46+
"release": "release-it",
4747
"release:auto": "npx semantic-release"
4848
},
4949
"dependencies": {
@@ -99,16 +99,16 @@
9999
"@eslint/js": "^10.0.0",
100100
"@semantic-release/changelog": "^6.0.3",
101101
"@semantic-release/git": "^10.0.1",
102-
"@weareopensource/conventional-changelog": "^1.7.0",
103102
"commitizen": "^4.3.1",
103+
"cz-git": "^1.12.0",
104104
"eslint": "10.0.0",
105105
"eslint-config-prettier": "^10.1.8",
106106
"globals": "^17.3.0",
107107
"husky": "^9.1.7",
108108
"jest-cli": "30.2.0",
109109
"prettier": "^3.8.1",
110-
"semantic-release": "^25.0.3",
111-
"standard-version": "^9.5.0"
110+
"release-it": "^19.2.4",
111+
"semantic-release": "^25.0.3"
112112
},
113113
"release": {
114114
"branches": [
@@ -139,7 +139,7 @@
139139
},
140140
"config": {
141141
"commitizen": {
142-
"path": "./node_modules/@weareopensource/conventional-changelog"
142+
"path": "node_modules/cz-git"
143143
}
144144
},
145145
"snyk": true

0 commit comments

Comments
 (0)