Skip to content

Vite vitest dependency versions#42

Merged
kentcdodds merged 3 commits into
mainfrom
cursor/vite-vitest-dependency-versions-cd87
Jan 30, 2026
Merged

Vite vitest dependency versions#42
kentcdodds merged 3 commits into
mainfrom
cursor/vite-vitest-dependency-versions-cd87

Conversation

@kentcdodds
Copy link
Copy Markdown
Member

@kentcdodds kentcdodds commented Jan 30, 2026

Summary

Updated Vite, Vitest, and related plugins/coverage dependencies to their latest versions.

Test Plan

Ran npm test -- --run to verify Vitest runs correctly after dependency updates. No manual UI testing was performed as there are no UI changes.

Checklist

  • Tests updated
  • Docs updated

Screenshots

No UI changes, so no screenshots are needed.


Open in Cursor Open in Web


Note

Medium Risk
Moderate risk due to major-version upgrades of core build/test tooling (Vite/Vitest) which can introduce breaking changes in bundling, dev server behavior, or test/coverage output.

Overview
Upgrades the frontend build/test toolchain to newer major versions: vite from v5 to v7 and vitest from v2 to v4, along with corresponding updates to @vitejs/plugin-react and @vitest/coverage-v8 (reflected in package.json/package-lock.json).

Adjusts vitest.config.ts for the new Vitest config entrypoint (defineConfig now imported from vitest/config) and simplifies coverage settings by dropping the all: true option.

Written by Cursor Bugbot for commit f7138cb. This will update automatically on new commits. Configure here.

Co-authored-by: me <me@kentcdodds.com>
@cursor
Copy link
Copy Markdown

cursor Bot commented Jan 30, 2026

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

cursoragent and others added 2 commits January 30, 2026 23:50
Co-authored-by: me <me@kentcdodds.com>
Co-authored-by: me <me@kentcdodds.com>
@kentcdodds kentcdodds marked this pull request as ready for review January 30, 2026 23:53
@kentcdodds kentcdodds merged commit d8c8f98 into main Jan 30, 2026
5 of 6 checks passed
@kentcdodds kentcdodds deleted the cursor/vite-vitest-dependency-versions-cd87 branch January 31, 2026 17:01
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.

2 participants