Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed .yarn/cache/mlly-npm-1.8.0-448698f313-4db690a421.zip
Binary file not shown.
Binary file removed .yarn/cache/mz-npm-2.7.0-ec3cef4ec2-8427de0ece.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed .yarn/cache/tsup-npm-8.5.1-41f4f7d59b-f1927ec2dd.zip
Binary file not shown.
Binary file removed .yarn/cache/ufo-npm-1.6.3-29bac69d97-79803984f3.zip
Binary file not shown.
10 changes: 5 additions & 5 deletions packages/plugin-tools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"directory": "packages/plugin-tools"
},
"scripts": {
"build": "tsup",
"build": "tsdown",
"check-vitest": "run g:check-vitest",
"check-biome": "run g:check-biome",
"check-eslint": "run g:check-eslint",
Expand All @@ -35,15 +35,15 @@
"node": ">=22"
},
"dependencies": {
"@commander-js/extra-typings": "^13.1.0",
"@commander-js/extra-typings": "^14.0.0",
"adm-zip": "^0.5.16",
"commander": "^13.1.0"
"commander": "^14.0.3"
},
"devDependencies": {
"@types/adm-zip": "^0.5.7",
"@types/node": "^22.0.0",
"tsup": "^8.0.0",
"tsdown": "^0.20.1",
"typescript": "^5.9.2",
"vitest": "^3.2.4"
"vitest": "^4.1.0"
Comment on lines 25 to +47
Copy link

Copilot AI Mar 23, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After switching the build script to tsdown, please double-check that the build output filenames still match main/types/exports/bin (currently dist/index.js, dist/index.d.ts, dist/cli.js). If tsdown outputs .mjs for ESM by default, the package entrypoints will break unless the config forces .js or the fields are updated accordingly.

Copilot uses AI. Check for mistakes.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

}
}
Original file line number Diff line number Diff line change
@@ -1,20 +1,22 @@
import { defineConfig } from "tsup"
import { defineConfig } from "tsdown"

export default defineConfig([
// CLI binary
{
entry: { cli: "src/cli.ts" },
format: ["esm"],
format: "esm",
target: "node22",
fixedExtension: false,
banner: {
js: "#!/usr/bin/env node",
},
},
// Library exports
{
entry: { index: "src/index.ts" },
format: ["esm"],
format: "esm",
target: "node22",
fixedExtension: false,
dts: true,
},
])
Loading
Loading