-
-
Notifications
You must be signed in to change notification settings - Fork 101
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
Move svelte, sveltekit and vite into peerDependencies #1398
base: main
Are you sure you want to change the base?
Conversation
🦋 Changeset detectedLatest commit: 088a020 The changes in this PR will be included in the next version bump. This PR includes changesets to release 8 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
✅ Deploy Preview for houdini-docs-next canceled.
|
✅ Deploy Preview for houdinigraphql canceled.
|
I think it may be worth considering doing the same with vite |
Ah yeah good point. I might probably also move svelte-kit as well... |
3dada55
to
9801cdf
Compare
The latest Svelte update added a new element (
<svelte:boundary>
). However, upgrading an existing houdini + svelte project to this latest version gives errors when generating, as the version of the svelte compiler that houdini uses is outdated.By moving the svelte dependency into peerDependencies, we use the svelte version that the project is using. The only requirement we now have is that it matches
^5.0.0
.(The updated wrangler version in e2e/react is because I was having compilation errors in better-sqlite3 while installing)
To help everyone out, please make sure your PR does the following:
pnpm run tests
andcd integration && pnpm run tests
pnpm changeset