@forsakringskassan/vite-lib-config 1.8.0 → 1.8.1
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/tsdoc-metadata.json +1 -1
- package/dist/vite.config.cjs +12 -0
- package/dist/vite.config.mjs +12 -0
- package/package.json +2 -2
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
|
}
|
package/dist/tsdoc-metadata.json
CHANGED
package/dist/vite.config.cjs
CHANGED
|
@@ -2085,15 +2085,19 @@ import.meta.hot.accept(({ render }) => {
|
|
|
2085
2085
|
switch (inputType) {
|
|
2086
2086
|
case UrlType.Empty:
|
|
2087
2087
|
url.hash = baseUrl.hash;
|
|
2088
|
+
// fall through
|
|
2088
2089
|
case UrlType.Hash:
|
|
2089
2090
|
url.query = baseUrl.query;
|
|
2091
|
+
// fall through
|
|
2090
2092
|
case UrlType.Query:
|
|
2091
2093
|
case UrlType.RelativePath:
|
|
2092
2094
|
mergePaths(url, baseUrl);
|
|
2095
|
+
// fall through
|
|
2093
2096
|
case UrlType.AbsolutePath:
|
|
2094
2097
|
url.user = baseUrl.user;
|
|
2095
2098
|
url.host = baseUrl.host;
|
|
2096
2099
|
url.port = baseUrl.port;
|
|
2100
|
+
// fall through
|
|
2097
2101
|
case UrlType.SchemeRelative:
|
|
2098
2102
|
url.scheme = baseUrl.scheme;
|
|
2099
2103
|
}
|
|
@@ -2103,6 +2107,8 @@ import.meta.hot.accept(({ render }) => {
|
|
|
2103
2107
|
normalizePath(url, inputType);
|
|
2104
2108
|
const queryHash = url.query + url.hash;
|
|
2105
2109
|
switch (inputType) {
|
|
2110
|
+
// This is impossible, because of the empty checks at the start of the function.
|
|
2111
|
+
// case UrlType.Empty:
|
|
2106
2112
|
case UrlType.Hash:
|
|
2107
2113
|
case UrlType.Query:
|
|
2108
2114
|
return queryHash;
|
|
@@ -4327,6 +4333,8 @@ var require_semver = __commonJS({
|
|
|
4327
4333
|
this.inc("patch", identifier, identifierBase);
|
|
4328
4334
|
this.inc("pre", identifier, identifierBase);
|
|
4329
4335
|
break;
|
|
4336
|
+
// If the input is a non-prerelease version, this acts the same as
|
|
4337
|
+
// prepatch.
|
|
4330
4338
|
case "prerelease":
|
|
4331
4339
|
if (this.prerelease.length === 0) {
|
|
4332
4340
|
this.inc("patch", identifier, identifierBase);
|
|
@@ -4354,6 +4362,8 @@ var require_semver = __commonJS({
|
|
|
4354
4362
|
}
|
|
4355
4363
|
this.prerelease = [];
|
|
4356
4364
|
break;
|
|
4365
|
+
// This probably shouldn't be used publicly.
|
|
4366
|
+
// 1.0.0 'pre' would become 1.0.0-0 which is the wrong direction.
|
|
4357
4367
|
case "pre": {
|
|
4358
4368
|
const base = Number(identifierBase) ? 1 : 0;
|
|
4359
4369
|
if (!identifier && identifierBase === false) {
|
|
@@ -5397,6 +5407,7 @@ var require_min_version = __commonJS({
|
|
|
5397
5407
|
compver.prerelease.push(0);
|
|
5398
5408
|
}
|
|
5399
5409
|
compver.raw = compver.format();
|
|
5410
|
+
/* fallthrough */
|
|
5400
5411
|
case "":
|
|
5401
5412
|
case ">=":
|
|
5402
5413
|
if (!setMin || gt(compver, setMin)) {
|
|
@@ -5406,6 +5417,7 @@ var require_min_version = __commonJS({
|
|
|
5406
5417
|
case "<":
|
|
5407
5418
|
case "<=":
|
|
5408
5419
|
break;
|
|
5420
|
+
/* istanbul ignore next */
|
|
5409
5421
|
default:
|
|
5410
5422
|
throw new Error(`Unexpected operation: ${comparator.operator}`);
|
|
5411
5423
|
}
|
package/dist/vite.config.mjs
CHANGED
|
@@ -2086,15 +2086,19 @@ import.meta.hot.accept(({ render }) => {
|
|
|
2086
2086
|
switch (inputType) {
|
|
2087
2087
|
case UrlType.Empty:
|
|
2088
2088
|
url.hash = baseUrl.hash;
|
|
2089
|
+
// fall through
|
|
2089
2090
|
case UrlType.Hash:
|
|
2090
2091
|
url.query = baseUrl.query;
|
|
2092
|
+
// fall through
|
|
2091
2093
|
case UrlType.Query:
|
|
2092
2094
|
case UrlType.RelativePath:
|
|
2093
2095
|
mergePaths(url, baseUrl);
|
|
2096
|
+
// fall through
|
|
2094
2097
|
case UrlType.AbsolutePath:
|
|
2095
2098
|
url.user = baseUrl.user;
|
|
2096
2099
|
url.host = baseUrl.host;
|
|
2097
2100
|
url.port = baseUrl.port;
|
|
2101
|
+
// fall through
|
|
2098
2102
|
case UrlType.SchemeRelative:
|
|
2099
2103
|
url.scheme = baseUrl.scheme;
|
|
2100
2104
|
}
|
|
@@ -2104,6 +2108,8 @@ import.meta.hot.accept(({ render }) => {
|
|
|
2104
2108
|
normalizePath(url, inputType);
|
|
2105
2109
|
const queryHash = url.query + url.hash;
|
|
2106
2110
|
switch (inputType) {
|
|
2111
|
+
// This is impossible, because of the empty checks at the start of the function.
|
|
2112
|
+
// case UrlType.Empty:
|
|
2107
2113
|
case UrlType.Hash:
|
|
2108
2114
|
case UrlType.Query:
|
|
2109
2115
|
return queryHash;
|
|
@@ -4328,6 +4334,8 @@ var require_semver = __commonJS({
|
|
|
4328
4334
|
this.inc("patch", identifier, identifierBase);
|
|
4329
4335
|
this.inc("pre", identifier, identifierBase);
|
|
4330
4336
|
break;
|
|
4337
|
+
// If the input is a non-prerelease version, this acts the same as
|
|
4338
|
+
// prepatch.
|
|
4331
4339
|
case "prerelease":
|
|
4332
4340
|
if (this.prerelease.length === 0) {
|
|
4333
4341
|
this.inc("patch", identifier, identifierBase);
|
|
@@ -4355,6 +4363,8 @@ var require_semver = __commonJS({
|
|
|
4355
4363
|
}
|
|
4356
4364
|
this.prerelease = [];
|
|
4357
4365
|
break;
|
|
4366
|
+
// This probably shouldn't be used publicly.
|
|
4367
|
+
// 1.0.0 'pre' would become 1.0.0-0 which is the wrong direction.
|
|
4358
4368
|
case "pre": {
|
|
4359
4369
|
const base = Number(identifierBase) ? 1 : 0;
|
|
4360
4370
|
if (!identifier && identifierBase === false) {
|
|
@@ -5398,6 +5408,7 @@ var require_min_version = __commonJS({
|
|
|
5398
5408
|
compver.prerelease.push(0);
|
|
5399
5409
|
}
|
|
5400
5410
|
compver.raw = compver.format();
|
|
5411
|
+
/* fallthrough */
|
|
5401
5412
|
case "":
|
|
5402
5413
|
case ">=":
|
|
5403
5414
|
if (!setMin || gt(compver, setMin)) {
|
|
@@ -5407,6 +5418,7 @@ var require_min_version = __commonJS({
|
|
|
5407
5418
|
case "<":
|
|
5408
5419
|
case "<=":
|
|
5409
5420
|
break;
|
|
5421
|
+
/* istanbul ignore next */
|
|
5410
5422
|
default:
|
|
5411
5423
|
throw new Error(`Unexpected operation: ${comparator.operator}`);
|
|
5412
5424
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@forsakringskassan/vite-lib-config",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.1",
|
|
4
4
|
"description": "Försäkringskassan toolchain to build libraries with Vite",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"vite"
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"dist"
|
|
43
43
|
],
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@microsoft/api-extractor": "7.47.
|
|
45
|
+
"@microsoft/api-extractor": "7.47.6",
|
|
46
46
|
"@vue/babel-preset-app": "5.0.8"
|
|
47
47
|
},
|
|
48
48
|
"peerDependencies": {
|