tsdown 0.17.1 → 0.17.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/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  import { t as defineConfig } from "./config-DLSWqKoz.mjs";
2
- import { i as shimFile, n as build, r as buildSingle, t as Rolldown } from "./src-78jOn3e-.mjs";
3
- import { a as globalLogger } from "./package-Bc4LTP6j.mjs";
2
+ import { i as shimFile, n as build, r as buildSingle, t as Rolldown } from "./src-CrG1HehQ.mjs";
3
+ import { a as globalLogger } from "./package-Dh6dU6y0.mjs";
4
4
 
5
5
  export { Rolldown, build, buildSingle, defineConfig, globalLogger, shimFile };
@@ -161,7 +161,7 @@ function hue2rgb(p, q, t) {
161
161
 
162
162
  //#endregion
163
163
  //#region package.json
164
- var version = "0.17.1";
164
+ var version = "0.17.2";
165
165
 
166
166
  //#endregion
167
167
  export { globalLogger as a, importWithError as c, pkgExists as d, promiseWithResolvers as f, toArray as g, slash as h, generateColor as i, matchPattern as l, resolveRegex as m, LogLevels as n, prettyFormat as o, resolveComma as p, createLogger as r, prettyName as s, version as t, noop as u };
package/dist/plugins.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { a as WatchPlugin, c as NodeProtocolPlugin, l as ExternalPlugin, o as ShebangPlugin, s as ReportPlugin } from "./src-78jOn3e-.mjs";
2
- import "./package-Bc4LTP6j.mjs";
1
+ import { a as WatchPlugin, c as NodeProtocolPlugin, l as ExternalPlugin, o as ShebangPlugin, s as ReportPlugin } from "./src-CrG1HehQ.mjs";
2
+ import "./package-Dh6dU6y0.mjs";
3
3
 
4
4
  export { ExternalPlugin, NodeProtocolPlugin, ReportPlugin, ShebangPlugin, WatchPlugin };
package/dist/run.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { a as globalLogger, g as toArray, p as resolveComma, t as version } from "./package-Bc4LTP6j.mjs";
2
+ import { a as globalLogger, g as toArray, p as resolveComma, t as version } from "./package-Dh6dU6y0.mjs";
3
3
  import module from "node:module";
4
4
  import { dim } from "ansis";
5
5
  import { VERSION } from "rolldown";
@@ -1,6 +1,6 @@
1
1
  import { createRequire as __cjs_createRequire } from "node:module";
2
2
  const __cjs_require = __cjs_createRequire(import.meta.url);
3
- import { a as globalLogger, c as importWithError, d as pkgExists, f as promiseWithResolvers, g as toArray, h as slash, i as generateColor, l as matchPattern, m as resolveRegex, n as LogLevels, o as prettyFormat, p as resolveComma, r as createLogger, s as prettyName, t as version, u as noop } from "./package-Bc4LTP6j.mjs";
3
+ import { a as globalLogger, c as importWithError, d as pkgExists, f as promiseWithResolvers, g as toArray, h as slash, i as generateColor, l as matchPattern, m as resolveRegex, n as LogLevels, o as prettyFormat, p as resolveComma, r as createLogger, s as prettyName, t as version, u as noop } from "./package-Dh6dU6y0.mjs";
4
4
  import { builtinModules, isBuiltin } from "node:module";
5
5
  import path, { dirname, join, normalize, sep } from "node:path";
6
6
  import { fileURLToPath, pathToFileURL } from "node:url";
@@ -1577,7 +1577,7 @@ async function buildSingle(config, configFiles, isDualFormat, clean, restart, do
1577
1577
  watcher$1.on("event", async (event) => {
1578
1578
  switch (event.code) {
1579
1579
  case "START":
1580
- if (config.clean) await cleanChunks(config.outDir, chunks);
1580
+ if (config.clean.length) await cleanChunks(config.outDir, chunks);
1581
1581
  chunks.length = 0;
1582
1582
  hasError = false;
1583
1583
  break;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "tsdown",
3
3
  "type": "module",
4
- "version": "0.17.1",
4
+ "version": "0.17.2",
5
5
  "description": "The Elegant Bundler for Libraries",
6
6
  "author": "Kevin Deng <sxzz@sxzz.moe>",
7
7
  "license": "MIT",
@@ -89,7 +89,7 @@
89
89
  "tinyglobby": "^0.2.15",
90
90
  "tree-kill": "^1.2.2",
91
91
  "unconfig-core": "^7.4.2",
92
- "unrun": "^0.2.17"
92
+ "unrun": "^0.2.19"
93
93
  },
94
94
  "devDependencies": {
95
95
  "@arethetypeswrong/core": "^0.18.2",
@@ -98,7 +98,7 @@
98
98
  "@sxzz/test-utils": "^0.5.13",
99
99
  "@types/node": "^24.10.1",
100
100
  "@types/semver": "^7.7.1",
101
- "@typescript/native-preview": "7.0.0-dev.20251207.1",
101
+ "@typescript/native-preview": "7.0.0-dev.20251208.1",
102
102
  "@unocss/eslint-plugin": "^66.5.10",
103
103
  "@vitejs/devtools": "^0.0.0-alpha.19",
104
104
  "@vitest/coverage-v8": "4.0.15",