-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: update vite, vitest and @sveltejs/vite-plugin-svelte #1287
Conversation
84cd824
to
f0e53a9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The build looked fine, but when I tried to run this branch the extension doesn't load at all. This is what's in the extension console log:
Uncaught Svelte error: lifecycle_function_unavailable
`mount(...)` is not available on the server
https://svelte.dev/e/lifecycle_function_unavailable
at hh (http://f5e6f914-4457-48f4-b580-11e4f97cd4f0.webview.localhost:44000/media/index-BWVFyiS1.js:23:11416)
at uh (http://f5e6f914-4457-48f4-b580-11e4f97cd4f0.webview.localhost:44000/media/index-BWVFyiS1.js:25:147)
at http://f5e6f914-4457-48f4-b580-11e4f97cd4f0.webview.localhost:44000/media/index-BWVFyiS1.js:91:894
at http://f5e6f914-4457-48f4-b580-11e4f97cd4f0.webview.localhost:44000/media/index-BWVFyiS1.js:1:173
at http://f5e6f914-4457-48f4-b580-11e4f97cd4f0.webview.localhost:44000/media/index-BWVFyiS1.js:91:916
what the e2e tests do then ? |
f0e53a9
to
22af752
Compare
@deboer-tim I downgraded vite, on my end it's ok |
fixes dependabot issues Signed-off-by: Florent Benoit <[email protected]>
22af752
to
d340540
Compare
rebased to fix conflicts |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yup, much better now.
FYI upgrading to vite 6 MAYYY (haven't 100% confirmed yet) have messed up how we show svelte code, that's why I had to revert it before: #1116 See new issues: Pointing towards our svelte code not being up-to-date, so most likely fix it svelte side rather than reverting back to 5 again. |
I think reactivity should not be related to the updated components directly maybe there is a problem in the component, just that it's being highlighted |
What does this PR do?
update vite, vitest and @sveltejs/vite-plugin-svelte
try to update as vitest 3 has default with vite 6, and @sveltejs/vite-plugin-svelte requires new vite 6
so need to update 3 of them at once
Screenshot / video of UI
What issues does this PR fix or reference?
How to test this PR?
please test carefully