Skip to content

chore(deps-dev): upgrade vite to v8 with companion deps - #1163

Merged
pdettori merged 2 commits into
rossoctl:mainfrom
pdettori:chore/vite8-upgrade
Apr 8, 2026
Merged

pdettori merged 2 commits into
rossoctl:mainfrom
pdettori:chore/vite8-upgrade

Conversation

@pdettori

@pdettori pdettori commented Apr 7, 2026

Copy link
Copy Markdown
Member

Summary

  • Upgrades vite from v7.3.1 to v8.0.6 (major version — now uses Rolldown instead of Rollup)
  • Upgrades @vitejs/plugin-react from v5.1.4 to v6.0.1 (required for vite 8 compatibility)
  • Removes the rollup override (no longer needed with vite 8's Rolldown bundler)

Supersedes #1092 which bumped vite to v8 without the companion @vitejs/plugin-react upgrade, causing a peer dependency conflict (@vitejs/[email protected] only supports vite up to v7).

Test plan

  • npm install — no peer dependency conflicts
  • vite build — production build succeeds
  • vite dev server — starts in 99ms (improved from 424ms on v7)
  • Unit tests — all pass
  • Pre-commit hooks — all pass
  • CI Deploy & Test

🤖 Generated with Claude Code

Assisted-By: Claude (Anthropic AI) [email protected]

pdettori added 2 commits April 7, 2026 21:34
- vite: ^7.3.1 → ^8.0.6 (major version, now uses Rolldown)
- @vitejs/plugin-react: ^5.1.4 → ^6.0.1 (required for vite 8 compat)
- Remove rollup override (vite 8 uses rolldown, not rollup)

Fixes the peer dependency conflict in PR rossoctl#1092 where vite 8 was
bumped without updating @vitejs/plugin-react, which only supports
vite up to v7.

Tested: npm install, vite build, dev server start, unit tests all pass.

Assisted-By: Claude (Anthropic AI) <[email protected]>
Signed-off-by: Paolo Dettori <[email protected]>
npm ci was failing because the lock file had stale transitive
dependencies after the vite v7→v8 and @vitejs/plugin-react v5→v6
upgrades. Regenerated with `npm install --legacy-peer-deps`.

Assisted-By: Claude (Anthropic AI) <[email protected]>
Signed-off-by: Paolo Dettori <[email protected]>
@pdettori
pdettori force-pushed the chore/vite8-upgrade branch from 827ba12 to 6c4069d Compare April 8, 2026 01:36

@mrsabath mrsabath left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review Summary

Clean dev dependency upgrade from Vite 7 to 8 with the required companion @vitejs/plugin-react v6 bump. Correctly supersedes #1092 which had a peer dependency conflict. Rollup override removed since Vite 8 uses Rolldown. Net lockfile reduction of ~819 lines.

All CI checks pass including Deploy & Test.

Areas reviewed: Frontend deps, Security, Commit conventions, PR format
Commits: 2 commits, all signed-off ✓
CI status: All passing (including Deploy & Test) ✓

@pdettori
pdettori merged commit 4345896 into rossoctl:main Apr 8, 2026
22 checks passed
@pdettori
pdettori deleted the chore/vite8-upgrade branch April 23, 2026 19:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants