Skip to content

Update vite-plus to 1.3.0 and the worker's vitest to 5.0.5 together - #478

Merged
wormeyman merged 2 commits into
mainfrom
deps/vite-plus-1-vitest-5
Oct 20, 2026
Merged

wormeyman merged 2 commits into
mainfrom
deps/vite-plus-1-vitest-5

Conversation

@wormeyman

Copy link
Copy Markdown
Collaborator

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-preview peer.

Changes

  • package.json: vite-plus ^0.3.0 -> ^1.3.0
  • preview-service/worker/package.json: vitest ^4.1.10 -> ^5.0.5
  • pnpm-lock.yaml: from targeted pnpm add (root, then worker) plus a bare pnpm install. Not pnpm 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:
    • a font-family list in src/ui/factorio.css
    • a list-item continuation line in CLAUDE.md
  • CLAUDE.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 verify passes in full (exit 0):
    • vp check and check:vue
    • the app suite, 127 files / 1213 tests (3 skipped), running on v5.0.5
    • preview:test, including the worker's 4 files / 27 tests under vitest 5.0.5, with no unhandled errors
    • the whole Rust gate, including the committed engine.wasm check
  • Update dependency vitest to v5 - autoclosed #410's blocker is gone. That was the cloudflare pool failing with SyntaxError: Unexpected identifier 'file'. @cloudflare/vitest-plugin 1.4.4 (merged in Update cloudflare worker toolchain #469) declares vitest: ^4.1.0 || ^5.0.0.
  • pnpm peers check shows nothing new. The only line is the unmet peer vite that main already has (vite-plus-core is aliased as vite and reports its own version, now 1.3.0 instead of 0.3.3).
  • Lockfile: one vitest family (5.0.5) and still exactly one wrangler (4.151.1).
  • Age rules hold:
    • vite-plus 1.3.0 was published 2026-10-16 and vitest 5.0.5 on 2026-10-15. Both clear Renovate's 3-day floor and pnpm's 1440-minute floor.
    • pnpm-workspace.yaml and .github/renovate.json5 are unchanged.
    • No minimumReleaseAgeExclude: appears anywhere.
    • vp 1.3's check now runs a lockfile supply-chain check first, and it reported "Lockfile passes supply-chain policies".
  • pnpm audit introduces 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 line main shows is not in this tree.

Notes for review

  • This branch was cut from ab5cc04, and main has since moved (Update dependency vue to v3.5.44 #465). With strict checks it will need Update branch, and the lockfile may conflict with Renovate PRs merged in the meantime. If it does, redo the two targeted pnpm add steps on fresh main rather than hand-merging the lockfile.
  • No TS2321: Excessive stack depth appeared with the new tsgolint (oxlint-tsgolint 7.0.2004).

🤖 Generated with Claude Code

https://claude.ai/code/session_01EdUbVVSnMbzGbAUT94sk5k

@coderabbitai

coderabbitai Bot commented Oct 20, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

You'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.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: aad3a529-8aba-4386-900b-de3f6d535d7c
📥 Commits

Reviewing files that changed from the base of the PR and between 568f490 and c5edae1.

⛔ Files ignored due to path filters: 1
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing: 4
  • CLAUDE.md
  • package.json
  • preview-service/worker/package.json
  • src/ui/factorio.css
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

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
wormeyman force-pushed the deps/vite-plus-1-vitest-5 branch from 0e59230 to 8071bcc Compare October 20, 2026 21:55
@claude

claude Bot commented Oct 20, 2026

Copy link
Copy Markdown

Code review

No issues found. Checked for bugs and CLAUDE.md compliance.

@wormeyman
wormeyman merged commit 85e4877 into main Oct 20, 2026
10 checks passed
@wormeyman
wormeyman deleted the deps/vite-plus-1-vitest-5 branch October 20, 2026 22:22
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