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 and use a registry for development versions and enable Version auto increment for that registry.

Each publish to registry, will automatically step the package version (without need for manual changes to version).

When stable version has been developed, push function to promote development versions to release versions.