tsdown 0.11.0-beta.3 → 0.11.0-beta.5
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-C9bfeI27.d.ts → config-B-A_eh0M.d.ts} +1 -2
- package/dist/{config-CpIe1Ud_.js → config-yiJy1jd0.js} +3 -0
- package/dist/config.d.ts +1 -1
- package/dist/config.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/{migrate-DY7fY60S.js → migrate-DeDzaCuM.js} +1 -1
- package/dist/package-Ckn9oqcN.js +5 -0
- package/dist/run.js +2 -2
- package/package.json +3 -3
- package/dist/package-Cbg4AOwu.js +0 -5
|
@@ -7,8 +7,7 @@ import { UserConfig, UserConfigFn } from "./options-7rAywKbw.js";
|
|
|
7
7
|
/**
|
|
8
8
|
* Defines the configuration for tsdown.
|
|
9
9
|
*/
|
|
10
|
-
declare function defineConfig(options: UserConfig): UserConfig;
|
|
11
|
-
declare function defineConfig(options: UserConfigFn): UserConfigFn;
|
|
10
|
+
declare function defineConfig(options: UserConfig | UserConfigFn): UserConfig | UserConfigFn;
|
|
12
11
|
|
|
13
12
|
//#endregion
|
|
14
13
|
export { defineConfig as defineConfig$1 };
|
package/dist/config.d.ts
CHANGED
package/dist/config.js
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BuildContext, Options, ResolvedOptions, TsdownHooks, UserConfig } from "./options-7rAywKbw.js";
|
|
2
|
-
import { defineConfig$1 as defineConfig } from "./config-
|
|
2
|
+
import { defineConfig$1 as defineConfig } from "./config-B-A_eh0M.js";
|
|
3
3
|
|
|
4
4
|
//#region src/utils/logger.d.ts
|
|
5
5
|
declare class Logger {
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineConfig } from "./config-
|
|
1
|
+
import { defineConfig } from "./config-yiJy1jd0.js";
|
|
2
2
|
import { ExternalPlugin, NodeProtocolPlugin, ReportPlugin, ShebangPlugin, fsCopy, fsRemove, fsStat, getPackageType, lowestCommonAncestor, normalizeFormat, prettyFormat, readPackageJson } from "./plugins-xuho_Cqn.js";
|
|
3
3
|
import { logger } from "./logger-DKXLpcNj.js";
|
|
4
4
|
import { debounce, resolveComma, toArray } from "./general-nv5tYplM.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { logger } from "./logger-DKXLpcNj.js";
|
|
2
|
-
import { version } from "./package-
|
|
2
|
+
import { version } from "./package-Ckn9oqcN.js";
|
|
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";
|
package/dist/run.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { logger } from "./logger-DKXLpcNj.js";
|
|
3
3
|
import { resolveComma, toArray } from "./general-nv5tYplM.js";
|
|
4
|
-
import { version } from "./package-
|
|
4
|
+
import { version } from "./package-Ckn9oqcN.js";
|
|
5
5
|
import process from "node:process";
|
|
6
6
|
import { dim } from "ansis";
|
|
7
7
|
import Debug from "debug";
|
|
@@ -20,7 +20,7 @@ cli.command("[...files]", "Bundle files", { ignoreOptionDefaultValue: true }).op
|
|
|
20
20
|
await build$1(flags);
|
|
21
21
|
});
|
|
22
22
|
cli.command("migrate", "Migrate from tsup to tsdown").option("-c, --cwd <dir>", "Working directory").option("-d, --dry-run", "Dry run").action(async (args) => {
|
|
23
|
-
const { migrate } = await import("./migrate-
|
|
23
|
+
const { migrate } = await import("./migrate-DeDzaCuM.js");
|
|
24
24
|
await migrate(args);
|
|
25
25
|
});
|
|
26
26
|
async function runCLI() {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tsdown",
|
|
3
|
-
"version": "0.11.0-beta.
|
|
3
|
+
"version": "0.11.0-beta.5",
|
|
4
4
|
"description": "The Elegant Bundler for Libraries",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -65,8 +65,8 @@
|
|
|
65
65
|
"diff": "^7.0.0",
|
|
66
66
|
"empathic": "^1.1.0",
|
|
67
67
|
"hookable": "^5.5.3",
|
|
68
|
-
"rolldown": "1.0.0-beta.8-commit.
|
|
69
|
-
"rolldown-plugin-dts": "^0.
|
|
68
|
+
"rolldown": "1.0.0-beta.8-commit.534fde3",
|
|
69
|
+
"rolldown-plugin-dts": "^0.11.1",
|
|
70
70
|
"semver": "^7.7.1",
|
|
71
71
|
"tinyexec": "^1.0.1",
|
|
72
72
|
"tinyglobby": "^0.2.13",
|