@voidzero-dev/vite-plus-core 0.1.23 → 0.1.24

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.
@@ -1,4 +1,4 @@
1
- import { i as createDebug } from "./main-Cq8Is40L.js";
1
+ import { a as createDebug } from "./main-nVIFtu2j.js";
2
2
  import { createRequire } from "node:module";
3
3
  import path from "node:path";
4
4
  const ts = createRequire(import.meta.url)("typescript");
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { a as version, f as blue, g as hex, n as V, r as enableDebug, u as globalLogger } from "./main-Cq8Is40L.js";
2
+ import { f as blue, g as hex, i as version, r as enableDebug, t as R, u as globalLogger } from "./main-nVIFtu2j.js";
3
3
  import module from "node:module";
4
4
  import process$1 from "node:process";
5
5
  import { VERSION } from "@voidzero-dev/vite-plus-core/rolldown";
@@ -621,7 +621,7 @@ var CAC = class extends EventTarget {
621
621
  */
622
622
  const cac = (name = "") => new CAC(name);
623
623
  //#endregion
624
- //#region ../../node_modules/.pnpm/tsdown@0.22.0_@arethetypeswrong+core@0.18.2_@tsdown+css@0.22.0_@tsdown+exe@0.22.0_@type_e80978d33a319eb1e0c97ec71b684e94/node_modules/tsdown/dist/run.mjs
624
+ //#region ../../node_modules/.pnpm/tsdown@0.22.1_@arethetypeswrong+core@0.18.2_@tsdown+css@0.22.1_@tsdown+exe@0.22.1_@type_b2f732f99208225f009f13478ba95350/node_modules/tsdown/dist/run.mjs
625
625
  const cli = cac("tsdown");
626
626
  cli.help().version(version);
627
627
  cli.command("[...files]", "Bundle files", {
@@ -630,13 +630,13 @@ 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, tsx, 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-5FURNVr0-CsM6vj3e.js").then((n) => n.r).then((n) => n.r);
633
+ const { build } = await import("./build-BZshaq8i-C7uS6x65.js").then((n) => n.r).then((n) => n.r);
634
634
  if (input.length > 0) flags.entry = input;
635
635
  await build(flags);
636
636
  });
637
637
  cli.command("create", "[deprecated] Create a tsdown project. Use \"npx create-tsdown\" instead.", { allowUnknownOptions: true }).action(async () => {
638
638
  globalLogger.warn(`"tsdown create" is deprecated. Please use "npx create-tsdown" instead.`);
639
- const { exitCode } = await V("npx", [
639
+ const { exitCode } = await R("npx", [
640
640
  "-y",
641
641
  "create-tsdown@latest",
642
642
  ...process$1.argv.slice(3)
@@ -645,7 +645,7 @@ cli.command("create", "[deprecated] Create a tsdown project. Use \"npx create-ts
645
645
  });
646
646
  cli.command("migrate", "[deprecated] Migrate from tsup to tsdown. Use \"npx tsdown-migrate\" instead.", { allowUnknownOptions: true }).action(async () => {
647
647
  globalLogger.warn(`"tsdown migrate" is deprecated. Please use "npx tsdown-migrate" instead.`);
648
- const { exitCode } = await V("npx", [
648
+ const { exitCode } = await R("npx", [
649
649
  "-y",
650
650
  "tsdown-migrate@latest",
651
651
  ...process$1.argv.slice(3)
@@ -1,6 +1,6 @@
1
- import { i as createDebug } from "./main-Cq8Is40L.js";
2
- import { l as RE_DTS, u as RE_DTS_MAP } from "./build-5FURNVr0-CsM6vj3e.js";
3
- import { n as globalContext } from "./tsc-context-DXovbMXp.js";
1
+ import { a as createDebug } from "./main-nVIFtu2j.js";
2
+ import { l as RE_DTS, u as RE_DTS_MAP } from "./build-BZshaq8i-C7uS6x65.js";
3
+ import { n as globalContext } from "./tsc-context-DKufFI_s.js";
4
4
  import { createRequire } from "node:module";
5
5
  import path from "node:path";
6
6
  import { pathToFileURL } from "node:url";
@@ -1,6 +1,6 @@
1
- import { i as createDebug } from "./main-Cq8Is40L.js";
1
+ import { a as createDebug } from "./main-nVIFtu2j.js";
2
2
  import path from "node:path";
3
- //#region ../../node_modules/.pnpm/rolldown-plugin-dts@0.25.1_@typescript+native-preview@7.0.0-dev.20260122.2_oxc-resolver_93c1f8e38767dc05c2802c79a6f0fd5e/node_modules/rolldown-plugin-dts/dist/tsc-context.mjs
3
+ //#region ../../node_modules/.pnpm/rolldown-plugin-dts@0.25.2_@typescript+native-preview@7.0.0-dev.20260122.2_oxc-resolver_8152cf0e534aee518f40abeb59f8494a/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 {
@@ -105,7 +105,7 @@ var require_picocolors = /* @__PURE__ */ __commonJSMin(((exports, module) => {
105
105
  }));
106
106
  //#endregion
107
107
  //#region ../../vite/packages/vite/package.json
108
- var version = "8.0.14";
108
+ var version = "8.0.16";
109
109
  //#endregion
110
110
  //#region ../../vite/packages/vite/src/node/constants.ts
111
111
  const ROLLUP_HOOKS = [