Update dependency @vitejs/plugin-react to v6 #44

Open
renovate wants to merge 1 commit from renovate/vitejs-plugin-react-6.x into main
Collaborator

This PR contains the following updates:

Package Change Age Confidence
@vitejs/plugin-react (source) ^4.4.1^6.0.0 age confidence

Release Notes

vitejs/vite-plugin-react (@​vitejs/plugin-react)

v6.0.2

Compare Source

Allow all options in reactCompilerPreset (#​1189)

This is a type only change. Only compilationMode and target options were available for reactCompilerPreset.

v6.0.1

Compare Source

Expand @rolldown/plugin-babel peer dep range (#​1146)

Expanded @rolldown/plugin-babel peer dep range to include ^0.2.0.

v6.0.0

Compare Source

v5.2.0

Compare Source

v5.1.4

Compare Source

Fix canSkipBabel not accounting for babel.overrides (#​1098)

When configuring babel.overrides without top-level plugins or presets, Babel was incorrectly skipped. The canSkipBabel function now checks for overrides.length to ensure override configurations are processed.

v5.1.3

Compare Source

v5.1.2

Compare Source

v5.1.1

Compare Source

Update code to support newer rolldown-vite (#​976)

rolldown-vite will remove optimizeDeps.rollupOptions in favor of optimizeDeps.rolldownOptions soon. This plugin now uses optimizeDeps.rolldownOptions to support newer rolldown-vite. Please update rolldown-vite to the latest version if you are using an older version.

v5.1.0

Compare Source

Add @vitejs/plugin-react/preamble virtual module for SSR HMR (#​890)

SSR applications can now initialize HMR runtime by importing @vitejs/plugin-react/preamble at the top of their client entry instead of manually calling transformIndexHtml. This simplifies SSR setup for applications that don't use the transformIndexHtml API.

Fix raw Rolldown support for Rolldown 1.0.0-beta.44+ (#​930)

Rolldown 1.0.0-beta.44+ removed the top-level jsx option in favor of transform.jsx. This plugin now uses the transform.jsx option to support Rolldown 1.0.0-beta.44+.

v5.0.4

Compare Source

Perf: use native refresh wrapper plugin in rolldown-vite (#​881)

v5.0.3

Compare Source

HMR did not work for components imported with queries with rolldown-vite (#​872)
Perf: simplify refresh wrapper generation (#​835)

v5.0.2

Compare Source

Skip transform hook completely in rolldown-vite in dev if possible (#​783)

v5.0.1

Compare Source

Set optimizeDeps.rollupOptions.transform.jsx instead of optimizeDeps.rollupOptions.jsx for rolldown-vite (#​735)

optimizeDeps.rollupOptions.jsx is going to be deprecated in favor of optimizeDeps.rollupOptions.transform.jsx.

Perf: skip babel-plugin-react-compiler if code has no "use memo" when { compilationMode: "annotation" } (#​734)
Respect tsconfig jsxImportSource (#​726)
Fix reactRefreshHost option on rolldown-vite (#​716)
Fix RefreshRuntime being injected twice for class components on rolldown-vite (#​708)
Skip babel-plugin-react-compiler on non client environment (689)

v5.0.0

Compare Source


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate.

This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/tree/main/packages/plugin-react#readme) ([source](https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react)) | [`^4.4.1` → `^6.0.0`](https://renovatebot.com/diffs/npm/@vitejs%2fplugin-react/4.7.0/6.0.2) | ![age](https://developer.mend.io/api/mc/badges/age/npm/@vitejs%2fplugin-react/6.0.2?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vitejs%2fplugin-react/4.7.0/6.0.2?slim=true) | --- ### Release Notes <details> <summary>vitejs/vite-plugin-react (@&#8203;vitejs/plugin-react)</summary> ### [`v6.0.2`](https://github.com/vitejs/vite-plugin-react/blob/HEAD/packages/plugin-react/CHANGELOG.md#602-2026-05-14) [Compare Source](https://github.com/vitejs/vite-plugin-react/compare/1e94c06995c2afe2d1fee5aea2ef9720d35a7e02...6535b55e956b425e6650ffc2cc98fd23cca1d231) ##### Allow all options in reactCompilerPreset ([#&#8203;1189](https://github.com/vitejs/vite-plugin-react/pull/1189)) This is a type only change. Only `compilationMode` and `target` options were available for `reactCompilerPreset`. ### [`v6.0.1`](https://github.com/vitejs/vite-plugin-react/blob/HEAD/packages/plugin-react/CHANGELOG.md#601-2026-03-13) [Compare Source](https://github.com/vitejs/vite-plugin-react/compare/dcc901236079ef7fa99139f7ba7beebac583f301...1e94c06995c2afe2d1fee5aea2ef9720d35a7e02) ##### Expand `@rolldown/plugin-babel` peer dep range ([#&#8203;1146](https://github.com/vitejs/vite-plugin-react/pull/1146)) Expanded `@rolldown/plugin-babel` peer dep range to include `^0.2.0`. ### [`v6.0.0`](https://github.com/vitejs/vite-plugin-react/blob/HEAD/packages/plugin-react/CHANGELOG.md#600-2026-03-12) [Compare Source](https://github.com/vitejs/vite-plugin-react/compare/fda3a86095556b49ae3c995eb57a30d4e0b8fa8d...dcc901236079ef7fa99139f7ba7beebac583f301) ### [`v5.2.0`](https://github.com/vitejs/vite-plugin-react/compare/f066114c3e6bf18f5209ff3d3ef6bf1ab46d3866...fda3a86095556b49ae3c995eb57a30d4e0b8fa8d) [Compare Source](https://github.com/vitejs/vite-plugin-react/compare/f066114c3e6bf18f5209ff3d3ef6bf1ab46d3866...fda3a86095556b49ae3c995eb57a30d4e0b8fa8d) ### [`v5.1.4`](https://github.com/vitejs/vite-plugin-react/blob/HEAD/packages/plugin-react/CHANGELOG.md#514-2026-02-10) [Compare Source](https://github.com/vitejs/vite-plugin-react/compare/cf0cb8aa3398e312f4e91b702281806aad004cd7...f066114c3e6bf18f5209ff3d3ef6bf1ab46d3866) ##### Fix `canSkipBabel` not accounting for `babel.overrides` ([#&#8203;1098](https://github.com/vitejs/vite-plugin-react/pull/1098)) When configuring `babel.overrides` without top-level plugins or presets, Babel was incorrectly skipped. The `canSkipBabel` function now checks for `overrides.length` to ensure override configurations are processed. ### [`v5.1.3`](https://github.com/vitejs/vite-plugin-react/blob/HEAD/packages/plugin-react/CHANGELOG.md#513-2026-02-02) [Compare Source](https://github.com/vitejs/vite-plugin-react/compare/f127a24376a90a82acf5b8aad4be750bec3045f3...cf0cb8aa3398e312f4e91b702281806aad004cd7) ### [`v5.1.2`](https://github.com/vitejs/vite-plugin-react/blob/HEAD/packages/plugin-react/CHANGELOG.md#512-2025-12-08) [Compare Source](https://github.com/vitejs/vite-plugin-react/compare/23db72731b7c9c3d57a8188f0395d2ec90a6e2f6...f127a24376a90a82acf5b8aad4be750bec3045f3) ### [`v5.1.1`](https://github.com/vitejs/vite-plugin-react/blob/HEAD/packages/plugin-react/CHANGELOG.md#511-2025-11-12) [Compare Source](https://github.com/vitejs/vite-plugin-react/compare/3e5a3742e94be975cbcec230fbab5e801b80dc5b...23db72731b7c9c3d57a8188f0395d2ec90a6e2f6) ##### Update code to support newer `rolldown-vite` ([#&#8203;976](https://github.com/vitejs/vite-plugin-react/pull/976)) `rolldown-vite` will remove `optimizeDeps.rollupOptions` in favor of `optimizeDeps.rolldownOptions` soon. This plugin now uses `optimizeDeps.rolldownOptions` to support newer `rolldown-vite`. Please update `rolldown-vite` to the latest version if you are using an older version. ### [`v5.1.0`](https://github.com/vitejs/vite-plugin-react/blob/HEAD/packages/plugin-react/CHANGELOG.md#510-2025-10-24) [Compare Source](https://github.com/vitejs/vite-plugin-react/compare/450d7df80a52c45f3da7a9612d96a4913f565ed7...3e5a3742e94be975cbcec230fbab5e801b80dc5b) ##### Add `@vitejs/plugin-react/preamble` virtual module for SSR HMR ([#&#8203;890](https://github.com/vitejs/vite-plugin-react/pull/890)) SSR applications can now initialize HMR runtime by importing `@vitejs/plugin-react/preamble` at the top of their client entry instead of manually calling `transformIndexHtml`. This simplifies SSR setup for applications that don't use the `transformIndexHtml` API. ##### Fix raw Rolldown support for Rolldown 1.0.0-beta.44+ ([#&#8203;930](https://github.com/vitejs/vite-plugin-react/pull/930)) Rolldown 1.0.0-beta.44+ removed the top-level `jsx` option in favor of `transform.jsx`. This plugin now uses the `transform.jsx` option to support Rolldown 1.0.0-beta.44+. ### [`v5.0.4`](https://github.com/vitejs/vite-plugin-react/blob/HEAD/packages/plugin-react/CHANGELOG.md#504-2025-09-27) [Compare Source](https://github.com/vitejs/vite-plugin-react/compare/8293cb38945e56729b5b045b09858da6b78ba3a3...450d7df80a52c45f3da7a9612d96a4913f565ed7) ##### Perf: use native refresh wrapper plugin in rolldown-vite ([#&#8203;881](https://github.com/vitejs/vite-plugin-react/pull/881)) ### [`v5.0.3`](https://github.com/vitejs/vite-plugin-react/blob/HEAD/packages/plugin-react/CHANGELOG.md#503-2025-09-17) [Compare Source](https://github.com/vitejs/vite-plugin-react/compare/1f4b4d9523c0cbdba66724e83477309ef65cac96...8293cb38945e56729b5b045b09858da6b78ba3a3) ##### HMR did not work for components imported with queries with rolldown-vite ([#&#8203;872](https://github.com/vitejs/vite-plugin-react/pull/872)) ##### Perf: simplify refresh wrapper generation ([#&#8203;835](https://github.com/vitejs/vite-plugin-react/pull/835)) ### [`v5.0.2`](https://github.com/vitejs/vite-plugin-react/blob/HEAD/packages/plugin-react/CHANGELOG.md#502-2025-08-28) [Compare Source](https://github.com/vitejs/vite-plugin-react/compare/efe434417542cdbfbb00503d4c35ffbba49d3efa...1f4b4d9523c0cbdba66724e83477309ef65cac96) ##### Skip transform hook completely in rolldown-vite in dev if possible ([#&#8203;783](https://github.com/vitejs/vite-plugin-react/pull/783)) ### [`v5.0.1`](https://github.com/vitejs/vite-plugin-react/blob/HEAD/packages/plugin-react/CHANGELOG.md#501-2025-08-19) [Compare Source](https://github.com/vitejs/vite-plugin-react/compare/9e4a94428dae6d39ccc13e0220f2abc7a76aeb5e...efe434417542cdbfbb00503d4c35ffbba49d3efa) ##### Set `optimizeDeps.rollupOptions.transform.jsx` instead of `optimizeDeps.rollupOptions.jsx` for rolldown-vite ([#&#8203;735](https://github.com/vitejs/vite-plugin-react/pull/735)) `optimizeDeps.rollupOptions.jsx` is going to be deprecated in favor of `optimizeDeps.rollupOptions.transform.jsx`. ##### Perf: skip `babel-plugin-react-compiler` if code has no `"use memo"` when `{ compilationMode: "annotation" }` ([#&#8203;734](https://github.com/vitejs/vite-plugin-react/pull/734)) ##### Respect tsconfig `jsxImportSource` ([#&#8203;726](https://github.com/vitejs/vite-plugin-react/pull/726)) ##### Fix `reactRefreshHost` option on rolldown-vite ([#&#8203;716](https://github.com/vitejs/vite-plugin-react/pull/716)) ##### Fix `RefreshRuntime` being injected twice for class components on rolldown-vite ([#&#8203;708](https://github.com/vitejs/vite-plugin-react/pull/708)) ##### Skip `babel-plugin-react-compiler` on non client environment ([689](https://github.com/vitejs/vite-plugin-react/pull/689)) ### [`v5.0.0`](https://github.com/vitejs/vite-plugin-react/blob/HEAD/packages/plugin-react/CHANGELOG.md#500-2025-08-07) [Compare Source](https://github.com/vitejs/vite-plugin-react/compare/80417060f7bc239d5100e1b47c819e8364c7d551...9e4a94428dae6d39ccc13e0220f2abc7a76aeb5e) </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yMjAuMCIsInVwZGF0ZWRJblZlciI6IjQzLjIyMC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
Update dependency @vitejs/plugin-react to v6
Some checks failed
Portainer Stack CI / Validate Portainer stack files (pull_request) Failing after 14s
CI / Install, Lint, Test, Build (pull_request) Failing after 26s
89e9303ac3
Some checks failed
Portainer Stack CI / Validate Portainer stack files (pull_request) Failing after 14s
CI / Install, Lint, Test, Build (pull_request) Failing after 26s
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin renovate/vitejs-plugin-react-6.x:renovate/vitejs-plugin-react-6.x
git switch renovate/vitejs-plugin-react-6.x

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch main
git merge --no-ff renovate/vitejs-plugin-react-6.x
git switch renovate/vitejs-plugin-react-6.x
git rebase main
git switch main
git merge --ff-only renovate/vitejs-plugin-react-6.x
git switch renovate/vitejs-plugin-react-6.x
git rebase main
git switch main
git merge --no-ff renovate/vitejs-plugin-react-6.x
git switch main
git merge --squash renovate/vitejs-plugin-react-6.x
git switch main
git merge --ff-only renovate/vitejs-plugin-react-6.x
git switch main
git merge renovate/vitejs-plugin-react-6.x
git push origin main
Sign in to join this conversation.
No description provided.