chore: upgrade vite-plus to 0.1.19-alpha.3#1
Conversation
There was a problem hiding this comment.
Code Review
This pull request updates the versions of vite, vite-plus, and vitest to 0.1.19-alpha.3 across the project's configuration files. The review feedback recommends adopting the Yarn 4 catalog: protocol in package.json for these dependencies and their resolutions to ensure consistency with the definitions in .yarnrc.yml and simplify future updates.
| "prettier": "^3.8.3", | ||
| "typescript": "^6.0.3", | ||
| "vite-plus": "^0.1.18", | ||
| "vite-plus": "0.1.19-alpha.3", |
There was a problem hiding this comment.
Since the project uses Yarn 4 Catalogs (as defined in .yarnrc.yml), it is recommended to use the catalog: protocol here. This ensures that the version is managed in a single place and remains consistent across all workspaces that depend on vite-plus.
| "vite-plus": "0.1.19-alpha.3", | |
| "vite-plus": "catalog:", |
| "vite": "npm:@voidzero-dev/vite-plus-core@0.1.19-alpha.3", | ||
| "vitest": "npm:@voidzero-dev/vite-plus-test@0.1.19-alpha.3" |
There was a problem hiding this comment.
These resolutions can also leverage the Yarn 4 Catalog. Using catalog: here keeps the resolutions in sync with the versions defined in .yarnrc.yml, improving maintainability and reducing duplication.
| "vite": "npm:@voidzero-dev/vite-plus-core@0.1.19-alpha.3", | |
| "vitest": "npm:@voidzero-dev/vite-plus-test@0.1.19-alpha.3" | |
| "vite": "catalog:", | |
| "vitest": "catalog:" |
Upgrade vite-plus and related packages to 0.1.19-alpha.3 alpha version.