@voidzero-dev/vite-plus-core 0.1.14 → 0.1.15-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (34) hide show
  1. package/dist/rolldown/cli.mjs +6 -6
  2. package/dist/rolldown/config.mjs +2 -2
  3. package/dist/rolldown/experimental-index.mjs +8 -8
  4. package/dist/rolldown/index.mjs +4 -4
  5. package/dist/rolldown/parallel-plugin-worker.mjs +2 -2
  6. package/dist/rolldown/parse-ast-index.mjs +1 -1
  7. package/dist/rolldown/plugins-index.mjs +2 -2
  8. package/dist/rolldown/shared/{bindingify-input-options-DHK3MwUV.mjs → bindingify-input-options-BCAF6TcN.mjs} +4 -4
  9. package/dist/rolldown/shared/{constructors-BfnFojy3.mjs → constructors-D3ZqEbT5.mjs} +1 -1
  10. package/dist/rolldown/shared/{error-D8cGyrC7.mjs → error-BLhcSyeg.mjs} +1 -1
  11. package/dist/rolldown/shared/{load-config-DT77Jzbv.mjs → load-config-CFr1Adp9.mjs} +1 -1
  12. package/dist/rolldown/shared/{normalize-string-or-regex-BFB1QNW3.mjs → normalize-string-or-regex-CCT059Zu.mjs} +1 -1
  13. package/dist/rolldown/shared/{parse-CCDXnkPL.mjs → parse-tRtSyZ-b.mjs} +1 -1
  14. package/dist/rolldown/shared/{resolve-tsconfig-gxOviCVx.mjs → resolve-tsconfig-DJjTYbYr.mjs} +2 -2
  15. package/dist/rolldown/shared/{rolldown-DFpH3t7W.mjs → rolldown-BMLc9elZ.mjs} +1 -1
  16. package/dist/rolldown/shared/{rolldown-build-ZUNnA-sr.mjs → rolldown-build-CxsB9UaT.mjs} +4 -4
  17. package/dist/rolldown/shared/{watch-C4x8DFD_.mjs → watch-DJOwXDOi.mjs} +4 -4
  18. package/dist/rolldown/utils-index.mjs +2 -2
  19. package/dist/tsdown/build-D-zhBXEK-X12uvwLb.js +2 -0
  20. package/dist/tsdown/{build-CoLhkNXE-CCP1weoc.js → build-DpU0PBVv-CUY7qeWj.js} +313 -52
  21. package/dist/tsdown/{debug-C4FmgzkJ-PiSP_iWN.js → debug-C4FmgzkJ-A9B4RM_w.js} +2 -2
  22. package/dist/tsdown/{detect-DN3DXXYt-XnCR4Kxo.js → detect-DN3DXXYt-GIMDNpE1.js} +1 -1
  23. package/dist/tsdown/{dist-BWGgEAtQ.js → dist-BkOM3Vdg.js} +1 -1
  24. package/dist/tsdown/index-types.d.ts +131 -131
  25. package/dist/tsdown/index.js +4 -4
  26. package/dist/tsdown/{main-CDlTYgDd.js → main-BgAbc3Rw.js} +3 -3
  27. package/dist/tsdown/npm_entry_picomatch.cjs +217 -9
  28. package/dist/tsdown/run.js +3 -3
  29. package/dist/vite/client/client.mjs +4 -4
  30. package/dist/vite/node/chunks/build2.js +1 -0
  31. package/dist/vite/node/chunks/node.js +218 -10
  32. package/package.json +10 -10
  33. package/dist/tsdown/build-dhDyu66J-CpOySv4e.js +0 -2
  34. /package/dist/rolldown/shared/{binding-ER32uZ22.mjs → binding-CkWPGrSM.mjs} +0 -0
@@ -1,9 +1,9 @@
1
- import { n as onExit, t as watch } from "./shared/watch-C4x8DFD_.mjs";
2
- import { C as version, S as description } from "./shared/bindingify-input-options-DHK3MwUV.mjs";
1
+ import { n as onExit, t as watch } from "./shared/watch-DJOwXDOi.mjs";
2
+ import { C as version, S as description } from "./shared/bindingify-input-options-BCAF6TcN.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-ZUNnA-sr.mjs";
5
- import { t as rolldown } from "./shared/rolldown-DFpH3t7W.mjs";
6
- import { t as loadConfig } from "./shared/load-config-DT77Jzbv.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-CxsB9UaT.mjs";
5
+ import { t as rolldown } from "./shared/rolldown-BMLc9elZ.mjs";
6
+ import { t as loadConfig } from "./shared/load-config-CFr1Adp9.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.121.0/helpers/usingCtx.js
850
+ //#region \0@oxc-project+runtime@0.122.0/helpers/usingCtx.js
851
851
  function _usingCtx() {
852
852
  var r = "function" == typeof SuppressedError ? SuppressedError : function(r, e) {
853
853
  var n = Error();
@@ -1,4 +1,4 @@
1
- import { x as VERSION } from "./shared/bindingify-input-options-DHK3MwUV.mjs";
1
+ import { x as VERSION } from "./shared/bindingify-input-options-BCAF6TcN.mjs";
2
2
  import { t as defineConfig } from "./shared/define-config-DJOr6Iwt.mjs";
3
- import { t as loadConfig } from "./shared/load-config-DT77Jzbv.mjs";
3
+ import { t as loadConfig } from "./shared/load-config-CFr1Adp9.mjs";
4
4
  export { VERSION, defineConfig, loadConfig };
@@ -1,11 +1,11 @@
1
- import { n as __toESM, t as require_binding } from "./shared/binding-ER32uZ22.mjs";
2
- import { n as BuiltinPlugin, t as normalizedStringOrRegex } from "./shared/normalize-string-or-regex-BFB1QNW3.mjs";
3
- import { o as transformToRollupOutput } from "./shared/bindingify-input-options-DHK3MwUV.mjs";
4
- import { c as validateOption, n as createBundlerOptions, t as RolldownBuild, u as PluginDriver } from "./shared/rolldown-build-ZUNnA-sr.mjs";
5
- import { i as unwrapBindingResult, r as normalizeBindingResult } from "./shared/error-D8cGyrC7.mjs";
6
- import { n as parseSync$1, t as parse$1 } from "./shared/parse-CCDXnkPL.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-BfnFojy3.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-gxOviCVx.mjs";
1
+ import { n as __toESM, t as require_binding } from "./shared/binding-CkWPGrSM.mjs";
2
+ import { n as BuiltinPlugin, t as normalizedStringOrRegex } from "./shared/normalize-string-or-regex-CCT059Zu.mjs";
3
+ import { o as transformToRollupOutput } from "./shared/bindingify-input-options-BCAF6TcN.mjs";
4
+ import { c as validateOption, n as createBundlerOptions, t as RolldownBuild, u as PluginDriver } from "./shared/rolldown-build-CxsB9UaT.mjs";
5
+ import { i as unwrapBindingResult, r as normalizeBindingResult } from "./shared/error-BLhcSyeg.mjs";
6
+ import { n as parseSync$1, t as parse$1 } from "./shared/parse-tRtSyZ-b.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-D3ZqEbT5.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-DJjTYbYr.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);
@@ -1,7 +1,7 @@
1
- import { n as __toESM, t as require_binding } from "./shared/binding-ER32uZ22.mjs";
2
- import { n as onExit, t as watch } from "./shared/watch-C4x8DFD_.mjs";
3
- import { a as RolldownMagicString, b as RUNTIME_MODULE_ID, x as VERSION } from "./shared/bindingify-input-options-DHK3MwUV.mjs";
4
- import { t as rolldown } from "./shared/rolldown-DFpH3t7W.mjs";
1
+ import { n as __toESM, t as require_binding } from "./shared/binding-CkWPGrSM.mjs";
2
+ import { n as onExit, t as watch } from "./shared/watch-DJOwXDOi.mjs";
3
+ import { a as RolldownMagicString, b as RUNTIME_MODULE_ID, x as VERSION } from "./shared/bindingify-input-options-BCAF6TcN.mjs";
4
+ import { t as rolldown } from "./shared/rolldown-BMLc9elZ.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-ER32uZ22.mjs";
2
- import { n as PluginContextData, r as bindingifyPlugin } from "./shared/bindingify-input-options-DHK3MwUV.mjs";
1
+ import { n as __toESM, t as require_binding } from "./shared/binding-CkWPGrSM.mjs";
2
+ import { n as PluginContextData, r as bindingifyPlugin } from "./shared/bindingify-input-options-BCAF6TcN.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-CCDXnkPL.mjs";
2
+ import { n as parseSync, t as parse } from "./shared/parse-tRtSyZ-b.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-BFB1QNW3.mjs";
2
- import { t as esmExternalRequirePlugin } from "./shared/constructors-BfnFojy3.mjs";
1
+ import { a as makeBuiltinPluginCallable, n as BuiltinPlugin } from "./shared/normalize-string-or-regex-CCT059Zu.mjs";
2
+ import { t as esmExternalRequirePlugin } from "./shared/constructors-D3ZqEbT5.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-ER32uZ22.mjs";
1
+ import { n as __toESM, t as require_binding } from "./binding-CkWPGrSM.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-BFB1QNW3.mjs";
3
+ import { i as bindingifyManifestPlugin, n as BuiltinPlugin, r as bindingifyBuiltInPlugin, t as normalizedStringOrRegex } from "./normalize-string-or-regex-CCT059Zu.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-D8cGyrC7.mjs";
5
+ import { a as bindingifySourcemap, i as unwrapBindingResult, t as aggregateBindingErrorsIntoJsError } from "./error-BLhcSyeg.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.121.0/helpers/decorate.js
220
+ //#region \0@oxc-project+runtime@0.122.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-BFB1QNW3.mjs";
1
+ import { a as makeBuiltinPluginCallable, n as BuiltinPlugin, t as normalizedStringOrRegex } from "./normalize-string-or-regex-CCT059Zu.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 { t as require_binding } from "./binding-ER32uZ22.mjs";
1
+ import { t as require_binding } from "./binding-CkWPGrSM.mjs";
2
2
  //#region src/types/sourcemap.ts
3
3
  function bindingifySourcemap(map) {
4
4
  if (map == null) return;
@@ -1,4 +1,4 @@
1
- import { t as rolldown } from "./rolldown-DFpH3t7W.mjs";
1
+ import { t as rolldown } from "./rolldown-BMLc9elZ.mjs";
2
2
  import fs from "node:fs";
3
3
  import path from "node:path";
4
4
  import { readdir } from "node:fs/promises";
@@ -1,4 +1,4 @@
1
- import { n as __toESM, t as require_binding } from "./binding-ER32uZ22.mjs";
1
+ import { n as __toESM, t as require_binding } from "./binding-CkWPGrSM.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,4 +1,4 @@
1
- import { n as __toESM, t as require_binding } from "./binding-ER32uZ22.mjs";
1
+ import { n as __toESM, t as require_binding } from "./binding-CkWPGrSM.mjs";
2
2
  //#region ../../../node_modules/.pnpm/oxc-parser@0.121.0/node_modules/oxc-parser/src-js/wrap.js
3
3
  function wrap(result) {
4
4
  let program, module, comments, errors;
@@ -1,5 +1,5 @@
1
- import { n as __toESM, t as require_binding } from "./binding-ER32uZ22.mjs";
2
- import { a as bindingifySourcemap, n as normalizeBindingError } from "./error-D8cGyrC7.mjs";
1
+ import { n as __toESM, t as require_binding } from "./binding-CkWPGrSM.mjs";
2
+ import { a as bindingifySourcemap, n as normalizeBindingError } from "./error-BLhcSyeg.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-ZUNnA-sr.mjs";
1
+ import { c as validateOption, t as RolldownBuild, u as PluginDriver } from "./rolldown-build-CxsB9UaT.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-ER32uZ22.mjs";
1
+ import { n as __toESM, t as require_binding } from "./binding-CkWPGrSM.mjs";
2
2
  import { i as logInputHookInOutputPlugin, n as error } from "./logs-D80CXhvg.mjs";
3
- import { n as BuiltinPlugin } from "./normalize-string-or-regex-BFB1QNW3.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-DHK3MwUV.mjs";
3
+ import { n as BuiltinPlugin } from "./normalize-string-or-regex-CCT059Zu.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-BCAF6TcN.mjs";
5
5
  import { i as unimplemented } from "./misc-DJYbNKZX.mjs";
6
- import { i as unwrapBindingResult } from "./error-D8cGyrC7.mjs";
6
+ import { i as unwrapBindingResult } from "./error-BLhcSyeg.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-ER32uZ22.mjs";
1
+ import { n as __toESM, t as require_binding } from "./binding-CkWPGrSM.mjs";
2
2
  import { o as logMultipleWatcherOption } from "./logs-D80CXhvg.mjs";
3
- import { v as LOG_LEVEL_WARN } from "./bindingify-input-options-DHK3MwUV.mjs";
3
+ import { v as LOG_LEVEL_WARN } from "./bindingify-input-options-BCAF6TcN.mjs";
4
4
  import { t as arraify } from "./misc-DJYbNKZX.mjs";
5
- import { n as createBundlerOptions, u as PluginDriver } from "./rolldown-build-ZUNnA-sr.mjs";
6
- import { t as aggregateBindingErrorsIntoJsError } from "./error-D8cGyrC7.mjs";
5
+ import { n as createBundlerOptions, u as PluginDriver } from "./rolldown-build-CxsB9UaT.mjs";
6
+ import { t as aggregateBindingErrorsIntoJsError } from "./error-BLhcSyeg.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.
@@ -1,5 +1,5 @@
1
- import { n as parseSync, t as parse } from "./shared/parse-CCDXnkPL.mjs";
2
- import { a as minify, i as transformSync, o as minifySync, r as transform, t as TsconfigCache } from "./shared/resolve-tsconfig-gxOviCVx.mjs";
1
+ import { n as parseSync, t as parse } from "./shared/parse-tRtSyZ-b.mjs";
2
+ import { a as minify, i as transformSync, o as minifySync, r as transform, t as TsconfigCache } from "./shared/resolve-tsconfig-DJjTYbYr.mjs";
3
3
  //#region ../../../node_modules/.pnpm/oxc-parser@0.121.0/node_modules/oxc-parser/src-js/generated/visit/walk.js
4
4
  function walkNode(node, visitors) {
5
5
  if (node == null) return;
@@ -0,0 +1,2 @@
1
+ import { t as build$1 } from "./build-DpU0PBVv-CUY7qeWj.js";
2
+ export { build$1 as build };