Skip to content

vp migrate beta test#9

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

vp migrate beta test#9
fengmk2 wants to merge 1 commit into
mainfrom
vp-migrate-test

Conversation

@fengmk2

@fengmk2 fengmk2 commented Jun 29, 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 configures the project to use Vite+ by adding documentation, a Vue module declaration, and migrating dependencies to a pnpm catalog. Feedback points out that the overrides field is not supported in pnpm-workspace.yaml and must be moved to the root package.json under pnpm.overrides to ensure transitive dependencies are correctly resolved.

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 pnpm-workspace.yaml
Comment on lines +1 to +10
overrides:
vite: 'catalog:'
catalog:
vite: npm:@voidzero-dev/vite-plus-core@0.0.0-commit.5b214b7987c99adfe0aff4d406264457ed0232ce
vite-plus: 0.0.0-commit.5b214b7987c99adfe0aff4d406264457ed0232ce
peerDependencyRules:
allowAny:
- vite
allowedVersions:
vite: '*'

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

high

In pnpm, the overrides field is not supported at the root level of pnpm-workspace.yaml. It must be defined in the root package.json under the pnpm.overrides block. Defining it here will cause pnpm to ignore the override, which means transitive dependencies depending on vite will not be resolved to the catalog version.

catalog:
  vite: npm:@voidzero-dev/vite-plus-core@0.0.0-commit.5b214b7987c99adfe0aff4d406264457ed0232ce
  vite-plus: 0.0.0-commit.5b214b7987c99adfe0aff4d406264457ed0232ce
peerDependencyRules:
  allowAny:
    - vite
  allowedVersions:
    vite: '*'

Comment thread package.json
Comment on lines +55 to 56
"packageManager": "pnpm@10.33.0"
}

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

high

Add the pnpm.overrides block here to ensure that transitive dependencies depending on vite are correctly overridden to use the cataloged version, since overrides is not supported in pnpm-workspace.yaml.

Suggested change
"packageManager": "pnpm@10.33.0"
}
"packageManager": "pnpm@10.33.0",
"pnpm": {
"overrides": {
"vite": "catalog:"
}
}
}

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