Skip to content

feat: upgrade to React 19, Vite 8, ESLint 10, TypeScript 6, React Router v7#10

Merged
willwillis merged 2 commits into
mainfrom
react-19
May 1, 2026
Merged

feat: upgrade to React 19, Vite 8, ESLint 10, TypeScript 6, React Router v7#10
willwillis merged 2 commits into
mainfrom
react-19

Conversation

@willwillis
Copy link
Copy Markdown
Owner

Summary

Major frontend dependency upgrades — all breaking version bumps deferred from the v1.5.0 safe-update pass.

  • 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 from minimatch ReDoS)
  • eslint-plugin-react-hooks 4 → 7
  • @types/react + react-dom 18 → 19
  • @testing-library/react 14 → 16
  • jsdom 23 → 29
  • Bump version to 1.6.0

Fixes

  • Added src/vite-env.d.ts with /// <reference types="vite/client" /> — required by TypeScript 6 for CSS side-effect imports (import './index.css')

Test plan

  • npm run build — passes with Vite 8
  • npm run lint — passes with ESLint 10
  • npm run test -- --run — 3/3 pass
  • npm run test:coverage -- --run — coverage runs clean
  • CI pipeline passes on all Python matrix versions

…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
Copy link
Copy Markdown

codecov Bot commented May 1, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 71.52%. Comparing base (c1ca5b3) to head (6b75aac).
⚠️ Report is 3 commits behind head on main.

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           
Flag Coverage Δ
backend 71.52% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@willwillis willwillis merged commit 1c1d576 into main May 1, 2026
10 checks passed
@willwillis willwillis deleted the react-19 branch May 1, 2026 05:36
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