Thursday, September 26, 2019

Node.js - npm - semantic versioning

Node.js developers follow the semantic versioning spec. Here is the small excerpt summary from the website:

Given a version number MAJOR.MINOR.PATCH, increment the:
  1. MAJOR version when you make incompatible API changes,
  2. MINOR version when you add functionality in a backwards compatible manner, and
  3. PATCH version when you make backwards compatible bug fixes.


Additional labels for pre-release and build metadata are available as extensions to the MAJOR.MINOR.PATCH format.



References:
  1. https://docs.npmjs.com/about-semantic-versioning
  2. https://semver.org/



No comments:

Post a Comment