@voidzero-dev/vite-plus-core 0.1.1-alpha.0 → 0.1.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.
Files changed (29) hide show
  1. package/dist/rolldown/cli.mjs +1 -1
  2. package/dist/rolldown/config.d.mts +0 -1
  3. package/dist/rolldown/filter-index.d.mts +0 -1
  4. package/dist/rolldown/index.mjs +1 -1
  5. package/dist/rolldown/parallel-plugin.d.mts +0 -1
  6. package/dist/rolldown/shared/{watch-Cn-znpX_.mjs → watch-CVufTfok.mjs} +1 -1
  7. package/dist/tsdown/{build-BjQ7Rt90-tMPZTflz.js → build-TmLngPCw-I7MHSf0I.js} +269 -188
  8. package/dist/tsdown/build-gOkJM1H9-BRI3DQle.js +6 -0
  9. package/dist/tsdown/{debug-BUVkFfEZ-D3UMJnif.js → debug-tOJ_PtrM-DITcI9An.js} +2 -2
  10. package/dist/tsdown/{detect-CCATtVj7-DhvBg5EF.js → detect-DK-FDZQ9-CALXiuJa.js} +1 -1
  11. package/dist/tsdown/{dist-CFTDWtv2.js → dist-DVPyDO-_.js} +5 -2
  12. package/dist/tsdown/{dist-DNcnO8LL.js → dist-uzMTIu3J.js} +488 -521
  13. package/dist/tsdown/{filename-CPj0AKvV.js → filename-C2azOotK.js} +2 -2
  14. package/dist/tsdown/{index-node-ShM0x2b6-Bt7Chc0I.js → index-node-Djp92Gzb-fgHTblzo.js} +1 -1
  15. package/dist/tsdown/index-types.d.ts +175 -25
  16. package/dist/tsdown/index.js +5 -5
  17. package/dist/tsdown/{main-B3qcLRNf.js → main-BWoReXjl.js} +72 -69
  18. package/dist/tsdown/npm_cjs_chunk_lt.cjs +31 -0
  19. package/dist/tsdown/npm_cjs_chunk_range.cjs +7 -22
  20. package/dist/tsdown/npm_cjs_chunk_semver.cjs +17 -17
  21. package/dist/tsdown/npm_entry_semver_functions_lt.cjs +7 -0
  22. package/dist/tsdown/npm_entry_semver_functions_satisfies.cjs +2 -1
  23. package/dist/tsdown/npm_entry_semver_ranges_min-version.cjs +2 -1
  24. package/dist/tsdown/{resolver-j7HY1N36-DHVsN9q6.js → resolver-CdD-yT15-OWjlgV0D.js} +1 -1
  25. package/dist/tsdown/run.js +209 -68
  26. package/dist/tsdown/{tsc-CBjlgM2A.js → tsc-D6YfZJBZ.js} +62 -67
  27. package/dist/tsdown/{tsc-context-D1h5oZB8.js → tsc-context-CGmk4Cps.js} +1 -1
  28. package/package.json +12 -8
  29. package/dist/tsdown/build-2oRq4mfQ-YC_gzK3u.js +0 -6
@@ -1,48 +1,48 @@
1
1
  import { t as createDebug } from "./node-Ba_UB_xO.js";
2
- import { n as RE_DTS, r as RE_DTS_MAP } from "./filename-CPj0AKvV.js";
3
- import { n as globalContext } from "./tsc-context-D1h5oZB8.js";
2
+ import { n as RE_DTS, r as RE_DTS_MAP } from "./filename-C2azOotK.js";
3
+ import { n as globalContext } from "./tsc-context-CGmk4Cps.js";
4
4
 
5
- //#region ../../node_modules/.pnpm/rolldown-plugin-dts@0.22.1_@typescript+native-preview@7.0.0-dev.20260122.2_oxc-resolver_d2e4a246ecba2d40b4415d1b79df8dc9/node_modules/rolldown-plugin-dts/dist/emit-compiler-CfQ29zff.mjs
6
- const __cjs_require$1 = globalThis.process.getBuiltinModule("module").createRequire(import.meta.url);
5
+ //#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/tsc-Bq8zpODY.mjs
6
+ const __cjs_require = globalThis.process.getBuiltinModule("module").createRequire(import.meta.url);
7
7
  const { createRequire } = globalThis.process.getBuiltinModule("node:module");
8
8
  const path = globalThis.process.getBuiltinModule("node:path");
9
- const ts$1 = __cjs_require$1("typescript");
9
+ const ts = __cjs_require("typescript");
10
10
  const { pathToFileURL } = globalThis.process.getBuiltinModule("node:url");
11
11
  var __require = /* @__PURE__ */ createRequire(import.meta.url);
12
- const debug$3 = createDebug("rolldown-plugin-dts:tsc-system");
12
+ const debug$4 = createDebug("rolldown-plugin-dts:tsc-system");
13
13
  /**
14
14
  * A system that writes files to both memory and disk. It will try read files
15
15
  * from memory firstly and fallback to disk if not found.
16
16
  */
17
17
  function createFsSystem(files) {
18
18
  return {
19
- ...ts$1.sys,
19
+ ...ts.sys,
20
20
  write(message) {
21
- debug$3(message);
21
+ debug$4(message);
22
22
  },
23
23
  resolvePath(path) {
24
24
  if (files.has(path)) return path;
25
- return ts$1.sys.resolvePath(path);
25
+ return ts.sys.resolvePath(path);
26
26
  },
27
27
  directoryExists(directory) {
28
28
  if (Array.from(files.keys()).some((path) => path.startsWith(directory))) return true;
29
- return ts$1.sys.directoryExists(directory);
29
+ return ts.sys.directoryExists(directory);
30
30
  },
31
31
  fileExists(fileName) {
32
32
  if (files.has(fileName)) return true;
33
- return ts$1.sys.fileExists(fileName);
33
+ return ts.sys.fileExists(fileName);
34
34
  },
35
35
  readFile(fileName, ...args) {
36
36
  if (files.has(fileName)) return files.get(fileName);
37
- return ts$1.sys.readFile(fileName, ...args);
37
+ return ts.sys.readFile(fileName, ...args);
38
38
  },
39
39
  writeFile(path, data, ...args) {
40
40
  files.set(path, data);
41
- ts$1.sys.writeFile(path, data, ...args);
41
+ ts.sys.writeFile(path, data, ...args);
42
42
  },
43
43
  deleteFile(fileName, ...args) {
44
44
  files.delete(fileName);
45
- ts$1.sys.deleteFile?.(fileName, ...args);
45
+ ts.sys.deleteFile?.(fileName, ...args);
46
46
  }
47
47
  };
48
48
  }
@@ -58,16 +58,16 @@ function createMemorySystem(files) {
58
58
  };
59
59
  }
60
60
  const formatHost = {
61
- getCurrentDirectory: () => ts$1.sys.getCurrentDirectory(),
62
- getNewLine: () => ts$1.sys.newLine,
63
- getCanonicalFileName: ts$1.sys.useCaseSensitiveFileNames ? (f) => f : (f) => f.toLowerCase()
61
+ getCurrentDirectory: () => ts.sys.getCurrentDirectory(),
62
+ getNewLine: () => ts.sys.newLine,
63
+ getCanonicalFileName: ts.sys.useCaseSensitiveFileNames ? (f) => f : (f) => f.toLowerCase()
64
64
  };
65
65
  const stripPrivateFields = (ctx) => {
66
66
  const visitor = (node) => {
67
- if (ts$1.isPropertySignature(node) && ts$1.isPrivateIdentifier(node.name)) return ctx.factory.updatePropertySignature(node, node.modifiers, ctx.factory.createStringLiteral(node.name.text), node.questionToken, node.type);
68
- return ts$1.visitEachChild(node, visitor, ctx);
67
+ if (ts.isPropertySignature(node) && ts.isPrivateIdentifier(node.name)) return ctx.factory.updatePropertySignature(node, node.modifiers, ctx.factory.createStringLiteral(node.name.text), node.questionToken, node.type);
68
+ return ts.visitEachChild(node, visitor, ctx);
69
69
  };
70
- return (sourceFile) => ts$1.visitNode(sourceFile, visitor, ts$1.isSourceFile) ?? sourceFile;
70
+ return (sourceFile) => ts.visitNode(sourceFile, visitor, ts.isSourceFile) ?? sourceFile;
71
71
  };
72
72
  const customTransformers = { afterDeclarations: [stripPrivateFields] };
73
73
  function setSourceMapRoot(map, originalFilePath, finalFilePath) {
@@ -77,22 +77,22 @@ function setSourceMapRoot(map, originalFilePath, finalFilePath) {
77
77
  const finalDir = path.posix.dirname(pathToFileURL(finalFilePath).pathname);
78
78
  if (originalDir !== finalDir) map.sourceRoot = path.posix.relative(finalDir, originalDir);
79
79
  }
80
- const debug$2 = createDebug("rolldown-plugin-dts:tsc-build");
80
+ const debug$3 = createDebug("rolldown-plugin-dts:tsc-build");
81
81
  function tscEmitBuild(tscOptions) {
82
82
  const { id, tsconfig, incremental, context = globalContext, sourcemap } = tscOptions;
83
- debug$2(`running tscEmitBuild id: ${id}, tsconfig: ${tsconfig}, incremental: ${incremental}`);
83
+ debug$3(`running tscEmitBuild id: ${id}, tsconfig: ${tsconfig}, incremental: ${incremental}`);
84
84
  if (!tsconfig) return { error: "[rolldown-plugin-dts] build mode requires a tsconfig path" };
85
85
  const fsSystem = (incremental ? createFsSystem : createMemorySystem)(context.files);
86
86
  const resolvedId = fsSystem.resolvePath(id);
87
- if (resolvedId !== id) debug$2(`resolved id from ${id} to ${resolvedId}`);
87
+ if (resolvedId !== id) debug$3(`resolved id from ${id} to ${resolvedId}`);
88
88
  const project = getOrBuildProjects(context, fsSystem, tsconfig, !incremental, sourcemap).get(resolvedId);
89
89
  if (!project) {
90
- debug$2(`unable to locate a project containing ${resolvedId}`);
90
+ debug$3(`unable to locate a project containing ${resolvedId}`);
91
91
  return { error: `Unable to locate ${id} from the given tsconfig file ${tsconfig}` };
92
92
  }
93
- debug$2(`loaded project ${project.tsconfigPath} for ${id}`);
93
+ debug$3(`loaded project ${project.tsconfigPath} for ${id}`);
94
94
  const ignoreCase = !fsSystem.useCaseSensitiveFileNames;
95
- const outputFiles = ts$1.getOutputFileNames(project.parsedConfig, resolvedId, ignoreCase);
95
+ const outputFiles = ts.getOutputFileNames(project.parsedConfig, resolvedId, ignoreCase);
96
96
  let code;
97
97
  let map;
98
98
  for (const outputFile of outputFiles) {
@@ -120,20 +120,20 @@ function tscEmitBuild(tscOptions) {
120
120
  map
121
121
  };
122
122
  if (incremental) {
123
- debug$2(`incremental build failed`);
123
+ debug$3(`incremental build failed`);
124
124
  return tscEmitBuild({
125
125
  ...tscOptions,
126
126
  incremental: false
127
127
  });
128
128
  }
129
- debug$2(`unable to build .d.ts file for ${id}`);
129
+ debug$3(`unable to build .d.ts file for ${id}`);
130
130
  if (project.parsedConfig.options.declaration !== true) return { error: `Unable to build .d.ts file for ${id}; Make sure the "declaration" option is set to true in ${project.tsconfigPath}` };
131
131
  return { error: `Unable to build .d.ts file for ${id}; This seems like a bug of rolldown-plugin-dts. Please report this issue to https://github.com/sxzz/rolldown-plugin-dts/issues` };
132
132
  }
133
133
  function getOrBuildProjects(context, fsSystem, tsconfig, force, sourcemap) {
134
134
  let projectMap = context.projects.get(tsconfig);
135
135
  if (projectMap) {
136
- debug$2(`skip building projects for ${tsconfig}`);
136
+ debug$3(`skip building projects for ${tsconfig}`);
137
137
  return projectMap;
138
138
  }
139
139
  projectMap = buildProjects(fsSystem, tsconfig, force, sourcemap);
@@ -144,15 +144,15 @@ function getOrBuildProjects(context, fsSystem, tsconfig, force, sourcemap) {
144
144
  * Use TypeScript compiler to build all projects referenced
145
145
  */
146
146
  function buildProjects(fsSystem, tsconfig, force, sourcemap) {
147
- debug$2(`start building projects for ${tsconfig}`);
147
+ debug$3(`start building projects for ${tsconfig}`);
148
148
  const projects = collectProjectGraph(tsconfig, fsSystem, force, sourcemap);
149
- debug$2("collected %d projects: %j", projects.length, projects.map((project) => project.tsconfigPath));
150
- const host = ts$1.createSolutionBuilderHost(fsSystem, createProgramWithPatchedCompilerOptions);
151
- debug$2(`built solution for ${tsconfig} with exit status ${ts$1.createSolutionBuilder(host, [tsconfig], {
149
+ debug$3("collected %d projects: %j", projects.length, projects.map((project) => project.tsconfigPath));
150
+ const host = ts.createSolutionBuilderHost(fsSystem, createProgramWithPatchedCompilerOptions);
151
+ debug$3(`built solution for ${tsconfig} with exit status ${ts.createSolutionBuilder(host, [tsconfig], {
152
152
  force,
153
153
  verbose: true
154
154
  }).build(void 0, void 0, void 0, (project) => {
155
- debug$2(`transforming project ${project}`);
155
+ debug$3(`transforming project ${project}`);
156
156
  return customTransformers;
157
157
  })}`);
158
158
  const sourceFileToProjectMap = /* @__PURE__ */ new Map();
@@ -182,19 +182,19 @@ function collectProjectGraph(rootTsconfigPath, fsSystem, force, sourcemap) {
182
182
  tsconfigPath,
183
183
  parsedConfig
184
184
  });
185
- for (const ref of parsedConfig.projectReferences ?? []) stack.push(ts$1.resolveProjectReferencePath(ref));
185
+ for (const ref of parsedConfig.projectReferences ?? []) stack.push(ts.resolveProjectReferencePath(ref));
186
186
  }
187
187
  return projects;
188
188
  }
189
189
  function parseTsconfig(tsconfigPath, fsSystem) {
190
190
  const diagnostics = [];
191
- const parsedConfig = ts$1.getParsedCommandLineOfConfigFile(tsconfigPath, void 0, {
191
+ const parsedConfig = ts.getParsedCommandLineOfConfigFile(tsconfigPath, void 0, {
192
192
  ...fsSystem,
193
193
  onUnRecoverableConfigFileDiagnostic: (diagnostic) => {
194
194
  diagnostics.push(diagnostic);
195
195
  }
196
196
  });
197
- if (diagnostics.length) throw new Error(`[rolldown-plugin-dts] Unable to read ${tsconfigPath}: ${ts$1.formatDiagnostics(diagnostics, formatHost)}`);
197
+ if (diagnostics.length) throw new Error(`[rolldown-plugin-dts] Unable to read ${tsconfigPath}: ${ts.formatDiagnostics(diagnostics, formatHost)}`);
198
198
  return parsedConfig;
199
199
  }
200
200
  function patchCompilerOptions(options, extraOptions) {
@@ -226,11 +226,11 @@ function patchCompilerOptions(options, extraOptions) {
226
226
  return options;
227
227
  }
228
228
  const createProgramWithPatchedCompilerOptions = (rootNames, options, ...args) => {
229
- return ts$1.createEmitAndSemanticDiagnosticsBuilderProgram(rootNames, patchCompilerOptions(options ?? {}, null), ...args);
229
+ return ts.createEmitAndSemanticDiagnosticsBuilderProgram(rootNames, patchCompilerOptions(options ?? {}, null), ...args);
230
230
  };
231
- const debug$1 = createDebug("rolldown-plugin-dts:volar");
231
+ const debug$2 = createDebug("rolldown-plugin-dts:volar");
232
232
  function loadVueLanguageTools() {
233
- debug$1("loading vue language tools");
233
+ debug$2("loading vue language tools");
234
234
  try {
235
235
  const vueTscPath = __require.resolve("vue-tsc");
236
236
  return {
@@ -238,8 +238,8 @@ function loadVueLanguageTools() {
238
238
  vue: __require(__require.resolve("@vue/language-core", { paths: [vueTscPath] }))
239
239
  };
240
240
  } catch (error) {
241
- debug$1("vue language tools not found", error);
242
- throw new Error("Failed to load vue language tools. Please manually install vue-tsc.");
241
+ debug$2("vue language tools not found", error);
242
+ throw new Error("Failed to load vue language tools. Please manually install vue-tsc.", { cause: error });
243
243
  }
244
244
  }
245
245
  function initVueLanguageTools() {
@@ -275,7 +275,7 @@ function initTsMacro() {
275
275
  };
276
276
  } catch (error) {
277
277
  debug("ts-macro language tools not found", error);
278
- throw new Error("Failed to load ts-macro language tools. Please manually install @ts-macro/tsc.");
278
+ throw new Error("Failed to load ts-macro language tools. Please manually install @ts-macro/tsc.", { cause: error });
279
279
  }
280
280
  }
281
281
  function createProgramFactory(ts, options) {
@@ -290,7 +290,7 @@ function createProgramFactory(ts, options) {
290
290
  return { languagePlugins };
291
291
  });
292
292
  }
293
- const debug$4 = createDebug("rolldown-plugin-dts:tsc-compiler");
293
+ const debug$1 = createDebug("rolldown-plugin-dts:tsc-compiler");
294
294
  const defaultCompilerOptions = {
295
295
  declaration: true,
296
296
  noEmit: false,
@@ -301,7 +301,7 @@ const defaultCompilerOptions = {
301
301
  skipLibCheck: true,
302
302
  target: 99,
303
303
  resolveJsonModule: true,
304
- moduleResolution: ts$1.ModuleResolutionKind.Bundler
304
+ moduleResolution: ts.ModuleResolutionKind.Bundler
305
305
  };
306
306
  function createOrGetTsModule(options) {
307
307
  const { id, entries, context = globalContext } = options;
@@ -317,21 +317,21 @@ function createOrGetTsModule(options) {
317
317
  file: sourceFile
318
318
  };
319
319
  }
320
- debug$4(`create program for module: ${id}`);
320
+ debug$1(`create program for module: ${id}`);
321
321
  const module = createTsProgram(options);
322
- debug$4(`created program for module: ${id}`);
322
+ debug$1(`created program for module: ${id}`);
323
323
  context.programs.push(module.program);
324
324
  return module;
325
325
  }
326
326
  function createTsProgram({ entries, id, tsconfig, tsconfigRaw, vue, tsMacro, cwd, context = globalContext }) {
327
327
  const fsSystem = createFsSystem(context.files);
328
328
  const baseDir = tsconfig ? path.dirname(tsconfig) : cwd;
329
- const parsedConfig = ts$1.parseJsonConfigFileContent(tsconfigRaw, fsSystem, baseDir, void 0, void 0, void 0, vue ? [{
329
+ const parsedConfig = ts.parseJsonConfigFileContent(tsconfigRaw, fsSystem, baseDir, void 0, void 0, void 0, vue ? [{
330
330
  extension: "vue",
331
331
  isMixedContent: true,
332
- scriptKind: ts$1.ScriptKind.Deferred
332
+ scriptKind: ts.ScriptKind.Deferred
333
333
  }] : void 0);
334
- debug$4(`creating program for root project: ${baseDir}`);
334
+ debug$1(`creating program for root project: ${baseDir}`);
335
335
  return createTsProgramFromParsedConfig({
336
336
  parsedConfig,
337
337
  fsSystem,
@@ -350,8 +350,8 @@ function createTsProgramFromParsedConfig({ parsedConfig, fsSystem, baseDir, id,
350
350
  $rootDir: baseDir
351
351
  };
352
352
  const rootNames = [...new Set([id, ...entries || parsedConfig.fileNames].map((f) => fsSystem.resolvePath(f)))];
353
- const host = ts$1.createCompilerHost(compilerOptions, true);
354
- const program = createProgramFactory(ts$1, {
353
+ const host = ts.createCompilerHost(compilerOptions, true);
354
+ const program = createProgramFactory(ts, {
355
355
  vue,
356
356
  tsMacro
357
357
  })({
@@ -362,13 +362,13 @@ function createTsProgramFromParsedConfig({ parsedConfig, fsSystem, baseDir, id,
362
362
  });
363
363
  const sourceFile = program.getSourceFile(id);
364
364
  if (!sourceFile) {
365
- debug$4(`source file not found in program: ${id}`);
365
+ debug$1(`source file not found in program: ${id}`);
366
366
  if (!!parsedConfig.projectReferences?.length) throw new Error(`[rolldown-plugin-dts] Unable to load ${id}; You have "references" in your tsconfig file. Perhaps you want to add \`dts: { build: true }\` in your config?`);
367
367
  if (fsSystem.fileExists(id)) {
368
- debug$4(`File ${id} exists on disk.`);
368
+ debug$1(`File ${id} exists on disk.`);
369
369
  throw new Error(`Unable to load file ${id} from the program. This seems like a bug of rolldown-plugin-dts. Please report this issue to https://github.com/sxzz/rolldown-plugin-dts/issues`);
370
370
  } else {
371
- debug$4(`File ${id} does not exist on disk.`);
371
+ debug$1(`File ${id} does not exist on disk.`);
372
372
  throw new Error(`Source file not found: ${id}`);
373
373
  }
374
374
  }
@@ -378,26 +378,26 @@ function createTsProgramFromParsedConfig({ parsedConfig, fsSystem, baseDir, id,
378
378
  };
379
379
  }
380
380
  function tscEmitCompiler(tscOptions) {
381
- debug$4(`running tscEmitCompiler ${tscOptions.id}`);
381
+ debug$1(`running tscEmitCompiler ${tscOptions.id}`);
382
382
  const { program, file } = createOrGetTsModule(tscOptions);
383
- debug$4(`got source file: ${file.fileName}`);
383
+ debug$1(`got source file: ${file.fileName}`);
384
384
  let dtsCode;
385
385
  let map;
386
386
  const { emitSkipped, diagnostics } = program.emit(file, (fileName, code) => {
387
387
  if (fileName.endsWith(".map")) {
388
- debug$4(`emit dts sourcemap: ${fileName}`);
388
+ debug$1(`emit dts sourcemap: ${fileName}`);
389
389
  map = JSON.parse(code);
390
390
  setSourceMapRoot(map, fileName, tscOptions.id);
391
391
  } else {
392
- debug$4(`emit dts: ${fileName}`);
392
+ debug$1(`emit dts: ${fileName}`);
393
393
  dtsCode = code;
394
394
  }
395
395
  }, void 0, true, customTransformers, true);
396
- if (emitSkipped && diagnostics.length) return { error: ts$1.formatDiagnostics(diagnostics, formatHost) };
396
+ if (emitSkipped && diagnostics.length) return { error: ts.formatDiagnostics(diagnostics, formatHost) };
397
397
  if (!dtsCode) {
398
- debug$4("nothing was emitted.");
398
+ debug$1("nothing was emitted.");
399
399
  if (file.isDeclarationFile) {
400
- debug$4("source file is a declaration file.");
400
+ debug$1("source file is a declaration file.");
401
401
  dtsCode = file.getFullText();
402
402
  } else console.warn("[rolldown-plugin-dts] Warning: Failed to emit declaration file. Please try to enable `eager` option (`dts.eager` for tsdown).");
403
403
  }
@@ -406,11 +406,6 @@ function tscEmitCompiler(tscOptions) {
406
406
  map
407
407
  };
408
408
  }
409
-
410
- //#endregion
411
- //#region ../../node_modules/.pnpm/rolldown-plugin-dts@0.22.1_@typescript+native-preview@7.0.0-dev.20260122.2_oxc-resolver_d2e4a246ecba2d40b4415d1b79df8dc9/node_modules/rolldown-plugin-dts/dist/tsc.mjs
412
- const __cjs_require = globalThis.process.getBuiltinModule("module").createRequire(import.meta.url);
413
- const ts = __cjs_require("typescript");
414
409
  const debug = createDebug("rolldown-plugin-dts:tsc");
415
410
  debug(`loaded typescript: ${ts.version}`);
416
411
  function tscEmit(tscOptions) {
@@ -1,6 +1,6 @@
1
1
  import { t as createDebug } from "./node-Ba_UB_xO.js";
2
2
 
3
- //#region ../../node_modules/.pnpm/rolldown-plugin-dts@0.22.1_@typescript+native-preview@7.0.0-dev.20260122.2_oxc-resolver_d2e4a246ecba2d40b4415d1b79df8dc9/node_modules/rolldown-plugin-dts/dist/tsc-context.mjs
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/tsc-context.mjs
4
4
  const path = globalThis.process.getBuiltinModule("node:path");
5
5
  const debug = createDebug("rolldown-plugin-dts:tsc-context");
6
6
  function createContext() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voidzero-dev/vite-plus-core",
3
- "version": "0.1.1-alpha.0",
3
+ "version": "0.1.2",
4
4
  "license": "MIT",
5
5
  "files": [
6
6
  "dist"
@@ -116,12 +116,14 @@
116
116
  "semver": "^7.7.3",
117
117
  "tinyglobby": "^0.2.15",
118
118
  "tree-kill": "^1.2.2",
119
- "tsdown": "^0.21.0-beta.2",
119
+ "tsdown": "^0.21.0",
120
120
  "rolldown": "1.0.0-rc.6",
121
- "vite": "npm:@voidzero-dev/vite-plus-core@0.1.1-alpha.0"
121
+ "vite": "npm:@voidzero-dev/vite-plus-core@0.1.2"
122
122
  },
123
123
  "peerDependencies": {
124
124
  "@arethetypeswrong/core": "^0.18.1",
125
+ "@tsdown/css": "0.21.0",
126
+ "@tsdown/exe": "0.21.0",
125
127
  "@types/node": "^20.19.0 || >=22.12.0",
126
128
  "@vitejs/devtools": "^0.0.0-alpha.31",
127
129
  "esbuild": "^0.27.0",
@@ -135,7 +137,6 @@
135
137
  "terser": "^5.16.0",
136
138
  "tsx": "^4.8.1",
137
139
  "typescript": "^5.0.0",
138
- "unplugin-lightningcss": "^0.4.0",
139
140
  "unplugin-unused": "^0.5.0",
140
141
  "yaml": "^2.4.2"
141
142
  },
@@ -143,6 +144,12 @@
143
144
  "@arethetypeswrong/core": {
144
145
  "optional": true
145
146
  },
147
+ "@tsdown/css": {
148
+ "optional": true
149
+ },
150
+ "@tsdown/exe": {
151
+ "optional": true
152
+ },
146
153
  "@vitejs/devtools": {
147
154
  "optional": true
148
155
  },
@@ -152,9 +159,6 @@
152
159
  "typescript": {
153
160
  "optional": true
154
161
  },
155
- "unplugin-lightningcss": {
156
- "optional": true
157
- },
158
162
  "unplugin-unused": {
159
163
  "optional": true
160
164
  },
@@ -201,7 +205,7 @@
201
205
  "bundledVersions": {
202
206
  "vite": "8.0.0-beta.16",
203
207
  "rolldown": "1.0.0-rc.6",
204
- "tsdown": "0.21.0-beta.2"
208
+ "tsdown": "0.21.0"
205
209
  },
206
210
  "scripts": {
207
211
  "build": "oxnode -C dev ./build.ts"
@@ -1,6 +0,0 @@
1
- import "./main-B3qcLRNf.js";
2
- import "./node-Ba_UB_xO.js";
3
- import "./filename-CPj0AKvV.js";
4
- import { t as build$1 } from "./build-BjQ7Rt90-tMPZTflz.js";
5
-
6
- export { build$1 as build };