Skip to content

Drop the vite peer rules and finish the Vite+ upgrade steps - #2660

Merged
kmcginnes merged 2 commits into
mainfrom
vite-plus-upgrade-follow-ups
Nov 24, 2026
Merged

kmcginnes merged 2 commits into
mainfrom
vite-plus-upgrade-follow-ups

Conversation

@kmcginnes

Copy link
Copy Markdown
Collaborator

Summary

These are two follow-ups to Upgrade Vite+ to 1.7.0 (#2657): removing a peer-dependency rule that no longer does anything, and filling in the Vite+ upgrade steps.

User-facing: none

 catalog:
   vite: npm:@voidzero-dev/vite-plus-core@8.3.8000
   vite-plus: 1.7.0
-peerDependencyRules:
-  allowAny:
-    - vite
-  allowedVersions:
-    vite: "*"
  • Peer rules: we needed these while the vite catalog alias carried the vite-plus version (1.5.1), which no plugin's vite peer range accepts. Since 1.7.0 the alias is vite-plus-core@8.3.8000, which those ranges do accept. That makes the rules dead.
  • Docs: in docs/development.md, the "Upgrading Vite+" link now sits on the sentence about finishing Dependabot's vite-plus pull request. It used to sit on the sentence about a major upgrade, which that section doesn't cover. The section's steps also gain the same last two steps that "Upgrading pnpm" has: run the checks and tests, then commit the changed files.

Evidence

After: agent-tested by installing from a clean copy of main and of this branch:

  • Lockfile: both installs produce a byte-identical pnpm-lock.yaml.
  • Peer warnings: pnpm peers check prints the same output on both.
  • Checks: vp check, vp test (4112 tests) and pnpm dedupe --check pass.

Merge Danger

Door: two-way

Impact: none


🤖 Written by an AI agent on my behalf.

Layer: 1-vite-plus-upgrade-follow-ups
Layer: 1-vite-plus-upgrade-follow-ups

@kmcginnes kmcginnes left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Approved

@kmcginnes
kmcginnes merged commit 4f3f88d into main Nov 24, 2026
4 checks passed
@kmcginnes
kmcginnes deleted the vite-plus-upgrade-follow-ups branch November 24, 2026 19:39
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