Skip to content

ci(renovate): pin vite-plugin-dts to <5 pending moduleResolution migration#5159

Open
mdeliatf wants to merge 1 commit into
traefik:masterfrom
mdeliatf:ci/update-renovate-config-for-vite-plugin-dts
Open

ci(renovate): pin vite-plugin-dts to <5 pending moduleResolution migration#5159
mdeliatf wants to merge 1 commit into
traefik:masterfrom
mdeliatf:ci/update-renovate-config-for-vite-plugin-dts

Conversation

@mdeliatf
Copy link
Copy Markdown
Contributor

@mdeliatf mdeliatf commented May 25, 2026

Description

vite-plugin-dts v5 splits its implementation into a separate unplugin-dts package and exposes types exclusively via package.json exports subpaths. That requires TypeScript's moduleResolution to be node16, nodenext, or bundler, but this project still uses classic node resolution (see the @ts-expect-error markers in vite.config.ts). The result is a TS1192: Module 'vite-plugin-dts' has no default export error in vite.config.ts under v5.

This PR adds a Renovate packageRules entry pinning vite-plugin-dts to <5.0.0 until the moduleResolution migration lands, alongside an inline comment explaining the constraint and the unlock condition.

Related to #5156

Good PR checkboxes

  • Change has been tested
  • Added/Updated tests
  • Added/Updated stories
  • PR follows conventions
  • Labels are set
  • Project is linked

Good Review checkboxes

ℹ️ Copy the snippet and paste in the review field to fill it
- [ ] I've tested the changes
- [ ] I've agreed on the unit tests (soon to come)
- [ ] I've checked the stories
- [ ] I've read the code and understood it
- [ ] I don't have any more questions
- [ ] I've described any optional improvements
- [ ] I checked PR follows [conventions](https://github.com/traefik/faency#how-to-contribute)

@mdeliatf mdeliatf self-assigned this May 25, 2026
@mdeliatf mdeliatf added status/2-needs-review kind/bug/fix a bug fix area/infrastructure Pull requests that update infra/dependencies labels May 25, 2026
@mdeliatf mdeliatf force-pushed the ci/update-renovate-config-for-vite-plugin-dts branch from 090d2e7 to 2146f1e Compare May 25, 2026 09:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/infrastructure Pull requests that update infra/dependencies kind/bug/fix a bug fix status/2-needs-review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant