@forsakringskassan/vite-lib-config 1.8.0 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api-extractor.js +6 -0
- package/dist/cli.mjs +8445 -11
- package/dist/tsdoc-metadata.json +1 -1
- package/dist/vite.config.cjs +108 -1186
- package/dist/vite.config.mjs +111 -1189
- package/package.json +8 -8
package/dist/api-extractor.js
CHANGED
|
@@ -967,6 +967,8 @@ var require_semver = __commonJS({
|
|
|
967
967
|
this.inc("patch", identifier, identifierBase);
|
|
968
968
|
this.inc("pre", identifier, identifierBase);
|
|
969
969
|
break;
|
|
970
|
+
// If the input is a non-prerelease version, this acts the same as
|
|
971
|
+
// prepatch.
|
|
970
972
|
case "prerelease":
|
|
971
973
|
if (this.prerelease.length === 0) {
|
|
972
974
|
this.inc("patch", identifier, identifierBase);
|
|
@@ -994,6 +996,8 @@ var require_semver = __commonJS({
|
|
|
994
996
|
}
|
|
995
997
|
this.prerelease = [];
|
|
996
998
|
break;
|
|
999
|
+
// This probably shouldn't be used publicly.
|
|
1000
|
+
// 1.0.0 'pre' would become 1.0.0-0 which is the wrong direction.
|
|
997
1001
|
case "pre": {
|
|
998
1002
|
const base = Number(identifierBase) ? 1 : 0;
|
|
999
1003
|
if (!identifier && identifierBase === false) {
|
|
@@ -2037,6 +2041,7 @@ var require_min_version = __commonJS({
|
|
|
2037
2041
|
compver.prerelease.push(0);
|
|
2038
2042
|
}
|
|
2039
2043
|
compver.raw = compver.format();
|
|
2044
|
+
/* fallthrough */
|
|
2040
2045
|
case "":
|
|
2041
2046
|
case ">=":
|
|
2042
2047
|
if (!setMin || gt(compver, setMin)) {
|
|
@@ -2046,6 +2051,7 @@ var require_min_version = __commonJS({
|
|
|
2046
2051
|
case "<":
|
|
2047
2052
|
case "<=":
|
|
2048
2053
|
break;
|
|
2054
|
+
/* istanbul ignore next */
|
|
2049
2055
|
default:
|
|
2050
2056
|
throw new Error(`Unexpected operation: ${comparator.operator}`);
|
|
2051
2057
|
}
|