tsdown 0.5.7 → 0.5.8
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/{config.d-zCyRCdco.d.ts → config.d-BB68aL5b.d.ts} +1 -1
- package/dist/config.d.ts +2 -2
- package/dist/index.d.ts +3 -3
- package/dist/{migrate-CAxpGo3J.js → migrate-CSTMSpxH.js} +1 -1
- package/dist/package-DfuhPsiv.js +6 -0
- package/dist/{plugins.d-DtLTz4jh.d.ts → plugins.d-4au0qSn9.d.ts} +1 -1
- package/dist/plugins.d.ts +1 -1
- package/dist/run.js +2 -2
- package/package.json +13 -13
- package/dist/package-Bvw78lhP.js +0 -6
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { E as External } from './plugins.d-
|
|
1
|
+
import { E as External } from './plugins.d-4au0qSn9.js';
|
|
2
2
|
import { Options as Options$3 } from 'publint';
|
|
3
3
|
import { InputOptions, ModuleFormat, OutputOptions, InternalModuleFormat } from 'rolldown';
|
|
4
4
|
import { Options as Options$1 } from 'unplugin-isolated-decl';
|
package/dist/config.d.ts
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { O as Options, R as ResolvedOptions } from './config.d-
|
|
2
|
-
export { C as Config, d as defineConfig } from './config.d-
|
|
1
|
+
import { O as Options, R as ResolvedOptions } from './config.d-BB68aL5b.js';
|
|
2
|
+
export { C as Config, d as defineConfig } from './config.d-BB68aL5b.js';
|
|
3
3
|
import { ConsolaInstance } from 'consola';
|
|
4
|
-
import './plugins.d-
|
|
4
|
+
import './plugins.d-4au0qSn9.js';
|
|
5
5
|
import 'pkg-types';
|
|
6
6
|
import 'rolldown';
|
|
7
7
|
import 'publint';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PackageJson } from 'pkg-types';
|
|
2
|
-
import {
|
|
2
|
+
import { InputOptions, Plugin } from 'rolldown';
|
|
3
3
|
|
|
4
4
|
type External = InputOptions["external"];
|
|
5
5
|
declare function ExternalPlugin(pkg?: PackageJson, skipNodeModulesBundle?: boolean): Plugin;
|
package/dist/plugins.d.ts
CHANGED
package/dist/run.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { logger, setSilent } from "./logger-4bmpqibt.js";
|
|
2
|
-
import { version } from "./package-
|
|
2
|
+
import { version } from "./package-DfuhPsiv.js";
|
|
3
3
|
import process from "node:process";
|
|
4
4
|
import { VERSION } from "rolldown";
|
|
5
5
|
import pc from "picocolors";
|
|
@@ -16,7 +16,7 @@ cli.command("[...files]", "Bundle files", { ignoreOptionDefaultValue: true }).op
|
|
|
16
16
|
await build$1(flags);
|
|
17
17
|
});
|
|
18
18
|
cli.command("migrate", "Migrate from tsup to tsdown").option("-c, --cwd <dir>", "Working directory").option("-d, --dry-run", "Dry run").action(async (args) => {
|
|
19
|
-
const { migrate } = await import("./migrate-
|
|
19
|
+
const { migrate } = await import("./migrate-CSTMSpxH.js");
|
|
20
20
|
await migrate(args);
|
|
21
21
|
});
|
|
22
22
|
async function runCLI() {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tsdown",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.8",
|
|
4
4
|
"description": "An even faster bundler powered by Rolldown.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -48,32 +48,32 @@
|
|
|
48
48
|
"diff": "^7.0.0",
|
|
49
49
|
"picocolors": "^1.1.1",
|
|
50
50
|
"pkg-types": "^1.3.1",
|
|
51
|
-
"publint": "^0.3.
|
|
51
|
+
"publint": "^0.3.3",
|
|
52
52
|
"rolldown": "^1.0.0-beta.3",
|
|
53
|
-
"rollup": "^4.
|
|
53
|
+
"rollup": "^4.34.4",
|
|
54
54
|
"rollup-plugin-dts": "^6.1.1",
|
|
55
55
|
"tinyglobby": "^0.2.10",
|
|
56
56
|
"unconfig": "^0.6.1",
|
|
57
|
-
"unplugin-isolated-decl": "^0.10.
|
|
58
|
-
"unplugin-unused": "^0.
|
|
57
|
+
"unplugin-isolated-decl": "^0.10.7",
|
|
58
|
+
"unplugin-unused": "^0.4.0"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
|
-
"@sxzz/eslint-config": "^5.0.
|
|
62
|
-
"@sxzz/prettier-config": "^2.1.
|
|
63
|
-
"@sxzz/test-utils": "^0.
|
|
61
|
+
"@sxzz/eslint-config": "^5.0.1",
|
|
62
|
+
"@sxzz/prettier-config": "^2.1.1",
|
|
63
|
+
"@sxzz/test-utils": "^0.5.0",
|
|
64
64
|
"@types/debug": "^4.1.12",
|
|
65
65
|
"@types/diff": "^7.0.1",
|
|
66
|
-
"@types/node": "^22.
|
|
67
|
-
"bumpp": "^10.0.
|
|
66
|
+
"@types/node": "^22.13.1",
|
|
67
|
+
"bumpp": "^10.0.2",
|
|
68
68
|
"eslint": "^9.19.0",
|
|
69
|
-
"oxc-transform": "^0.48.
|
|
69
|
+
"oxc-transform": "^0.48.2",
|
|
70
70
|
"prettier": "^3.4.2",
|
|
71
71
|
"tinyexec": "^0.3.2",
|
|
72
72
|
"tsup": "^8.3.6",
|
|
73
73
|
"tsx": "^4.19.2",
|
|
74
74
|
"typescript": "~5.7.3",
|
|
75
|
-
"unplugin-ast": "^0.
|
|
76
|
-
"vitest": "^3.0.
|
|
75
|
+
"unplugin-ast": "^0.14.0",
|
|
76
|
+
"vitest": "^3.0.5"
|
|
77
77
|
},
|
|
78
78
|
"engines": {
|
|
79
79
|
"node": ">=18.0.0"
|