@voidzero-dev/vite-plus-core 0.1.2 → 0.1.4
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/rolldown/cli.mjs +619 -197
- package/dist/rolldown/config.d.mts +1 -1
- package/dist/rolldown/config.mjs +10 -11
- package/dist/rolldown/experimental-index.d.mts +20 -6
- package/dist/rolldown/experimental-index.mjs +24 -22
- package/dist/rolldown/filter-index.d.mts +1 -1
- package/dist/rolldown/filter-index.mjs +2 -8
- package/dist/rolldown/get-log-filter.mjs +1 -2
- package/dist/rolldown/index.d.mts +3 -3
- package/dist/rolldown/index.mjs +10 -13
- package/dist/rolldown/parallel-plugin-worker.mjs +7 -9
- package/dist/rolldown/parallel-plugin.d.mts +1 -1
- package/dist/rolldown/parallel-plugin.mjs +1 -2
- package/dist/rolldown/parse-ast-index.d.mts +1 -1
- package/dist/rolldown/parse-ast-index.mjs +4 -6
- package/dist/rolldown/plugins-index.d.mts +3 -3
- package/dist/rolldown/plugins-index.mjs +4 -6
- package/dist/rolldown/shared/{binding-Bd04_f8P.mjs → binding-BSVL02lq.mjs} +7 -16
- package/dist/rolldown/shared/{binding-C4ZlFAt6.d.mts → binding-BohGL_65.d.mts} +10 -5
- package/dist/rolldown/shared/{bindingify-input-options-ffqkmT9z.mjs → bindingify-input-options-DkwIzK4F.mjs} +36 -56
- package/dist/rolldown/shared/{constructors-cPsD1J5w.d.mts → constructors-Bnr_ApVf.d.mts} +2 -2
- package/dist/rolldown/shared/{constructors-C5a55nbY.mjs → constructors-D91FHkmz.mjs} +2 -4
- package/dist/rolldown/shared/{define-config-DX_4SBzo.d.mts → define-config-B1jccsL9.d.mts} +84 -30
- package/dist/rolldown/shared/{define-config-BMj_QknW.mjs → define-config-DJOr6Iwt.mjs} +1 -2
- package/dist/rolldown/shared/{error-BYPsvVEN.mjs → error-tpgdcGrK.mjs} +3 -8
- package/dist/rolldown/shared/{load-config-Oj1-3DPg.mjs → load-config-Dapgaecf.mjs} +2 -4
- package/dist/rolldown/shared/{logs-CCc_0vhs.mjs → logs-D80CXhvg.mjs} +5 -8
- package/dist/rolldown/shared/{misc-Xty885dB.mjs → misc-DJYbNKZX.mjs} +1 -2
- package/dist/rolldown/shared/{normalize-string-or-regex-DoNa0azR.mjs → normalize-string-or-regex-BCllTl21.mjs} +3 -6
- package/dist/rolldown/shared/{parse-Wj8OTS4w.mjs → parse-DFYpKkKl.mjs} +2 -5
- package/dist/rolldown/shared/{prompt-CmNr0AI-.mjs → prompt-DZIXsnf9.mjs} +1 -3
- package/dist/rolldown/shared/{rolldown-y9H0nYAD.mjs → rolldown-DK6iIJl8.mjs} +2 -4
- package/dist/rolldown/shared/{rolldown-build-DkOWV5Vu.mjs → rolldown-build-rw0HCMhn.mjs} +427 -473
- package/dist/rolldown/shared/{transform-D55YcCvB.mjs → transform-BSCulZAO.mjs} +3 -6
- package/dist/rolldown/shared/{transform-DoG7c5_r.d.mts → transform-BoJxrM-e.d.mts} +1 -1
- package/dist/rolldown/shared/{watch-CVufTfok.mjs → watch-D8uEZyLj.mjs} +71 -77
- package/dist/rolldown/utils-index.d.mts +2 -2
- package/dist/rolldown/utils-index.mjs +9 -18
- package/dist/tsdown/{build-TmLngPCw-I7MHSf0I.js → build-BG-XbM6V-hoyhQqI3.js} +87 -292
- package/dist/tsdown/build-DHPfiKA--CvTonTfC.js +5 -0
- package/dist/tsdown/{chunk-CdeBBKNj.js → chunk-CSNpwdVU.js} +13 -23
- package/dist/tsdown/{debug-tOJ_PtrM-DITcI9An.js → debug-C4FmgzkJ-B6m_gRpz.js} +4 -6
- package/dist/tsdown/{detect-DK-FDZQ9-CALXiuJa.js → detect-J1_Vd1yf-BWDiPZkP.js} +2 -4
- package/dist/tsdown/{dist-uzMTIu3J.js → dist-C9Oecl0H.js} +24 -56
- package/dist/tsdown/{dist-DVPyDO-_.js → dist-Dx-jtFHM.js} +5 -10
- package/dist/tsdown/{dist-kuoe97DJ.js → dist-_l70jCqI.js} +1 -2
- package/dist/tsdown/{filename-C2azOotK.js → filename-tIvGuRvQ.js} +1 -3
- package/dist/tsdown/{index-node-Djp92Gzb-fgHTblzo.js → index-node-Bpsmc0eX-jMz9gD3P.js} +2 -4
- package/dist/tsdown/index-types.d.ts +8561 -180
- package/dist/tsdown/index.js +7 -9
- package/dist/tsdown/{main-BWoReXjl.js → main-DN-_H9u2.js} +8 -23
- package/dist/tsdown/{node-Ba_UB_xO.js → node-B3Gdtau1.js} +1 -4
- package/dist/tsdown/npm_cjs_chunk_chunk.cjs +6 -8
- package/dist/tsdown/npm_cjs_chunk_lt.cjs +13 -16
- package/dist/tsdown/npm_cjs_chunk_range.cjs +16 -28
- package/dist/tsdown/npm_cjs_chunk_semver.cjs +40 -52
- package/dist/tsdown/npm_entry_picomatch.cjs +18 -30
- package/dist/tsdown/npm_entry_semver_functions_coerce.cjs +3 -7
- package/dist/tsdown/npm_entry_semver_functions_lt.cjs +3 -5
- package/dist/tsdown/npm_entry_semver_functions_satisfies.cjs +5 -8
- package/dist/tsdown/npm_entry_semver_ranges_min-version.cjs +5 -8
- package/dist/tsdown/npm_entry_tree-kill.cjs +2 -6
- package/dist/tsdown/{resolver-CdD-yT15-OWjlgV0D.js → resolver-CdD-yT15-3eaymYLw.js} +2 -4
- package/dist/tsdown/run.js +6 -12
- package/dist/tsdown/{tsc-D6YfZJBZ.js → tsc-OwK9UHsV.js} +4 -6
- package/dist/tsdown/{tsc-context-CGmk4Cps.js → tsc-context-DiIjfXAG.js} +2 -4
- package/dist/vite/client/client.mjs +116 -19
- package/dist/vite/client/env.mjs +1 -2
- package/dist/vite/node/chunks/build.js +2 -3
- package/dist/vite/node/chunks/build2.js +91 -243
- package/dist/vite/node/chunks/chunk.js +7 -13
- package/dist/vite/node/chunks/config.js +2 -3
- package/dist/vite/node/chunks/dist.js +27 -61
- package/dist/vite/node/chunks/dist2.js +11 -95
- package/dist/vite/node/chunks/lib.js +1 -7
- package/dist/vite/node/chunks/logger.js +4 -9
- package/dist/vite/node/chunks/node.js +956 -918
- package/dist/vite/node/chunks/optimizer.js +2 -3
- package/dist/vite/node/chunks/postcss-import.js +1 -13
- package/dist/vite/node/chunks/preview.js +2 -3
- package/dist/vite/node/chunks/server.js +2 -3
- package/dist/vite/node/cli.js +202 -67
- package/dist/vite/node/index.d.ts +17 -14
- package/dist/vite/node/index.js +2 -3
- package/dist/vite/node/internal.js +1 -2
- package/dist/vite/node/module-runner.d.ts +5 -1
- package/dist/vite/node/module-runner.js +44 -3
- package/dist/vite/types/customEvent.d.ts +27 -0
- package/package.json +10 -10
- package/dist/rolldown/cli-setup.d.mts +0 -1
- package/dist/rolldown/cli-setup.mjs +0 -17
- package/dist/tsdown/build-gOkJM1H9-BRI3DQle.js +0 -6
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import "node:module";
|
|
3
2
|
//#region \0rolldown/runtime.js
|
|
4
3
|
var __create = Object.create;
|
|
5
4
|
var __defProp = Object.defineProperty;
|
|
@@ -10,28 +9,20 @@ var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
|
10
9
|
var __commonJSMin = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
|
|
11
10
|
var __exportAll = (all, no_symbols) => {
|
|
12
11
|
let target = {};
|
|
13
|
-
for (var name in all) {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
}
|
|
19
|
-
if (!no_symbols) {
|
|
20
|
-
__defProp(target, Symbol.toStringTag, { value: "Module" });
|
|
21
|
-
}
|
|
12
|
+
for (var name in all) __defProp(target, name, {
|
|
13
|
+
get: all[name],
|
|
14
|
+
enumerable: true
|
|
15
|
+
});
|
|
16
|
+
if (!no_symbols) __defProp(target, Symbol.toStringTag, { value: "Module" });
|
|
22
17
|
return target;
|
|
23
18
|
};
|
|
24
19
|
var __copyProps = (to, from, except, desc) => {
|
|
25
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
32
|
-
});
|
|
33
|
-
}
|
|
34
|
-
}
|
|
20
|
+
if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
21
|
+
key = keys[i];
|
|
22
|
+
if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
23
|
+
get: ((k) => from[k]).bind(null, key),
|
|
24
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
25
|
+
});
|
|
35
26
|
}
|
|
36
27
|
return to;
|
|
37
28
|
};
|
|
@@ -39,6 +30,5 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
39
30
|
value: mod,
|
|
40
31
|
enumerable: true
|
|
41
32
|
}) : target, mod));
|
|
42
|
-
|
|
43
33
|
//#endregion
|
|
44
|
-
export { __exportAll as n, __toESM as r, __commonJSMin as t };
|
|
34
|
+
export { __exportAll as n, __toESM as r, __commonJSMin as t };
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { C as resolveComma, E as toArray } from "./main-
|
|
2
|
-
import { n as enable, r as namespaces, t as createDebug } from "./node-
|
|
3
|
-
|
|
4
|
-
//#region ../../node_modules/.pnpm/tsdown@0.21.0_@arethetypeswrong+core@0.18.2_@tsdown+css@0.21.0_@tsdown+exe@0.21.0_@type_743816f26d68021f6369d2afb428dae9/node_modules/tsdown/dist/debug-tOJ_PtrM.mjs
|
|
1
|
+
import { C as resolveComma, E as toArray } from "./main-DN-_H9u2.js";
|
|
2
|
+
import { n as enable, r as namespaces, t as createDebug } from "./node-B3Gdtau1.js";
|
|
3
|
+
//#region ../../node_modules/.pnpm/tsdown@0.21.1_@arethetypeswrong+core@0.18.2_@tsdown+css@0.21.1_@tsdown+exe@0.21.1_@type_441010dc1e356451b27baacd78ca9eda/node_modules/tsdown/dist/debug-C4FmgzkJ.mjs
|
|
5
4
|
const debugLog = createDebug("tsdown:debug");
|
|
6
5
|
function enableDebug(debug) {
|
|
7
6
|
if (!debug) return;
|
|
@@ -13,6 +12,5 @@ function enableDebug(debug) {
|
|
|
13
12
|
enable(namespace);
|
|
14
13
|
debugLog("Debugging enabled", namespace);
|
|
15
14
|
}
|
|
16
|
-
|
|
17
15
|
//#endregion
|
|
18
|
-
export { enableDebug as t };
|
|
16
|
+
export { enableDebug as t };
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import process from "node:process";
|
|
2
2
|
import path from "node:path";
|
|
3
3
|
import fs from "node:fs/promises";
|
|
4
|
-
|
|
5
|
-
//#region ../../node_modules/.pnpm/tsdown@0.21.0_@arethetypeswrong+core@0.18.2_@tsdown+css@0.21.0_@tsdown+exe@0.21.0_@type_743816f26d68021f6369d2afb428dae9/node_modules/tsdown/dist/detect-DK-FDZQ9.mjs
|
|
4
|
+
//#region ../../node_modules/.pnpm/tsdown@0.21.1_@arethetypeswrong+core@0.18.2_@tsdown+css@0.21.1_@tsdown+exe@0.21.1_@type_441010dc1e356451b27baacd78ca9eda/node_modules/tsdown/dist/detect-J1_Vd1yf.mjs
|
|
6
5
|
const AGENTS = [
|
|
7
6
|
"npm",
|
|
8
7
|
"yarn",
|
|
@@ -160,6 +159,5 @@ async function handlePackageManager(filepath, options) {
|
|
|
160
159
|
function isMetadataYarnClassic(metadataPath) {
|
|
161
160
|
return metadataPath.endsWith(".yarn_integrity");
|
|
162
161
|
}
|
|
163
|
-
|
|
164
162
|
//#endregion
|
|
165
|
-
export { detect, getUserAgent };
|
|
163
|
+
export { detect, getUserAgent };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as __exportAll, r as __toESM, t as __commonJSMin } from "./chunk-
|
|
2
|
-
import { t as createDebug } from "./node-
|
|
3
|
-
import { a as RE_JSON, c as RE_TS, d as filename_js_to_dts, f as filename_to_dts, i as RE_JS, l as RE_VUE, m as resolveTemplateFn, n as RE_DTS, o as RE_NODE_MODULES, p as replaceTemplateName, r as RE_DTS_MAP, s as RE_ROLLDOWN_RUNTIME, t as RE_CSS, u as filename_dts_to } from "./filename-
|
|
4
|
-
import { n as globalContext, r as invalidateContextFile, t as createContext } from "./tsc-context-
|
|
1
|
+
import { n as __exportAll, r as __toESM, t as __commonJSMin } from "./chunk-CSNpwdVU.js";
|
|
2
|
+
import { t as createDebug } from "./node-B3Gdtau1.js";
|
|
3
|
+
import { a as RE_JSON, c as RE_TS, d as filename_js_to_dts, f as filename_to_dts, i as RE_JS, l as RE_VUE, m as resolveTemplateFn, n as RE_DTS, o as RE_NODE_MODULES, p as replaceTemplateName, r as RE_DTS_MAP, s as RE_ROLLDOWN_RUNTIME, t as RE_CSS, u as filename_dts_to } from "./filename-tIvGuRvQ.js";
|
|
4
|
+
import { n as globalContext, r as invalidateContextFile, t as createContext } from "./tsc-context-DiIjfXAG.js";
|
|
5
5
|
import module$1, { createRequire } from "node:module";
|
|
6
6
|
import process$1 from "node:process";
|
|
7
7
|
import path, { dirname, extname } from "node:path";
|
|
@@ -11,7 +11,6 @@ import path$1 from "path";
|
|
|
11
11
|
import fs from "node:fs";
|
|
12
12
|
import { ResolverFactory, isolatedDeclarationSync } from "@voidzero-dev/vite-plus-core/rolldown/experimental";
|
|
13
13
|
import Be from "os";
|
|
14
|
-
|
|
15
14
|
//#region ../../node_modules/.pnpm/@jridgewell+sourcemap-codec@1.5.5/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs
|
|
16
15
|
var comma = ",".charCodeAt(0);
|
|
17
16
|
var semicolon = ";".charCodeAt(0);
|
|
@@ -176,7 +175,6 @@ function encode(decoded) {
|
|
|
176
175
|
}
|
|
177
176
|
return writer.flush();
|
|
178
177
|
}
|
|
179
|
-
|
|
180
178
|
//#endregion
|
|
181
179
|
//#region ../../node_modules/.pnpm/@jridgewell+resolve-uri@3.1.2/node_modules/@jridgewell/resolve-uri/dist/resolve-uri.mjs
|
|
182
180
|
const schemeRegex = /^[\w+.-]+:\/\//;
|
|
@@ -341,7 +339,6 @@ function resolve$2(input, base) {
|
|
|
341
339
|
default: return url.scheme + "//" + url.user + url.host + url.port + url.path + queryHash;
|
|
342
340
|
}
|
|
343
341
|
}
|
|
344
|
-
|
|
345
342
|
//#endregion
|
|
346
343
|
//#region ../../node_modules/.pnpm/@jridgewell+trace-mapping@0.3.31/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.mjs
|
|
347
344
|
function stripFilename(path) {
|
|
@@ -432,8 +429,6 @@ function parse$2(map) {
|
|
|
432
429
|
}
|
|
433
430
|
var LINE_GTR_ZERO = "`line` must be greater than 0 (lines start at line 1)";
|
|
434
431
|
var COL_GTR_EQ_ZERO = "`column` must be greater than or equal to 0 (columns start at column 0)";
|
|
435
|
-
var LEAST_UPPER_BOUND = -1;
|
|
436
|
-
var GREATEST_LOWER_BOUND = 1;
|
|
437
432
|
var TraceMap = class {
|
|
438
433
|
constructor(map, mapUrl) {
|
|
439
434
|
const isString = typeof map === "string";
|
|
@@ -478,7 +473,7 @@ function originalPositionFor(map, needle) {
|
|
|
478
473
|
const decoded = decodedMappings(map);
|
|
479
474
|
if (line >= decoded.length) return OMapping(null, null, null, null);
|
|
480
475
|
const segments = decoded[line];
|
|
481
|
-
const index = traceSegmentInternal(segments, cast$1(map)._decodedMemo, line, column, bias ||
|
|
476
|
+
const index = traceSegmentInternal(segments, cast$1(map)._decodedMemo, line, column, bias || 1);
|
|
482
477
|
if (index === -1) return OMapping(null, null, null, null);
|
|
483
478
|
const segment = segments[index];
|
|
484
479
|
if (segment.length === 1) return OMapping(null, null, null, null);
|
|
@@ -495,12 +490,11 @@ function OMapping(source, line, column, name) {
|
|
|
495
490
|
}
|
|
496
491
|
function traceSegmentInternal(segments, memo, line, column, bias) {
|
|
497
492
|
let index = memoizedBinarySearch(segments, column, memo, line);
|
|
498
|
-
if (found) index = (bias ===
|
|
499
|
-
else if (bias ===
|
|
493
|
+
if (found) index = (bias === -1 ? upperBound : lowerBound)(segments, column, index);
|
|
494
|
+
else if (bias === -1) index++;
|
|
500
495
|
if (index === -1 || index === segments.length) return -1;
|
|
501
496
|
return index;
|
|
502
497
|
}
|
|
503
|
-
|
|
504
498
|
//#endregion
|
|
505
499
|
//#region ../../node_modules/.pnpm/@jridgewell+gen-mapping@0.3.13/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.mjs
|
|
506
500
|
var SetArray = class {
|
|
@@ -662,7 +656,6 @@ function addMappingInternal(skipable, map, mapping) {
|
|
|
662
656
|
assert$2(original);
|
|
663
657
|
return addSegmentInternal(skipable, map, generated.line - 1, generated.column, source, original.line - 1, original.column, name, content);
|
|
664
658
|
}
|
|
665
|
-
|
|
666
659
|
//#endregion
|
|
667
660
|
//#region ../../node_modules/.pnpm/@babel+helper-validator-identifier@8.0.0-rc.2/node_modules/@babel/helper-validator-identifier/lib/index.js
|
|
668
661
|
let nonASCIIidentifierStartChars$1 = "ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽ-ೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-Ა-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ--ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";
|
|
@@ -1718,7 +1711,7 @@ const reservedWords$1 = {
|
|
|
1718
1711
|
};
|
|
1719
1712
|
const keywords$2 = new Set(reservedWords$1.keyword);
|
|
1720
1713
|
const reservedWordsStrictSet$1 = new Set(reservedWords$1.strict);
|
|
1721
|
-
|
|
1714
|
+
new Set(reservedWords$1.strictBind);
|
|
1722
1715
|
function isReservedWord$1(word, inModule) {
|
|
1723
1716
|
return inModule && word === "await" || word === "enum";
|
|
1724
1717
|
}
|
|
@@ -1728,7 +1721,6 @@ function isStrictReservedWord$1(word, inModule) {
|
|
|
1728
1721
|
function isKeyword$1(word) {
|
|
1729
1722
|
return keywords$2.has(word);
|
|
1730
1723
|
}
|
|
1731
|
-
|
|
1732
1724
|
//#endregion
|
|
1733
1725
|
//#region ../../node_modules/.pnpm/@babel+helper-string-parser@8.0.0-rc.2/node_modules/@babel/helper-string-parser/lib/index.js
|
|
1734
1726
|
var _isDigit$1 = function isDigit(code) {
|
|
@@ -1949,7 +1941,6 @@ function readCodePoint$1(input, pos, lineStart, curLine, throwOnInvalid, errors)
|
|
|
1949
1941
|
pos
|
|
1950
1942
|
};
|
|
1951
1943
|
}
|
|
1952
|
-
|
|
1953
1944
|
//#endregion
|
|
1954
1945
|
//#region ../../node_modules/.pnpm/@babel+types@8.0.0-rc.2/node_modules/@babel/types/lib/index.js
|
|
1955
1946
|
var lib_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -13615,10 +13606,9 @@ const react = {
|
|
|
13615
13606
|
isCompatTag,
|
|
13616
13607
|
buildChildren
|
|
13617
13608
|
};
|
|
13618
|
-
|
|
13619
13609
|
//#endregion
|
|
13620
|
-
//#region ../../node_modules/.pnpm
|
|
13621
|
-
var
|
|
13610
|
+
//#region ../../node_modules/.pnpm/@babel+generator@8.0.0-rc.2/node_modules/@babel/generator/lib/index.js
|
|
13611
|
+
var import_jsesc = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
13622
13612
|
const object = {};
|
|
13623
13613
|
const hasOwnProperty = object.hasOwnProperty;
|
|
13624
13614
|
const forOwn = (object, callback) => {
|
|
@@ -13818,11 +13808,7 @@ var require_jsesc = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
13818
13808
|
};
|
|
13819
13809
|
jsesc.version = "3.0.2";
|
|
13820
13810
|
module.exports = jsesc;
|
|
13821
|
-
}));
|
|
13822
|
-
|
|
13823
|
-
//#endregion
|
|
13824
|
-
//#region ../../node_modules/.pnpm/@babel+generator@8.0.0-rc.2/node_modules/@babel/generator/lib/index.js
|
|
13825
|
-
var import_jsesc = /* @__PURE__ */ __toESM(require_jsesc(), 1);
|
|
13811
|
+
})))(), 1);
|
|
13826
13812
|
var SourceMap = class {
|
|
13827
13813
|
_map;
|
|
13828
13814
|
_rawMappings;
|
|
@@ -17825,7 +17811,6 @@ function normalizeOptions(code, opts, ast) {
|
|
|
17825
17811
|
function generate(ast, opts = {}, code) {
|
|
17826
17812
|
return new Printer(normalizeOptions(code, opts, ast), opts.sourceMaps ? new SourceMap(opts, code) : null, ast.tokens, typeof code === "string" ? code : null).generate(ast);
|
|
17827
17813
|
}
|
|
17828
|
-
|
|
17829
17814
|
//#endregion
|
|
17830
17815
|
//#region ../../node_modules/.pnpm/@babel+parser@8.0.0-rc.2/node_modules/@babel/parser/lib/index.js
|
|
17831
17816
|
var Position = class {
|
|
@@ -29926,7 +29911,7 @@ function generateExportedTokenTypes(internalTokenTypes) {
|
|
|
29926
29911
|
for (const typeName of Object.keys(internalTokenTypes)) tokenTypes[typeName] = getExportedToken(internalTokenTypes[typeName]);
|
|
29927
29912
|
return tokenTypes;
|
|
29928
29913
|
}
|
|
29929
|
-
|
|
29914
|
+
generateExportedTokenTypes(tt);
|
|
29930
29915
|
function getParser(options, input) {
|
|
29931
29916
|
let cls = Parser;
|
|
29932
29917
|
const pluginsMap = /* @__PURE__ */ new Map();
|
|
@@ -29955,7 +29940,6 @@ function getParserClass(pluginsMap) {
|
|
|
29955
29940
|
}
|
|
29956
29941
|
return cls;
|
|
29957
29942
|
}
|
|
29958
|
-
|
|
29959
29943
|
//#endregion
|
|
29960
29944
|
//#region ../../node_modules/.pnpm/estree-walker@3.0.3/node_modules/estree-walker/src/walker.js
|
|
29961
29945
|
/**
|
|
@@ -30006,7 +29990,6 @@ var WalkerBase = class {
|
|
|
30006
29990
|
else delete parent[prop];
|
|
30007
29991
|
}
|
|
30008
29992
|
};
|
|
30009
|
-
|
|
30010
29993
|
//#endregion
|
|
30011
29994
|
//#region ../../node_modules/.pnpm/estree-walker@3.0.3/node_modules/estree-walker/src/sync.js
|
|
30012
29995
|
/**
|
|
@@ -30122,7 +30105,6 @@ var SyncWalker = class extends WalkerBase {
|
|
|
30122
30105
|
function isNode(value) {
|
|
30123
30106
|
return value !== null && typeof value === "object" && "type" in value && typeof value.type === "string";
|
|
30124
30107
|
}
|
|
30125
|
-
|
|
30126
30108
|
//#endregion
|
|
30127
30109
|
//#region ../../node_modules/.pnpm/estree-walker@3.0.3/node_modules/estree-walker/src/index.js
|
|
30128
30110
|
/**
|
|
@@ -30141,7 +30123,6 @@ function isNode(value) {
|
|
|
30141
30123
|
function walk(ast, { enter, leave }) {
|
|
30142
30124
|
return new SyncWalker(enter, leave).visit(ast, null);
|
|
30143
30125
|
}
|
|
30144
|
-
|
|
30145
30126
|
//#endregion
|
|
30146
30127
|
//#region ../../node_modules/.pnpm/ast-kit@3.0.0-beta.1/node_modules/ast-kit/dist/index.js
|
|
30147
30128
|
/**
|
|
@@ -30314,11 +30295,7 @@ function resolveTemplateLiteral(node) {
|
|
|
30314
30295
|
* @param {WalkHandlers<T, void>} hooks - The handlers to be applied during the walk.
|
|
30315
30296
|
* @returns {T | null} - The modified AST node or null if the node is removed.
|
|
30316
30297
|
*/
|
|
30317
|
-
const walkAST = walk
|
|
30318
|
-
|
|
30319
|
-
//#endregion
|
|
30320
|
-
//#region ../../node_modules/.pnpm/resolve-pkg-maps@1.0.0/node_modules/resolve-pkg-maps/dist/index.mjs
|
|
30321
|
-
const A = (r) => r !== null && typeof r == "object", a = (r, t) => Object.assign(/* @__PURE__ */ new Error(`[${r}]: ${t}`), { code: r }), _ = "ERR_INVALID_PACKAGE_CONFIG", E$1 = "ERR_INVALID_PACKAGE_TARGET", I$1 = "ERR_PACKAGE_PATH_NOT_EXPORTED", P$1 = "ERR_PACKAGE_IMPORT_NOT_DEFINED", R = /^\d+$/, O$1 = /^(\.{1,2}|node_modules)$/i, w = /\/|\\/;
|
|
30298
|
+
const walkAST = walk, A = (r) => r !== null && typeof r == "object", a = (r, t) => Object.assign(/* @__PURE__ */ new Error(`[${r}]: ${t}`), { code: r }), _ = "ERR_INVALID_PACKAGE_CONFIG", E$1 = "ERR_INVALID_PACKAGE_TARGET", I$1 = "ERR_PACKAGE_PATH_NOT_EXPORTED", R = /^\d+$/, O$1 = /^(\.{1,2}|node_modules)$/i, w = /\/|\\/;
|
|
30322
30299
|
var h$1 = ((r) => (r.Export = "exports", r.Import = "imports", r))(h$1 || {});
|
|
30323
30300
|
const f = (r, t, e, o, c) => {
|
|
30324
30301
|
if (t == null) return [];
|
|
@@ -30363,13 +30340,7 @@ const p = (r) => Object.keys(r).reduce((t, e) => {
|
|
|
30363
30340
|
if (n.length === 0) throw a(I$1, t === "." ? "No \"exports\" main defined" : `Package subpath '${t}' is not defined by "exports"`);
|
|
30364
30341
|
for (const i of n) if (!i.startsWith("./") && !u.test(i)) throw a(E$1, `Invalid "exports" target "${i}" defined in the package config`);
|
|
30365
30342
|
return n;
|
|
30366
|
-
}, T = (r, t, e) => {
|
|
30367
|
-
if (!r) throw new Error("\"imports\" is required");
|
|
30368
|
-
const [o, c] = d(r, t), n = f(h$1.Import, r[o], t, e, c);
|
|
30369
|
-
if (n.length === 0) throw a(P$1, `Package import specifier "${t}" is not defined in package`);
|
|
30370
|
-
return n;
|
|
30371
30343
|
};
|
|
30372
|
-
|
|
30373
30344
|
//#endregion
|
|
30374
30345
|
//#region ../../node_modules/.pnpm/get-tsconfig@4.13.6/node_modules/get-tsconfig/dist/index.mjs
|
|
30375
30346
|
var Le = Object.defineProperty;
|
|
@@ -31059,7 +31030,8 @@ const me = i((e, t) => Re($e(t, e, "utf8")), "readJsonc"), C = Symbol("implicitB
|
|
|
31059
31030
|
if (Te(l, `Substitution '${l}' in pattern '${n}' can have at most one '*' character.`), !t && !q.test(l) && !path.isAbsolute(l)) throw new Error("Non-relative paths are not allowed when 'baseUrl' is not set. Did you forget a leading './'?");
|
|
31060
31031
|
return path.resolve(s, l);
|
|
31061
31032
|
})
|
|
31062
|
-
})), "parsePaths")
|
|
31033
|
+
})), "parsePaths");
|
|
31034
|
+
i((e) => {
|
|
31063
31035
|
const { compilerOptions: t } = e.config;
|
|
31064
31036
|
if (!t) return null;
|
|
31065
31037
|
const { baseUrl: s, paths: n } = t;
|
|
@@ -31136,7 +31108,8 @@ const Ae = X((e) => {
|
|
|
31136
31108
|
"node_modules",
|
|
31137
31109
|
"bower_components",
|
|
31138
31110
|
"jspm_packages"
|
|
31139
|
-
].join("|")})(/|$))`, tn = /(?:^|\/)[^.*?]+$/, Fe = "**/*", Y = "[^/]", ue = "[^./]", De = process.platform === "win32"
|
|
31111
|
+
].join("|")})(/|$))`, tn = /(?:^|\/)[^.*?]+$/, Fe = "**/*", Y = "[^/]", ue = "[^./]", De = process.platform === "win32";
|
|
31112
|
+
i(({ config: e, path: t }, s = Oe()) => {
|
|
31140
31113
|
if ("extends" in e) throw new Error("tsconfig#extends must be resolved. Use getTsconfig or parseTsconfig to resolve it.");
|
|
31141
31114
|
if (!path.isAbsolute(t)) throw new Error("The tsconfig path must be absolute");
|
|
31142
31115
|
De && (t = h(t));
|
|
@@ -31161,7 +31134,6 @@ const Ae = X((e) => {
|
|
|
31161
31134
|
if (!(!v.some((F) => T.endsWith(F)) || p.some((F) => F.test(T))) && L && L.some((F) => F.test(T))) return e;
|
|
31162
31135
|
};
|
|
31163
31136
|
}, "createFilesMatcher");
|
|
31164
|
-
|
|
31165
31137
|
//#endregion
|
|
31166
31138
|
//#region ../../node_modules/.pnpm/dts-resolver@2.1.3_oxc-resolver@11.14.0/node_modules/dts-resolver/dist/index.mjs
|
|
31167
31139
|
var __require = /* @__PURE__ */ createRequire(import.meta.url);
|
|
@@ -31274,7 +31246,6 @@ const ALLOW_EXTENSIONS = new Set([
|
|
|
31274
31246
|
function ensureValue(value) {
|
|
31275
31247
|
return value && ALLOW_EXTENSIONS.has(extname(value)) ? value.replaceAll("\\", "/") : null;
|
|
31276
31248
|
}
|
|
31277
|
-
|
|
31278
31249
|
//#endregion
|
|
31279
31250
|
//#region ../../node_modules/.pnpm/rolldown-plugin-dts@0.22.4_@typescript+native-preview@7.0.0-dev.20260122.2_oxc-resolver_e2c498b62da30912fd0b48bf4746dbba/node_modules/rolldown-plugin-dts/dist/index.mjs
|
|
31280
31251
|
const { fork, spawn } = globalThis.process.getBuiltinModule("node:child_process");
|
|
@@ -31410,14 +31381,13 @@ function createFakeJsPlugin({ sourcemap, cjsDefault, sideEffects }) {
|
|
|
31410
31381
|
const deps = collectDependencies(decl, namespaceStmts, childrenSet, identifierMap);
|
|
31411
31382
|
const children = Array.from(childrenSet).filter((child) => bindings.every((b) => child !== b));
|
|
31412
31383
|
if (decl !== stmt) decl.leadingComments = stmt.leadingComments;
|
|
31413
|
-
const
|
|
31384
|
+
const declarationIdNode = numericLiteral(registerDeclaration({
|
|
31414
31385
|
decl,
|
|
31415
31386
|
deps,
|
|
31416
31387
|
bindings,
|
|
31417
31388
|
params,
|
|
31418
31389
|
children
|
|
31419
|
-
});
|
|
31420
|
-
const declarationIdNode = numericLiteral(declarationId);
|
|
31390
|
+
}));
|
|
31421
31391
|
const depsNode = arrowFunctionExpression(params.map(({ name }) => identifier(name)), arrayExpression(deps));
|
|
31422
31392
|
const childrenNode = arrayExpression(children.map((node) => ({
|
|
31423
31393
|
type: "StringLiteral",
|
|
@@ -31655,8 +31625,7 @@ function createFakeJsPlugin({ sourcemap, cjsDefault, sideEffects }) {
|
|
|
31655
31625
|
}
|
|
31656
31626
|
function importNamespace(node, imported, source, namespaceStmts, identifierMap) {
|
|
31657
31627
|
const sourceText = source.value.replaceAll(/\W/g, "_");
|
|
31658
|
-
|
|
31659
|
-
let local = identifier(localName);
|
|
31628
|
+
let local = identifier(isIdentifierName(source.value) ? source.value : `${sourceText}${getIdentifierIndex(identifierMap, sourceText)}`);
|
|
31660
31629
|
if (namespaceStmts.has(source.value)) local = namespaceStmts.get(source.value).local;
|
|
31661
31630
|
else namespaceStmts.set(source.value, {
|
|
31662
31631
|
stmt: importDeclaration([importNamespaceSpecifier(local)], source),
|
|
@@ -31964,12 +31933,12 @@ function createGeneratePlugin({ tsconfig, tsconfigRaw, build, incremental, cwd,
|
|
|
31964
31933
|
if (tsgo) tsgoDist = await runTsgo(rootDir, tsconfig, sourcemap, tsgo.path);
|
|
31965
31934
|
else if (!oxc) if (parallel) {
|
|
31966
31935
|
childProcess = fork(new URL(WORKER_URL, import.meta.url), { stdio: "inherit" });
|
|
31967
|
-
rpc = (await import("./dist-
|
|
31936
|
+
rpc = (await import("./dist-_l70jCqI.js")).createBirpc({}, {
|
|
31968
31937
|
post: (data) => childProcess.send(data),
|
|
31969
31938
|
on: (fn) => childProcess.on("message", fn)
|
|
31970
31939
|
});
|
|
31971
31940
|
} else {
|
|
31972
|
-
tscModule = await import("./tsc-
|
|
31941
|
+
tscModule = await import("./tsc-OwK9UHsV.js");
|
|
31973
31942
|
if (newContext) tscContext = createContext();
|
|
31974
31943
|
}
|
|
31975
31944
|
if (!Array.isArray(options.input)) for (const [name, id] of Object.entries(options.input)) {
|
|
@@ -32299,7 +32268,7 @@ function createDtsResolvePlugin({ cwd, tsconfig, tsconfigRaw, resolver, sideEffe
|
|
|
32299
32268
|
async function resolveDtsPath(id, importer, rolldownResolution) {
|
|
32300
32269
|
let dtsPath;
|
|
32301
32270
|
if (resolver === "tsc") {
|
|
32302
|
-
const { tscResolve } = await import("./resolver-CdD-yT15-
|
|
32271
|
+
const { tscResolve } = await import("./resolver-CdD-yT15-3eaymYLw.js");
|
|
32303
32272
|
dtsPath = tscResolve(id, importer, cwd, tsconfig, tsconfigRaw);
|
|
32304
32273
|
} else dtsPath = baseDtsResolver(id, importer);
|
|
32305
32274
|
debug$1("Using %s for dts import: %O -> %O", resolver, id, dtsPath);
|
|
@@ -32325,6 +32294,5 @@ function dts(options = {}) {
|
|
|
32325
32294
|
plugins.push(createDtsResolvePlugin(resolved), createFakeJsPlugin(resolved));
|
|
32326
32295
|
return plugins;
|
|
32327
32296
|
}
|
|
32328
|
-
|
|
32329
32297
|
//#endregion
|
|
32330
|
-
export { dts };
|
|
32298
|
+
export { dts };
|
|
@@ -1,15 +1,14 @@
|
|
|
1
|
-
import { builtinModules
|
|
1
|
+
import { builtinModules } from "node:module";
|
|
2
2
|
import { fileURLToPath, pathToFileURL } from "node:url";
|
|
3
3
|
import process from "node:process";
|
|
4
|
-
import
|
|
4
|
+
import "node:child_process";
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
import { rolldown } from "@voidzero-dev/vite-plus-core/rolldown";
|
|
7
7
|
import { tmpdir } from "node:os";
|
|
8
8
|
import fs, { existsSync } from "node:fs";
|
|
9
9
|
import { Buffer } from "node:buffer";
|
|
10
10
|
import crypto from "node:crypto";
|
|
11
|
-
|
|
12
|
-
//#region ../../node_modules/.pnpm/unrun@0.2.30/node_modules/unrun/dist/load-module-CeH7YHFU.mjs
|
|
11
|
+
//#region ../../node_modules/.pnpm/unrun@0.2.31/node_modules/unrun/dist/src-GU5PtktT.mjs
|
|
13
12
|
/**
|
|
14
13
|
* Applies preset-specific handling to the loaded module.
|
|
15
14
|
*/
|
|
@@ -716,9 +715,6 @@ async function loadModule(code, options) {
|
|
|
716
715
|
}
|
|
717
716
|
return _module;
|
|
718
717
|
}
|
|
719
|
-
|
|
720
|
-
//#endregion
|
|
721
|
-
//#region ../../node_modules/.pnpm/unrun@0.2.30/node_modules/unrun/dist/index.mjs
|
|
722
718
|
/**
|
|
723
719
|
* Loads a module with JIT transpilation based on the provided options.
|
|
724
720
|
*
|
|
@@ -732,13 +728,12 @@ async function unrun(options) {
|
|
|
732
728
|
try {
|
|
733
729
|
module = await loadModule(output.chunk.code, resolvedOptions);
|
|
734
730
|
} catch (error) {
|
|
735
|
-
throw new Error(`[unrun] Import failed (code length: ${output.chunk.code.length}): ${error.message}
|
|
731
|
+
throw new Error(`[unrun] Import failed (code length: ${output.chunk.code.length}): ${error.message}`, { cause: error });
|
|
736
732
|
}
|
|
737
733
|
return {
|
|
738
734
|
module: preset(resolvedOptions, module),
|
|
739
735
|
dependencies: output.dependencies
|
|
740
736
|
};
|
|
741
737
|
}
|
|
742
|
-
|
|
743
738
|
//#endregion
|
|
744
|
-
export { unrun };
|
|
739
|
+
export { unrun };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { RUNTIME_MODULE_ID } from "@voidzero-dev/vite-plus-core/rolldown";
|
|
2
2
|
import { exactRegex } from "@voidzero-dev/vite-plus-core/rolldown/filter";
|
|
3
|
-
|
|
4
3
|
//#region ../../node_modules/.pnpm/rolldown-plugin-dts@0.22.4_@typescript+native-preview@7.0.0-dev.20260122.2_oxc-resolver_e2c498b62da30912fd0b48bf4746dbba/node_modules/rolldown-plugin-dts/dist/filename.mjs
|
|
5
4
|
const RE_JS = /\.([cm]?)jsx?$/;
|
|
6
5
|
const RE_TS = /\.([cm]?)tsx?$/;
|
|
@@ -26,6 +25,5 @@ function resolveTemplateFn(fn, chunk) {
|
|
|
26
25
|
function replaceTemplateName(template, name) {
|
|
27
26
|
return template.replaceAll("[name]", name);
|
|
28
27
|
}
|
|
29
|
-
|
|
30
28
|
//#endregion
|
|
31
|
-
export { RE_JSON as a, RE_TS as c, filename_js_to_dts as d, filename_to_dts as f, RE_JS as i, RE_VUE as l, resolveTemplateFn as m, RE_DTS as n, RE_NODE_MODULES as o, replaceTemplateName as p, RE_DTS_MAP as r, RE_ROLLDOWN_RUNTIME as s, RE_CSS as t, filename_dts_to as u };
|
|
29
|
+
export { RE_JSON as a, RE_TS as c, filename_js_to_dts as d, filename_to_dts as f, RE_JS as i, RE_VUE as l, resolveTemplateFn as m, RE_DTS as n, RE_NODE_MODULES as o, replaceTemplateName as p, RE_DTS_MAP as r, RE_ROLLDOWN_RUNTIME as s, RE_CSS as t, filename_dts_to as u };
|
|
@@ -4,8 +4,7 @@ import path from "node:path";
|
|
|
4
4
|
import fs from "node:fs/promises";
|
|
5
5
|
import os from "node:os";
|
|
6
6
|
import zlib from "node:zlib";
|
|
7
|
-
|
|
8
|
-
//#region ../../node_modules/.pnpm/tsdown@0.21.0_@arethetypeswrong+core@0.18.2_@tsdown+css@0.21.0_@tsdown+exe@0.21.0_@type_743816f26d68021f6369d2afb428dae9/node_modules/tsdown/dist/index-node-Djp92Gzb.mjs
|
|
7
|
+
//#region ../../node_modules/.pnpm/tsdown@0.21.1_@arethetypeswrong+core@0.18.2_@tsdown+css@0.21.1_@tsdown+exe@0.21.1_@type_441010dc1e356451b27baacd78ca9eda/node_modules/tsdown/dist/index-node-Bpsmc0eX.mjs
|
|
9
8
|
/** @type {import('../index.d.ts').pack} */
|
|
10
9
|
async function pack(dir, opts) {
|
|
11
10
|
const packageManager = opts?.packageManager ?? "npm";
|
|
@@ -246,6 +245,5 @@ async function getPackDirectory(dir, packageManager) {
|
|
|
246
245
|
} catch {}
|
|
247
246
|
return dir;
|
|
248
247
|
}
|
|
249
|
-
|
|
250
248
|
//#endregion
|
|
251
|
-
export { getPackDirectory, pack, packAsJson, packAsList, unpack };
|
|
249
|
+
export { getPackDirectory, pack, packAsJson, packAsList, unpack };
|