git-conventional-commits
Advanced tools
Comparing version 1.2.2 to 1.2.3
const Git = require("./git"); | ||
const { applyChangesToVersion } = require("./semver"); | ||
@@ -60,12 +61,3 @@ module.exports = function(convention, commitAnchor = 'HEAD') { | ||
if (changes.breaking > 0) { | ||
version.major++; | ||
version.minor = 0; | ||
version.patch = 0; | ||
} else if (changes.feature > 0) { | ||
version.minor++; | ||
version.patch = 0; | ||
} else { | ||
version.patch++; | ||
} | ||
applyChangesToVersion(version, changes); | ||
@@ -72,0 +64,0 @@ return `${version.major}.${version.minor}.${version.patch}`; |
{ | ||
"name": "git-conventional-commits", | ||
"version": "1.2.2", | ||
"version": "1.2.3", | ||
"description": "git conventional commits util", | ||
"licence": "MIT", | ||
"licence": "GPLv3", | ||
"main": "cli.js", | ||
@@ -7,0 +7,0 @@ "scripts": { |
Copyleft License
License(Experimental) Copyleft license information was found.
Found 1 instance in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
Non-permissive License
License(Experimental) A license not known to be considered permissive was found.
Found 1 instance in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
66346
15
651
3
70