chore(deps): bump vite-plus to 0.1.21-alpha.6 - #2
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.21-alpha.6 in both the dependencies and overrides sections of package.json. The reviewer suggested using the $ prefix syntax in the overrides section to reference the versions already defined in dependencies, which would improve maintainability by avoiding version string duplication.
| "vite": "npm:@voidzero-dev/vite-plus-core@0.1.21-alpha.6", | ||
| "vitest": "npm:@voidzero-dev/vite-plus-test@0.1.21-alpha.6" |
There was a problem hiding this comment.
For better maintainability and to ensure consistency, you can use the $ prefix syntax in the overrides section to reference the versions already defined in your dependencies. This avoids duplicating the version strings and makes future updates easier, as seen with the svelte entry on line 99. This syntax is supported by pnpm, which appears to be the package manager used in this project.
| "vite": "npm:@voidzero-dev/vite-plus-core@0.1.21-alpha.6", | |
| "vitest": "npm:@voidzero-dev/vite-plus-test@0.1.21-alpha.6" | |
| "vite": "$vite", | |
| "vitest": "$vitest" |
Summary
Bump
vite-plusand related packages to alpha 0.1.21-alpha.6.Updated where applicable:
vite-plusvitest(alias to@voidzero-dev/vite-plus-test)vite(alias to@voidzero-dev/vite-plus-core)overrides/resolutions/pnpm.overrides/pnpm-workspace.yamlcatalogsTest plan