Conversation
There was a problem hiding this comment.
Code Review
This pull request updates vite-plus and vitest to version 0.1.19-alpha.3, involving extensive updates to the lockfile and workspace overrides for related tools like oxfmt and oxlint. A review comment suggests moving vite-plus to devDependencies in package.json as it is a build-time dependency.
| "virtua": "0.48.8", | ||
| "vite-plugin-pwa": "1.2.0", | ||
| "vite-plus": "0.1.16", | ||
| "vite-plus": "0.1.19-alpha.3", |
There was a problem hiding this comment.
vite-plus appears to be a meta-package for the development stack (including the core build tool, test runner, linter, and formatter) and should ideally be moved from dependencies to devDependencies. Build-time tools and plugins are typically not required at runtime. Moving them to devDependencies helps maintain a clean production dependency graph and reduces the size of production installs. Note that vitest is already correctly placed in devDependencies at line 145.
|
| 📦 Package | 📋 Versions |
|---|---|
| h3 | 5 versions
h3@2.0.1-rc.11 h3@2.0.1-rc.16 h3@2.0.1-rc.20 |
| glob | 5 versions
|
| @rolldown/pluginutils | 5 versions
@rolldown/pluginutils@1.0.0-rc.9 |
| @oxc-project/types | 6 versions
|
💡 To find out what depends on a specific package, run: pnpm -r why example-package
📊 Dependency Size Changes
Warning
This PR adds 1.5 MB of new dependencies, which exceeds the threshold of 200 kB.
| 📦 Package | 📏 Size |
|---|---|
| @voidzero-dev/vite-plus-linux-x64-gnu@0.1.16 → @voidzero-dev/vite-plus-linux-x64-gnu@0.1.19-alpha.3 | 851.9 kB |
| @oxlint/binding-linux-x64-gnu@1.58.0 → @oxlint/binding-linux-x64-gnu@1.60.0 | 282.7 kB |
| @oxlint-tsgolint/linux-x64@0.20.0 → @oxlint-tsgolint/linux-x64@0.21.1 | 220.2 kB |
| @voidzero-dev/vite-plus-test@0.1.16 → @voidzero-dev/vite-plus-test@0.1.19-alpha.3 | 70.3 kB |
| oxlint@1.58.0 → oxlint@1.60.0 | 25.2 kB |
| @oxfmt/binding-linux-x64-gnu@0.43.0 → @oxfmt/binding-linux-x64-gnu@0.45.0 | 8.2 kB |
| oxfmt@0.43.0 → oxfmt@0.45.0 | 7.4 kB |
| vite-plus@0.1.16 → vite-plus@0.1.19-alpha.3 | 6.9 kB |
| @voidzero-dev/vite-plus-core@0.1.16 → @voidzero-dev/vite-plus-core@0.1.19-alpha.3 | 6.6 kB |
| vue-component-type-helpers@3.2.7 | 5.6 kB |
| vitest@@voidzero-dev/vite-plus-test@0.1.19-alpha.3 | Unknown |
| vitest@@voidzero-dev/vite-plus-test@0.1.16 | Unknown |
| vite@@voidzero-dev/vite-plus-core@0.1.19-alpha.3 | Unknown |
| vite@@voidzero-dev/vite-plus-core@0.1.16 | Unknown |
| @oxc-project/runtime@0.123.0 → @oxc-project/runtime@0.126.0 | 0 B |
| @oxc-project/types@0.123.0 → @oxc-project/types@0.126.0 | 0 B |
| oxlint-tsgolint@0.20.0 → oxlint-tsgolint@0.21.1 | 0 B |
Total size change: 1.5 MB
Upgrade vite-plus and related packages to 0.1.19-alpha.3 alpha version.