feat: upgrade to React 19, Vite 8, ESLint 10, TypeScript 6, React Router v7#10
Merged
Conversation
…ter v7 Frontend major version upgrades: - React 18 → 19, react-dom 18 → 19 - react-router-dom 6 → 7 - Vite 7 → 8, @vitejs/plugin-react 4 → 6 - TypeScript 5 → 6 - ESLint 8 → 10, @eslint/js 9 → 10 - @typescript-eslint/eslint-plugin + parser 6 → 8 (fixes 6 high CVEs) - eslint-plugin-react-hooks 4 → 7 - @types/react + react-dom 18 → 19 - @testing-library/react 14 → 16 - jsdom 23 → 29 Fixes: - Add src/vite-env.d.ts with vite/client reference types required by TypeScript 6 for CSS side-effect imports Bump version to 1.6.0. Build, lint, and tests all pass.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #10 +/- ##
=======================================
Coverage 71.52% 71.52%
=======================================
Files 6 6
Lines 288 288
=======================================
Hits 206 206
Misses 82 82
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
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
Major frontend dependency upgrades — all breaking version bumps deferred from the v1.5.0 safe-update pass.
Fixes
src/vite-env.d.tswith/// <reference types="vite/client" />— required by TypeScript 6 for CSS side-effect imports (import './index.css')Test plan
npm run build— passes with Vite 8npm run lint— passes with ESLint 10npm run test -- --run— 3/3 passnpm run test:coverage -- --run— coverage runs clean