Skip to content

feat(dts): upgrade rolldown-plugin-dts to v0.30 - #1123

Merged
sxzz merged 1 commit into
mainfrom
chore/upgrade-rolldown-plugin-dts-0.30
Nov 6, 2026
Merged

sxzz merged 1 commit into
mainfrom
chore/upgrade-rolldown-plugin-dts-0.30

Conversation

@sxzzbot

@sxzzbot sxzzbot commented Nov 6, 2026

Copy link
Copy Markdown
Collaborator

Upgrades rolldown-plugin-dts 0.29.0 → 0.30.0.

rolldown-plugin-dts v0.30 impact

  • dtsOnly: emitDtsOnly and dtsInput are merged into dtsOnly; the old names still work but log a warning. dtsOnly throws when combined with entry, which tsdown did for the CJS declaration pass whenever dts.entry was set.
  • dts.entry: now only filters which Rolldown entries emit declarations. Files that are imported but not entries no longer get their own declaration files.

Changes

  • Bump the catalog version and refresh the lockfile
  • CJS declaration pass: use dtsOnly and apply dts.entry to input in tsdown (with path.matchesGlob, same as the plugin), so .d.cts and .d.mts cover the same entries
  • Pass tsdown's cwd to the plugin (overridable via dts.cwd), so dts.entry resolves from the same directory as the top-level entry instead of process.cwd()
  • Regenerate schema.json
  • Document dts.entry (en + zh-CN, skills); rename emitDtsOnly → dtsOnly in AGENTS.md
  • Tests for the CJS filter and the cwd base

Release notes: https://github.com/sxzz/rolldown-plugin-dts/releases/tag/v0.30.0

@netlify

netlify Bot commented Nov 6, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for tsdown-main ready!

Name Link
🔨 Latest commit 14e1060
🔍 Latest deploy log https://app.netlify.com/projects/tsdown-main/deploys/6aed83598b5150c7c4591101
😎 Deploy Preview https://deploy-preview-1123--tsdown-main.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatedrolldown-plugin-dts@​0.29.0 ⏵ 0.30.099 +1100100 +196100

View full report

@pkg-pr-new

pkg-pr-new Bot commented Nov 6, 2026

Copy link
Copy Markdown

Open in StackBlitz

tsdown

pnpm add https://pkg.pr.new/rolldown/tsdown@1123 -D
npm i https://pkg.pr.new/rolldown/tsdown@1123 -D
yarn add https://pkg.pr.new/rolldown/tsdown@1123.tgz -D

create-tsdown

pnpm add https://pkg.pr.new/rolldown/tsdown/create-tsdown@1123 -D
npm i https://pkg.pr.new/rolldown/tsdown/create-tsdown@1123 -D
yarn add https://pkg.pr.new/rolldown/tsdown/create-tsdown@1123.tgz -D

@tsdown/css

pnpm add https://pkg.pr.new/rolldown/tsdown/@tsdown/css@1123 -D
npm i https://pkg.pr.new/rolldown/tsdown/@tsdown/css@1123 -D
yarn add https://pkg.pr.new/rolldown/tsdown/@tsdown/css@1123.tgz -D

@tsdown/exe

pnpm add https://pkg.pr.new/rolldown/tsdown/@tsdown/exe@1123 -D
npm i https://pkg.pr.new/rolldown/tsdown/@tsdown/exe@1123 -D
yarn add https://pkg.pr.new/rolldown/tsdown/@tsdown/exe@1123.tgz -D

tsdown-migrate

pnpm add https://pkg.pr.new/rolldown/tsdown/tsdown-migrate@1123 -D
npm i https://pkg.pr.new/rolldown/tsdown/tsdown-migrate@1123 -D
yarn add https://pkg.pr.new/rolldown/tsdown/tsdown-migrate@1123.tgz -D

commit: 14e1060

@sxzz
sxzz merged commit d351b43 into main Nov 6, 2026
19 checks passed
@sxzz
sxzz deleted the chore/upgrade-rolldown-plugin-dts-0.30 branch November 6, 2026 07:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants