vlt / docs

  • PricingBenchmarks (opens in new window)Community (opens in new window)Feedback
  • Overview
  • bugs
  • build
  • cache
  • config
  • create
  • docs
  • exec-cache
  • exec-local
  • exec
  • help
  • init
  • install
  • list
  • login
  • logout
  • pack
  • ping
  • pkg
  • publish
  • query
  • registry
  • repo
  • run-exec
  • run
  • setup
  • token
  • uninstall
  • version
  • whoami
  • Options
  • no-git-tag-version
  • no-commit
  1. Client
  2. /
  3. Commands
  4. /
  5. version

vlt version

Usage:

Terminal
$ vlt version [<newversion> | major | minor | patch | premajor | preminor | prepatch | prerelease]

Bump a package's version.

Run in a package directory to bump the version and write the new data back to package.json.

The <newversion> argument should be a valid semver string or a valid increment type (one of patch, minor, major, prepatch, preminor, premajor, prerelease).

If run in a git repository, it will also create a version commit and tag.

Options

no-git-tag-version

Bump the version without creating a git commit or tag.

Terminal
$ vlt version patch --no-git-tag-version

Useful for bumping several workspaces and then committing all of the changes together:

Terminal
$ vlt version prerelease --workspace="./infra/cli*" --no-git-tag-version
$ git commit -am 'v1.2.3'

no-commit

Create the git tag, but leave the version bump uncommitted.

Terminal
$ vlt version patch --no-commit

PreviousuninstallNextwhoami

On this page

  • Options
  • no-git-tag-version
  • no-commit
Edit this page

Deploy your package on vlt.io

Publish scoped and private packages, manage organizations and access, and give every developer and CI environment a consistent source for public and private JavaScript dependencies.

Publish now