@auto/bump
Advanced tools
Comparing version 0.0.18 to 0.0.19
@@ -9,4 +9,10 @@ import semver from 'semver'; | ||
if (options.zeroMajorBump === 'minor' && coercedVersion.major === 0 && type === 'major') { | ||
return coercedVersion.inc('minor').version; | ||
if (coercedVersion.major === 0) { | ||
if (coercedVersion.minor === 0 && options.zeroBreakingChangeType === 'patch') { | ||
return coercedVersion.inc('patch').version; | ||
} | ||
if (options.zeroBreakingChangeType === 'minor' && type !== 'patch') { | ||
return coercedVersion.inc('minor').version; | ||
} | ||
} | ||
@@ -13,0 +19,0 @@ |
{ | ||
"name": "@auto/bump", | ||
"version": "0.0.18", | ||
"version": "0.0.19", | ||
"description": "", | ||
@@ -26,4 +26,4 @@ "keywords": "", | ||
"dependencies": { | ||
"@auto/utils": "^0.0.12", | ||
"@auto/workspaces": "^0.0.16", | ||
"@auto/utils": "^0.0.13", | ||
"@auto/workspaces": "^0.0.17", | ||
"esm": "^3.0.82", | ||
@@ -30,0 +30,0 @@ "semver": "^5.5.1" |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7714
174
+ Added@auto/utils@0.0.13(transitive)
+ Added@auto/workspaces@0.0.17(transitive)
- Removed@auto/utils@0.0.12(transitive)
- Removed@auto/workspaces@0.0.16(transitive)
Updated@auto/utils@^0.0.13
Updated@auto/workspaces@^0.0.17