Skip to content

Package Versioning

jordan-burns edited this page Mar 16, 2020 · 1 revision

Versioning

The version number of the application within the package.json file, should be incremented when making a pull request from the Develop branch to the Release branch. This can be done either manually, or through an npm script.

To use the npm script to increase the version number, run the command:
npm run bump -- [type]

where the types are:

  • major - A breaking change
  • minor - New functionality
  • patch - Bug fixes

The npm script will then increase the version number within the package.json file accordingly, this can then be committed as part of the pull request.

Clone this wiki locally