tsdown 0.16.2 → 0.16.3
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 +2 -2
- package/dist/{migrate-vnxXpCFh.mjs → migrate-DYCJSMvi.mjs} +1 -1
- package/dist/{package-DMNYxkVA.mjs → package-B_3r_AxD.mjs} +1 -1
- package/dist/plugins.d.mts +0 -1
- package/dist/plugins.mjs +2 -2
- package/dist/run.mjs +3 -5
- package/dist/{src-CX-S_cyD.mjs → src-JtWi3UZD.mjs} +2 -2
- package/package.json +8 -9
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as defineConfig } from "./config-DLSWqKoz.mjs";
|
|
2
|
-
import { n as buildSingle, r as shimFile, t as build } from "./src-
|
|
3
|
-
import { a as globalLogger } from "./package-
|
|
2
|
+
import { n as buildSingle, r as shimFile, t as build } from "./src-JtWi3UZD.mjs";
|
|
3
|
+
import { a as globalLogger } from "./package-B_3r_AxD.mjs";
|
|
4
4
|
|
|
5
5
|
export { build, buildSingle, defineConfig, globalLogger, shimFile };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as globalLogger, t as version } from "./package-
|
|
1
|
+
import { a as globalLogger, t as version } from "./package-B_3r_AxD.mjs";
|
|
2
2
|
import process from "node:process";
|
|
3
3
|
import { bold, green, underline } from "ansis";
|
|
4
4
|
import { readFile, unlink, writeFile } from "node:fs/promises";
|
|
@@ -160,7 +160,7 @@ function hue2rgb(p, q, t) {
|
|
|
160
160
|
|
|
161
161
|
//#endregion
|
|
162
162
|
//#region package.json
|
|
163
|
-
var version = "0.16.
|
|
163
|
+
var version = "0.16.3";
|
|
164
164
|
|
|
165
165
|
//#endregion
|
|
166
166
|
export { globalLogger as a, debounce as c, noop as d, pkgExists as f, toArray as g, slash as h, generateColor as i, importWithError as l, resolveRegex as m, LogLevels as n, prettyFormat as o, resolveComma as p, createLogger as r, prettyName as s, version as t, matchPattern as u };
|
package/dist/plugins.d.mts
CHANGED
package/dist/plugins.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./config-DLSWqKoz.mjs";
|
|
2
|
-
import { a as ReportPlugin, i as ShebangPlugin, o as NodeProtocolPlugin, s as ExternalPlugin } from "./src-
|
|
3
|
-
import "./package-
|
|
2
|
+
import { a as ReportPlugin, i as ShebangPlugin, o as NodeProtocolPlugin, s as ExternalPlugin } from "./src-JtWi3UZD.mjs";
|
|
3
|
+
import "./package-B_3r_AxD.mjs";
|
|
4
4
|
|
|
5
5
|
export { ExternalPlugin, NodeProtocolPlugin, ReportPlugin, ShebangPlugin };
|
package/dist/run.mjs
CHANGED
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import {
|
|
3
|
-
const __cjs_require = __cjs_createRequire(import.meta.url);
|
|
4
|
-
import { a as globalLogger, g as toArray, p as resolveComma, t as version } from "./package-DMNYxkVA.mjs";
|
|
2
|
+
import { a as globalLogger, g as toArray, p as resolveComma, t as version } from "./package-B_3r_AxD.mjs";
|
|
5
3
|
import module from "node:module";
|
|
6
4
|
import process from "node:process";
|
|
7
5
|
import { dim } from "ansis";
|
|
8
6
|
import { VERSION } from "rolldown";
|
|
9
|
-
|
|
7
|
+
import Debug from "obug";
|
|
10
8
|
import { cac } from "cac";
|
|
11
9
|
|
|
12
10
|
//#region src/features/debug.ts
|
|
@@ -38,7 +36,7 @@ cli.command("[...files]", "Bundle files", {
|
|
|
38
36
|
await build$1(flags);
|
|
39
37
|
});
|
|
40
38
|
cli.command("migrate", "Migrate from tsup to tsdown").option("-c, --cwd <dir>", "Working directory").option("-d, --dry-run", "Dry run").action(async (args) => {
|
|
41
|
-
const { migrate } = await import("./migrate-
|
|
39
|
+
const { migrate } = await import("./migrate-DYCJSMvi.mjs");
|
|
42
40
|
await migrate(args);
|
|
43
41
|
});
|
|
44
42
|
async function runCLI() {
|
|
@@ -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 debounce, d as noop, f as pkgExists, g as toArray, h as slash, i as generateColor, l as importWithError, m as resolveRegex, n as LogLevels, o as prettyFormat, p as resolveComma, r as createLogger, s as prettyName, t as version, u as matchPattern } from "./package-
|
|
3
|
+
import { a as globalLogger, c as debounce, d as noop, f as pkgExists, g as toArray, h as slash, i as generateColor, l as importWithError, m as resolveRegex, n as LogLevels, o as prettyFormat, p as resolveComma, r as createLogger, s as prettyName, t as version, u as matchPattern } from "./package-B_3r_AxD.mjs";
|
|
4
4
|
import { builtinModules, isBuiltin } from "node:module";
|
|
5
5
|
import path, { dirname, join, normalize, sep } from "node:path";
|
|
6
6
|
import process from "node:process";
|
|
@@ -10,7 +10,7 @@ import { VERSION, build } from "rolldown";
|
|
|
10
10
|
import { exec } from "tinyexec";
|
|
11
11
|
const treeKill = __cjs_require("tree-kill");
|
|
12
12
|
import { access, chmod, cp, mkdtemp, readFile, rm, stat, writeFile } from "node:fs/promises";
|
|
13
|
-
|
|
13
|
+
import Debug from "obug";
|
|
14
14
|
import { createConfigCoreLoader } from "unconfig-core";
|
|
15
15
|
import { glob, isDynamicPattern } from "tinyglobby";
|
|
16
16
|
import { RE_CSS, RE_DTS, RE_JS, RE_NODE_MODULES } from "rolldown-plugin-dts/filename";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tsdown",
|
|
3
|
-
"version": "0.16.
|
|
3
|
+
"version": "0.16.3",
|
|
4
4
|
"description": "The Elegant Bundler for Libraries",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -76,28 +76,27 @@
|
|
|
76
76
|
"ansis": "^4.2.0",
|
|
77
77
|
"cac": "^6.7.14",
|
|
78
78
|
"chokidar": "^4.0.3",
|
|
79
|
-
"debug": "^4.4.3",
|
|
80
79
|
"diff": "^8.0.2",
|
|
81
80
|
"empathic": "^2.0.0",
|
|
82
81
|
"hookable": "^5.5.3",
|
|
82
|
+
"obug": "^0.1.1",
|
|
83
83
|
"rolldown": "1.0.0-beta.49",
|
|
84
|
-
"rolldown-plugin-dts": "^0.17.
|
|
84
|
+
"rolldown-plugin-dts": "^0.17.6",
|
|
85
85
|
"semver": "^7.7.3",
|
|
86
86
|
"tinyexec": "^1.0.2",
|
|
87
87
|
"tinyglobby": "^0.2.15",
|
|
88
88
|
"tree-kill": "^1.2.2",
|
|
89
89
|
"unconfig-core": "^7.4.1",
|
|
90
|
-
"unrun": "^0.2.
|
|
90
|
+
"unrun": "^0.2.8"
|
|
91
91
|
},
|
|
92
92
|
"devDependencies": {
|
|
93
93
|
"@arethetypeswrong/core": "^0.18.2",
|
|
94
|
-
"@sxzz/eslint-config": "^7.2.
|
|
94
|
+
"@sxzz/eslint-config": "^7.2.10",
|
|
95
95
|
"@sxzz/prettier-config": "^2.2.4",
|
|
96
96
|
"@sxzz/test-utils": "^0.5.12",
|
|
97
|
-
"@types/debug": "^4.1.12",
|
|
98
97
|
"@types/node": "^24.10.0",
|
|
99
98
|
"@types/semver": "^7.7.1",
|
|
100
|
-
"@unocss/eslint-plugin": "
|
|
99
|
+
"@unocss/eslint-plugin": "66.5.4",
|
|
101
100
|
"@vitejs/devtools": "^0.0.0-alpha.17",
|
|
102
101
|
"@vueuse/core": "^14.0.0",
|
|
103
102
|
"bumpp": "^10.3.1",
|
|
@@ -108,10 +107,10 @@
|
|
|
108
107
|
"publint": "^0.3.15",
|
|
109
108
|
"rolldown-plugin-require-cjs": "^0.3.1",
|
|
110
109
|
"typescript": "~5.9.3",
|
|
111
|
-
"unocss": "^66.5.
|
|
110
|
+
"unocss": "^66.5.6",
|
|
112
111
|
"unplugin-lightningcss": "^0.4.3",
|
|
113
112
|
"unplugin-unused": "^0.5.6",
|
|
114
|
-
"vite": "npm:rolldown-vite@^7.2.
|
|
113
|
+
"vite": "npm:rolldown-vite@^7.2.4",
|
|
115
114
|
"vitest": "^4.0.8"
|
|
116
115
|
},
|
|
117
116
|
"engines": {
|