tsdown 0.15.6 → 0.15.7

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 { UserConfig, UserConfigFn } from "./types-DMJKFE0E.mjs";
1
+ import { UserConfig, UserConfigFn } from "./types-BBYDPehL.mjs";
2
2
 
3
3
  //#region src/config.d.ts
4
4
 
package/dist/config.d.mts CHANGED
@@ -1,3 +1,3 @@
1
- import { UserConfig, UserConfigFn } from "./types-DMJKFE0E.mjs";
2
- import { defineConfig } from "./config-oNMlaVK7.mjs";
1
+ import { UserConfig, UserConfigFn } from "./types-BBYDPehL.mjs";
2
+ import { defineConfig } from "./config-BkpjlM2q.mjs";
3
3
  export { UserConfig, UserConfigFn, defineConfig };
package/dist/index.d.mts CHANGED
@@ -1,5 +1,5 @@
1
- import { AttwOptions, BuildContext, ChunkAddon, ChunkAddonFunction, ChunkAddonObject, CopyEntry, CopyOptions, CopyOptionsFn, DtsOptions, ExportsOptions, Format, Logger, NoExternalFn, NormalizedFormat, NormalizedUserConfig, Options, OutExtensionContext, OutExtensionFactory, OutExtensionObject, PackageType, PublintOptions, ReportOptions, ResolvedOptions, RolldownContext, Sourcemap, TsdownChunks, TsdownHooks, UnusedOptions, UserConfig, UserConfigFn, Workspace, globalLogger } from "./types-DMJKFE0E.mjs";
2
- import { defineConfig } from "./config-oNMlaVK7.mjs";
1
+ import { AttwOptions, BuildContext, ChunkAddon, ChunkAddonFunction, ChunkAddonObject, CopyEntry, CopyOptions, CopyOptionsFn, DtsOptions, ExportsOptions, Format, Logger, NoExternalFn, NormalizedFormat, NormalizedUserConfig, Options, OutExtensionContext, OutExtensionFactory, OutExtensionObject, PackageType, PublintOptions, ReportOptions, ResolvedOptions, RolldownContext, Sourcemap, TsdownChunks, TsdownHooks, UnusedOptions, UserConfig, UserConfigFn, Workspace, globalLogger } from "./types-BBYDPehL.mjs";
2
+ import { defineConfig } from "./config-BkpjlM2q.mjs";
3
3
 
4
4
  //#region src/index.d.ts
5
5
 
package/dist/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineConfig } from "./config-CCGWF4al.mjs";
2
- import { build, buildSingle, shimFile } from "./src-Bl9Gdsdl.mjs";
3
- import { globalLogger } from "./logger-BjPuONhe.mjs";
2
+ import { build, buildSingle, shimFile } from "./src-C51C732j.mjs";
3
+ import { globalLogger } from "./logger-BdsX4_1k.mjs";
4
4
 
5
5
  export { build, buildSingle, defineConfig, globalLogger, shimFile };
@@ -110,8 +110,7 @@ function generateColor(name = "default") {
110
110
  else {
111
111
  let hash = 0;
112
112
  for (let i = 0; i < name.length; i++) hash = name.charCodeAt(i) + ((hash << 5) - hash);
113
- const hue = hash % 360;
114
- color = rgb(...hslToRgb(hue, 35, 55));
113
+ color = rgb(...hslToRgb(hash % 360, 35, 55));
115
114
  }
116
115
  colors.set(name, color);
117
116
  return color;
@@ -1,5 +1,5 @@
1
- import { globalLogger } from "./logger-BjPuONhe.mjs";
2
- import { version } from "./package-f3XEXjm-.mjs";
1
+ import { globalLogger } from "./logger-BdsX4_1k.mjs";
2
+ import { version } from "./package-BbXTWj2q.mjs";
3
3
  import process from "node:process";
4
4
  import { bold, green, underline } from "ansis";
5
5
  import { readFile, unlink, writeFile } from "node:fs/promises";
@@ -0,0 +1,5 @@
1
+ //#region package.json
2
+ var version = "0.15.7";
3
+
4
+ //#endregion
5
+ export { version };
@@ -1,4 +1,4 @@
1
- import { Logger, ReportPlugin, ResolvedOptions } from "./types-DMJKFE0E.mjs";
1
+ import { Logger, ReportPlugin, ResolvedOptions } from "./types-BBYDPehL.mjs";
2
2
  import { Plugin } from "rolldown";
3
3
  import { PackageJson } from "pkg-types";
4
4
 
package/dist/plugins.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  import "./config-CCGWF4al.mjs";
2
- import { ExternalPlugin, NodeProtocolPlugin, ReportPlugin, ShebangPlugin } from "./src-Bl9Gdsdl.mjs";
3
- import "./logger-BjPuONhe.mjs";
2
+ import { ExternalPlugin, NodeProtocolPlugin, ReportPlugin, ShebangPlugin } from "./src-C51C732j.mjs";
3
+ import "./logger-BdsX4_1k.mjs";
4
4
 
5
5
  export { ExternalPlugin, NodeProtocolPlugin, ReportPlugin, ShebangPlugin };
package/dist/run.mjs CHANGED
@@ -1,13 +1,13 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire as __cjs_createRequire } from "node:module";
3
3
  const __cjs_require = __cjs_createRequire(import.meta.url);
4
- import { globalLogger, resolveComma, toArray } from "./logger-BjPuONhe.mjs";
5
- import { version } from "./package-f3XEXjm-.mjs";
4
+ import { globalLogger, resolveComma, toArray } from "./logger-BdsX4_1k.mjs";
5
+ import { version } from "./package-BbXTWj2q.mjs";
6
6
  import module from "node:module";
7
7
  import process from "node:process";
8
8
  import { dim } from "ansis";
9
9
  import { VERSION } from "rolldown";
10
- const Debug = __cjs_require("debug");
10
+ const debug = __cjs_require("debug");
11
11
  import { cac } from "cac";
12
12
 
13
13
  //#region src/cli.ts
@@ -24,7 +24,7 @@ cli.command("[...files]", "Bundle files", {
24
24
  await build$1(flags);
25
25
  });
26
26
  cli.command("migrate", "Migrate from tsup to tsdown").option("-c, --cwd <dir>", "Working directory").option("-d, --dry-run", "Dry run").action(async (args) => {
27
- const { migrate } = await import("./migrate-CeG6I3xh.mjs");
27
+ const { migrate } = await import("./migrate-DrxQXJvd.mjs");
28
28
  await migrate(args);
29
29
  });
30
30
  async function runCLI() {
@@ -33,10 +33,10 @@ async function runCLI() {
33
33
  let namespace;
34
34
  if (cli.options.debug === true) namespace = "tsdown:*";
35
35
  else namespace = resolveComma(toArray(cli.options.debug)).map((v) => `tsdown:${v}`).join(",");
36
- const enabled = Debug.disable();
36
+ const enabled = debug.disable();
37
37
  if (enabled) namespace += `,${enabled}`;
38
- Debug.enable(namespace);
39
- Debug("tsdown:debug")("Debugging enabled", namespace);
38
+ debug.enable(namespace);
39
+ debug("tsdown:debug")("Debugging enabled", namespace);
40
40
  }
41
41
  try {
42
42
  await cli.runMatchedCommand();
@@ -1,7 +1,7 @@
1
1
  import { createRequire as __cjs_createRequire } from "node:module";
2
2
  const __cjs_require = __cjs_createRequire(import.meta.url);
3
- import { LogLevels, createLogger, debounce, generateColor, globalLogger, matchPattern, noop, prettyFormat, prettyName, resolveComma, resolveRegex, slash, toArray } from "./logger-BjPuONhe.mjs";
4
- import { builtinModules } from "node:module";
3
+ import { LogLevels, createLogger, debounce, generateColor, globalLogger, matchPattern, noop, prettyFormat, prettyName, resolveComma, resolveRegex, slash, toArray } from "./logger-BdsX4_1k.mjs";
4
+ import { builtinModules, isBuiltin } from "node:module";
5
5
  import path, { dirname, normalize, sep } from "node:path";
6
6
  import process from "node:process";
7
7
  import { fileURLToPath, pathToFileURL } from "node:url";
@@ -13,7 +13,7 @@ import child_process from "node:child_process";
13
13
  import { access, chmod, cp, mkdtemp, readFile, rm, stat, writeFile } from "node:fs/promises";
14
14
  import { tmpdir } from "node:os";
15
15
  import { promisify } from "node:util";
16
- const Debug = __cjs_require("debug");
16
+ const debug = __cjs_require("debug");
17
17
  const coerce = __cjs_require("semver/functions/coerce.js");
18
18
  const satisfies = __cjs_require("semver/functions/satisfies.js");
19
19
  import { glob } from "tinyglobby";
@@ -69,7 +69,7 @@ function lowestCommonAncestor(...filepaths) {
69
69
 
70
70
  //#endregion
71
71
  //#region src/features/attw.ts
72
- const debug$7 = Debug("tsdown:attw");
72
+ const debug$8 = debug("tsdown:attw");
73
73
  const exec$1 = promisify(child_process.exec);
74
74
  /**
75
75
  * ATTW profiles.
@@ -115,7 +115,7 @@ async function attw(options) {
115
115
  }
116
116
  const { profile = "strict", level = "warn",...attwOptions } = options.attw === true ? {} : options.attw;
117
117
  const t = performance.now();
118
- debug$7("Running attw check");
118
+ debug$8("Running attw check");
119
119
  const tempDir = await mkdtemp(path.join(tmpdir(), "tsdown-attw-"));
120
120
  let attwCore;
121
121
  try {
@@ -131,8 +131,7 @@ async function attw(options) {
131
131
  });
132
132
  const parsed = JSON.parse(tarballInfo);
133
133
  if (!Array.isArray(parsed) || !parsed[0]?.filename) throw new Error("Invalid npm pack output format");
134
- const tarballPath = path.join(tempDir, parsed[0].filename);
135
- const tarball = await readFile(tarballPath);
134
+ const tarball = await readFile(path.join(tempDir, parsed[0].filename));
136
135
  const pkg = attwCore.createPackageFromTarballData(tarball);
137
136
  const checkResult = await attwCore.checkPackage(pkg, attwOptions);
138
137
  if (checkResult.types !== false && checkResult.problems.length) {
@@ -148,7 +147,7 @@ async function attw(options) {
148
147
  } else options.logger.success(`No Are the types wrong problems found`, dim`(${Math.round(performance.now() - t)}ms)`);
149
148
  } catch (error) {
150
149
  options.logger.error("ATTW check failed:", error);
151
- debug$7("Found errors, setting exit code to 1");
150
+ debug$8("Found errors, setting exit code to 1");
152
151
  process.exitCode = 1;
153
152
  } finally {
154
153
  await fsRemove(tempDir);
@@ -172,7 +171,7 @@ function warnLegacyCJS(config) {
172
171
 
173
172
  //#endregion
174
173
  //#region src/features/clean.ts
175
- const debug$6 = Debug("tsdown:clean");
174
+ const debug$7 = debug("tsdown:clean");
176
175
  const RE_LAST_SLASH = /[/\\]$/;
177
176
  async function cleanOutDir(configs) {
178
177
  const removes = /* @__PURE__ */ new Set();
@@ -189,10 +188,10 @@ async function cleanOutDir(configs) {
189
188
  if (!removes.size) return;
190
189
  globalLogger.info(`Cleaning ${removes.size} files`);
191
190
  await Promise.all([...removes].map(async (file) => {
192
- debug$6("Removing", file);
191
+ debug$7("Removing", file);
193
192
  await fsRemove(file);
194
193
  }));
195
- debug$6("Removed %d files", removes.size);
194
+ debug$7("Removed %d files", removes.size);
196
195
  }
197
196
  function resolveClean(clean, outDir, cwd) {
198
197
  if (clean === true) clean = [slash(outDir)];
@@ -350,20 +349,23 @@ async function createHooks$1(options) {
350
349
 
351
350
  //#endregion
352
351
  //#region src/features/publint.ts
353
- const debug$5 = Debug("tsdown:publint");
352
+ const debug$6 = debug("tsdown:publint");
354
353
  async function publint(options) {
355
354
  if (!options.publint) return;
356
355
  if (!options.pkg) {
357
- options.logger.warn("publint is enabled but package.json is not found");
356
+ options.logger.warn(prettyName(options.name), "publint is enabled but package.json is not found");
358
357
  return;
359
358
  }
360
359
  const t = performance.now();
361
- debug$5("Running publint");
360
+ debug$6("Running publint");
362
361
  const { publint: publint$1 } = await import("publint");
363
362
  const { formatMessage } = await import("publint/utils");
364
- const { messages } = await publint$1(options.publint === true ? {} : options.publint);
365
- debug$5("Found %d issues", messages.length);
366
- if (!messages.length) options.logger.success(`No publint issues found`, dim`(${Math.round(performance.now() - t)}ms)`);
363
+ const { messages } = await publint$1({
364
+ ...options.publint === true ? {} : options.publint,
365
+ pkgDir: path.dirname(options.pkg.packageJsonPath)
366
+ });
367
+ debug$6("Found %d issues", messages.length);
368
+ if (!messages.length) options.logger.success(prettyName(options.name), `No publint issues found`, dim`(${Math.round(performance.now() - t)}ms)`);
367
369
  let hasError = false;
368
370
  for (const message of messages) {
369
371
  hasError ||= message.type === "error";
@@ -373,10 +375,10 @@ async function publint(options) {
373
375
  warning: "warn",
374
376
  suggestion: "info"
375
377
  }[message.type];
376
- options.logger[logType](formattedMessage);
378
+ options.logger[logType](prettyName(options.name), formattedMessage);
377
379
  }
378
380
  if (hasError) {
379
- debug$5("Found errors, setting exit code to 1");
381
+ debug$6("Found errors, setting exit code to 1");
380
382
  process.exitCode = 1;
381
383
  }
382
384
  }
@@ -462,11 +464,11 @@ async function resolveTsconfig(logger, tsconfig, cwd, name) {
462
464
 
463
465
  //#endregion
464
466
  //#region src/utils/package.ts
465
- const debug$4 = Debug("tsdown:package");
467
+ const debug$5 = debug("tsdown:package");
466
468
  async function readPackageJson(dir) {
467
469
  const packageJsonPath = up$1({ cwd: dir });
468
470
  if (!packageJsonPath) return;
469
- debug$4("Reading package.json:", packageJsonPath);
471
+ debug$5("Reading package.json:", packageJsonPath);
470
472
  const contents = await readFile(packageJsonPath, "utf8");
471
473
  return {
472
474
  ...JSON.parse(contents),
@@ -592,7 +594,7 @@ async function nativeImport(id) {
592
594
 
593
595
  //#endregion
594
596
  //#region src/options/index.ts
595
- const debug$3 = Debug("tsdown:options");
597
+ const debug$4 = debug("tsdown:options");
596
598
  const DEFAULT_EXCLUDE_WORKSPACE = [
597
599
  "**/node_modules/**",
598
600
  "**/dist/**",
@@ -600,20 +602,20 @@ const DEFAULT_EXCLUDE_WORKSPACE = [
600
602
  "**/t?(e)mp/**"
601
603
  ];
602
604
  async function resolveOptions(options) {
603
- debug$3("options %O", options);
605
+ debug$4("options %O", options);
604
606
  const { configs: rootConfigs, file } = await loadConfigFile(options);
605
607
  const files = [];
606
608
  if (file) {
607
609
  files.push(file);
608
- debug$3("loaded root config file %s", file);
609
- debug$3("root configs %O", rootConfigs);
610
- } else debug$3("no root config file found");
610
+ debug$4("loaded root config file %s", file);
611
+ debug$4("root configs %O", rootConfigs);
612
+ } else debug$4("no root config file found");
611
613
  const configs = (await Promise.all(rootConfigs.map(async (rootConfig) => {
612
614
  const { configs: workspaceConfigs, files: workspaceFiles } = await resolveWorkspace(rootConfig, options);
613
615
  if (workspaceFiles) files.push(...workspaceFiles);
614
616
  return Promise.all(workspaceConfigs.filter((config) => !config.workspace || config.entry).map((config) => resolveConfig(config)));
615
617
  }))).flat();
616
- debug$3("resolved configs %O", configs);
618
+ debug$4("resolved configs %O", configs);
617
619
  return {
618
620
  configs,
619
621
  files
@@ -656,16 +658,16 @@ async function resolveWorkspace(config, options) {
656
658
  const files = [];
657
659
  return {
658
660
  configs: (await Promise.all(packages.map(async (cwd) => {
659
- debug$3("loading workspace config %s", cwd);
661
+ debug$4("loading workspace config %s", cwd);
660
662
  const { configs, file } = await loadConfigFile({
661
663
  ...options,
662
664
  config: workspaceConfig,
663
665
  cwd
664
666
  }, cwd);
665
667
  if (file) {
666
- debug$3("loaded workspace config file %s", file);
668
+ debug$4("loaded workspace config file %s", file);
667
669
  files.push(file);
668
- } else debug$3("no workspace config file found in %s", cwd);
670
+ } else debug$4("no workspace config file found in %s", cwd);
669
671
  return configs.map((config$1) => ({
670
672
  ...normalized,
671
673
  cwd,
@@ -770,7 +772,7 @@ async function mergeUserOptions(defaults, user, args) {
770
772
 
771
773
  //#endregion
772
774
  //#region src/features/external.ts
773
- const debug$2 = Debug("tsdown:external");
775
+ const debug$3 = debug("tsdown:external");
774
776
  function ExternalPlugin({ pkg, noExternal, inlineOnly, skipNodeModulesBundle }) {
775
777
  const deps = pkg && Array.from(getProductionDeps(pkg));
776
778
  return {
@@ -778,8 +780,8 @@ function ExternalPlugin({ pkg, noExternal, inlineOnly, skipNodeModulesBundle })
778
780
  async resolveId(id, importer, extraOptions) {
779
781
  if (extraOptions.isEntry || !importer) return;
780
782
  const shouldExternal = await externalStrategy(this, id, importer, extraOptions);
781
- const nodeBuiltinModule = id.startsWith("node:") || builtinModules.includes(id);
782
- debug$2("shouldExternal: %s = %s", id, shouldExternal);
783
+ const nodeBuiltinModule = isBuiltin(id);
784
+ debug$3("shouldExternal: %s = %s", id, shouldExternal);
783
785
  if (shouldExternal === true || shouldExternal === "absolute") return {
784
786
  id,
785
787
  external: shouldExternal,
@@ -787,7 +789,7 @@ function ExternalPlugin({ pkg, noExternal, inlineOnly, skipNodeModulesBundle })
787
789
  };
788
790
  if (inlineOnly && !RE_DTS.test(importer) && !nodeBuiltinModule && id[0] !== "." && !path.isAbsolute(id)) {
789
791
  const shouldInline = shouldExternal === "no-external" || matchPattern(id, inlineOnly);
790
- debug$2("shouldInline: %s = %s", id, shouldInline);
792
+ debug$3("shouldInline: %s = %s", id, shouldInline);
791
793
  if (shouldInline) return;
792
794
  const resolved = await this.resolve(id, importer, extraOptions);
793
795
  if (!resolved) return;
@@ -832,8 +834,7 @@ function esbuildTargetToLightningCSS(target) {
832
834
  let targets;
833
835
  const matches = [...target.join(" ").toLowerCase().matchAll(TARGET_REGEX)];
834
836
  for (const match of matches) {
835
- const name = match[1];
836
- const browser = ESBUILD_LIGHTNINGCSS_MAPPING[name];
837
+ const browser = ESBUILD_LIGHTNINGCSS_MAPPING[match[1]];
837
838
  if (!browser) continue;
838
839
  const version = match[2];
839
840
  const versionInt = parseVersion(version);
@@ -966,7 +967,7 @@ function formatBytes(bytes) {
966
967
 
967
968
  //#endregion
968
969
  //#region src/features/report.ts
969
- const debug$1 = Debug("tsdown:report");
970
+ const debug$2 = debug("tsdown:report");
970
971
  const brotliCompressAsync = promisify(brotliCompress);
971
972
  const gzipAsync = promisify(gzip);
972
973
  const defaultOptions = {
@@ -1016,21 +1017,21 @@ function ReportPlugin(userOptions, logger, cwd, cjsDts, name, isMultiFormat) {
1016
1017
  };
1017
1018
  }
1018
1019
  async function calcSize(options, chunk) {
1019
- debug$1(`Calculating size for`, chunk.fileName);
1020
+ debug$2(`Calculating size for`, chunk.fileName);
1020
1021
  const content = chunk.type === "chunk" ? chunk.code : chunk.source;
1021
1022
  const raw = Buffer.byteLength(content, "utf8");
1022
- debug$1("[size]", chunk.fileName, raw);
1023
+ debug$2("[size]", chunk.fileName, raw);
1023
1024
  let gzip$1 = Infinity;
1024
1025
  let brotli = Infinity;
1025
- if (raw > options.maxCompressSize) debug$1(chunk.fileName, "file size exceeds limit, skip gzip/brotli");
1026
+ if (raw > options.maxCompressSize) debug$2(chunk.fileName, "file size exceeds limit, skip gzip/brotli");
1026
1027
  else {
1027
1028
  if (options.gzip) {
1028
1029
  gzip$1 = (await gzipAsync(content)).length;
1029
- debug$1("[gzip]", chunk.fileName, gzip$1);
1030
+ debug$2("[gzip]", chunk.fileName, gzip$1);
1030
1031
  }
1031
1032
  if (options.brotli) {
1032
1033
  brotli = (await brotliCompressAsync(content)).length;
1033
- debug$1("[brotli]", chunk.fileName, brotli);
1034
+ debug$2("[brotli]", chunk.fileName, brotli);
1034
1035
  }
1035
1036
  }
1036
1037
  return {
@@ -1077,7 +1078,7 @@ function getShimsInject(format, platform) {
1077
1078
 
1078
1079
  //#endregion
1079
1080
  //#region src/features/rolldown.ts
1080
- const debug = Debug("tsdown:rolldown");
1081
+ const debug$1 = debug("tsdown:rolldown");
1081
1082
  async function getBuildOptions(config, format, isMultiFormat, cjsDts = false) {
1082
1083
  const inputOptions = await resolveInputOptions(config, format, cjsDts, isMultiFormat);
1083
1084
  const outputOptions = await resolveOutputOptions(inputOptions, config, format, cjsDts);
@@ -1085,7 +1086,7 @@ async function getBuildOptions(config, format, isMultiFormat, cjsDts = false) {
1085
1086
  ...inputOptions,
1086
1087
  output: outputOptions
1087
1088
  };
1088
- debug("rolldown config with format \"%s\" %O", cjsDts ? "cjs dts" : format, rolldownConfig);
1089
+ debug$1("rolldown config with format \"%s\" %O", cjsDts ? "cjs dts" : format, rolldownConfig);
1089
1090
  return rolldownConfig;
1090
1091
  }
1091
1092
  async function resolveInputOptions(config, format, cjsDts, isMultiFormat) {
@@ -316,7 +316,15 @@ interface Options {
316
316
  globalName?: string;
317
317
  /** @default 'dist' */
318
318
  outDir?: string;
319
- /** @default false */
319
+ /**
320
+ * Whether to generate source map files.
321
+ *
322
+ * Note that this option will always be `true` if you have
323
+ * [`declarationMap`](https://www.typescriptlang.org/tsconfig/#declarationMap)
324
+ * option enabled in your `tsconfig.json`.
325
+ *
326
+ * @default false
327
+ */
320
328
  sourcemap?: Sourcemap;
321
329
  /**
322
330
  * Clean directories before build.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tsdown",
3
- "version": "0.15.6",
3
+ "version": "0.15.7",
4
4
  "description": "The Elegant Bundler for Libraries",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -69,7 +69,7 @@
69
69
  }
70
70
  },
71
71
  "dependencies": {
72
- "ansis": "^4.1.0",
72
+ "ansis": "^4.2.0",
73
73
  "cac": "^6.7.14",
74
74
  "chokidar": "^4.0.3",
75
75
  "debug": "^4.4.3",
@@ -77,8 +77,8 @@
77
77
  "empathic": "^2.0.0",
78
78
  "hookable": "^5.5.3",
79
79
  "rolldown": "latest",
80
- "rolldown-plugin-dts": "^0.16.8",
81
- "semver": "^7.7.2",
80
+ "rolldown-plugin-dts": "^0.16.11",
81
+ "semver": "^7.7.3",
82
82
  "tinyexec": "^1.0.1",
83
83
  "tinyglobby": "^0.2.15",
84
84
  "tree-kill": "^1.2.2",
@@ -86,26 +86,26 @@
86
86
  },
87
87
  "devDependencies": {
88
88
  "@arethetypeswrong/core": "^0.18.2",
89
- "@sxzz/eslint-config": "^7.2.5",
89
+ "@sxzz/eslint-config": "^7.2.7",
90
90
  "@sxzz/prettier-config": "^2.2.4",
91
91
  "@sxzz/test-utils": "^0.5.11",
92
92
  "@types/debug": "^4.1.12",
93
- "@types/node": "^24.5.2",
93
+ "@types/node": "^24.7.2",
94
94
  "@types/semver": "^7.7.1",
95
- "@unocss/eslint-plugin": "^66.5.2",
95
+ "@unocss/eslint-plugin": "^66.5.3",
96
96
  "@vueuse/core": "^13.9.0",
97
- "bumpp": "^10.2.3",
98
- "eslint": "^9.36.0",
99
- "lightningcss": "^1.30.1",
97
+ "bumpp": "^10.3.1",
98
+ "eslint": "^9.37.0",
99
+ "lightningcss": "^1.30.2",
100
100
  "pkg-types": "^2.3.0",
101
101
  "prettier": "^3.6.2",
102
- "publint": "^0.3.13",
103
- "rolldown-plugin-require-cjs": "^0.3.0",
102
+ "publint": "^0.3.14",
103
+ "rolldown-plugin-require-cjs": "^0.3.1",
104
104
  "tsx": "^4.20.6",
105
- "typescript": "~5.9.2",
106
- "unocss": "^66.5.2",
105
+ "typescript": "~5.9.3",
106
+ "unocss": "^66.5.3",
107
107
  "unplugin-lightningcss": "^0.4.3",
108
- "unplugin-unused": "^0.5.3",
108
+ "unplugin-unused": "^0.5.4",
109
109
  "vite": "npm:rolldown-vite@latest",
110
110
  "vitest": "^3.2.4"
111
111
  },
@@ -121,7 +121,7 @@
121
121
  "test": "vitest",
122
122
  "typecheck": "tsc --noEmit",
123
123
  "format": "prettier --cache --write .",
124
- "release": "bumpp",
124
+ "release": "bumpp -r",
125
125
  "docs:dev": "pnpm -C docs run dev",
126
126
  "docs:build": "pnpm -C docs run build",
127
127
  "docs:preview": "pnpm -C docs run preview",
@@ -1,5 +0,0 @@
1
- //#region package.json
2
- var version = "0.15.6";
3
-
4
- //#endregion
5
- export { version };