pingdotgg / uploadthing

File uploads for modern web devs
https://uploadthing.com
MIT License
4.26k stars 315 forks source link

Update peerDeps to support Svelte 5 (@uploadthing/svelte@7.0.3) #1028

Closed Pascaltib closed 1 month ago

Pascaltib commented 1 month ago

Describe the feature you'd like to request

After upgrading to Svelte 5 and running npm install I get:

npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: navar@0.0.1
npm ERR! Found: svelte@5.0.5
npm ERR! node_modules/svelte
npm ERR!   dev svelte@"^5.0.5" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer svelte@"^4.0.0" from @uploadthing/svelte@7.0.3
npm ERR! node_modules/@uploadthing/svelte
npm ERR!   @uploadthing/svelte@"^7.0.3" from the root project
npm ERR!

Although I can do npm install --legacy-peer-deps

I believe you can update the peerDependencies to the latest version of svelte as I can see that ^5.0.0-next.0 was already supported.

Describe the solution you'd like to see

Upgrade peer deps

Additional information

No response

๐Ÿ‘จโ€๐Ÿ‘งโ€๐Ÿ‘ฆ Contributing