Repository navigation
Upgrade Vite+ to 1.7.0 - #2657
Merged
Merged
Conversation
Layer: 1-vite-plus-1-7
Layer: 1-vite-plus-1-7
kmcginnes
added a commit
that referenced
this pull request
Nov 24, 2026
## Summary These are two follow-ups to [Upgrade Vite+ to 1.7.0 (#2657)](#2657): removing a peer-dependency rule that no longer does anything, and filling in the Vite+ upgrade steps. **User-facing:** none ```diff 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 --- <sub>🤖 Written by an AI agent on my behalf.</sub>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This moves the Vite+ toolchain to 1.7.0, in step with the Docker image that's already on 1.7.0. It also lets pnpm install the TypeScript checker this release bundles,
tsrs, which ourtrustPolicy: no-downgradesetting rejects as a false positive.User-facing: none
tsrs@0.0.0-bootstrap.0, the first version oftsrs, was a staged publish. Every later release comes from trusted publishing with provenance. pnpm ranks a staged publish higher, so it reads every real release as a trust downgrade. Thetsrsmaintainers say they can't fix this (oxc-project/tsrs#945), pnpm says it works as intended (pnpm/pnpm#16689), and the Vite+ 1.7.0 release notes recommend this same exclusion. It names one exact version, so every othertsrsversion still goes through the trust check.8.3.8000: from 1.7.0 on, the@voidzero-dev/vite-plus-coreversion encodes the bundled Vite version (8.3.8).vite-plus@1.7.0declares that alias, and there is no@1.7.0core version.docs/development.mdexplains how to finish Dependabot'svite-pluspull request. It covers where to read thevitealias, and when to move or drop thetsrsexclusion, with a provenance check required first. The Dependabot comment and the supply-chain settings list now point to it.Evidence
Before: with the exclusion removed,
vp installfails withERR_PNPM_TRUST_DOWNGRADEfortsrs@7.1.0-beta.tsrs2.After: agent-tested:
vp installpasses the supply-chain policies.vp checkreports no lint or type errors under thetsrstype checker.vp testpasses: 285 files, 4112 tests.pnpm dedupe --checkpasses.Verified live: agent-tested against the npm registry. Forcing
tsrs@7.1.0-beta.tsrs3with this exclusion in place is still rejected as a trust downgrade, which shows the exclusion covers only the pinned version.Merge Danger
Door: two-way
Impact: tooling
Only the dev toolchain changes, and reverting this PR goes back to Vite+ 1.5.1.
🤖 Written by an AI agent on my behalf.