chore(deps): bump vite-plus to v0.2.0#9
Conversation
@varlet/cli
@varlet/icons
@varlet/import-resolver
@varlet/preset-tailwindcss
@varlet/preset-unocss
@varlet/shared
@varlet/touch-emulator
@varlet/ui
@varlet/use
@varlet/vite-plugins
commit: |
There was a problem hiding this comment.
Code Review
This pull request updates dependency versions for Vite and Vitest, utilizing a temporary pkg.pr.new URL for vite-plus. It also attempts to configure overrides and security settings in pnpm-workspace.yaml. Feedback highlights that these configurations are unsupported in pnpm-workspace.yaml and must be placed in package.json and .npmrc respectively. Additionally, restoring the pnpm.overrides block in package.json is recommended, and the hardcoded temporary URL in the template generator's package.json should be replaced with a stable version range before merging.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
| overrides: | ||
| vite: 'https://pkg.pr.new/voidzero-dev/vite-plus/@voidzero-dev/vite-plus-core@1856' | ||
| vitest: '4.1.9' | ||
|
|
||
| minimumReleaseAge: 60 | ||
| minimumReleaseAgeExclude: | ||
| - '@voidzero-dev/*' | ||
| - vite-plus | ||
| - '@vitest/*' | ||
| - vite | ||
| - vitest | ||
| - '@oxc-project/*' | ||
| - '@oxlint/*' | ||
| - oxlint | ||
| - oxfmt | ||
| - oxlint-tsgolint | ||
| blockExoticSubdeps: false |
There was a problem hiding this comment.
The overrides, minimumReleaseAge, minimumReleaseAgeExclude, and blockExoticSubdeps configurations are not supported in pnpm-workspace.yaml and will be ignored by pnpm.
- Overrides: Must be defined in the root
package.jsonunder thepnpm.overridesfield. Since you are using pnpm catalogs, you can restore the previous configuration inpackage.jsonpointing to"catalog:". - Security Settings:
minimumReleaseAge,minimumReleaseAgeExclude, andblockExoticSubdepsmust be configured in.npmrcusing kebab-case syntax (e.g.,minimum-release-age = 60,block-exotic-subdeps = false).
| "packageManager": "pnpm@9.15.9" | ||
| } No newline at end of file |
There was a problem hiding this comment.
Restore the pnpm.overrides block here to ensure that vite and vitest are correctly overridden across the monorepo. Since you have defined the specific versions in the pnpm-workspace.yaml catalog, you can use "catalog:" here to automatically sync them.
| "packageManager": "pnpm@9.15.9" | |
| } | |
| "packageManager": "pnpm@9.15.9", | |
| "pnpm": { | |
| "overrides": { | |
| "vite": "catalog:", | |
| "vitest": "catalog:" | |
| } | |
| } | |
| } |
| "rattail": "^2.0.3", | ||
| "typescript": "5.6.3", | ||
| "vite-plus": "0.1.18", | ||
| "vite-plus": "https://pkg.pr.new/voidzero-dev/vite-plus@1856", |
There was a problem hiding this comment.
Using a hardcoded pkg.pr.new URL in a template generator's package.json means any project generated by users of this CLI will be locked to this specific temporary commit build.
While this might be necessary for temporary testing of this PR, please ensure this is replaced with a proper npm version range (e.g., ^0.2.0 or 0.2.0) before merging or releasing, to avoid breaking downstream users when the temporary build is cleaned up or if they require a stable release.
Summary
Bump
vite-plusand related packages to the pkg.pr.new prerelease build for v0.2.0.Updated where applicable:
vite-plus-> pkg.pr.new buildvite(alias/override ->@voidzero-dev/vite-plus-core)vitestpinned to bundled4.1.9(the@voidzero-dev/vite-plus-testwrapper was removed upstream; vitest is now plain upstream)minimumReleaseAgeenabled with vite-plus packages excluded (pnpm/bun/npm as applicable)Note: the bundled oxfmt/tsgolint in v0.2.0 flags a pre-existing
TS(1038)inpackages/varlet-cli/src/module.d.ts(redundantdeclarein an ambient context), sovp lint/vp checkfail. Needs an upstream source fix; not addressed here.Test plan