@voidzero-dev/vite-plus-core 0.1.2 → 0.1.3
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 +11 -22
- 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-C4ZlFAt6.d.mts → binding-BohGL_65.d.mts} +10 -5
- package/dist/rolldown/shared/{binding-Bd04_f8P.mjs → binding-COZdHtee.mjs} +7 -16
- package/dist/rolldown/shared/{bindingify-input-options-ffqkmT9z.mjs → bindingify-input-options-DdW_FOGG.mjs} +33 -56
- package/dist/rolldown/shared/{constructors-C5a55nbY.mjs → constructors-CQlws1EK.mjs} +2 -4
- package/dist/rolldown/shared/{constructors-cPsD1J5w.d.mts → constructors-ColrbLxz.d.mts} +2 -2
- package/dist/rolldown/shared/{define-config-DX_4SBzo.d.mts → define-config-BqZZMLjO.d.mts} +66 -30
- package/dist/rolldown/shared/{define-config-BMj_QknW.mjs → define-config-DJOr6Iwt.mjs} +1 -2
- package/dist/rolldown/shared/{error-BYPsvVEN.mjs → error-FTNambir.mjs} +3 -8
- package/dist/rolldown/shared/{load-config-Oj1-3DPg.mjs → load-config-DBRCgd9m.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-CJTjKt5t.mjs} +3 -6
- package/dist/rolldown/shared/{parse-Wj8OTS4w.mjs → parse-q7gzDQmi.mjs} +2 -5
- package/dist/rolldown/shared/{prompt-CmNr0AI-.mjs → prompt-DZIXsnf9.mjs} +1 -3
- package/dist/rolldown/shared/{rolldown-y9H0nYAD.mjs → rolldown-BJMdRJb1.mjs} +2 -4
- package/dist/rolldown/shared/{rolldown-build-DkOWV5Vu.mjs → rolldown-build-DKv2K096.mjs} +424 -473
- package/dist/rolldown/shared/{transform-DoG7c5_r.d.mts → transform-BoJxrM-e.d.mts} +1 -1
- package/dist/rolldown/shared/{transform-D55YcCvB.mjs → transform-CQppMqL8.mjs} +3 -6
- package/dist/rolldown/shared/{watch-CVufTfok.mjs → watch-BeMWbIuq.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-TmLngPCw-CBoVPzkZ.js} +57 -150
- package/dist/tsdown/build-gOkJM1H9-D9ngUBpk.js +5 -0
- package/dist/tsdown/{chunk-CdeBBKNj.js → chunk-CSNpwdVU.js} +13 -23
- package/dist/tsdown/{debug-tOJ_PtrM-DITcI9An.js → debug-tOJ_PtrM-C-Do1Twv.js} +4 -6
- package/dist/tsdown/{detect-DK-FDZQ9-CALXiuJa.js → detect-DK-FDZQ9-CHuRhyUG.js} +2 -4
- package/dist/tsdown/{dist-DVPyDO-_.js → dist-Ba2DZx1w.js} +3 -6
- package/dist/tsdown/{dist-uzMTIu3J.js → dist-DCol2bGA.js} +24 -56
- package/dist/tsdown/{dist-kuoe97DJ.js → dist-_l70jCqI.js} +1 -2
- package/dist/tsdown/{filename-C2azOotK.js → filename-BDcjeHGl.js} +1 -3
- package/dist/tsdown/{index-node-Djp92Gzb-fgHTblzo.js → index-node-Djp92Gzb-B-AUHI4t.js} +2 -4
- package/dist/tsdown/index-types.d.ts +8 -7
- package/dist/tsdown/index.js +7 -9
- package/dist/tsdown/{main-BWoReXjl.js → main-DYgM-9Cb.js} +7 -22
- 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-CberiTDq.js} +4 -6
- package/dist/tsdown/{tsc-context-CGmk4Cps.js → tsc-context-DiIjfXAG.js} +2 -4
- package/dist/vite/client/client.mjs +4 -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 +3 -8
- package/dist/vite/node/chunks/node.js +137 -428
- 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 +1 -4
- package/dist/vite/node/index.d.ts +2 -2
- package/dist/vite/node/index.js +1 -2
- package/dist/vite/node/internal.js +1 -2
- package/dist/vite/node/module-runner.js +44 -3
- package/package.json +5 -5
- 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,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-BDcjeHGl.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-CberiTDq.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,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.0_@arethetypeswrong+core@0.18.2_@tsdown+css@0.21.0_@tsdown+exe@0.21.0_@type_df9c58766eba71ed4fabe78a2cfe9dc9/node_modules/tsdown/dist/index-node-Djp92Gzb.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 };
|
|
@@ -995,7 +995,7 @@ interface TsgoOptions {
|
|
|
995
995
|
path?: string;
|
|
996
996
|
}
|
|
997
997
|
//#endregion
|
|
998
|
-
//#region ../../node_modules/.pnpm/@vitejs+devtools@0.0.0-alpha.
|
|
998
|
+
//#region ../../node_modules/.pnpm/@vitejs+devtools@0.0.0-alpha.33_@pnpm+logger@1001.0.1_typescript@5.9.3_vite@packages+core_vue@3.5.27_typescript@5.9.3_/node_modules/@vitejs/devtools/dist/cli-commands.d.ts
|
|
999
999
|
//#region src/node/cli-commands.d.ts
|
|
1000
1000
|
interface StartOptions {
|
|
1001
1001
|
root?: string;
|
|
@@ -1064,7 +1064,7 @@ interface CheckPackageOptions {
|
|
|
1064
1064
|
entrypointsLegacy?: boolean;
|
|
1065
1065
|
}
|
|
1066
1066
|
//#endregion
|
|
1067
|
-
//#region ../../node_modules/.pnpm/publint@0.3.
|
|
1067
|
+
//#region ../../node_modules/.pnpm/publint@0.3.18/node_modules/publint/src/index.d.ts
|
|
1068
1068
|
interface PackFile {
|
|
1069
1069
|
name: string;
|
|
1070
1070
|
data: string | ArrayBuffer | Uint8Array;
|
|
@@ -1076,7 +1076,7 @@ interface Options$2 {
|
|
|
1076
1076
|
* ::: info Environment notes
|
|
1077
1077
|
* - **Node.js**: Defaults to `process.cwd()`.
|
|
1078
1078
|
* - **Browser**: Automatically inferred from `{ tarball: ArrayBuffer | ReadableStream }`. If `{ files: PackFile[] }` is used,
|
|
1079
|
-
* this must be the shared directory of all files in `files`. e.g. if `name` has `"package/src/index.js"
|
|
1079
|
+
* this must be the shared directory of all files in `files`. e.g. if `name` has `"package/src/index.js"`,
|
|
1080
1080
|
* the `pkgDir` should be `"package"`.
|
|
1081
1081
|
* :::
|
|
1082
1082
|
*/
|
|
@@ -1114,7 +1114,8 @@ interface Options$2 {
|
|
|
1114
1114
|
files: PackFile[];
|
|
1115
1115
|
} | false;
|
|
1116
1116
|
/**
|
|
1117
|
-
* Report warnings as errors.
|
|
1117
|
+
* Report warnings as errors. This runs before `level` filters the result, which means that if
|
|
1118
|
+
* `level` is set to `'error'`, all warnings (elevated as errors) will still be reported.
|
|
1118
1119
|
*/
|
|
1119
1120
|
strict?: boolean;
|
|
1120
1121
|
}
|
|
@@ -1145,7 +1146,7 @@ interface Options$1 {
|
|
|
1145
1146
|
depKinds?: Array<DepKind>;
|
|
1146
1147
|
}
|
|
1147
1148
|
//#endregion
|
|
1148
|
-
//#region ../../node_modules/.pnpm/tsdown@0.21.0_@arethetypeswrong+core@0.18.2_@tsdown+css@0.21.0_@tsdown+exe@0.21.0_@
|
|
1149
|
+
//#region ../../node_modules/.pnpm/tsdown@0.21.0_@arethetypeswrong+core@0.18.2_@tsdown+css@0.21.0_@tsdown+exe@0.21.0_@type_df9c58766eba71ed4fabe78a2cfe9dc9/node_modules/tsdown/dist/types-DS6cAXR1.d.mts
|
|
1149
1150
|
//#region src/utils/types.d.ts
|
|
1150
1151
|
type Overwrite<T, U> = Omit<T, keyof U> & U;
|
|
1151
1152
|
type Awaitable<T> = T | Promise<T>;
|
|
@@ -2391,7 +2392,7 @@ type ResolvedConfig = Overwrite<MarkPartial<Omit<UserConfig, "workspace" | "from
|
|
|
2391
2392
|
exe: false | ExeOptions;
|
|
2392
2393
|
}>; //#endregion
|
|
2393
2394
|
//#endregion
|
|
2394
|
-
//#region ../../node_modules/.pnpm/tsdown@0.21.0_@arethetypeswrong+core@0.18.2_@tsdown+css@0.21.0_@tsdown+exe@0.21.0_@
|
|
2395
|
+
//#region ../../node_modules/.pnpm/tsdown@0.21.0_@arethetypeswrong+core@0.18.2_@tsdown+css@0.21.0_@tsdown+exe@0.21.0_@type_df9c58766eba71ed4fabe78a2cfe9dc9/node_modules/tsdown/dist/config-BJBl3n_a.d.mts
|
|
2395
2396
|
//#region src/config/options.d.ts
|
|
2396
2397
|
/**
|
|
2397
2398
|
* Resolve user config into resolved configs
|
|
@@ -2411,7 +2412,7 @@ declare function defineConfig(options: UserConfig[]): UserConfig[];
|
|
|
2411
2412
|
declare function defineConfig(options: UserConfigFn): UserConfigFn;
|
|
2412
2413
|
declare function defineConfig(options: UserConfigExport): UserConfigExport; //#endregion
|
|
2413
2414
|
//#endregion
|
|
2414
|
-
//#region ../../node_modules/.pnpm/tsdown@0.21.0_@arethetypeswrong+core@0.18.2_@tsdown+css@0.21.0_@tsdown+exe@0.21.0_@
|
|
2415
|
+
//#region ../../node_modules/.pnpm/tsdown@0.21.0_@arethetypeswrong+core@0.18.2_@tsdown+css@0.21.0_@tsdown+exe@0.21.0_@type_df9c58766eba71ed4fabe78a2cfe9dc9/node_modules/tsdown/dist/index.d.mts
|
|
2415
2416
|
//#region src/build.d.ts
|
|
2416
2417
|
/**
|
|
2417
2418
|
* Build with tsdown.
|
package/dist/tsdown/index.js
CHANGED
|
@@ -1,14 +1,12 @@
|
|
|
1
|
-
import { c as globalLogger } from "./main-
|
|
2
|
-
import "./node-
|
|
3
|
-
import { t as enableDebug } from "./debug-tOJ_PtrM-
|
|
4
|
-
import "./filename-
|
|
5
|
-
import { i as resolveUserConfig, n as buildWithConfigs, r as mergeConfig, t as build$1 } from "./build-TmLngPCw-
|
|
1
|
+
import { c as globalLogger } from "./main-DYgM-9Cb.js";
|
|
2
|
+
import "./node-B3Gdtau1.js";
|
|
3
|
+
import { t as enableDebug } from "./debug-tOJ_PtrM-C-Do1Twv.js";
|
|
4
|
+
import "./filename-BDcjeHGl.js";
|
|
5
|
+
import { i as resolveUserConfig, n as buildWithConfigs, r as mergeConfig, t as build$1 } from "./build-TmLngPCw-CBoVPzkZ.js";
|
|
6
6
|
import * as Rolldown from "@voidzero-dev/vite-plus-core/rolldown";
|
|
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/config.mjs
|
|
7
|
+
//#region ../../node_modules/.pnpm/tsdown@0.21.0_@arethetypeswrong+core@0.18.2_@tsdown+css@0.21.0_@tsdown+exe@0.21.0_@type_df9c58766eba71ed4fabe78a2cfe9dc9/node_modules/tsdown/dist/config.mjs
|
|
9
8
|
function defineConfig(options) {
|
|
10
9
|
return options;
|
|
11
10
|
}
|
|
12
|
-
|
|
13
11
|
//#endregion
|
|
14
|
-
export { Rolldown, build$1 as build, buildWithConfigs, defineConfig, enableDebug, globalLogger, mergeConfig, resolveUserConfig };
|
|
12
|
+
export { Rolldown, build$1 as build, buildWithConfigs, defineConfig, enableDebug, globalLogger, mergeConfig, resolveUserConfig };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as __toESM, t as __commonJSMin } from "./chunk-
|
|
1
|
+
import { r as __toESM, t as __commonJSMin } from "./chunk-CSNpwdVU.js";
|
|
2
2
|
import { createRequire } from "node:module";
|
|
3
3
|
import { pathToFileURL } from "node:url";
|
|
4
4
|
import process$1, { cwd } from "node:process";
|
|
@@ -7,10 +7,7 @@ import { createRequire as createRequire$1 } from "module";
|
|
|
7
7
|
import { spawn } from "node:child_process";
|
|
8
8
|
import { delimiter, dirname, normalize, resolve } from "node:path";
|
|
9
9
|
import { PassThrough } from "node:stream";
|
|
10
|
-
|
|
11
|
-
//#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/general-CRszZCrY.mjs
|
|
12
|
-
const __cjs_require = createRequire(import.meta.url);
|
|
13
|
-
const picomatch = __cjs_require("./npm_entry_picomatch.cjs");
|
|
10
|
+
const picomatch = createRequire(import.meta.url)("./npm_entry_picomatch.cjs");
|
|
14
11
|
var __require = /* @__PURE__ */ createRequire(import.meta.url);
|
|
15
12
|
function toArray(val, defaultValue) {
|
|
16
13
|
if (Array.isArray(val)) return val;
|
|
@@ -73,10 +70,7 @@ function debounce(fn, delay) {
|
|
|
73
70
|
debounced.cancel = () => clearTimeout(timer);
|
|
74
71
|
return debounced;
|
|
75
72
|
}
|
|
76
|
-
|
|
77
|
-
//#endregion
|
|
78
|
-
//#region ../../node_modules/.pnpm/ansis@4.2.0/node_modules/ansis/index.cjs
|
|
79
|
-
var require_ansis = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
73
|
+
const { Ansis, fg, bg, rgb, bgRgb, hex, bgHex, reset, inverse, hidden, visible, bold, dim, italic, underline, strikethrough, black, red, green, yellow, blue, magenta, cyan, white, gray, redBright, greenBright, yellowBright, blueBright, magentaBright, cyanBright, whiteBright, bgBlack, bgRed, bgGreen, bgYellow, bgBlue, bgMagenta, bgCyan, bgWhite, bgGray, bgRedBright, bgGreenBright, bgYellowBright, bgBlueBright, bgMagentaBright, bgCyanBright, bgWhiteBright } = (/* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
80
74
|
let e, t, r, { defineProperty: l, setPrototypeOf: n, create: o, keys: s } = Object, i = "", { round: c, max: a } = Math, p = (e) => {
|
|
81
75
|
let t = /([a-f\d]{3,6})/i.exec(e)?.[1], r = t?.length, l = parseInt(6 ^ r ? 3 ^ r ? "0" : t[0] + t[0] + t[1] + t[1] + t[2] + t[2] : t, 16);
|
|
82
76
|
return [
|
|
@@ -177,15 +171,9 @@ var require_ansis = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
177
171
|
})), s.extend(I);
|
|
178
172
|
}();
|
|
179
173
|
module.exports = w, w.default = w;
|
|
180
|
-
}));
|
|
181
|
-
|
|
182
|
-
//#endregion
|
|
183
|
-
//#region ../../node_modules/.pnpm/ansis@4.2.0/node_modules/ansis/index.mjs
|
|
184
|
-
var import_ansis = /* @__PURE__ */ __toESM(require_ansis(), 1);
|
|
185
|
-
const { Ansis, fg, bg, rgb, bgRgb, hex, bgHex, reset, inverse, hidden, visible, bold, dim, italic, underline, strikethrough, black, red, green, yellow, blue, magenta, cyan, white, gray, redBright, greenBright, yellowBright, blueBright, magentaBright, cyanBright, whiteBright, bgBlack, bgRed, bgGreen, bgYellow, bgBlue, bgMagenta, bgCyan, bgWhite, bgGray, bgRedBright, bgGreenBright, bgYellowBright, bgBlueBright, bgMagentaBright, bgCyanBright, bgWhiteBright } = import_ansis.default;
|
|
186
|
-
|
|
174
|
+
})))(), 1)).default;
|
|
187
175
|
//#endregion
|
|
188
|
-
//#region ../../node_modules/.pnpm/tsdown@0.21.0_@arethetypeswrong+core@0.18.2_@tsdown+css@0.21.0_@tsdown+exe@0.21.0_@
|
|
176
|
+
//#region ../../node_modules/.pnpm/tsdown@0.21.0_@arethetypeswrong+core@0.18.2_@tsdown+css@0.21.0_@tsdown+exe@0.21.0_@type_df9c58766eba71ed4fabe78a2cfe9dc9/node_modules/tsdown/dist/logger-BU0v7CAk.mjs
|
|
189
177
|
const LogLevels = {
|
|
190
178
|
silent: 0,
|
|
191
179
|
error: 1,
|
|
@@ -308,11 +296,9 @@ function hue2rgb(p, q, t) {
|
|
|
308
296
|
if (t < 2 / 3) return p + (q - p) * (2 / 3 - t) * 6;
|
|
309
297
|
return p;
|
|
310
298
|
}
|
|
311
|
-
|
|
312
299
|
//#endregion
|
|
313
|
-
//#region ../../node_modules/.pnpm/tsdown@0.21.0_@arethetypeswrong+core@0.18.2_@tsdown+css@0.21.0_@tsdown+exe@0.21.0_@
|
|
300
|
+
//#region ../../node_modules/.pnpm/tsdown@0.21.0_@arethetypeswrong+core@0.18.2_@tsdown+css@0.21.0_@tsdown+exe@0.21.0_@type_df9c58766eba71ed4fabe78a2cfe9dc9/node_modules/tsdown/dist/package-BzvC5Wbf.mjs
|
|
314
301
|
var version = "0.21.0";
|
|
315
|
-
|
|
316
302
|
//#endregion
|
|
317
303
|
//#region ../../node_modules/.pnpm/tinyexec@1.0.2/node_modules/tinyexec/dist/main.js
|
|
318
304
|
var l = Object.create;
|
|
@@ -931,6 +917,5 @@ const K = (e, t, n) => {
|
|
|
931
917
|
return r;
|
|
932
918
|
};
|
|
933
919
|
const q = K;
|
|
934
|
-
|
|
935
920
|
//#endregion
|
|
936
|
-
export { resolveComma as C, toArray as E, promiseWithResolvers as S, slash as T, debounce as _, createLogger as a, noop as b, globalLogger as c, bold as d, dim as f, yellow as g, underline as h, LogLevels as i, prettyFormat as l, red as m, q as n, generateColor as o, green as p, version as r, getNameLabel as s, K as t, blue as u, importWithError as v, resolveRegex as w, pkgExists as x, matchPattern as y };
|
|
921
|
+
export { resolveComma as C, toArray as E, promiseWithResolvers as S, slash as T, debounce as _, createLogger as a, noop as b, globalLogger as c, bold as d, dim as f, yellow as g, underline as h, LogLevels as i, prettyFormat as l, red as m, q as n, generateColor as o, green as p, version as r, getNameLabel as s, K as t, blue as u, importWithError as v, resolveRegex as w, pkgExists as x, matchPattern as y };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { isatty } from "node:tty";
|
|
2
2
|
import { formatWithOptions, inspect } from "node:util";
|
|
3
|
-
|
|
4
3
|
//#region ../../node_modules/.pnpm/obug@2.1.1/node_modules/obug/dist/core.js
|
|
5
4
|
function coerce(value) {
|
|
6
5
|
if (value instanceof Error) return value.stack || value.message;
|
|
@@ -116,7 +115,6 @@ function enabled(name) {
|
|
|
116
115
|
for (const ns of names) if (matchesTemplate(name, ns)) return true;
|
|
117
116
|
return false;
|
|
118
117
|
}
|
|
119
|
-
|
|
120
118
|
//#endregion
|
|
121
119
|
//#region ../../node_modules/.pnpm/obug@2.1.1/node_modules/obug/dist/node.js
|
|
122
120
|
const colors = process.stderr.getColorDepth && process.stderr.getColorDepth() > 2 ? [
|
|
@@ -266,6 +264,5 @@ function enable(namespaces$1) {
|
|
|
266
264
|
enable$1(namespaces$1);
|
|
267
265
|
}
|
|
268
266
|
enable$1(process.env.DEBUG || "");
|
|
269
|
-
|
|
270
267
|
//#endregion
|
|
271
|
-
export { enable as n, namespaces as r, createDebug as t };
|
|
268
|
+
export { enable as n, namespaces as r, createDebug as t };
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
//#region \0rolldown/runtime.js
|
|
2
2
|
var __commonJSMin = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
|
|
3
|
-
|
|
4
3
|
//#endregion
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
});
|
|
4
|
+
Object.defineProperty(exports, "__commonJSMin", {
|
|
5
|
+
enumerable: true,
|
|
6
|
+
get: function() {
|
|
7
|
+
return __commonJSMin;
|
|
8
|
+
}
|
|
9
|
+
});
|
|
@@ -1,13 +1,11 @@
|
|
|
1
|
-
const require_chunk = require(
|
|
2
|
-
const require_semver$1 = require(
|
|
3
|
-
|
|
1
|
+
const require_chunk = require("./npm_cjs_chunk_chunk.cjs");
|
|
2
|
+
const require_semver$1 = require("./npm_cjs_chunk_semver.cjs");
|
|
4
3
|
//#region ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/compare.js
|
|
5
4
|
var require_compare = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
|
|
6
5
|
const SemVer = require_semver$1.require_semver();
|
|
7
6
|
const compare = (a, b, loose) => new SemVer(a, loose).compare(new SemVer(b, loose));
|
|
8
7
|
module.exports = compare;
|
|
9
8
|
}));
|
|
10
|
-
|
|
11
9
|
//#endregion
|
|
12
10
|
//#region ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/lt.js
|
|
13
11
|
var require_lt = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
|
|
@@ -15,17 +13,16 @@ var require_lt = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module)
|
|
|
15
13
|
const lt = (a, b, loose) => compare(a, b, loose) < 0;
|
|
16
14
|
module.exports = lt;
|
|
17
15
|
}));
|
|
18
|
-
|
|
19
16
|
//#endregion
|
|
20
|
-
Object.defineProperty(exports,
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
17
|
+
Object.defineProperty(exports, "require_compare", {
|
|
18
|
+
enumerable: true,
|
|
19
|
+
get: function() {
|
|
20
|
+
return require_compare;
|
|
21
|
+
}
|
|
22
|
+
});
|
|
23
|
+
Object.defineProperty(exports, "require_lt", {
|
|
24
|
+
enumerable: true,
|
|
25
|
+
get: function() {
|
|
26
|
+
return require_lt;
|
|
27
|
+
}
|
|
25
28
|
});
|
|
26
|
-
Object.defineProperty(exports, 'require_lt', {
|
|
27
|
-
enumerable: true,
|
|
28
|
-
get: function () {
|
|
29
|
-
return require_lt;
|
|
30
|
-
}
|
|
31
|
-
});
|