Skip to content

vp migrate beta test#10

Draft
fengmk2 wants to merge 1 commit into
masterfrom
vp-migrate-test
Draft

vp migrate beta test#10
fengmk2 wants to merge 1 commit into
masterfrom
vp-migrate-test

Conversation

@fengmk2

@fengmk2 fengmk2 commented Jun 26, 2026

Copy link
Copy Markdown
Owner

No description provided.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the Vite+ toolchain integration, including configuring language-specific VS Code settings for OXC, updating documentation in AGENTS.md and CLAUDE.md, and migrating dependencies like vite and vitest to use pnpm catalogs. It also updates imports in test helpers to use vite-plus/test/context. Feedback on these changes suggests defining the newly added @vitest/browser-playwright dependency in the workspace catalog for consistency. Additionally, there is a security recommendation to keep blockExoticSubdeps enabled to mitigate supply chain risks associated with resolving sub-dependencies from exotic sources.

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.

Comment thread package.json
"vitest-browser-react": "2.2.0"
"vitest": "catalog:",
"vitest-browser-react": "2.2.0",
"@vitest/browser-playwright": "4.1.9"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

To maintain consistency and make future dependency upgrades easier, consider defining @vitest/browser-playwright in the shared catalog within pnpm-workspace.yaml and referencing it here using catalog:.

Suggested change
"@vitest/browser-playwright": "4.1.9"
"@vitest/browser-playwright": "catalog:"

Comment thread pnpm-workspace.yaml
vitest: npm:@voidzero-dev/vite-plus-test@latest
vite: https://pkg.pr.new/voidzero-dev/vite-plus/@voidzero-dev/vite-plus-core@dca39038de6ca46e523bf64dc09bf100b636eea9
vite-plus: https://pkg.pr.new/voidzero-dev/vite-plus@dca39038de6ca46e523bf64dc09bf100b636eea9
vitest: 4.1.9

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

Add @vitest/browser-playwright to the catalog to match the reference in package.json.

  vitest: 4.1.9
  "@vitest/browser-playwright": 4.1.9

Comment thread pnpm-workspace.yaml
allowedVersions:
vite: '*'
vitest: '*'
blockExoticSubdeps: false

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

security-medium medium

Disabling blockExoticSubdeps (by setting it to false) allows sub-dependencies to be resolved from exotic sources (like git, local files, etc.), which can increase the risk of supply chain attacks. If none of the workspace dependencies strictly require exotic sub-dependencies, it is highly recommended to keep this enabled (true) for better security.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant