Skip to content

Remove the temporary rolldown-plugin-dts override #3237

Open

Description

@fengmk2

Follow-up to #3236.

pnpm-workspace.yaml temporarily pins tsdown@0.23.2>rolldown-plugin-dts to 0.28.8. The 0.29 beta requires TypeScript 7.1 for its tsgo generator and removes support for @typescript/native-preview.

This breaks declaration generation with TypeScript 7.0.2 and existing configurations that explicitly select tsgo with @typescript/native-preview. Both tsdown and the plugin are bundled, but the compiler remains an external dependency. Updating the repository’s TypeScript version alone does not fix these consumer failures.

Remove the override after the replacement meets these conditions:

  • Automatic declaration generation works with supported stable TypeScript versions and preserves inferred types.
  • Existing tsgo configurations remain supported, or a separate compatibility change provides a documented migration.
  • The command_pack_dts_compat fixtures pass against packed packages with hoisting disabled.
  • Core’s peer dependencies match the bundled plugin’s requirements, and its external yuku-parser dependency stays compatible.

The override applies only to tsdown@0.23.2. Review it during the next tsdown upgrade so the upgrade does not silently remove the workaround. Check the plugin resolved through tsdown, rather than only core’s direct development dependency.

Activity

  1. self-assigned this
    on Oct 26, 2026
  2. added theissue type on Oct 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Fields

Priority

None yet

Effort

None yet

Target date

None yet

Start date

None yet

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions