A lightweight tag is skipped by 'git push --follow-tags', so v$VERSION stayed
local-only and 'gh release create' failed at the end of the release. Use an
annotated tag (-a) so it pushes with the release commit.
- Add scripts/release.sh for automated build → test → commit → push → publish → release
- Fix .versionrc.json types configuration (was causing 'types.find is not a function' error)
- Remove problematic precommit/postcommit hooks that ran full test suite during release
- Keep standard-version as fallback option (npm run release:standard-version:*)
- New workflow is faster, more reliable, and easier to debug
Usage:
npm run release # patch release (3.20.4 → 3.20.5)
npm run release:minor # minor release (3.20.4 → 3.21.0)
npm run release:major # major release (3.20.4 → 4.0.0)
npm run release:dry # dry-run mode (no changes)