Describe the feature request
With the release of TypeScript 7, projects utilizing vite-plus and scaffolded by vp create want to upgrade their TypeScript version to 7. Currently, vite-plus specifies "typescript": "^5.0.0 || ^6.0.0" in its core packages peer dependencies, causing dependency resolution errors/warnings during installation.
Proposed Solution
- Update the
typescript peer dependency in @voidzero-dev/vite-plus-core (built dynamically under packages/core/build.ts) to "^5.0.0 || ^6.0.0 || ^7.0.0".
- Update CLI scaffolding monorepo templates under
packages/cli/templates/monorepo/ (pnpm-workspace.yaml and _yarnrc.yml) to support ^5 || ^6 || ^7.
- Keep the development devDependencies of the
vite-plus workspace itself pinned to TypeScript 6 for now, as programmatic compiler APIs in upstream libraries (like rolldown and tsdown) are not yet compatible with the TypeScript 7 API structure.
Describe the feature request
With the release of TypeScript 7, projects utilizing
vite-plusand scaffolded byvp createwant to upgrade their TypeScript version to 7. Currently,vite-plusspecifies"typescript": "^5.0.0 || ^6.0.0"in its core packages peer dependencies, causing dependency resolution errors/warnings during installation.Proposed Solution
typescriptpeer dependency in@voidzero-dev/vite-plus-core(built dynamically underpackages/core/build.ts) to"^5.0.0 || ^6.0.0 || ^7.0.0".packages/cli/templates/monorepo/(pnpm-workspace.yamland_yarnrc.yml) to support^5 || ^6 || ^7.vite-plusworkspace itself pinned to TypeScript 6 for now, as programmatic compiler APIs in upstream libraries (likerolldownandtsdown) are not yet compatible with the TypeScript 7 API structure.