auth-helpers icon indicating copy to clipboard operation
auth-helpers copied to clipboard

Move @supabase/supabase-js in peerDependencies

Open Olyno opened this issue 2 years ago • 2 comments

Feature request

Is your feature request related to a problem? Please describe.

Let's take the example of the Hackathon. The new version of Supabase, the rc version, is still being tested. Therefore, it would not be a good idea to update the version in the helpers. At the same time, the developers want to use it to test the new features. Changing the dependency to "peerDependencies" would solve this problem.

Describe the solution you'd like

Moving @supabase/supabase-js to peerDependencies, and let developers choose the version used.

Describe alternatives you've considered

Publishing a rc version of helpers work too.

Additional context

/

Olyno avatar Aug 17 '22 07:08 Olyno

If it was a peerDependency and the user was to install the rc version with this library, it would not work at all.

silentworks avatar Sep 02 '22 21:09 silentworks

How can we make it work better in this case? I know it was very unclear during the hackathon, and I had some compatibility issues between rc and latest

Olyno avatar Sep 02 '22 22:09 Olyno

In the latest release we moved @supabase/supabase-js to peerDependencies

david-plugge avatar Oct 25 '22 15:10 david-plugge