chore(vue): Migrate to tsdown#8188
Conversation
|
|
The latest updates on your projects. Learn more about Vercel for GitHub. 1 Skipped Deployment
|
| "@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", |
There was a problem hiding this comment.
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", |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
the new @vue.ts/tsx-auto-props@1.0.0-beta.13 requires vue >= 3.5.26 in its peer dependencies
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:vuepassed locally ✅Checklist
pnpm testruns as expected.pnpm buildruns as expected.Type of change