Dan6erbond / sk-auth

Authentication library for use with SvelteKit featuring built-in OAuth providers and zero restriction customization!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Issues with peer dependencies found

vhscom opened this issue · comments

Dependents using this library face warnings which are erroneous in the context of a development workflow. Here's an example of the warnings generated (outlined with box):

Screen Shot 2022-03-08 at 10 45 18 AM

I believe this can be addressed by adding peerDependenciesMeta and setting "optional": true. Tried peerDependenciesMeta with some success but it's not a complete solution. See note here for investigation.

adding build-esm breaks my svlete-kit, getting strange errors of imports not found, at least in dev...
Without it runs fine.

I get errors like this with npm when installing nightwind with sveltekit

Oops. Closed in error. Updated OP to add a note on how to squelch the warnings.