ci(version): add version sync check between package.json and Cargo.toml (#277)

Add automated verification that package.json and cli/Cargo.toml versions
stay in sync. This prevents version drift between the npm package and
Rust CLI binary.

- Add CI job to check version sync on push/PR
- Update pre-commit hook to sync versions automatically
- Update ci:version script to include version sync step
- Add check-version-sync.js script for CI validation
This commit is contained in:
n33pm
2026-01-27 09:09:04 -06:00
committed by GitHub
parent 3ce441bc4e
commit 3f74bd2171
4 changed files with 52 additions and 1 deletions
+2
View File
@@ -1 +1,3 @@
pnpm lint-staged
node scripts/sync-version.js
git add cli/Cargo.toml