diff --git a/apps/svelte-app/.gitignore b/apps/svelte-app/.gitignore
new file mode 100644
index 0000000..79518f7
--- /dev/null
+++ b/apps/svelte-app/.gitignore
@@ -0,0 +1,21 @@
+node_modules
+
+# Output
+.output
+.vercel
+/.svelte-kit
+/build
+
+# OS
+.DS_Store
+Thumbs.db
+
+# Env
+.env
+.env.*
+!.env.example
+!.env.test
+
+# Vite
+vite.config.js.timestamp-*
+vite.config.ts.timestamp-*
diff --git a/apps/svelte-app/.npmrc b/apps/svelte-app/.npmrc
new file mode 100644
index 0000000..b6f27f1
--- /dev/null
+++ b/apps/svelte-app/.npmrc
@@ -0,0 +1 @@
+engine-strict=true
diff --git a/apps/svelte-app/README.md b/apps/svelte-app/README.md
new file mode 100644
index 0000000..5ce6766
--- /dev/null
+++ b/apps/svelte-app/README.md
@@ -0,0 +1,38 @@
+# create-svelte
+
+Everything you need to build a Svelte project, powered by [`create-svelte`](https://github.com/sveltejs/kit/tree/main/packages/create-svelte).
+
+## Creating a project
+
+If you're seeing this, you've probably already done this step. Congrats!
+
+```bash
+# create a new project in the current directory
+npm create svelte@latest
+
+# create a new project in my-app
+npm create svelte@latest my-app
+```
+
+## Developing
+
+Once you've created a project and installed dependencies with `npm install` (or `pnpm install` or `yarn`), start a development server:
+
+```bash
+npm run dev
+
+# or start the server and open the app in a new browser tab
+npm run dev -- --open
+```
+
+## Building
+
+To create a production version of your app:
+
+```bash
+npm run build
+```
+
+You can preview the production build with `npm run preview`.
+
+> To deploy your app, you may need to install an [adapter](https://kit.svelte.dev/docs/adapters) for your target environment.
diff --git a/apps/svelte-app/package.json b/apps/svelte-app/package.json
new file mode 100644
index 0000000..7334292
--- /dev/null
+++ b/apps/svelte-app/package.json
@@ -0,0 +1,26 @@
+{
+ "name": "@oktaytest/svelte-app",
+ "version": "0.0.1",
+ "private": true,
+ "scripts": {
+ "dev": "vite dev",
+ "build": "vite build",
+ "preview": "vite preview",
+ "check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
+ "check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch"
+ },
+ "devDependencies": {
+ "@sveltejs/adapter-auto": "^3.0.0",
+ "@sveltejs/kit": "^2.0.0",
+ "@sveltejs/vite-plugin-svelte": "^3.0.0",
+ "svelte": "^4.2.7",
+ "svelte-check": "^4.0.0",
+ "typescript": "^5.0.0",
+ "vite": "^5.0.3"
+ },
+ "dependencies": {
+ "@oktaytest/vite": "*",
+ "@oktaytest/svelte": "*"
+ },
+ "type": "module"
+}
diff --git a/apps/svelte-app/src/app.d.ts b/apps/svelte-app/src/app.d.ts
new file mode 100644
index 0000000..743f07b
--- /dev/null
+++ b/apps/svelte-app/src/app.d.ts
@@ -0,0 +1,13 @@
+// See https://kit.svelte.dev/docs/types#app
+// for information about these interfaces
+declare global {
+ namespace App {
+ // interface Error {}
+ // interface Locals {}
+ // interface PageData {}
+ // interface PageState {}
+ // interface Platform {}
+ }
+}
+
+export {};
diff --git a/apps/svelte-app/src/app.html b/apps/svelte-app/src/app.html
new file mode 100644
index 0000000..77a5ff5
--- /dev/null
+++ b/apps/svelte-app/src/app.html
@@ -0,0 +1,12 @@
+
+
+
+
+
+
+ %sveltekit.head%
+
+
+ %sveltekit.body%
+
+
diff --git a/apps/svelte-app/src/lib/index.ts b/apps/svelte-app/src/lib/index.ts
new file mode 100644
index 0000000..856f2b6
--- /dev/null
+++ b/apps/svelte-app/src/lib/index.ts
@@ -0,0 +1 @@
+// place files you want to import through the `$lib` alias in this folder.
diff --git a/apps/svelte-app/src/routes/+page.svelte b/apps/svelte-app/src/routes/+page.svelte
new file mode 100644
index 0000000..6b1a538
--- /dev/null
+++ b/apps/svelte-app/src/routes/+page.svelte
@@ -0,0 +1,27 @@
+
+
+
+
+
+
+
+
+
+
diff --git a/apps/svelte-app/static/favicon.png b/apps/svelte-app/static/favicon.png
new file mode 100644
index 0000000..825b9e6
Binary files /dev/null and b/apps/svelte-app/static/favicon.png differ
diff --git a/apps/svelte-app/svelte.config.js b/apps/svelte-app/svelte.config.js
new file mode 100644
index 0000000..4a82086
--- /dev/null
+++ b/apps/svelte-app/svelte.config.js
@@ -0,0 +1,18 @@
+import adapter from '@sveltejs/adapter-auto';
+import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
+
+/** @type {import('@sveltejs/kit').Config} */
+const config = {
+ // Consult https://kit.svelte.dev/docs/integrations#preprocessors
+ // for more information about preprocessors
+ preprocess: vitePreprocess(),
+
+ kit: {
+ // adapter-auto only supports some environments, see https://kit.svelte.dev/docs/adapter-auto for a list.
+ // If your environment is not supported, or you settled on a specific environment, switch out the adapter.
+ // See https://kit.svelte.dev/docs/adapters for more information about adapters.
+ adapter: adapter()
+ }
+};
+
+export default config;
diff --git a/apps/svelte-app/tsconfig.json b/apps/svelte-app/tsconfig.json
new file mode 100644
index 0000000..fc93cbd
--- /dev/null
+++ b/apps/svelte-app/tsconfig.json
@@ -0,0 +1,19 @@
+{
+ "extends": "./.svelte-kit/tsconfig.json",
+ "compilerOptions": {
+ "allowJs": true,
+ "checkJs": true,
+ "esModuleInterop": true,
+ "forceConsistentCasingInFileNames": true,
+ "resolveJsonModule": true,
+ "skipLibCheck": true,
+ "sourceMap": true,
+ "strict": true,
+ "moduleResolution": "bundler"
+ }
+ // Path aliases are handled by https://kit.svelte.dev/docs/configuration#alias
+ // except $lib which is handled by https://kit.svelte.dev/docs/configuration#files
+ //
+ // If you want to overwrite includes/excludes, make sure to copy over the relevant includes/excludes
+ // from the referenced tsconfig.json - TypeScript does not merge them in
+}
diff --git a/apps/svelte-app/vite.config.ts b/apps/svelte-app/vite.config.ts
new file mode 100644
index 0000000..339a2a9
--- /dev/null
+++ b/apps/svelte-app/vite.config.ts
@@ -0,0 +1,21 @@
+import { sveltekit } from "@sveltejs/kit/vite";
+import { defineConfig } from "vite";
+import { IconifyPlugin } from "@oktaytest/vite";
+
+export default defineConfig({
+ plugins: [
+ sveltekit(),
+ IconifyPlugin({
+ icons: [
+ "mdi:home",
+ "mdi:account",
+ "mdi:account-badge-outline",
+ "feather:activity",
+ "feather:alert-circle",
+ "logos:active-campaign",
+ "logos:apache-superset-icon",
+ ],
+ outputFileName: "svelte-app",
+ }),
+ ],
+});
diff --git a/packages/svelte/vite.config.ts b/packages/svelte/vite.config.ts
index 9c90638..0a3f2cc 100644
--- a/packages/svelte/vite.config.ts
+++ b/packages/svelte/vite.config.ts
@@ -15,7 +15,7 @@ export default defineConfig({
"logos:active-campaign",
"logos:apache-superset-icon",
],
- outputFileName: "vite-vue",
+ outputFileName: "svelte-library",
})
]
});