chore(tooling): replace weareopensource adapter with cz-git, ci-only releases via semantic-release#3142
Conversation
…-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)
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #3142 +/- ##
==========================================
+ Coverage 89.49% 89.85% +0.35%
==========================================
Files 52 52
Lines 1133 1163 +30
Branches 217 233 +16
==========================================
+ Hits 1014 1045 +31
Misses 107 107
+ Partials 12 11 -1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Pull request overview
This PR modernizes the commit and release tooling stack by replacing two deprecated/unmaintained packages with actively maintained alternatives: @weareopensource/conventional-changelog (last published 2020) is replaced with cz-git v1.12.0, and standard-version (archived since 2022) is replaced with release-it v19.2.4. The commit message validation hook is also updated to properly validate messages using commitlint instead of just launching an interactive prompt.
Changes:
- Replace deprecated commitizen adapter with cz-git
- Replace deprecated standard-version with release-it
- Update commit-msg hook to validate messages with commitlint instead of launching interactive commitizen
Reviewed changes
Copilot reviewed 2 out of 3 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| package.json | Remove deprecated packages (@weareopensource/conventional-changelog, standard-version), add cz-git and release-it, update release script and commitizen path config |
| .husky/commit-msg | Replace interactive commitizen hook with commitlint validation hook that enforces conventional commit standards |
…ples - Add .release-it.json with explicit config (ci:false, commit message format, no npm publish, GitHub release enabled) - Update README release examples from standard-version flags to release-it syntax
release:auto (semantic-release) covers all release needs via CI. Remove release-it dep, .release-it.json, and manual release script. Update README to remove release-it examples.
Summary
Replace dead/deprecated commit tooling and simplify the release strategy to CI-only with semantic-release.
Why
Changes
package.json
.husky/commit-msg
README.md
Scope
Validation