Name | Type | Required | Default | Hint |
version | string | false | The new version to set into this package | |
message | string | false | The message to use when commiting the new tag | |
tagVersion | boolean | false | Whether or not to tag the repo | |
tagPrefix | string | false | The tag prefix to use before the version number | |
force | boolean | false | false | Skip the check if to see if the Git repo is clean |
major | boolean | false | Increment the major version number | |
minor | boolean | false | Increment the minor version number | |
patch | boolean | false | Increment the patch version number |
Interact with your package's version number. This command must be run from the root of the package.
Running this command with no parameters will output the current version. (Same as "package show version")
package versionSet a specific version number by passing it into this command. (Same as "package set version=1.0.0")
package version 1.0.0"Bump" the existing version number up by one unit and save in your box.json.
bump --majorIf multiple version parts are specified, the "larger" one will be used starting with major.
bump --minor
bump --patch
bump --major message="finalizing release"If you don't want the tagging functionality, provide the "tagVersion" flag or turn
bump --major tagVersion=false
config set tagVersion=false