npm version major
Category: Node.js & npm/yarn
npm version major
Bump the major version (1.0.0 → 2.0.0), commit, and tag — use for breaking changes
Bumps the first number (1.2.3 → 2.0.0) and creates a git tag. Major = changes that break backwards compatibility.