-
-
Notifications
You must be signed in to change notification settings - Fork 79
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
Bump peerDep to support svelte 5 #218
Comments
I believe I'm also in need of this. |
Same here, Svelte 4 is installed in our packaged build environment because of the this peer dependency This causes warnings at build time And this error in the application
We still need support for Svelte 4 though since we still got legacy apps using the same build environment. To move forward we added an overrides entry to package.json {
"overrides": {
"svelte": "^5.0.0-next.260"
}
} |
This is only an issue with the beta. The warning will go away once the final version is released |
It would be really helpful to me if Is it an option to define the peerDependency similar to "peerDependencies": {
"svelte": "^3.5.0 || ^4.0.0 || ^5.0.0-next.0 || ^5.0.0"
} Or, to support future major versions too, add an entry for major release candidates: |
I'm currently getting an npm error when I try to include this in a project that uses svelte 5 because I think npm needs to specifically be told to add beta tags: https://classic.yarnpkg.com/en/docs/dependency-versions#toc-pre-release-tags
The text was updated successfully, but these errors were encountered: