Skip to content
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

Require Svelte v4, vite-plugin-svelte v2, Vite v4 #128

Merged
merged 4 commits into from
Aug 29, 2023
Merged

Conversation

JReinhold
Copy link
Collaborator

@JReinhold JReinhold commented Aug 24, 2023

Works on #121 (comment)

cc @RSWilli

This PR upgrades the required peer dependencies:

  • @sveltejs/vite-plugin-svelte: ^2.0.0
  • svelte: ^4.0.0
  • vite: ^4.0.0

And recreates the typing changes introduced in #112 to support Svelte v4.

Telescopes on top of #127 to release a new major version. Don't merge until that has been merged and released.

@benmccann I figured I'd use this breaking opportunity to upgrade Vite and the Vite plugin, do you see any issue in that? Are the older versions still used a lot for some reason?

I've tested that this still works with types by installing this canary in a Svelte v3 project and see that it fails, and then upgrading to Svelte v4 and see that it works.

📦 Published PR as canary version: 4.0.0--canary.128.b77ea51.0

✨ Test out this PR locally via:

npm install @storybook/addon-svelte-csf@4.0.0--canary.128.b77ea51.0
# or 
yarn add @storybook/addon-svelte-csf@4.0.0--canary.128.b77ea51.0

@JReinhold JReinhold added major Increment the major version when merged dependencies Update one or more dependencies version labels Aug 24, 2023
@JReinhold JReinhold marked this pull request as ready for review August 24, 2023 08:21
Base automatically changed from peer-dep-v3 to main August 29, 2023 07:22
@JReinhold JReinhold changed the title Require svelte v4, vite-plugin-svelte v2, Vite v4 Require Svelte v4, vite-plugin-svelte v2, Vite v4 Aug 29, 2023
@JReinhold JReinhold merged commit 6a0d060 into main Aug 29, 2023
6 checks passed
@JReinhold JReinhold deleted the peer-dep-v4 branch August 29, 2023 08:38
@shilman
Copy link
Member

shilman commented Aug 29, 2023

🚀 PR was released in v4.0.0 🚀

@shilman shilman added the released This issue/pull request has been released. label Aug 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Update one or more dependencies version major Increment the major version when merged released This issue/pull request has been released.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants