Commit Graph

19 Commits

Author SHA1 Message Date
RaviAnand Mohabir
61d14c264c 🍱 Add banner.png 2021-05-23 18:00:00 +02:00
RaviAnand Mohabir
a5495a0980 💚 Disable publishing to GH package repository 2021-05-23 17:51:37 +02:00
RaviAnand Mohabir
b13b2f3aab 💚 Update Node version in GH Action 2021-05-23 17:49:32 +02:00
RaviAnand Mohabir
1161dc10d7 💚 Update build command to yarn build instead of yarn dev 2021-05-23 17:47:52 +02:00
RaviAnand Mohabir
76056c576f 💚 Rename master branch to main in GitHub action 2021-05-23 17:47:03 +02:00
RaviAnand Mohabir
cdd821be66 🔧 Update repo URL 2021-05-23 17:45:30 +02:00
RaviAnand Mohabir
ffeba79157 🔧 Update repo URL 2021-05-23 17:43:31 +02:00
RaviAnand Mohabir
dbe3394782 👷 Create NPM publish workflow and set version to 0.1.0 2021-05-23 17:41:54 +02:00
Dan6erbond
591bfbbbc6
[ENHANCEMENT] Distributable Bundle with Rollup and ESBuild (#11)
* ⚰️ Remove `package-lock.json` to avoid conflicts with Yarn

* ⚰️ Remove `jwt.ts`

* 🏗️ Setup Rollup with entry module `package.json` files and use named exports exclusively for compatibility with CommonJS

* ⬆️ Use `file:..` instead of `link:..` in demo app to test local installation

* 🏷️ Export types as individual files to avoid protected access errors

* 🚨 Explicit `export types`

* 💚 Use ESBuild to bundle with Rollup, update Rollup deps and types

* 🐛 Remove usage of SvelteKit modules

Disable implicitly updating session, routing and getting redirect URL from SvelteKit modules due to missing exports.
2021-05-23 17:32:42 +02:00
Dan6erbond
5d1802fea4
[ENHANCEMENT] Demo / Testing App, Updated Build Configuration (#8)
* 🎉 Scaffold example app with SvelteKit barebones skeleton

* 💄 Add TWCSS and base styles with fonts Inter/Fira Mono

* 🔧 Add `exports` and `types` to `package.json` and update `tsconfig.json` for Vite-compatible build output

*  Add local dependency to `svelte-kit-auth` as symlink

* 🔧 Update example app env variables

*  Add basic auth config to example app

* ♻️ Export all providers from `/providers` module

* 🎨 Make `Auth` class default export of lib

* 🚚 Rename `example-app` to `app`

*  Use `file:` instead of `link:` for local dependency to `svelte-kit-auth`

* 🔧 Add `JWT_SECRET_KEY` to env and config

* 🎨 Add `RedditOAuthProvider.profileHandler` for general use and stripping of payload

*  Export auth API routes from app

* ⬆️ Update local deps

*  Add `host` and `basePath` to general config and improve recognition of routes

* 🚨 Exclude `app` from TS build

* 📌 Undo `file:` mapping dependency for usage with Vite

TODO: Needs to be fixed for release.

* 🎨 Enable TS `strict` mode and set target to `es2017`

* 📌 Undo `file:` mapping dependency for usage with Vite

* 🚨 Format and lint files

* 🍱 Add logo

*  Add login and profile routes to example app for showcase and testing

* 💄 Add PrismJS and create homepage with example

* 🔨 Add `build:watch`
2021-05-21 17:59:21 +02:00
RaviAnand Mohabir
2b21911d22 🏷️ Export types from index.ts 2021-05-17 19:12:58 +02:00
RaviAnand Mohabir
8de1f5cc42 🚚 Move lib to root src/ folder 2021-05-17 19:10:41 +02:00
RaviAnand Mohabir
74ec18eb4a 🔧 Create tsconfig.json 2021-05-17 19:01:40 +02:00
RaviAnand Mohabir
7aac5a5601 🙈 Add dist/ folder to .gitignore 2021-05-17 19:01:16 +02:00
RaviAnand Mohabir
65acc7dadc 🚨 Add Svelte dev dependencies 2021-05-17 19:00:01 +02:00
RaviAnand Mohabir
8c60a95dc1 🎨 Lint files 2021-05-17 18:48:08 +02:00
RaviAnand Mohabir
d7c4438f43 Import codebase from Cheeri-No 2021-05-17 18:47:55 +02:00
RaviAnand Mohabir
4ad637dd36 🎉 Initialize NPM project and install dependencies 2021-05-17 18:47:18 +02:00
RaviAnand Mohabir
5f53fd851c Initial commit 2021-05-17 18:34:30 +02:00