@dxatscale/sfpowerscripts.core
Advanced tools
Comparing version 0.1.0 to 0.1.1-alpha.1
@@ -48,9 +48,9 @@ "use strict"; | ||
if (this.segment == "Major") | ||
segments[0] += String(Number(segments[0]) + 1); | ||
segments[0] = String(Number(segments[0]) + 1); | ||
if (this.segment == "Minor") | ||
segments[1] += String(Number(segments[1]) + 1); | ||
segments[1] = String(Number(segments[1]) + 1); | ||
if (this.segment == "Patch") | ||
segments[2] = String(Number(segments[2]) + 1); | ||
if (segments[3] == "NEXT") { | ||
throw new Error("NEXT not supported for this task, Please keep as the build version, which then this task can manipulate"); | ||
throw new Error("NEXT not supported for this task, Please keep a number as the build version, which then this task can manipulate"); | ||
} | ||
@@ -81,2 +81,2 @@ if (this.segment == "BuildNumber" && !this.appendBuildNumber) | ||
exports.default = IncrementProjectBuildNumberImpl; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiSW5jcmVtZW50UHJvamVjdEJ1aWxkTnVtYmVySW1wbC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9zZmR4d3JhcHBlcnMvSW5jcmVtZW50UHJvamVjdEJ1aWxkTnVtYmVySW1wbC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7OztBQUNBLCtCQUFtRDtBQUNuRCxNQUFNLEVBQUUsR0FBRyxPQUFPLENBQUMsSUFBSSxDQUFDLENBQUM7QUFDekIsTUFBTSxJQUFJLEdBQUcsT0FBTyxDQUFDLE1BQU0sQ0FBQyxDQUFDO0FBRTdCLE1BQXFCLCtCQUErQjtJQUNsRCxZQUNVLGlCQUF5QixFQUN6QixZQUFvQixFQUNwQixPQUFlLEVBQ2YsaUJBQTBCLEVBQzFCLFdBQW1CO1FBSm5CLHNCQUFpQixHQUFqQixpQkFBaUIsQ0FBUTtRQUN6QixpQkFBWSxHQUFaLFlBQVksQ0FBUTtRQUNwQixZQUFPLEdBQVA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7b0JBQ3BELFFBQVEsQ0FBQyxDQUFDLENBQUMsR0FBRyxJQUFJLENBQUMsV0FBVyxDQUFDO2FBQ3JDO1lBRUQsZ0JBQWdCLENBQ2QsZUFBZSxDQUNoQixHQUFHLEdBQUcsUUFBUSxDQUFDLENBQUMsQ0FBQyxJQUFJLFFBQVEsQ0FBQyxDQUFDLENBQUMsSUFBSSxRQUFRLENBQUMsQ0FBQyxDQUFDLElBQUksUUFBUSxDQUFDLENBQUMsQ0FBQyxFQUFFLENBQUM7WUFFbEUsT0FBTyxDQUFDLEdBQUcsQ0FBQyxxQkFBcUIsZ0JBQWdCLENBQUMsZUFBZSxDQUFDLEVBQUUsQ0FBQyxDQUFDO1lBRXRFLElBQUksQ0FBQyxJQUFJLENBQUMsaUJBQWlCLEVBQUU7Z0JBQzNCLEVBQUUsQ0FBQyxhQUFhLENBQ2QsbUJBQW1CLEVBQ25CLElBQUksQ0FBQyxTQUFTLENBQUMsWUFBWSxFQUFFLElBQUksRUFBRSxDQUFDLENBQUMsQ0FDdEMsQ0FBQzthQUNIO1lBRUQsT0FBTyxnQkFBZ0IsQ0FBQyxlQUFlLENBQUMsQ0FBQztRQUMzQyxDQUFDO0tBQUE7SUFFWSxnQkFBZ0I7OERBQW1CLENBQUM7S0FBQTtDQUNsRDtBQTdFRCxrREE2RUMifQ== |
{ | ||
"name": "@dxatscale/sfpowerscripts.core", | ||
"version": "0.1.0", | ||
"version": "0.1.1-alpha.1", | ||
"description": "Core Module used by sfpowerscripts", | ||
@@ -39,3 +39,3 @@ "main": "lib/index", | ||
}, | ||
"gitHead": "a72955f259812f568e9e444a2b65ef4573ead91b" | ||
"gitHead": "4d3e11a3628d91403934b4f0e17701b00c45fe2b" | ||
} |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
110902
14