Bumped @vitejs/plugin-react to 5.2.0 - #29138
Conversation
ref https://linear.app/ghost/issue/PLA-96/spike-rolldown-vite-drop-in-build-benchmarks Behavior-neutral under stock Vite/Rollup (stays on the Babel transform, same automatic JSX runtime as 4.7.0); v5 auto-enables the Oxc fast-refresh transform only when it detects rolldown-vite. Landing this ahead of the Rolldown migration so the plugin bump is already in place.
|
Bugbot is not enabled for this team, so this pull request was not reviewed. Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs. |
|
| Command | Status | Duration | Result |
|---|---|---|---|
nx run @tryghost/admin-x-settings:test:acceptance |
✅ Succeeded | 10m 48s | View ↗ |
nx run-many --target=build --projects=tag:publi... |
✅ Succeeded | <1s | View ↗ |
nx run-many -t test:unit -p @tryghost/admin-x-d... |
✅ Succeeded | 8m 48s | View ↗ |
nx run ghost:test:ci:integration |
✅ Succeeded | 2m 43s | View ↗ |
nx run ghost:test:integration |
✅ Succeeded | 2m 51s | View ↗ |
nx run @tryghost/admin:build |
✅ Succeeded | 4m 31s | View ↗ |
nx run ghost:test:legacy |
✅ Succeeded | 2m 58s | View ↗ |
nx run-many -t lint -p ghost-monorepo,@tryghost... |
✅ Succeeded | 3m | View ↗ |
Additional runs (7) |
✅ Succeeded | ... | View ↗ |
💡 Verify your cache is correct by running tasks in a sandbox. Read docs ↗
☁️ Nx Cloud last updated this comment at 2026-07-06 18:19:48 UTC
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (1)
WalkthroughThis pull request updates the ChangesCompact Summary
Sequence Diagram(s)Not applicable for this change. Related PRs: None identified. Suggested labels: dependencies Suggested reviewers: None identified. A tiny bump, a version anew, 🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #29138 +/- ##
==========================================
- Coverage 74.29% 74.26% -0.04%
==========================================
Files 1565 1565
Lines 135738 135738
Branches 16459 16452 -7
==========================================
- Hits 100845 100803 -42
- Misses 33864 33935 +71
+ Partials 1029 1000 -29
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|

ref https://linear.app/ghost/issue/PLA-96/spike-rolldown-vite-drop-in-build-benchmarks
What changed
Bumps the shared catalog entry
@vitejs/plugin-reactfrom4.7.0to5.2.0inpnpm-workspace.yaml(+ resultingpnpm-lock.yaml). No other files touched.Why / behavior
vite ^4|5|6|7|8. On stock Vite it stays on the Babel transform with the same automatic JSX runtime as 4.7.0 — verified below.rolldown-vite. There is norolldown-viteonmain, so that path is inert here.Consumers validated
@vitejs/plugin-reactis pulled viacatalog:by 8 workspaces (admin usesplugin-react-swc, unaffected):(portal / sodo-search / announcement-bar inherit the plugin via the shared
apps/_shared/vite-public-app.mjs; comments-ui / signup-form via their own configs.)Spot-checks
apps/shade/es/shade-app.jsstill emitsimport { jsxs, jsx } from "react/jsx-runtime";; comments-ui UMD retains jsx-runtime markers.apps/shade/es/x-logo-*.jsbuilds an SVG into a workingReact.createElement("svg", …)component.Resolved as
@vitejs/plugin-react@5.2.0(vite@7.3.2).