npm-version-management
Installation
SKILL.md
NPM Version Management
Define strict policies and workflows for managing and updating NPM package versions in Node.js and JavaScript/TypeScript projects.
The Cardinal Rule: Never Manually Edit package.json Version
[!CAUTION] NEVER manually edit the
"version"field inpackage.jsonusing file editing tools, text editors, or search-and-replace scripts.All version bumps MUST be executed strictly through the official
npm versioncommand.
Why Git Tag Synchronization Matters
In a Git repository, the npm version command performs three critical atomic operations: