Repository navigation
build(frontend): upgrade Vite 8, React 19, react-router 7 and TypeScript 7 together - #347
Conversation
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
…ipt 7 together Replaces Dependabot PRs 332-336 with one tested change. - vite ^6.4.5 -> ^8.3.7 - @vitejs/plugin-react ^4.3.4 -> ^6.3.0 - typescript ^5.7.2 -> ^7.0.2 - react-router-dom ^6.30.6 -> ^7.18.5 - react ^18.3.1 -> ^19.3.1 - react-dom ^18.3.1 -> ^19.3.1 (Dependabot's react PR left it on 18) - @types/react ^18.3.18 -> ^19.3.0 - @types/react-dom ^18.3.5 -> ^19.3.0 No source edits were needed: build, typecheck and the 90 unit tests pass unchanged. frontend/bun.lock regenerated with Bun 1.4.4. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01J4QvDiW8qD4f2JDQJ4buGo
The frontend upgrade in this pull request moves React 18 to 19. The settled-decisions list named React 18, so it is updated in the same change. The decision itself is unchanged: one UI stack, React and TypeScript, built by Vite and managed with bun. Changed on the owner's instruction of 2026-11-17; the list says a pull request does not reopen these decisions, and this one does not. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01J4QvDiW8qD4f2JDQJ4buGo
354688e to
52b16b1
Compare
|



Change and reason
One change: the pending frontend upgrades applied together, replacing five stale Dependabot PRs whose branches keep failing the branch-freshness rule. Supersedes Dependabot PRs 332, 333, 334, 335 and 336 (they are not closed by this PR).
Source changes: none were needed.
frontend/vite.config.tsalready used the function form ofmanualChunksanduseRefalready passes an explicit initial value (#344). Onlyfrontend/package.jsonandfrontend/bun.lockchange. The lockfile change is needed because these are dependency upgrades; it was regenerated with Bun 1.4.4. No test or config pins the old frontend versions (greppedtest/,config/,scripts/,.github/).Validation
Bun 1.4.4, run in
frontend/from a cleannode_moduleswithbun install --frozen-lockfile --ignore-scripts.tsc && vite build)bun test src)scripts/lint-sonar-reliability.shRuntime smoke test (headless Chromium via Playwright, built
distserved with SPA fallback, API requests answered 503): 15 routes visited by URL and 4 reached by clicking links.NOT RUN: the Julia and R test suites locally, and
check-pr-freshness.sh(the clone is shallow and the script refuses: "shallow clone; check out with fetch-depth: 0"). By hand, the merge base of HEAD and origin/main equals origin/main (e4e39aa), and the branch has one commit and no merge commits.Scope
Left out: any source refactor,
.github/dependabot.yml, and CONTRIBUTING.md. Its "Settled decisions" section still says "React 18"; the owner decides whether to update it.Contribution checks
Generated by Claude Code
Summary by CodeRabbit