Install as npm install or build & copy dist? #20
-
What is the intent for sk-auth going forward? Right now it seems that it is set up to be pulled from github and built, then take the dist directory and put that into your project. Is that how this is to operate? I tried doing an npm install but it creates only shell package.json files with references to '../dist/'. Secondly, after pulling the source and doing an Interestingly, I tried changing the module and and target in tsconfig.json to 'es6' instead of 'esNext' and it didn't fix the issue. I am not too familiar with tsc for making this work. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
SvelteKitAuth has actually been published to NPM since yesterday. You can install it via As for the build process, it's now being handled with Rollup, which generates a |
Beta Was this translation helpful? Give feedback.
SvelteKitAuth has actually been published to NPM since yesterday. You can install it via
npm install sk-auth
oryarn add sk-auth
, but I still have to add that to theREADME.md
and documentation when I get around to it!As for the build process, it's now being handled with Rollup, which generates a
dist/
folder with the output that mirrors the original folder structure and type definitions. I still need to figure out a way to merge types fromsrc/*
,src/client/*
andsrc/providers/*
to their ownindex.d.ts
files, but the rest should work as I'm leveraging individualpackage.json
files forsk-auth/client
andsk-auth/providers
which seems to be compatible with Vite and works in two of my proj…