@forsakringskassan/vite-lib-config 5.12.4 → 5.12.5
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.mjs +5 -4
- package/dist/build-selectors.mjs +4 -3
- package/dist/cli.mjs +4 -3
- package/dist/tsdoc-metadata.json +1 -1
- package/dist/vite.config.cjs +1 -1
- package/dist/vite.config.mjs +1 -1
- package/dist/write-config.mjs +4 -3
- package/package.json +2 -2
package/dist/api-extractor.mjs
CHANGED
|
@@ -5946,11 +5946,12 @@ async function patchDeclareVarVls(declarationDir) {
|
|
|
5946
5946
|
/declare var (__VLS_\d+)/,
|
|
5947
5947
|
"declare const $1"
|
|
5948
5948
|
);
|
|
5949
|
-
if (content
|
|
5950
|
-
|
|
5951
|
-
numPatchedFiles++;
|
|
5952
|
-
console.log(filename);
|
|
5949
|
+
if (content === updated) {
|
|
5950
|
+
return;
|
|
5953
5951
|
}
|
|
5952
|
+
await fs3.writeFile(filePath, updated, "utf8");
|
|
5953
|
+
numPatchedFiles++;
|
|
5954
|
+
console.log(filename);
|
|
5954
5955
|
});
|
|
5955
5956
|
await Promise.all(promises);
|
|
5956
5957
|
console.groupEnd();
|
package/dist/build-selectors.mjs
CHANGED
|
@@ -2194,10 +2194,11 @@ async function build2(entrypoint, options) {
|
|
|
2194
2194
|
logLevel: "info",
|
|
2195
2195
|
metafile: true
|
|
2196
2196
|
});
|
|
2197
|
-
if (format
|
|
2198
|
-
|
|
2199
|
-
console.log(output);
|
|
2197
|
+
if (format !== "esm") {
|
|
2198
|
+
continue;
|
|
2200
2199
|
}
|
|
2200
|
+
const output = await esbuild.analyzeMetafile(result.metafile);
|
|
2201
|
+
console.log(output);
|
|
2201
2202
|
}
|
|
2202
2203
|
}
|
|
2203
2204
|
async function run(argv) {
|
package/dist/cli.mjs
CHANGED
|
@@ -2194,10 +2194,11 @@ async function build3(entrypoint, options) {
|
|
|
2194
2194
|
logLevel: "info",
|
|
2195
2195
|
metafile: true
|
|
2196
2196
|
});
|
|
2197
|
-
if (format
|
|
2198
|
-
|
|
2199
|
-
console.log(output);
|
|
2197
|
+
if (format !== "esm") {
|
|
2198
|
+
continue;
|
|
2200
2199
|
}
|
|
2200
|
+
const output = await esbuild.analyzeMetafile(result.metafile);
|
|
2201
|
+
console.log(output);
|
|
2201
2202
|
}
|
|
2202
2203
|
}
|
|
2203
2204
|
async function cli(args) {
|
package/dist/tsdoc-metadata.json
CHANGED
package/dist/vite.config.cjs
CHANGED
|
@@ -11285,8 +11285,8 @@ function vuePlugin2(config) {
|
|
|
11285
11285
|
}
|
|
11286
11286
|
}
|
|
11287
11287
|
async function findEntrypoint(pattern) {
|
|
11288
|
-
const defaultEntrypoint = "/src/vite-dev/app.vue";
|
|
11289
11288
|
if (!pattern) {
|
|
11289
|
+
const defaultEntrypoint = "/src/vite-dev/app.vue";
|
|
11290
11290
|
return defaultEntrypoint;
|
|
11291
11291
|
}
|
|
11292
11292
|
const uf = new import_ufuzzy.default({ intraIns: Infinity });
|
package/dist/vite.config.mjs
CHANGED
|
@@ -11279,8 +11279,8 @@ function vuePlugin2(config) {
|
|
|
11279
11279
|
}
|
|
11280
11280
|
}
|
|
11281
11281
|
async function findEntrypoint(pattern) {
|
|
11282
|
-
const defaultEntrypoint = "/src/vite-dev/app.vue";
|
|
11283
11282
|
if (!pattern) {
|
|
11283
|
+
const defaultEntrypoint = "/src/vite-dev/app.vue";
|
|
11284
11284
|
return defaultEntrypoint;
|
|
11285
11285
|
}
|
|
11286
11286
|
const uf = new import_ufuzzy.default({ intraIns: Infinity });
|
package/dist/write-config.mjs
CHANGED
|
@@ -926,10 +926,11 @@ async function run(cwd, argv) {
|
|
|
926
926
|
if (written.has(entry)) {
|
|
927
927
|
continue;
|
|
928
928
|
}
|
|
929
|
-
if (omitted.has(entry) || shouldPrune(entry)) {
|
|
930
|
-
|
|
931
|
-
console.log(entry, "removed");
|
|
929
|
+
if (!(omitted.has(entry) || shouldPrune(entry))) {
|
|
930
|
+
continue;
|
|
932
931
|
}
|
|
932
|
+
await fs3.unlink(path3.join(cwd, entry));
|
|
933
|
+
console.log(entry, "removed");
|
|
933
934
|
}
|
|
934
935
|
await writeBuildScripts(cwd, options);
|
|
935
936
|
console.groupEnd();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@forsakringskassan/vite-lib-config",
|
|
3
|
-
"version": "5.12.
|
|
3
|
+
"version": "5.12.5",
|
|
4
4
|
"description": "Försäkringskassan toolchain to build libraries with Vite",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"vite"
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"tsconfig"
|
|
53
53
|
],
|
|
54
54
|
"dependencies": {
|
|
55
|
-
"@microsoft/api-extractor": "7.59.
|
|
55
|
+
"@microsoft/api-extractor": "7.59.2",
|
|
56
56
|
"@vue/babel-preset-app": "5.0.9",
|
|
57
57
|
"esbuild": "^0.28.0"
|
|
58
58
|
},
|