Skip to content

chore(vue): Migrate to tsdown#8188

Merged
wobsoriano merged 2 commits intods.chore/ts-6.0from
rob/vue-nuxt-typescript-6
Mar 27, 2026
Merged

chore(vue): Migrate to tsdown#8188
wobsoriano merged 2 commits intods.chore/ts-6.0from
rob/vue-nuxt-typescript-6

Conversation

@wobsoriano
Copy link
Copy Markdown
Member

@wobsoriano wobsoriano commented Mar 27, 2026

Description

This PR migrates the Vue package bundler from tsup to tsdown as part of the TypeScript 6 upgrade work. It switches the Vue and auto-props integrations from the esbuild entrypoints to the Rolldown-compatible ones.

pnpm test:integration:vue passed locally ✅

Screenshot 2026-03-27 at 1 21 27 PM

Checklist

  • pnpm test runs as expected.
  • pnpm build runs as expected.
  • (If applicable) JSDoc comments have been added or updated for any package exports
  • (If applicable) Documentation has been updated

Type of change

  • 🐛 Bug fix
  • 🌟 New feature
  • 🔨 Breaking change
  • 📖 Refactoring / dependency upgrade / documentation
  • other:

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Mar 27, 2026

⚠️ No Changeset found

Latest commit: b0b9be3

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@vercel
Copy link
Copy Markdown

vercel bot commented Mar 27, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
clerk-js-sandbox Skipped Skipped Mar 27, 2026 8:09pm

Request Review

"@vitejs/plugin-vue": "^5.2.4",
"@vue.ts/tsx-auto-props": "^0.6.0",
"@vitejs/plugin-vue": "^6.0.5",
"@vue.ts/tsx-auto-props": "^1.0.0-beta.13",
Copy link
Copy Markdown
Member Author

@wobsoriano wobsoriano Mar 27, 2026

Choose a reason for hiding this comment

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

This is still tagged beta (ref), but it is build-time only and is just used to generate runtime props from typed Vue component props. We need this version because it includes the rolldown export for tsdown, and installing it from npm currently resolves to the beta release anyway.

tbf, it's applicable to the Show component and UI components with custom menu items and pages only.

"declaration": true,
"declarationDir": "./dist"
"declarationDir": "./dist",
"rootDir": "./src",
Copy link
Copy Markdown
Member Author

@wobsoriano wobsoriano Mar 27, 2026

Choose a reason for hiding this comment

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

rootDir is needed for the declaration-only vue-tsc step under TypeScript 6 so the emitted .d.ts files keep the expected layout under dist

tsup: 8.5.0
typescript: 6.0.2
vue: 3.5.24
vue: 3.5.26
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

the new @vue.ts/tsx-auto-props@1.0.0-beta.13 requires vue >= 3.5.26 in its peer dependencies

@wobsoriano wobsoriano merged commit d8c8801 into ds.chore/ts-6.0 Mar 27, 2026
11 checks passed
@wobsoriano wobsoriano deleted the rob/vue-nuxt-typescript-6 branch March 27, 2026 20:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants