Skip to content

Update dependency tsdown to v0.22.0#469

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/build-deps
Open

Update dependency tsdown to v0.22.0#469
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/build-deps

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Apr 1, 2026

This PR contains the following updates:

Package Change Age Confidence
tsdown (source) 0.21.60.22.0 age confidence

Release Notes

rolldown/tsdown (tsdown)

v0.22.0

Compare Source

   🚨 Breaking Changes
  • Drop Node.js < 22.18.0 support, make unrun optional, add tsx config loader  -  by @​sxzz (a1042)
  • dts: Auto-enable dts when tsconfig declaration is true  -  by @​sxzz in #​872 (085f0)
  • publint: Use pkg from publint results, require publint v0.3.8+  -  by @​sxzz (413bb)
   🚀 Features
   🐞 Bug Fixes

🔄 Migration Guide

Node.js version

Upgrade to Node.js 22.18.0 or later. Bun and Deno remain supported (experimental).

unrun is no longer bundled

If your environment relies on the unrun config loader (i.e. you're on a Node version without native TypeScript support and use the default auto loader), install it manually:

npm i -D unrun

# or, alternatively, the new tsx loader:
npm i -D tsx

If you use Node.js 22.18.0+ with native TypeScript support, no change is needed — the auto loader will pick native.

dts auto-enabled from tsconfig

If your tsconfig.json has compilerOptions.declaration: true but you do not want tsdown to emit .d.ts files, opt out explicitly:

// tsdown.config.ts
export default defineConfig({
  dts: false,
})
exports.bin auto-detection

Any entry chunk containing a shebang (e.g. #!/usr/bin/env node) now causes tsdown to write a bin field in package.json automatically. The semantics differ slightly from explicit bin: true:

Value Single shebang Multiple shebangs No shebangs
(unset) Auto-set bin Warn, skip Silent
true Auto-set bin Throw Warn
false No bin No bin No bin

To opt out entirely:

export default defineConfig({
  exports: { bin: false },
})
Links

v0.21.10

Compare Source

   🚀 Features
    View changes on GitHub

v0.21.9

Compare Source

   🚀 Features
   🐞 Bug Fixes
    View changes on GitHub

v0.21.8

Compare Source

   🚀 Features
   🐞 Bug Fixes
    View changes on GitHub

v0.21.7

Compare Source

   🚀 Features
  • Add module option for attw and publint to allow passing imported modules directly  -  by @​sxzz (31e90)
   🐞 Bug Fixes
  • deps: Add skipNodeModulesBundle dep subpath e2e tests and fix docs  -  by @​sxzz (deff7)
    View changes on GitHub

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • Between 12:00 AM and 03:59 AM, on day 1 of the month (* 0-3 1 * *)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added the dependencies label Apr 1, 2026
@renovate renovate Bot changed the title Update dependency tsdown to v0.21.7 Update dependency tsdown to v0.21.8 Apr 13, 2026
@renovate renovate Bot force-pushed the renovate/build-deps branch from 9d19bb0 to c964583 Compare April 13, 2026 13:56
@renovate renovate Bot changed the title Update dependency tsdown to v0.21.8 Update dependency tsdown to v0.21.9 Apr 16, 2026
@renovate renovate Bot force-pushed the renovate/build-deps branch 2 times, most recently from 58f6449 to baa147f Compare April 22, 2026 20:07
@renovate renovate Bot changed the title Update dependency tsdown to v0.21.9 Update dependency tsdown to v0.21.10 Apr 22, 2026
@renovate renovate Bot force-pushed the renovate/build-deps branch from baa147f to 07b0ccc Compare April 29, 2026 11:44
@renovate renovate Bot changed the title Update dependency tsdown to v0.21.10 Update dependency tsdown to v0.22.0 May 7, 2026
@renovate renovate Bot force-pushed the renovate/build-deps branch 2 times, most recently from e47a3f6 to fd6e3f9 Compare May 12, 2026 15:05
@renovate renovate Bot force-pushed the renovate/build-deps branch from fd6e3f9 to 366778f Compare May 18, 2026 16:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants