1.1.1 • Published 2 years ago

semantic-version-calculator v1.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

semantic-version-calculator

A little script written in node js to get the next release version based on the semantic versioning rules

In order to install the package run on your cli

npm install semantic-version-calculator --dev-save

Create a js file with the following code

const sm = require('semantic-version-calculator')
sm().then(v => {
    console.log(`the next release version is: ${v} 🚀`)
})

Facing issues? 1. Verify that your git is accessible through the directory the code is running 2. Verify that you have commits of the following structure: fix: fixed bug feat: added new option fix!: this is a breaking change feat!: this is a breaking change