Update Vite & related packages #4532
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Direct updates:
@vitejs/plugin-react-swc
:3.6.0
->3.9.0
electron-vite
:2.0.0
->3.1.0
vite-plugin-svgr
:4.2.0
->4.3.0
Important peer dependency updates:
vite
:5.2.8
->6.3.5
rollup
:4.17.2
->4.41.0
Note: I've removed our explicit
vite
dependency, since it's pulled in byelectron-vite
(& we only ever run Vite through electron-vite). This doesn't do much (we were already protected from peer dependency version mismatches by pnpm), but it makes the package slightly easier to updateI've tested starting the app normally (
pnpm start
) and AppImage & Windows builds on Linux. I don't think further testing is necessary, since the bundler should behave the same way on all platforms (andelectron-builder
wasn't updated)Use the following Checklist if you have changed something on the Backend or Frontend: