ref(sveltekit): Explicitly set `peerDependencies` for `svelte`
This PR explicitly sets Svelte 3 and 4 as peer dependencies for SvelteKit.
We already require these versions in @sentry/svelte but this peer dep conflict goes unnoticed when installing
@sentry/sveltekit. This should make it more clear on installation that we don't support Svelte 5 yet (Svelte
5 is not yet stable).
Fwiw, we do the same in NextJS with React (I assume for the same reasons)
ref #10275 ref #10318
how does this cause the e2e test fails 🙈
Not sure what's happening here but it looks like vite treats dependencies differently if they're registered as peerDependencies 🤔 I'm gonna close this for now as I think it's ok not to mention svelte explicitly in this SDK.