chore: upgrade vite-plus to 0.1.20-alpha.4#2
Conversation
There was a problem hiding this comment.
Code Review
This pull request updates several dependencies, including vite-plus, oxfmt, oxlint, and related packages, to newer versions. I have reviewed the changes and suggest leveraging the Yarn catalog protocol in package.json for vite-plus, vite, and vitest to maintain a single source of truth and ensure consistency across the project.
| "prettier": "^3.8.3", | ||
| "typescript": "^6.0.3", | ||
| "vite-plus": "^0.1.18", | ||
| "vite-plus": "0.1.20-alpha.4", |
There was a problem hiding this comment.
The project is utilizing Yarn 4 catalogs as defined in .yarnrc.yml. To maintain a single source of truth and ensure consistency across the workspace, this dependency should use the catalog: protocol instead of a hardcoded version string.
| "vite-plus": "0.1.20-alpha.4", | |
| "vite-plus": "catalog:", |
| "vite": "npm:@voidzero-dev/vite-plus-core@0.1.20-alpha.4", | ||
| "vitest": "npm:@voidzero-dev/vite-plus-test@0.1.20-alpha.4" |
There was a problem hiding this comment.
The resolutions for vite and vitest should also leverage the catalog entries defined in .yarnrc.yml. This ensures that the versions used for resolutions stay in sync with the rest of the project and avoids duplication of the version string, especially since these resolutions point to specific forked packages.
| "vite": "npm:@voidzero-dev/vite-plus-core@0.1.20-alpha.4", | |
| "vitest": "npm:@voidzero-dev/vite-plus-test@0.1.20-alpha.4" | |
| "vite": "catalog:", | |
| "vitest": "catalog:" |
Upgrade vite-plus and related packages to 0.1.20-alpha.4 alpha version.