Repository navigation
Update vite-plus to 1.3.0 and the worker's vitest to 5.0.5 together - #478
Merged
Merged
Conversation
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 32 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
vite-plus pins the whole @vitest/* family at its own version, and 1.3.0 carries vitest 5.0.5. So the worker's `vitest` has to move in the same change, or the tree splits into two vitest families. That split is what (vite-plus 1) and #410 (vitest 5). Done with targeted `pnpm add` (root and worker), then a bare `pnpm install`, not `pnpm up`: - The lockfile holds one vitest family, 5.0.5, and still one wrangler, 4.151.1. - `pnpm peers check` shows only the `unmet peer vite` that main already shows. vite-plus-core is aliased as `vite` and reports its own version, now 1.3.0 instead of 0.3.3. Nothing new is unmet. - The worker tests pass under vitest 5. The cloudflare pool's `SyntaxError: Unexpected identifier 'file'` that held #410 is gone with @cloudflare/vitest-plugin 1.4.4 (#469), whose peer range now includes `^5.0.0`. `pnpm vp check --fix` applied the oxfmt 0.68 -> 0.73 formatting, which was the only CI failure on #475. It changed two places: a `font-family` list in factorio.css now fits on one line, and a CLAUDE.md list item's continuation line is now indented. The CLAUDE.md coupling note also gains the 1.3.0 -> 5.0.5 pair. Both releases are older than the 3-day Renovate floor (vite-plus 1.3.0 on 2026-10-16, vitest 5.0.5 on 2026-10-15). pnpm-workspace.yaml and renovate.json5 are untouched, and no `minimumReleaseAgeExclude:` was written. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EdUbVVSnMbzGbAUT94sk5k
wormeyman
force-pushed
the
deps/vite-plus-1-vitest-5
branch
from
October 20, 2026 21:55
0e59230 to
8071bcc
Compare
Code reviewNo issues found. Checked for bugs and CLAUDE.md compliance. |
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.
Supersedes #475 (vite-plus 1) and #410 (vitest 5). Those two have to land together, so this PR does them in one hand-made branch. I have not closed either of them.
Why one PR
vite-plus pins the whole
@vitest/*family at its own version, and 1.3.0 carries vitest 5.0.5 (the coupling note in CLAUDE.md). Either Renovate PR alone splits the tree into two vitest families:#464 (4.1.12) showed the same split, with an unmet
@vitest/browser-previewpeer.Changes
package.json:vite-plus^0.3.0->^1.3.0preview-service/worker/package.json:vitest^4.1.10->^5.0.5pnpm-lock.yaml: from targetedpnpm add(root, then worker) plus a barepnpm install. Notpnpm up, so nothing else re-resolved.pnpm vp check --fix: the oxfmt 0.68 -> 0.73 formatting, which was Update dependency vite-plus to v1 - autoclosed #475's only CI failure. It touched two places:font-familylist insrc/ui/factorio.cssCLAUDE.mdCLAUDE.md: the coupling note gains "1.3.0 carries 5.0.5".What I ran (tealc, Node 26.8.2, pnpm 11.18.0)
pnpm run verifypasses in full (exit 0):vp checkandcheck:vuev5.0.5preview:test, including the worker's 4 files / 27 tests under vitest 5.0.5, with no unhandled errorsengine.wasmcheckSyntaxError: Unexpected identifier 'file'.@cloudflare/vitest-plugin1.4.4 (merged in Update cloudflare worker toolchain #469) declaresvitest: ^4.1.0 || ^5.0.0.pnpm peers checkshows nothing new. The only line is theunmet peer vitethatmainalready has (vite-plus-core is aliased asviteand reports its own version, now 1.3.0 instead of 0.3.3).4.151.1).pnpm-workspace.yamland.github/renovate.json5are unchanged.minimumReleaseAgeExclude:appears anywhere.checknow runs a lockfile supply-chain check first, and it reported "Lockfile passes supply-chain policies".pnpm auditintroduces nothing. The branch shows only the three brace-expansion lines that fix(deps): remove the brace-expansion override, which broke minimatch #477 addresses. The source-map-js linemainshows is not in this tree.Notes for review
ab5cc04, andmainhas since moved (Update dependency vue to v3.5.44 #465). Withstrictchecks it will need Update branch, and the lockfile may conflict with Renovate PRs merged in the meantime. If it does, redo the two targetedpnpm addsteps on freshmainrather than hand-merging the lockfile.TS2321: Excessive stack depthappeared with the new tsgolint (oxlint-tsgolint7.0.2004).🤖 Generated with Claude Code
https://claude.ai/code/session_01EdUbVVSnMbzGbAUT94sk5k