Options (1)
-m, --messagebooleanBump the major version with a custom commit message
Example:
npm version major {{[-m|--message]}} "{{Upgrade to %s for reasons}}"Examples (5)
Display version
Bump the minor version
npm version minorSet a specific version
npm version versionBump the patch version without creating a Git tag
npm version patch --no-git-tag-versionBump the major version with a custom commit message
npm version major [-m|--message] "Upgrade to %s for reasons"made by @shridhargupta | data from tldr-pages