Dan6erbond / sk-auth

Authentication library for use with SvelteKit featuring built-in OAuth providers and zero restriction customization!
MIT License
577 stars 70 forks source link

[ENHANCEMENT] Build ESM Peer Dependency, Typing & Configs #27

Closed Dan6erbond closed 3 years ago

Dan6erbond commented 3 years ago

Closes #21.

Overview

Fixes the issue with using sk-auth in newer SvelteKit apps by requiring build-esm as a peer dependency, and updated package.json with an export declaration for the package itself, which will allow the future creation and export of Svelte components from this library.

Typing Enhancements

Fixed issue with typing in demo app by assigning the slimmed Reddit profile to a new variable.