Version auto increment plugin

Automatically increments the package version on publish

Version auto increment is a convenience plugin that automatically increments the package version on publish. If it is a pre-release, the plugin will try to increment the pre-release part. If not, it will increment the patch number.

Example: The first time 1.0.0-0 is published it will be published as 1.0.0-0, the second time it will be published as 1.0.0-1, the third 1.0.0-2 and so on. No changes have to be made to the package.json in our source repository.

Use cases

  • Package promotion - Configure registry for development versions and enable Version auto increment. Each publish to registry will automatically step package version. Couple with Bytesafe promote function to promote development versions to release versions.