Skip to content

vp migrate beta test#9

Draft
fengmk2 wants to merge 2 commits into
mainfrom
vp-migrate-test
Draft

vp migrate beta test#9
fengmk2 wants to merge 2 commits into
mainfrom
vp-migrate-test

Conversation

@fengmk2

@fengmk2 fengmk2 commented Jun 27, 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 migrates the project to use Vite+, updating configuration files, VS Code settings, documentation, and test imports to reference vite-plus instead of standard vite and vitest. Feedback on the changes includes removing the temporary registry bridge in .npmrc and updating the temporary commit-specific dependency versions in pnpm-workspace.yaml to stable releases before merging. Additionally, it is suggested to use any instead of unknown for the third generic parameter in the Vue SFC shim declaration to prevent overly restrictive type-checking.

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 .npmrc
@@ -0,0 +1,2 @@
# pkg.pr.new registry bridge (added by test-pkg-pr-new-migrate.sh)
registry=https://pkg-pr-registry-bridge.render.vip/

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-high high

This .npmrc file configures a temporary registry bridge (https://pkg-pr-registry-bridge.render.vip/) to resolve commit-specific packages from pkg.pr.new. While this is necessary for testing the migration in this PR, committing this to the main branch is a security and reliability risk. Please ensure this file is removed before merging.

Comment thread pnpm-workspace.yaml
Comment on lines +16 to +17
vite: npm:@voidzero-dev/vite-plus-core@0.0.0-commit.d5c8d9e163733881a841c16ca1778868d65fe7ef
vite-plus: 0.0.0-commit.d5c8d9e163733881a841c16ca1778868d65fe7ef

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

These dependencies are pinned to temporary commit-specific versions (0.0.0-commit.d5c8d9e163733881a841c16ca1778868d65fe7ef) published via pkg.pr.new. Before merging this pull request, please update these to stable, officially released versions of vite and vite-plus to ensure reproducible and reliable builds.

Comment thread packages/vue-fate/src/env.d.ts Outdated
@@ -0,0 +1,5 @@
declare module '*.vue' {
import type { DefineComponent } from 'vue';
const component: DefineComponent<{}, {}, unknown>;

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

Using unknown as the third generic parameter (D / data) for DefineComponent can be overly restrictive and may cause type-checking issues in TypeScript files importing .vue components. It is standard practice to use any or {} for the wildcard SFC shim to ensure compatibility.

Suggested change
const component: DefineComponent<{}, {}, unknown>;
const component: DefineComponent<{}, {}, any>;

Align packages/vue-fate/src/env.d.ts with the other Vue shim files by
using Record<string, unknown> instead of {}, which the newer oxlint
toolchain flags via no-empty-object-type.
@pkg-pr-new

pkg-pr-new Bot commented Jun 27, 2026

Copy link
Copy Markdown

Open in StackBlitz

cf-fate

npm i https://pkg.pr.new/fengmk2/fate/cf-fate@9

create-fate

npm i https://pkg.pr.new/fengmk2/fate/create-fate@9

@nkzw/fate

npm i https://pkg.pr.new/fengmk2/fate/@nkzw/fate@9

react-fate

npm i https://pkg.pr.new/fengmk2/fate/react-fate@9

void-fate

npm i https://pkg.pr.new/fengmk2/fate/void-fate@9

vue-fate

npm i https://pkg.pr.new/fengmk2/fate/vue-fate@9

commit: 1493fff

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