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 vite-plus to version 0.1.19-alpha.3 and synchronizes the lockfile with updated internal dependencies. Feedback suggests using a version range for vite-plus to allow for minor updates and highlights a version mismatch between the root vitest dependency and the peer dependencies required by the new vite-plus-test package.
| "vite": "^8.0.1", | ||
| "vite-bundle-analyzer": "^1.2.3", | ||
| "vite-plus": "^0.1.15", | ||
| "vite-plus": "0.1.19-alpha.3", |
There was a problem hiding this comment.
The upgrade to vite-plus@0.1.19-alpha.3 introduces @voidzero-dev/vite-plus-test@0.1.19-alpha.3, which specifies peer dependencies for vitest related packages (such as @vitest/ui and coverage tools) at version 4.1.4. Since the root package.json currently uses vitest@^4.1.1, there is a version mismatch in the test ecosystem. It is recommended to update vitest to ^4.1.4 as well to ensure compatibility and avoid peer dependency warnings.
Additionally, consider using a version range (e.g., ^0.1.19-alpha.3) instead of a pinned version to allow for automatic updates of subsequent alpha releases that may contain important bug fixes.
| "vite-plus": "0.1.19-alpha.3", | |
| "vite-plus": "^0.1.19-alpha.3", |
Upgrade vite-plus and related packages to 0.1.19-alpha.3 alpha version.