Skip to content

chore(deps): bump vite-plus to pkg-pr-new PR #1703#20

Draft
fengmk2 wants to merge 3 commits into
minorfrom
update-vite-plus-prerelease-test-pr-1703
Draft

chore(deps): bump vite-plus to pkg-pr-new PR #1703#20
fengmk2 wants to merge 3 commits into
minorfrom
update-vite-plus-prerelease-test-pr-1703

Conversation

@fengmk2

@fengmk2 fengmk2 commented May 28, 2026

Copy link
Copy Markdown
Owner

Summary

Bump vite-plus and related packages to the pkg-pr-new prerelease build for upstream PR voidzero-dev/vite-plus#1703 (commit d0b407c).

Updated where applicable:

  • vite-plus
  • vitest (alias to @voidzero-dev/vite-plus-test)
  • vite (alias to @voidzero-dev/vite-plus-core)
  • overrides / resolutions / pnpm.overrides / pnpm-workspace.yaml catalogs
  • minimumReleaseAge configuration

Test plan

  • CI passes

@fengmk2 fengmk2 self-assigned this May 28, 2026

@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 several dependencies to pre-release versions hosted on pkg.pr.new and introduces configuration changes in pnpm-workspace.yaml. The review feedback highlights critical issues with these changes: first, .npmrc configuration options such as blockExoticSubdeps and minimumReleaseAgeExclude were incorrectly placed in pnpm-workspace.yaml where they will be silently ignored; second, using PR numbers instead of exact commit hashes for pkg.pr.new URLs can cause non-reproducible builds and version mismatches across dependencies.

Comment thread pnpm-workspace.yaml
Comment on lines +34 to +44
blockExoticSubdeps: false

minimumReleaseAge: 1440
minimumReleaseAgeExclude:
- vite-plus
- '@voidzero-dev/*'
- '@oxc-project/*'
- '@oxlint/*'
- oxlint
- oxfmt
- oxlint-tsgolint

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

The settings blockExoticSubdeps and minimumReleaseAgeExclude (as well as the existing minimumReleaseAge) are .npmrc configuration options (typically written as block-exotic-subdeps and minimum-release-age-exclude in kebab-case). Defining them in pnpm-workspace.yaml is not supported by pnpm and they will be silently ignored.

To make these settings take effect, they should be moved to the .npmrc file at the root of the workspace:

block-exotic-subdeps=false
minimum-release-age=1440
minimum-release-age-exclude=vite-plus,@voidzero-dev/*,@oxc-project/*,@oxlint/*,oxlint,oxfmt,oxlint-tsgolint
minimumReleaseAge: 1440

Comment thread package.json
Comment on lines +91 to +92
"vitest": "https://pkg.pr.new/voidzero-dev/vite-plus/@voidzero-dev/vite-plus-test@1703",
"vite-plus": "https://pkg.pr.new/voidzero-dev/vite-plus@1703"

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 PR numbers (e.g., @1703) for pkg.pr.new URLs can lead to non-reproducible builds and caching issues because the PR can be updated with new commits.

Additionally, there is an inconsistency where the direct dependencies use the PR number @1703 but the overrides section in pnpm-workspace.yaml uses the exact commit hash d0b407c85b560c2470395176c9f1c838b5ca8af8. This can lead to version mismatches (e.g., vite-plus resolving to a newer commit on the PR while other packages are locked to the older commit).

It is highly recommended to use the exact commit hash for all pkg.pr.new dependency URLs to ensure immutability and consistency.

Suggested change
"vitest": "https://pkg.pr.new/voidzero-dev/vite-plus/@voidzero-dev/vite-plus-test@1703",
"vite-plus": "https://pkg.pr.new/voidzero-dev/vite-plus@1703"
"vitest": "https://pkg.pr.new/voidzero-dev/vite-plus/@voidzero-dev/vite-plus-test@d0b407c85b560c2470395176c9f1c838b5ca8af8",
"vite-plus": "https://pkg.pr.new/voidzero-dev/vite-plus@d0b407c85b560c2470395176c9f1c838b5ca8af8"

Comment thread pnpm-workspace.yaml
'entities': '^7.0.1'
'estree-walker': ^2.0.2
'vite': npm:@voidzero-dev/vite-plus-core@latest
'vite': https://pkg.pr.new/voidzero-dev/vite-plus/@voidzero-dev/vite-plus-core@1703

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

For consistency and build reproducibility, use the exact commit hash d0b407c85b560c2470395176c9f1c838b5ca8af8 instead of the PR number @1703 here as well.

  'vite': https://pkg.pr.new/voidzero-dev/vite-plus/@voidzero-dev/vite-plus-core@d0b407c85b560c2470395176c9f1c838b5ca8af8

@fengmk2 fengmk2 changed the title chore(deps): bump vite-plus to pkg-pr-new PR #1703 (d0b407c) chore(deps): bump vite-plus to pkg-pr-new PR #1703 May 28, 2026
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