@voidzero-dev/vite-plus-core 0.1.17-alpha.0 → 0.1.17-alpha.2
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 +6 -6
- package/dist/rolldown/config.mjs +2 -2
- package/dist/rolldown/experimental-index.mjs +8 -8
- package/dist/rolldown/index.mjs +4 -4
- package/dist/rolldown/parallel-plugin-worker.mjs +2 -2
- package/dist/rolldown/parse-ast-index.mjs +1 -1
- package/dist/rolldown/plugins-index.mjs +2 -2
- package/dist/rolldown/shared/{bindingify-input-options-BGxmrQWF.mjs → bindingify-input-options-BZsZ-nl1.mjs} +4 -4
- package/dist/rolldown/shared/{constructors-ChVDbP6o.mjs → constructors-BaEBnHl3.mjs} +1 -1
- package/dist/rolldown/shared/{error-DBGOT6sf.mjs → error-w0u7biK-.mjs} +1 -1
- package/dist/rolldown/shared/{load-config-BGYZWvSJ.mjs → load-config-CmWRh-jo.mjs} +1 -1
- package/dist/rolldown/shared/{normalize-string-or-regex-BzTP-qJS.mjs → normalize-string-or-regex-CVvpepxa.mjs} +1 -1
- package/dist/rolldown/shared/{parse-CDR7akDs.mjs → parse-Bd1l_BRJ.mjs} +2 -2
- package/dist/rolldown/shared/{resolve-tsconfig-BD5XUCWz.mjs → resolve-tsconfig-CNjJwuKB.mjs} +2 -2
- package/dist/rolldown/shared/{rolldown-Dx_xtyvN.mjs → rolldown-CWkl-K9Q.mjs} +1 -1
- package/dist/rolldown/shared/{rolldown-build-KavLbTK7.mjs → rolldown-build-BIk0DnUJ.mjs} +4 -4
- package/dist/rolldown/shared/{watch-VmIe8ZAg.mjs → watch-CTRlKkoe.mjs} +4 -4
- package/dist/rolldown/utils-index.d.mts +1 -1
- package/dist/rolldown/utils-index.mjs +5 -5
- package/dist/tsdown/build-DU-BFLB1-BXwq-M6d.js +2 -0
- package/dist/tsdown/{build-DU-BFLB1-BZ80XpcX.js → build-DU-BFLB1-CKkqjYq8.js} +9 -9
- package/dist/tsdown/{debug-BmAPbhgA-CHpocWMm.js → debug-BmAPbhgA-x0WPncIH.js} +2 -2
- package/dist/tsdown/{detect-h8ZFBH96-DbLjA61J.js → detect-h8ZFBH96-CQo7h2I_.js} +1 -1
- package/dist/tsdown/{dist-CY3M22aR.js → dist-B2zFPmqd.js} +4 -4
- package/dist/tsdown/{filename-DQnUJlio-D58wGDtS.js → filename-DQnUJlio-DHPB7cQg.js} +1 -1
- package/dist/tsdown/index-types.d.ts +5 -5
- package/dist/tsdown/index.js +4 -4
- package/dist/tsdown/{main-wrcIC7dd.js → main-CSVR9Fv3.js} +3 -3
- package/dist/tsdown/run.js +3 -3
- package/dist/tsdown/{tsc-context-Dban9z4Z.js → tsc-context-C2cC1Bhi.js} +1 -1
- package/dist/tsdown/{tsc-DzHkiQui.js → tsc-o1MoGgGA.js} +2 -2
- package/dist/vite/client/client.mjs +4 -4
- package/dist/vite/node/chunks/logger.js +1 -1
- package/dist/vite/node/chunks/node.js +4 -4
- package/package.json +8 -8
- package/dist/tsdown/build-DU-BFLB1-Dm3Ve-Np.js +0 -2
- /package/dist/rolldown/shared/{binding-Rc5vBspi.mjs → binding-s-V_wTpj.mjs} +0 -0
package/dist/rolldown/cli.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { n as onExit, t as watch } from "./shared/watch-
|
|
2
|
-
import { C as version, S as description } from "./shared/bindingify-input-options-
|
|
1
|
+
import { n as onExit, t as watch } from "./shared/watch-CTRlKkoe.mjs";
|
|
2
|
+
import { C as version, S as description } from "./shared/bindingify-input-options-BZsZ-nl1.mjs";
|
|
3
3
|
import { t as arraify } from "./shared/misc-DJYbNKZX.mjs";
|
|
4
|
-
import { a as getInputCliKeys, i as getCliSchemaInfo, l as styleText, o as getOutputCliKeys, r as logger, s as validateCliOptions } from "./shared/rolldown-build-
|
|
5
|
-
import { t as rolldown } from "./shared/rolldown-
|
|
6
|
-
import { t as loadConfig } from "./shared/load-config-
|
|
4
|
+
import { a as getInputCliKeys, i as getCliSchemaInfo, l as styleText, o as getOutputCliKeys, r as logger, s as validateCliOptions } from "./shared/rolldown-build-BIk0DnUJ.mjs";
|
|
5
|
+
import { t as rolldown } from "./shared/rolldown-CWkl-K9Q.mjs";
|
|
6
|
+
import { t as loadConfig } from "./shared/load-config-CmWRh-jo.mjs";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import process$1 from "node:process";
|
|
9
9
|
import { performance } from "node:perf_hooks";
|
|
@@ -847,7 +847,7 @@ function getClearScreenFunction(options) {
|
|
|
847
847
|
};
|
|
848
848
|
}
|
|
849
849
|
//#endregion
|
|
850
|
-
//#region \0@oxc-project+runtime@0.
|
|
850
|
+
//#region \0@oxc-project+runtime@0.124.0/helpers/usingCtx.js
|
|
851
851
|
function _usingCtx() {
|
|
852
852
|
var r = "function" == typeof SuppressedError ? SuppressedError : function(r, e) {
|
|
853
853
|
var n = Error();
|
package/dist/rolldown/config.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { x as VERSION } from "./shared/bindingify-input-options-
|
|
1
|
+
import { x as VERSION } from "./shared/bindingify-input-options-BZsZ-nl1.mjs";
|
|
2
2
|
import { t as defineConfig } from "./shared/define-config-DJOr6Iwt.mjs";
|
|
3
|
-
import { t as loadConfig } from "./shared/load-config-
|
|
3
|
+
import { t as loadConfig } from "./shared/load-config-CmWRh-jo.mjs";
|
|
4
4
|
export { VERSION, defineConfig, loadConfig };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { n as __toESM, t as require_binding } from "./shared/binding-
|
|
2
|
-
import { n as BuiltinPlugin, t as normalizedStringOrRegex } from "./shared/normalize-string-or-regex-
|
|
3
|
-
import { o as transformToRollupOutput } from "./shared/bindingify-input-options-
|
|
4
|
-
import { c as validateOption, n as createBundlerOptions, t as RolldownBuild, u as PluginDriver } from "./shared/rolldown-build-
|
|
5
|
-
import { i as unwrapBindingResult, r as normalizeBindingResult } from "./shared/error-
|
|
6
|
-
import { n as parseSync$1, t as parse$1 } from "./shared/parse-
|
|
7
|
-
import { a as viteDynamicImportVarsPlugin, c as viteLoadFallbackPlugin, d as viteReporterPlugin, f as viteResolvePlugin, i as viteBuildImportAnalysisPlugin, l as viteModulePreloadPolyfillPlugin, m as viteWebWorkerPostPlugin, n as isolatedDeclarationPlugin, o as viteImportGlobPlugin, p as viteWasmFallbackPlugin, r as oxcRuntimePlugin, s as viteJsonPlugin, u as viteReactRefreshWrapperPlugin } from "./shared/constructors-
|
|
8
|
-
import { a as minify$1, i as transformSync$1, n as resolveTsconfig, o as minifySync$1, r as transform$1, t as TsconfigCache$1 } from "./shared/resolve-tsconfig-
|
|
1
|
+
import { n as __toESM, t as require_binding } from "./shared/binding-s-V_wTpj.mjs";
|
|
2
|
+
import { n as BuiltinPlugin, t as normalizedStringOrRegex } from "./shared/normalize-string-or-regex-CVvpepxa.mjs";
|
|
3
|
+
import { o as transformToRollupOutput } from "./shared/bindingify-input-options-BZsZ-nl1.mjs";
|
|
4
|
+
import { c as validateOption, n as createBundlerOptions, t as RolldownBuild, u as PluginDriver } from "./shared/rolldown-build-BIk0DnUJ.mjs";
|
|
5
|
+
import { i as unwrapBindingResult, r as normalizeBindingResult } from "./shared/error-w0u7biK-.mjs";
|
|
6
|
+
import { n as parseSync$1, t as parse$1 } from "./shared/parse-Bd1l_BRJ.mjs";
|
|
7
|
+
import { a as viteDynamicImportVarsPlugin, c as viteLoadFallbackPlugin, d as viteReporterPlugin, f as viteResolvePlugin, i as viteBuildImportAnalysisPlugin, l as viteModulePreloadPolyfillPlugin, m as viteWebWorkerPostPlugin, n as isolatedDeclarationPlugin, o as viteImportGlobPlugin, p as viteWasmFallbackPlugin, r as oxcRuntimePlugin, s as viteJsonPlugin, u as viteReactRefreshWrapperPlugin } from "./shared/constructors-BaEBnHl3.mjs";
|
|
8
|
+
import { a as minify$1, i as transformSync$1, n as resolveTsconfig, o as minifySync$1, r as transform$1, t as TsconfigCache$1 } from "./shared/resolve-tsconfig-CNjJwuKB.mjs";
|
|
9
9
|
import { pathToFileURL } from "node:url";
|
|
10
10
|
//#region src/api/dev/dev-engine.ts
|
|
11
11
|
var import_binding = /* @__PURE__ */ __toESM(require_binding(), 1);
|
package/dist/rolldown/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as __toESM, t as require_binding } from "./shared/binding-
|
|
2
|
-
import { n as onExit, t as watch } from "./shared/watch-
|
|
3
|
-
import { a as RolldownMagicString, b as RUNTIME_MODULE_ID, x as VERSION } from "./shared/bindingify-input-options-
|
|
4
|
-
import { t as rolldown } from "./shared/rolldown-
|
|
1
|
+
import { n as __toESM, t as require_binding } from "./shared/binding-s-V_wTpj.mjs";
|
|
2
|
+
import { n as onExit, t as watch } from "./shared/watch-CTRlKkoe.mjs";
|
|
3
|
+
import { a as RolldownMagicString, b as RUNTIME_MODULE_ID, x as VERSION } from "./shared/bindingify-input-options-BZsZ-nl1.mjs";
|
|
4
|
+
import { t as rolldown } from "./shared/rolldown-CWkl-K9Q.mjs";
|
|
5
5
|
import { t as defineConfig } from "./shared/define-config-DJOr6Iwt.mjs";
|
|
6
6
|
import { isMainThread } from "node:worker_threads";
|
|
7
7
|
//#region src/setup.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as __toESM, t as require_binding } from "./shared/binding-
|
|
2
|
-
import { n as PluginContextData, r as bindingifyPlugin } from "./shared/bindingify-input-options-
|
|
1
|
+
import { n as __toESM, t as require_binding } from "./shared/binding-s-V_wTpj.mjs";
|
|
2
|
+
import { n as PluginContextData, r as bindingifyPlugin } from "./shared/bindingify-input-options-BZsZ-nl1.mjs";
|
|
3
3
|
import { parentPort, workerData } from "node:worker_threads";
|
|
4
4
|
//#region src/parallel-plugin-worker.ts
|
|
5
5
|
var import_binding = /* @__PURE__ */ __toESM(require_binding(), 1);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { l as locate, n as error, s as logParseError, t as augmentCodeLocation, u as getCodeFrame } from "./shared/logs-D80CXhvg.mjs";
|
|
2
|
-
import { n as parseSync, t as parse } from "./shared/parse-
|
|
2
|
+
import { n as parseSync, t as parse } from "./shared/parse-Bd1l_BRJ.mjs";
|
|
3
3
|
//#region src/parse-ast-index.ts
|
|
4
4
|
function wrap(result, filename, sourceText) {
|
|
5
5
|
if (result.errors.length > 0) return normalizeParseError(filename, sourceText, result.errors);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as makeBuiltinPluginCallable, n as BuiltinPlugin } from "./shared/normalize-string-or-regex-
|
|
2
|
-
import { t as esmExternalRequirePlugin } from "./shared/constructors-
|
|
1
|
+
import { a as makeBuiltinPluginCallable, n as BuiltinPlugin } from "./shared/normalize-string-or-regex-CVvpepxa.mjs";
|
|
2
|
+
import { t as esmExternalRequirePlugin } from "./shared/constructors-BaEBnHl3.mjs";
|
|
3
3
|
//#region src/builtin-plugin/replace-plugin.ts
|
|
4
4
|
/**
|
|
5
5
|
* Replaces targeted strings in files while bundling.
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { n as __toESM, t as require_binding } from "./binding-
|
|
1
|
+
import { n as __toESM, t as require_binding } from "./binding-s-V_wTpj.mjs";
|
|
2
2
|
import { a as logInvalidLogPosition, c as logPluginError, n as error, r as logCycleLoading, t as augmentCodeLocation } from "./logs-D80CXhvg.mjs";
|
|
3
|
-
import { i as bindingifyManifestPlugin, n as BuiltinPlugin, r as bindingifyBuiltInPlugin, t as normalizedStringOrRegex } from "./normalize-string-or-regex-
|
|
3
|
+
import { i as bindingifyManifestPlugin, n as BuiltinPlugin, r as bindingifyBuiltInPlugin, t as normalizedStringOrRegex } from "./normalize-string-or-regex-CVvpepxa.mjs";
|
|
4
4
|
import { a as unreachable, o as unsupported, r as noop, t as arraify } from "./misc-DJYbNKZX.mjs";
|
|
5
|
-
import { a as bindingifySourcemap, i as unwrapBindingResult, t as aggregateBindingErrorsIntoJsError } from "./error-
|
|
5
|
+
import { a as bindingifySourcemap, i as unwrapBindingResult, t as aggregateBindingErrorsIntoJsError } from "./error-w0u7biK-.mjs";
|
|
6
6
|
import { parseAst } from "../parse-ast-index.mjs";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import * as filter from "@voidzero-dev/vite-plus-core/rolldown/pluginutils";
|
|
@@ -217,7 +217,7 @@ function bindingAssetSource(source) {
|
|
|
217
217
|
return { inner: source };
|
|
218
218
|
}
|
|
219
219
|
//#endregion
|
|
220
|
-
//#region \0@oxc-project+runtime@0.
|
|
220
|
+
//#region \0@oxc-project+runtime@0.124.0/helpers/decorate.js
|
|
221
221
|
function __decorate(decorators, target, key, desc) {
|
|
222
222
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
223
223
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as makeBuiltinPluginCallable, n as BuiltinPlugin, t as normalizedStringOrRegex } from "./normalize-string-or-regex-
|
|
1
|
+
import { a as makeBuiltinPluginCallable, n as BuiltinPlugin, t as normalizedStringOrRegex } from "./normalize-string-or-regex-CVvpepxa.mjs";
|
|
2
2
|
//#region src/builtin-plugin/constructors.ts
|
|
3
3
|
function viteModulePreloadPolyfillPlugin(config) {
|
|
4
4
|
return new BuiltinPlugin("builtin:vite-module-preload-polyfill", config);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as __toESM, t as require_binding } from "./binding-
|
|
1
|
+
import { n as __toESM, t as require_binding } from "./binding-s-V_wTpj.mjs";
|
|
2
2
|
import { c as logPluginError, n as error } from "./logs-D80CXhvg.mjs";
|
|
3
3
|
//#region src/builtin-plugin/utils.ts
|
|
4
4
|
var import_binding = /* @__PURE__ */ __toESM(require_binding(), 1);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as __toESM, t as require_binding } from "./binding-
|
|
2
|
-
//#region ../../../node_modules/.pnpm/oxc-parser@0.
|
|
1
|
+
import { n as __toESM, t as require_binding } from "./binding-s-V_wTpj.mjs";
|
|
2
|
+
//#region ../../../node_modules/.pnpm/oxc-parser@0.124.0_@emnapi+core@1.9.2_@emnapi+runtime@1.9.2/node_modules/oxc-parser/src-js/wrap.js
|
|
3
3
|
var import_binding = /* @__PURE__ */ __toESM(require_binding(), 1);
|
|
4
4
|
function wrap(result) {
|
|
5
5
|
let program, module, comments, errors;
|
package/dist/rolldown/shared/{resolve-tsconfig-BD5XUCWz.mjs → resolve-tsconfig-CNjJwuKB.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as __toESM, t as require_binding } from "./binding-
|
|
2
|
-
import { a as bindingifySourcemap, n as normalizeBindingError } from "./error-
|
|
1
|
+
import { n as __toESM, t as require_binding } from "./binding-s-V_wTpj.mjs";
|
|
2
|
+
import { a as bindingifySourcemap, n as normalizeBindingError } from "./error-w0u7biK-.mjs";
|
|
3
3
|
//#region src/utils/minify.ts
|
|
4
4
|
var import_binding = /* @__PURE__ */ __toESM(require_binding(), 1);
|
|
5
5
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as validateOption, t as RolldownBuild, u as PluginDriver } from "./rolldown-build-
|
|
1
|
+
import { c as validateOption, t as RolldownBuild, u as PluginDriver } from "./rolldown-build-BIk0DnUJ.mjs";
|
|
2
2
|
//#region src/api/rolldown/index.ts
|
|
3
3
|
/**
|
|
4
4
|
* The API compatible with Rollup's `rollup` function.
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { n as __toESM, t as require_binding } from "./binding-
|
|
1
|
+
import { n as __toESM, t as require_binding } from "./binding-s-V_wTpj.mjs";
|
|
2
2
|
import { i as logInputHookInOutputPlugin, n as error } from "./logs-D80CXhvg.mjs";
|
|
3
|
-
import { n as BuiltinPlugin } from "./normalize-string-or-regex-
|
|
4
|
-
import { c as __decorate, d as PlainObjectLike, f as MinimalPluginContextImpl, h as LOG_LEVEL_DEBUG, i as transformModuleInfo, l as transformAssetSource, m as normalizeLog, o as transformToRollupOutput, p as normalizeHook, s as transformRenderedChunk, t as bindingifyInputOptions, u as lazyProp, v as LOG_LEVEL_WARN, x as VERSION, y as logLevelPriority } from "./bindingify-input-options-
|
|
3
|
+
import { n as BuiltinPlugin } from "./normalize-string-or-regex-CVvpepxa.mjs";
|
|
4
|
+
import { c as __decorate, d as PlainObjectLike, f as MinimalPluginContextImpl, h as LOG_LEVEL_DEBUG, i as transformModuleInfo, l as transformAssetSource, m as normalizeLog, o as transformToRollupOutput, p as normalizeHook, s as transformRenderedChunk, t as bindingifyInputOptions, u as lazyProp, v as LOG_LEVEL_WARN, x as VERSION, y as logLevelPriority } from "./bindingify-input-options-BZsZ-nl1.mjs";
|
|
5
5
|
import { i as unimplemented } from "./misc-DJYbNKZX.mjs";
|
|
6
|
-
import { i as unwrapBindingResult } from "./error-
|
|
6
|
+
import { i as unwrapBindingResult } from "./error-w0u7biK-.mjs";
|
|
7
7
|
import { Worker } from "node:worker_threads";
|
|
8
8
|
import path, { sep } from "node:path";
|
|
9
9
|
import { formatWithOptions, styleText } from "node:util";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { n as __toESM, t as require_binding } from "./binding-
|
|
1
|
+
import { n as __toESM, t as require_binding } from "./binding-s-V_wTpj.mjs";
|
|
2
2
|
import { o as logMultipleWatcherOption } from "./logs-D80CXhvg.mjs";
|
|
3
|
-
import { v as LOG_LEVEL_WARN } from "./bindingify-input-options-
|
|
3
|
+
import { v as LOG_LEVEL_WARN } from "./bindingify-input-options-BZsZ-nl1.mjs";
|
|
4
4
|
import { t as arraify } from "./misc-DJYbNKZX.mjs";
|
|
5
|
-
import { n as createBundlerOptions, u as PluginDriver } from "./rolldown-build-
|
|
6
|
-
import { t as aggregateBindingErrorsIntoJsError } from "./error-
|
|
5
|
+
import { n as createBundlerOptions, u as PluginDriver } from "./rolldown-build-BIk0DnUJ.mjs";
|
|
6
|
+
import { t as aggregateBindingErrorsIntoJsError } from "./error-w0u7biK-.mjs";
|
|
7
7
|
//#region ../../../node_modules/.pnpm/signal-exit@4.1.0/node_modules/signal-exit/dist/mjs/signals.js
|
|
8
8
|
/**
|
|
9
9
|
* This is not the set of all possible signals.
|
|
@@ -3,7 +3,7 @@ import { a as MinifyOptions, c as minifySync, d as parse, f as parseSync, i as t
|
|
|
3
3
|
import * as ESTree from "@oxc-project/types";
|
|
4
4
|
import { Program } from "@oxc-project/types";
|
|
5
5
|
|
|
6
|
-
//#region ../../../node_modules/.pnpm/oxc-parser@0.
|
|
6
|
+
//#region ../../../node_modules/.pnpm/oxc-parser@0.124.0_@emnapi+core@1.9.2_@emnapi+runtime@1.9.2/node_modules/oxc-parser/src-js/generated/visit/visitor.d.ts
|
|
7
7
|
interface VisitorObject$1 {
|
|
8
8
|
DebuggerStatement?: (node: ESTree.DebuggerStatement) => void;
|
|
9
9
|
"DebuggerStatement:exit"?: (node: ESTree.DebuggerStatement) => void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as parseSync, t as parse } from "./shared/parse-
|
|
2
|
-
import { a as minify, i as transformSync, o as minifySync, r as transform, t as TsconfigCache } from "./shared/resolve-tsconfig-
|
|
3
|
-
//#region ../../../node_modules/.pnpm/oxc-parser@0.
|
|
1
|
+
import { n as parseSync, t as parse } from "./shared/parse-Bd1l_BRJ.mjs";
|
|
2
|
+
import { a as minify, i as transformSync, o as minifySync, r as transform, t as TsconfigCache } from "./shared/resolve-tsconfig-CNjJwuKB.mjs";
|
|
3
|
+
//#region ../../../node_modules/.pnpm/oxc-parser@0.124.0_@emnapi+core@1.9.2_@emnapi+runtime@1.9.2/node_modules/oxc-parser/src-js/generated/visit/walk.js
|
|
4
4
|
function walkNode(node, visitors) {
|
|
5
5
|
if (node == null) return;
|
|
6
6
|
if (Array.isArray(node)) {
|
|
@@ -2010,7 +2010,7 @@ function walkTSUnionType(node, visitors) {
|
|
|
2010
2010
|
exit !== null && exit(node);
|
|
2011
2011
|
}
|
|
2012
2012
|
//#endregion
|
|
2013
|
-
//#region ../../../node_modules/.pnpm/oxc-parser@0.
|
|
2013
|
+
//#region ../../../node_modules/.pnpm/oxc-parser@0.124.0_@emnapi+core@1.9.2_@emnapi+runtime@1.9.2/node_modules/oxc-parser/src-js/generated/visit/type_ids.js
|
|
2014
2014
|
/** Mapping from node type name to node type ID */
|
|
2015
2015
|
const NODE_TYPE_IDS_MAP = new Map([
|
|
2016
2016
|
["DebuggerStatement", 0],
|
|
@@ -2180,7 +2180,7 @@ const NODE_TYPE_IDS_MAP = new Map([
|
|
|
2180
2180
|
["TSUnionType", 164]
|
|
2181
2181
|
]);
|
|
2182
2182
|
//#endregion
|
|
2183
|
-
//#region ../../../node_modules/.pnpm/oxc-parser@0.
|
|
2183
|
+
//#region ../../../node_modules/.pnpm/oxc-parser@0.124.0_@emnapi+core@1.9.2_@emnapi+runtime@1.9.2/node_modules/oxc-parser/src-js/visit/visitor.js
|
|
2184
2184
|
let compiledVisitor;
|
|
2185
2185
|
function createCompiledVisitor() {
|
|
2186
2186
|
compiledVisitor = [];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as __toESM, t as __commonJSMin } from "./chunk-CSNpwdVU.js";
|
|
2
|
-
import { C as promiseWithResolvers, D as toArray, E as slash, S as pkgExists, T as resolveRegex, _ as yellow, a as createLogger, b as matchPattern, c as globalLogger, d as bold, f as dim, g as underline, h as red, i as LogLevels, l as prettyFormat, n as z, o as generateColor, p as green, r as version, s as getNameLabel, t as R, u as blue, v as debounce, w as resolveComma, x as noop, y as importWithError } from "./main-
|
|
2
|
+
import { C as promiseWithResolvers, D as toArray, E as slash, S as pkgExists, T as resolveRegex, _ as yellow, a as createLogger, b as matchPattern, c as globalLogger, d as bold, f as dim, g as underline, h as red, i as LogLevels, l as prettyFormat, n as z, o as generateColor, p as green, r as version, s as getNameLabel, t as R, u as blue, v as debounce, w as resolveComma, x as noop, y as importWithError } from "./main-CSVR9Fv3.js";
|
|
3
3
|
import { t as createDebug } from "./node-B3Gdtau1.js";
|
|
4
|
-
import { d as filename_js_to_dts, i as RE_JS, n as RE_DTS, o as RE_NODE_MODULES$1, t as RE_CSS } from "./filename-DQnUJlio-
|
|
4
|
+
import { d as filename_js_to_dts, i as RE_JS, n as RE_DTS, o as RE_NODE_MODULES$1, t as RE_CSS } from "./filename-DQnUJlio-DHPB7cQg.js";
|
|
5
5
|
import "./dist-D7qIxBaV.js";
|
|
6
6
|
import module$1, { builtinModules, createRequire, isBuiltin } from "node:module";
|
|
7
7
|
import process$1, { env } from "node:process";
|
|
@@ -22,7 +22,7 @@ import { pathToFileURL } from "node:url";
|
|
|
22
22
|
import { Buffer } from "node:buffer";
|
|
23
23
|
import { brotliCompress, gzip } from "node:zlib";
|
|
24
24
|
import { importGlobPlugin } from "@voidzero-dev/vite-plus-core/rolldown/experimental";
|
|
25
|
-
//#region ../../node_modules/.pnpm/tsdown@0.21.7_@arethetypeswrong+core@0.18.2_@tsdown+css@0.21.7_@tsdown+exe@0.21.7_@
|
|
25
|
+
//#region ../../node_modules/.pnpm/tsdown@0.21.7_@arethetypeswrong+core@0.18.2_@tsdown+css@0.21.7_@tsdown+exe@0.21.7_@type_40fa21a6dd0aac837d14f6503ecc360a/node_modules/tsdown/dist/fs-Dd6Htx2P.mjs
|
|
26
26
|
function fsExists(path) {
|
|
27
27
|
return access(path).then(() => true, () => false);
|
|
28
28
|
}
|
|
@@ -65,7 +65,7 @@ function stripExtname(filePath) {
|
|
|
65
65
|
return filePath.slice(0, -ext.length);
|
|
66
66
|
}
|
|
67
67
|
//#endregion
|
|
68
|
-
//#region ../../node_modules/.pnpm/tsdown@0.21.7_@arethetypeswrong+core@0.18.2_@tsdown+css@0.21.7_@tsdown+exe@0.21.7_@
|
|
68
|
+
//#region ../../node_modules/.pnpm/tsdown@0.21.7_@arethetypeswrong+core@0.18.2_@tsdown+css@0.21.7_@tsdown+exe@0.21.7_@type_40fa21a6dd0aac837d14f6503ecc360a/node_modules/tsdown/dist/format-_3CEX8E7.mjs
|
|
69
69
|
const shimFile = path.resolve(import.meta.dirname, "..", "esm-shims.js");
|
|
70
70
|
function getShimsInject(format, platform) {
|
|
71
71
|
if (format === "es" && platform === "node") return {
|
|
@@ -3341,7 +3341,7 @@ function createConfigCoreLoader(options) {
|
|
|
3341
3341
|
};
|
|
3342
3342
|
}
|
|
3343
3343
|
//#endregion
|
|
3344
|
-
//#region ../../node_modules/.pnpm/tsdown@0.21.7_@arethetypeswrong+core@0.18.2_@tsdown+css@0.21.7_@tsdown+exe@0.21.7_@
|
|
3344
|
+
//#region ../../node_modules/.pnpm/tsdown@0.21.7_@arethetypeswrong+core@0.18.2_@tsdown+css@0.21.7_@tsdown+exe@0.21.7_@type_40fa21a6dd0aac837d14f6503ecc360a/node_modules/tsdown/dist/options-j2tUAf6W.mjs
|
|
3345
3345
|
const __cjs_require$1 = createRequire(import.meta.url);
|
|
3346
3346
|
const picomatch = __cjs_require$1("./npm_entry_picomatch.cjs");
|
|
3347
3347
|
const satisfies$1 = __cjs_require$1("./npm_entry_semver_functions_satisfies.cjs");
|
|
@@ -4157,7 +4157,7 @@ function filterConfig(filter, configCwd, name) {
|
|
|
4157
4157
|
return toArray(filter).some((value) => name && name === value || cwd === value);
|
|
4158
4158
|
}
|
|
4159
4159
|
//#endregion
|
|
4160
|
-
//#region ../../node_modules/.pnpm/tsdown@0.21.7_@arethetypeswrong+core@0.18.2_@tsdown+css@0.21.7_@tsdown+exe@0.21.7_@
|
|
4160
|
+
//#region ../../node_modules/.pnpm/tsdown@0.21.7_@arethetypeswrong+core@0.18.2_@tsdown+css@0.21.7_@tsdown+exe@0.21.7_@type_40fa21a6dd0aac837d14f6503ecc360a/node_modules/tsdown/dist/watch-ZJbRq-K8.mjs
|
|
4161
4161
|
async function copy(options) {
|
|
4162
4162
|
if (!options.copy) return;
|
|
4163
4163
|
const resolved = await resolveCopyEntries(options);
|
|
@@ -4537,7 +4537,7 @@ var Hookable = class {
|
|
|
4537
4537
|
}
|
|
4538
4538
|
};
|
|
4539
4539
|
//#endregion
|
|
4540
|
-
//#region ../../node_modules/.pnpm/tsdown@0.21.7_@arethetypeswrong+core@0.18.2_@tsdown+css@0.21.7_@tsdown+exe@0.21.7_@
|
|
4540
|
+
//#region ../../node_modules/.pnpm/tsdown@0.21.7_@arethetypeswrong+core@0.18.2_@tsdown+css@0.21.7_@tsdown+exe@0.21.7_@type_40fa21a6dd0aac837d14f6503ecc360a/node_modules/tsdown/dist/build-DU-BFLB1.mjs
|
|
4541
4541
|
const __cjs_require = createRequire(import.meta.url);
|
|
4542
4542
|
const satisfies = __cjs_require("./npm_entry_semver_functions_satisfies.cjs");
|
|
4543
4543
|
const coerce = __cjs_require("./npm_entry_semver_functions_coerce.cjs");
|
|
@@ -4834,7 +4834,7 @@ async function bundleDone(bundleByPkg, bundle) {
|
|
|
4834
4834
|
async function packTarball(packageJsonPath) {
|
|
4835
4835
|
const pkgDir = path.dirname(packageJsonPath);
|
|
4836
4836
|
const destination = await mkdtemp(path.join(tmpdir(), "tsdown-pack-"));
|
|
4837
|
-
const { detect } = await import("./detect-h8ZFBH96-
|
|
4837
|
+
const { detect } = await import("./detect-h8ZFBH96-CQo7h2I_.js");
|
|
4838
4838
|
try {
|
|
4839
4839
|
const detected = await detect({ cwd: pkgDir });
|
|
4840
4840
|
if (detected?.name === "deno") throw new Error(`Cannot pack tarball for Deno projects at ${pkgDir}`);
|
|
@@ -4970,7 +4970,7 @@ async function resolveInputOptions(config, format, configFiles, bundle, cjsDts,
|
|
|
4970
4970
|
if (nodeProtocol) plugins.push(NodeProtocolPlugin(nodeProtocol));
|
|
4971
4971
|
if (config.pkg || config.deps.skipNodeModulesBundle) plugins.push(DepsPlugin(config, bundle));
|
|
4972
4972
|
if (dts) {
|
|
4973
|
-
const { dts: dtsPlugin } = await import("./dist-
|
|
4973
|
+
const { dts: dtsPlugin } = await import("./dist-B2zFPmqd.js");
|
|
4974
4974
|
const { cjsReexport: _, ...dtsPluginOptions } = dts;
|
|
4975
4975
|
const options = {
|
|
4976
4976
|
tsconfig,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { D as toArray, w as resolveComma } from "./main-
|
|
1
|
+
import { D as toArray, w as resolveComma } from "./main-CSVR9Fv3.js";
|
|
2
2
|
import { n as enable, r as namespaces, t as createDebug } from "./node-B3Gdtau1.js";
|
|
3
|
-
//#region ../../node_modules/.pnpm/tsdown@0.21.7_@arethetypeswrong+core@0.18.2_@tsdown+css@0.21.7_@tsdown+exe@0.21.7_@
|
|
3
|
+
//#region ../../node_modules/.pnpm/tsdown@0.21.7_@arethetypeswrong+core@0.18.2_@tsdown+css@0.21.7_@tsdown+exe@0.21.7_@type_40fa21a6dd0aac837d14f6503ecc360a/node_modules/tsdown/dist/debug-BmAPbhgA.mjs
|
|
4
4
|
const debugLog = createDebug("tsdown:debug");
|
|
5
5
|
function enableDebug(debug) {
|
|
6
6
|
if (!debug) return;
|
|
@@ -1,7 +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
|
-
//#region ../../node_modules/.pnpm/tsdown@0.21.7_@arethetypeswrong+core@0.18.2_@tsdown+css@0.21.7_@tsdown+exe@0.21.7_@
|
|
4
|
+
//#region ../../node_modules/.pnpm/tsdown@0.21.7_@arethetypeswrong+core@0.18.2_@tsdown+css@0.21.7_@tsdown+exe@0.21.7_@type_40fa21a6dd0aac837d14f6503ecc360a/node_modules/tsdown/dist/detect-h8ZFBH96.mjs
|
|
5
5
|
const AGENTS = [
|
|
6
6
|
"npm",
|
|
7
7
|
"yarn",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { n as __exportAll, r as __toESM, t as __commonJSMin } from "./chunk-CSNpwdVU.js";
|
|
2
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-DQnUJlio-
|
|
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-DQnUJlio-DHPB7cQg.js";
|
|
4
4
|
import { n as pe, t as Ge } from "./dist-D7qIxBaV.js";
|
|
5
|
-
import { n as globalContext, r as invalidateContextFile, t as createContext } from "./tsc-context-
|
|
5
|
+
import { n as globalContext, r as invalidateContextFile, t as createContext } from "./tsc-context-C2cC1Bhi.js";
|
|
6
6
|
import { createRequire } from "node:module";
|
|
7
7
|
import process from "node:process";
|
|
8
8
|
import { fork, spawn } from "node:child_process";
|
|
@@ -30409,7 +30409,7 @@ function resolveTemplateLiteral(node) {
|
|
|
30409
30409
|
*/
|
|
30410
30410
|
const walkAST = walk;
|
|
30411
30411
|
//#endregion
|
|
30412
|
-
//#region ../../node_modules/.pnpm/dts-resolver@2.1.3_oxc-resolver@11.19.1_@emnapi+core@1.9.
|
|
30412
|
+
//#region ../../node_modules/.pnpm/dts-resolver@2.1.3_oxc-resolver@11.19.1_@emnapi+core@1.9.2_@emnapi+runtime@1.9.2_/node_modules/dts-resolver/dist/index.mjs
|
|
30413
30413
|
var __require = /* @__PURE__ */ createRequire(import.meta.url);
|
|
30414
30414
|
function createResolver({ tsconfig, cwd = process.cwd(), resolveNodeModules = false, ResolverFactory } = {}) {
|
|
30415
30415
|
ResolverFactory ||= __require("oxc-resolver").ResolverFactory;
|
|
@@ -31216,7 +31216,7 @@ function createGeneratePlugin({ entry, tsconfig, tsconfigRaw, build, incremental
|
|
|
31216
31216
|
on: (fn) => childProcess.on("message", fn)
|
|
31217
31217
|
});
|
|
31218
31218
|
} else {
|
|
31219
|
-
tscModule = await import("./tsc-
|
|
31219
|
+
tscModule = await import("./tsc-o1MoGgGA.js");
|
|
31220
31220
|
if (newContext) tscContext = createContext();
|
|
31221
31221
|
}
|
|
31222
31222
|
if (!Array.isArray(options.input)) for (const [name, id] of Object.entries(options.input)) {
|
|
@@ -1,6 +1,6 @@
|
|
|
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
|
-
//#region ../../node_modules/.pnpm/rolldown-plugin-dts@0.23.2_@typescript+native-preview@7.0.0-dev.20260122.2_oxc-
|
|
3
|
+
//#region ../../node_modules/.pnpm/rolldown-plugin-dts@0.23.2_@typescript+native-preview@7.0.0-dev.20260122.2_oxc-resolver_cb3700e83d33e7fb90f7550267bb8c2d/node_modules/rolldown-plugin-dts/dist/filename-DQnUJlio.mjs
|
|
4
4
|
const RE_JS = /\.([cm]?)jsx?$/;
|
|
5
5
|
const RE_TS = /\.([cm]?)tsx?$/;
|
|
6
6
|
const RE_DTS = /\.d\.([cm]?)ts$/;
|
|
@@ -4,7 +4,7 @@ import { IsolatedDeclarationsOptions } from "@voidzero-dev/vite-plus-core/rolldo
|
|
|
4
4
|
|
|
5
5
|
//#region \0rolldown/runtime.js
|
|
6
6
|
//#endregion
|
|
7
|
-
//#region ../../node_modules/.pnpm/tsdown@0.21.7_@arethetypeswrong+core@0.18.2_@tsdown+css@0.21.7_@tsdown+exe@0.21.7_@
|
|
7
|
+
//#region ../../node_modules/.pnpm/tsdown@0.21.7_@arethetypeswrong+core@0.18.2_@tsdown+css@0.21.7_@tsdown+exe@0.21.7_@type_40fa21a6dd0aac837d14f6503ecc360a/node_modules/tsdown/dist/logger-DLaktdLm.d.mts
|
|
8
8
|
//#region src/utils/types.d.ts
|
|
9
9
|
type Overwrite<T, U> = Omit<T, keyof U> & U;
|
|
10
10
|
type Awaitable<T> = T | Promise<T>;
|
|
@@ -20896,7 +20896,7 @@ type TsConfigJson = {
|
|
|
20896
20896
|
references?: TsConfigJson.References[];
|
|
20897
20897
|
};
|
|
20898
20898
|
//#endregion
|
|
20899
|
-
//#region ../../node_modules/.pnpm/rolldown-plugin-dts@0.23.2_@typescript+native-preview@7.0.0-dev.20260122.2_oxc-
|
|
20899
|
+
//#region ../../node_modules/.pnpm/rolldown-plugin-dts@0.23.2_@typescript+native-preview@7.0.0-dev.20260122.2_oxc-resolver_cb3700e83d33e7fb90f7550267bb8c2d/node_modules/rolldown-plugin-dts/dist/index.d.mts
|
|
20900
20900
|
//#region src/options.d.ts
|
|
20901
20901
|
interface GeneralOptions {
|
|
20902
20902
|
/**
|
|
@@ -21122,7 +21122,7 @@ interface Options {
|
|
|
21122
21122
|
depKinds?: Array<DepKind>;
|
|
21123
21123
|
}
|
|
21124
21124
|
//#endregion
|
|
21125
|
-
//#region ../../node_modules/.pnpm/tsdown@0.21.7_@arethetypeswrong+core@0.18.2_@tsdown+css@0.21.7_@tsdown+exe@0.21.7_@
|
|
21125
|
+
//#region ../../node_modules/.pnpm/tsdown@0.21.7_@arethetypeswrong+core@0.18.2_@tsdown+css@0.21.7_@tsdown+exe@0.21.7_@type_40fa21a6dd0aac837d14f6503ecc360a/node_modules/tsdown/dist/types-DD-uKQPn.d.mts
|
|
21126
21126
|
//#region src/features/copy.d.ts
|
|
21127
21127
|
interface CopyEntry {
|
|
21128
21128
|
/**
|
|
@@ -22283,7 +22283,7 @@ type ResolvedConfig = Overwrite<MarkPartial<Omit<UserConfig, "workspace" | "from
|
|
|
22283
22283
|
exe: false | ExeOptions;
|
|
22284
22284
|
}>; //#endregion
|
|
22285
22285
|
//#endregion
|
|
22286
|
-
//#region ../../node_modules/.pnpm/tsdown@0.21.7_@arethetypeswrong+core@0.18.2_@tsdown+css@0.21.7_@tsdown+exe@0.21.7_@
|
|
22286
|
+
//#region ../../node_modules/.pnpm/tsdown@0.21.7_@arethetypeswrong+core@0.18.2_@tsdown+css@0.21.7_@tsdown+exe@0.21.7_@type_40fa21a6dd0aac837d14f6503ecc360a/node_modules/tsdown/dist/config-BJiwtsMo.d.mts
|
|
22287
22287
|
//#region src/config/options.d.ts
|
|
22288
22288
|
/**
|
|
22289
22289
|
* Resolve user config into resolved configs
|
|
@@ -22303,7 +22303,7 @@ declare function defineConfig(options: UserConfig[]): UserConfig[];
|
|
|
22303
22303
|
declare function defineConfig(options: UserConfigFn): UserConfigFn;
|
|
22304
22304
|
declare function defineConfig(options: UserConfigExport): UserConfigExport; //#endregion
|
|
22305
22305
|
//#endregion
|
|
22306
|
-
//#region ../../node_modules/.pnpm/tsdown@0.21.7_@arethetypeswrong+core@0.18.2_@tsdown+css@0.21.7_@tsdown+exe@0.21.7_@
|
|
22306
|
+
//#region ../../node_modules/.pnpm/tsdown@0.21.7_@arethetypeswrong+core@0.18.2_@tsdown+css@0.21.7_@tsdown+exe@0.21.7_@type_40fa21a6dd0aac837d14f6503ecc360a/node_modules/tsdown/dist/index.d.mts
|
|
22307
22307
|
//#region src/build.d.ts
|
|
22308
22308
|
/**
|
|
22309
22309
|
* Build with tsdown.
|
package/dist/tsdown/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { c as globalLogger } from "./main-
|
|
2
|
-
import { t as enableDebug } from "./debug-BmAPbhgA-
|
|
3
|
-
import { a as resolveUserConfig, i as mergeConfig, n as buildWithConfigs, t as build$1 } from "./build-DU-BFLB1-
|
|
1
|
+
import { c as globalLogger } from "./main-CSVR9Fv3.js";
|
|
2
|
+
import { t as enableDebug } from "./debug-BmAPbhgA-x0WPncIH.js";
|
|
3
|
+
import { a as resolveUserConfig, i as mergeConfig, n as buildWithConfigs, t as build$1 } from "./build-DU-BFLB1-CKkqjYq8.js";
|
|
4
4
|
import * as Rolldown from "@voidzero-dev/vite-plus-core/rolldown";
|
|
5
|
-
//#region ../../node_modules/.pnpm/tsdown@0.21.7_@arethetypeswrong+core@0.18.2_@tsdown+css@0.21.7_@tsdown+exe@0.21.7_@
|
|
5
|
+
//#region ../../node_modules/.pnpm/tsdown@0.21.7_@arethetypeswrong+core@0.18.2_@tsdown+css@0.21.7_@tsdown+exe@0.21.7_@type_40fa21a6dd0aac837d14f6503ecc360a/node_modules/tsdown/dist/config.mjs
|
|
6
6
|
function defineConfig(options) {
|
|
7
7
|
return options;
|
|
8
8
|
}
|
|
@@ -5,7 +5,7 @@ import readline from "node:readline";
|
|
|
5
5
|
import { spawn } from "node:child_process";
|
|
6
6
|
import { delimiter, dirname, normalize, resolve } from "node:path";
|
|
7
7
|
import { PassThrough } from "node:stream";
|
|
8
|
-
//#region ../../node_modules/.pnpm/tsdown@0.21.7_@arethetypeswrong+core@0.18.2_@tsdown+css@0.21.7_@tsdown+exe@0.21.7_@
|
|
8
|
+
//#region ../../node_modules/.pnpm/tsdown@0.21.7_@arethetypeswrong+core@0.18.2_@tsdown+css@0.21.7_@tsdown+exe@0.21.7_@type_40fa21a6dd0aac837d14f6503ecc360a/node_modules/tsdown/dist/general-D3muxt2f.mjs
|
|
9
9
|
const picomatch = createRequire(import.meta.url)("picomatch");
|
|
10
10
|
function toArray(val, defaultValue) {
|
|
11
11
|
if (Array.isArray(val)) return val;
|
|
@@ -169,7 +169,7 @@ const { Ansis, fg, bg, rgb, bgRgb, hex, bgHex, reset, inverse, hidden, visible,
|
|
|
169
169
|
module.exports = w, w.default = w;
|
|
170
170
|
})))(), 1)).default;
|
|
171
171
|
//#endregion
|
|
172
|
-
//#region ../../node_modules/.pnpm/tsdown@0.21.7_@arethetypeswrong+core@0.18.2_@tsdown+css@0.21.7_@tsdown+exe@0.21.7_@
|
|
172
|
+
//#region ../../node_modules/.pnpm/tsdown@0.21.7_@arethetypeswrong+core@0.18.2_@tsdown+css@0.21.7_@tsdown+exe@0.21.7_@type_40fa21a6dd0aac837d14f6503ecc360a/node_modules/tsdown/dist/logger-uV8l1UFa.mjs
|
|
173
173
|
const LogLevels = {
|
|
174
174
|
silent: 0,
|
|
175
175
|
error: 1,
|
|
@@ -293,7 +293,7 @@ function hue2rgb(p, q, t) {
|
|
|
293
293
|
return p;
|
|
294
294
|
}
|
|
295
295
|
//#endregion
|
|
296
|
-
//#region ../../node_modules/.pnpm/tsdown@0.21.7_@arethetypeswrong+core@0.18.2_@tsdown+css@0.21.7_@tsdown+exe@0.21.7_@
|
|
296
|
+
//#region ../../node_modules/.pnpm/tsdown@0.21.7_@arethetypeswrong+core@0.18.2_@tsdown+css@0.21.7_@tsdown+exe@0.21.7_@type_40fa21a6dd0aac837d14f6503ecc360a/node_modules/tsdown/dist/package-CBgnLfjl.mjs
|
|
297
297
|
var version = "0.21.7";
|
|
298
298
|
//#endregion
|
|
299
299
|
//#region ../../node_modules/.pnpm/tinyexec@1.0.4/node_modules/tinyexec/dist/main.mjs
|
package/dist/tsdown/run.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { _ as yellow, c as globalLogger, m as hex, r as version, t as R, u as blue } from "./main-
|
|
3
|
-
import { t as enableDebug } from "./debug-BmAPbhgA-
|
|
2
|
+
import { _ as yellow, c as globalLogger, m as hex, r as version, t as R, u as blue } from "./main-CSVR9Fv3.js";
|
|
3
|
+
import { t as enableDebug } from "./debug-BmAPbhgA-x0WPncIH.js";
|
|
4
4
|
import module, { createRequire } from "node:module";
|
|
5
5
|
import process$1 from "node:process";
|
|
6
6
|
import { VERSION } from "@voidzero-dev/vite-plus-core/rolldown";
|
|
@@ -630,7 +630,7 @@ cli.command("[...files]", "Bundle files", {
|
|
|
630
630
|
}).option("-c, --config <filename>", "Use a custom config file").option("--config-loader <loader>", "Config loader to use: auto, native, unrun", { default: "auto" }).option("--no-config", "Disable config file").option("-f, --format <format>", "Bundle format: esm, cjs, iife, umd", { default: "esm" }).option("--clean", "Clean output directory, --no-clean to disable").option("--deps.never-bundle <module>", "Mark dependencies as external").option("--minify", "Minify output").option("--devtools", "Enable devtools integration").option("--debug [feat]", "Show debug logs").option("--target <target>", "Bundle target, e.g \"es2015\", \"esnext\"").option("-l, --logLevel <level>", "Set log level: info, warn, error, silent").option("--fail-on-warn", "Fail on warnings", { default: true }).option("--no-write", "Disable writing files to disk, incompatible with watch mode").option("-d, --out-dir <dir>", "Output directory", { default: "dist" }).option("--treeshake", "Tree-shake bundle", { default: true }).option("--sourcemap", "Generate source map", { default: false }).option("--shims", "Enable cjs and esm shims ", { default: false }).option("--platform <platform>", "Target platform", { default: "node" }).option("--dts", "Generate dts files").option("--publint", "Enable publint", { default: false }).option("--attw", "Enable Are the types wrong integration", { default: false }).option("--unused", "Enable unused dependencies check", { default: false }).option("-w, --watch [path]", "Watch mode").option("--ignore-watch <path>", "Ignore custom paths in watch mode").option("--from-vite [vitest]", "Reuse config from Vite or Vitest").option("--report", "Size report", { default: true }).option("--env.* <value>", "Define compile-time env variables").option("--env-file <file>", "Load environment variables from a file, when used together with --env, variables in --env take precedence").option("--env-prefix <prefix>", "Prefix for env variables to inject into the bundle", { default: "TSDOWN_" }).option("--on-success <command>", "Command to run on success").option("--copy <dir>", "Copy files to output dir").option("--public-dir <dir>", "Alias for --copy, deprecated").option("--tsconfig <tsconfig>", "Set tsconfig path").option("--unbundle", "Unbundle mode").option("--root <dir>", "Root directory of input files").option("--exe", "Bundle as executable").option("-W, --workspace [dir]", "Enable workspace mode").option("-F, --filter <pattern>", "Filter configs (cwd or name), e.g. /pkg-name$/ or pkg-name").option("--exports", "Generate export-related metadata for package.json (experimental)").action(async (input, flags) => {
|
|
631
631
|
globalLogger.level = flags.logLevel || "info";
|
|
632
632
|
globalLogger.info(`${blue`tsdown v${version}`} powered by ${hex("#ff7e17")`rolldown v${VERSION}`}`);
|
|
633
|
-
const { build } = await import("./build-DU-BFLB1-
|
|
633
|
+
const { build } = await import("./build-DU-BFLB1-BXwq-M6d.js").then((n) => n.r);
|
|
634
634
|
if (input.length > 0) flags.entry = input;
|
|
635
635
|
await build(flags);
|
|
636
636
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as createDebug } from "./node-B3Gdtau1.js";
|
|
2
2
|
import path from "node:path";
|
|
3
|
-
//#region ../../node_modules/.pnpm/rolldown-plugin-dts@0.23.2_@typescript+native-preview@7.0.0-dev.20260122.2_oxc-
|
|
3
|
+
//#region ../../node_modules/.pnpm/rolldown-plugin-dts@0.23.2_@typescript+native-preview@7.0.0-dev.20260122.2_oxc-resolver_cb3700e83d33e7fb90f7550267bb8c2d/node_modules/rolldown-plugin-dts/dist/tsc-context.mjs
|
|
4
4
|
const debug = createDebug("rolldown-plugin-dts:tsc-context");
|
|
5
5
|
function createContext() {
|
|
6
6
|
return {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as createDebug } from "./node-B3Gdtau1.js";
|
|
2
|
-
import { n as RE_DTS, r as RE_DTS_MAP } from "./filename-DQnUJlio-
|
|
3
|
-
import { n as globalContext } from "./tsc-context-
|
|
2
|
+
import { n as RE_DTS, r as RE_DTS_MAP } from "./filename-DQnUJlio-DHPB7cQg.js";
|
|
3
|
+
import { n as globalContext } from "./tsc-context-C2cC1Bhi.js";
|
|
4
4
|
import { createRequire } from "node:module";
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
import { pathToFileURL } from "node:url";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "@vite/env";
|
|
2
|
-
//#region \0@oxc-project+runtime@0.
|
|
2
|
+
//#region \0@oxc-project+runtime@0.124.0/helpers/typeof.js
|
|
3
3
|
function _typeof(o) {
|
|
4
4
|
"@babel/helpers - typeof";
|
|
5
5
|
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) {
|
|
@@ -9,7 +9,7 @@ function _typeof(o) {
|
|
|
9
9
|
}, _typeof(o);
|
|
10
10
|
}
|
|
11
11
|
//#endregion
|
|
12
|
-
//#region \0@oxc-project+runtime@0.
|
|
12
|
+
//#region \0@oxc-project+runtime@0.124.0/helpers/toPrimitive.js
|
|
13
13
|
function toPrimitive(t, r) {
|
|
14
14
|
if ("object" != _typeof(t) || !t) return t;
|
|
15
15
|
var e = t[Symbol.toPrimitive];
|
|
@@ -21,13 +21,13 @@ function toPrimitive(t, r) {
|
|
|
21
21
|
return ("string" === r ? String : Number)(t);
|
|
22
22
|
}
|
|
23
23
|
//#endregion
|
|
24
|
-
//#region \0@oxc-project+runtime@0.
|
|
24
|
+
//#region \0@oxc-project+runtime@0.124.0/helpers/toPropertyKey.js
|
|
25
25
|
function toPropertyKey(t) {
|
|
26
26
|
var i = toPrimitive(t, "string");
|
|
27
27
|
return "symbol" == _typeof(i) ? i : i + "";
|
|
28
28
|
}
|
|
29
29
|
//#endregion
|
|
30
|
-
//#region \0@oxc-project+runtime@0.
|
|
30
|
+
//#region \0@oxc-project+runtime@0.124.0/helpers/defineProperty.js
|
|
31
31
|
function _defineProperty(e, r, t) {
|
|
32
32
|
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
33
33
|
value: t,
|
|
@@ -72,7 +72,7 @@ var require_picocolors = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
72
72
|
}));
|
|
73
73
|
//#endregion
|
|
74
74
|
//#region ../../vite/packages/vite/package.json
|
|
75
|
-
var version = "8.0.
|
|
75
|
+
var version = "8.0.8";
|
|
76
76
|
//#endregion
|
|
77
77
|
//#region ../../vite/packages/vite/src/node/constants.ts
|
|
78
78
|
const ROLLUP_HOOKS = [
|
|
@@ -16,7 +16,7 @@ import { VERSION as rolldownVersion, rolldown } from "@voidzero-dev/vite-plus-co
|
|
|
16
16
|
import os from "node:os";
|
|
17
17
|
import net from "node:net";
|
|
18
18
|
import childProcess, { exec, execFile, execSync } from "node:child_process";
|
|
19
|
-
import {
|
|
19
|
+
import { promises } from "node:dns";
|
|
20
20
|
import { isatty } from "node:tty";
|
|
21
21
|
import path$1, { basename as basename$1, dirname as dirname$1, isAbsolute as isAbsolute$1, join as join$1, normalize as normalize$1, posix as posix$1, relative as relative$1, resolve as resolve$1, sep as sep$1, win32 } from "path";
|
|
22
22
|
import { exactRegex, makeIdFiltersToMatchWithQuery, prefixRegex, withFilter } from "@voidzero-dev/vite-plus-core/rolldown/filter";
|
|
@@ -3913,7 +3913,7 @@ function unique(arr) {
|
|
|
3913
3913
|
* For example, when IPv6 is not supported on that machine/network.
|
|
3914
3914
|
*/
|
|
3915
3915
|
function getLocalhostAddressIfDiffersFromDNS() {
|
|
3916
|
-
if (getDefaultResultOrder() === "verbatim") return;
|
|
3916
|
+
if (promises.getDefaultResultOrder && promises.getDefaultResultOrder() === "verbatim") return;
|
|
3917
3917
|
return Promise.all([promises.lookup("localhost"), promises.lookup("localhost", { verbatim: true })]).then(([nodeResult, dnsResult]) => {
|
|
3918
3918
|
return nodeResult.family === dnsResult.family && nodeResult.address === dnsResult.address ? void 0 : nodeResult.address;
|
|
3919
3919
|
});
|
|
@@ -16053,12 +16053,11 @@ async function ssrTransformScript(code, inMap, url, originalCode) {
|
|
|
16053
16053
|
}
|
|
16054
16054
|
},
|
|
16055
16055
|
onIdentifier(id, parent, parentStack) {
|
|
16056
|
-
const grandparent = parentStack[1];
|
|
16057
16056
|
const binding = idToImportMap.get(id.name);
|
|
16058
16057
|
if (!binding) return;
|
|
16059
16058
|
if (isStaticProperty(parent) && parent.shorthand) {
|
|
16060
16059
|
if (!isNodeInPattern(parent) || isInDestructuringAssignment(parent, parentStack)) s.appendLeft(id.end, `: ${binding}`);
|
|
16061
|
-
} else if (parent.type === "
|
|
16060
|
+
} else if (parent.type === "ClassDeclaration" && id === parent.superClass) {
|
|
16062
16061
|
if (!declaredConst.has(id.name)) {
|
|
16063
16062
|
declaredConst.add(id.name);
|
|
16064
16063
|
const topNode = parentStack[parentStack.length - 2];
|
|
@@ -16190,6 +16189,7 @@ function isRefIdentifier(id, parent, parentStack) {
|
|
|
16190
16189
|
if (parent.params.includes(id)) return false;
|
|
16191
16190
|
}
|
|
16192
16191
|
if (parent.type === "MethodDefinition" && !parent.computed) return false;
|
|
16192
|
+
if (parent.type === "PropertyDefinition" && !parent.computed) return parent.value === id;
|
|
16193
16193
|
if (isStaticPropertyKey(id, parent)) return false;
|
|
16194
16194
|
if (isNodeInPattern(parent) && parent.value === id) return false;
|
|
16195
16195
|
if (parent.type === "ArrayPattern" && !isInDestructuringAssignment(parent, parentStack)) return false;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voidzero-dev/vite-plus-core",
|
|
3
|
-
"version": "0.1.17-alpha.
|
|
3
|
+
"version": "0.1.17-alpha.2",
|
|
4
4
|
"description": "The Unified Toolchain for the Web",
|
|
5
5
|
"homepage": "https://viteplus.dev/guide",
|
|
6
6
|
"bugs": {
|
|
@@ -100,8 +100,8 @@
|
|
|
100
100
|
"./types/internal/*": null
|
|
101
101
|
},
|
|
102
102
|
"dependencies": {
|
|
103
|
-
"@oxc-project/runtime": "=0.
|
|
104
|
-
"@oxc-project/types": "=0.
|
|
103
|
+
"@oxc-project/runtime": "=0.124.0",
|
|
104
|
+
"@oxc-project/types": "=0.124.0",
|
|
105
105
|
"lightningcss": "^1.30.2",
|
|
106
106
|
"postcss": "^8.5.6"
|
|
107
107
|
},
|
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
"es-module-lexer": "^1.7.0",
|
|
117
117
|
"hookable": "^6.0.1",
|
|
118
118
|
"magic-string": "^0.30.21",
|
|
119
|
-
"oxc-parser": "=0.
|
|
119
|
+
"oxc-parser": "=0.124.0",
|
|
120
120
|
"oxfmt": "=0.44.0",
|
|
121
121
|
"picocolors": "^1.1.1",
|
|
122
122
|
"picomatch": "^4.0.3",
|
|
@@ -128,8 +128,8 @@
|
|
|
128
128
|
"tinyglobby": "^0.2.15",
|
|
129
129
|
"tree-kill": "^1.2.2",
|
|
130
130
|
"tsdown": "^0.21.7",
|
|
131
|
-
"rolldown": "1.0.0-rc.
|
|
132
|
-
"vite": "npm:@voidzero-dev/vite-plus-core@0.1.17-alpha.
|
|
131
|
+
"rolldown": "1.0.0-rc.15",
|
|
132
|
+
"vite": "npm:@voidzero-dev/vite-plus-core@0.1.17-alpha.2"
|
|
133
133
|
},
|
|
134
134
|
"peerDependencies": {
|
|
135
135
|
"@arethetypeswrong/core": "^0.18.1",
|
|
@@ -214,8 +214,8 @@
|
|
|
214
214
|
"node": "^20.19.0 || >=22.12.0"
|
|
215
215
|
},
|
|
216
216
|
"bundledVersions": {
|
|
217
|
-
"vite": "8.0.
|
|
218
|
-
"rolldown": "1.0.0-rc.
|
|
217
|
+
"vite": "8.0.8",
|
|
218
|
+
"rolldown": "1.0.0-rc.15",
|
|
219
219
|
"tsdown": "0.21.7"
|
|
220
220
|
},
|
|
221
221
|
"scripts": {
|
|
File without changes
|