feat: add version consistency check to prepublish script

This commit is contained in:
mkorwel
2025-07-01 11:19:45 -05:00
parent ce32faf544
commit c2a9f72044
2 changed files with 64 additions and 1 deletions

View File

@@ -49,7 +49,7 @@
"publish:sandbox": "node scripts/publish-sandbox.js",
"publish:npm": "npm publish --workspaces ${NPM_PUBLISH_TAG:+--tag=$NPM_PUBLISH_TAG} ${NPM_DRY_RUN:+--dry-run}",
"publish:release": "npm run prepare:package && npm run build:packages && npm run build:sandbox:fast && npm run publish:sandbox && npm run publish:npm",
"prepublishOnly": "node scripts/prepublish.js",
"prepublishOnly": "node scripts/check-versions.js && node scripts/prepublish.js",
"release:version": "node scripts/version.js",
"push-release": "git push && git push --tags"
},