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 in package.json using file editing tools, text editors, or search-and-replace scripts.

All version bumps MUST be executed strictly through the official npm version command.


Why Git Tag Synchronization Matters

In a Git repository, the npm version command performs three critical atomic operations:

Installs
9
First Seen
8 days ago