diff --git a/.vscode/settings.json b/.vscode/settings.json index e5c5673..113f8b3 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,7 +1,5 @@ { - "prettier.documentSelectors": [ - "**/*.svelte" - ], + "prettier.documentSelectors": ["**/*.svelte"], "tailwindCSS.classAttributes": [ "class", "accent", @@ -117,4 +115,4 @@ "width", "zIndex" ] -} \ No newline at end of file +} diff --git a/package.json b/package.json index 0046781..b282914 100644 --- a/package.json +++ b/package.json @@ -1,45 +1,45 @@ { - "name": "", - "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", - "lint": "prettier --check . && eslint .", - "format": "prettier --write ." - }, - "devDependencies": { - "@sveltejs/adapter-auto": "^3.0.0", - "@sveltejs/kit": "^2.0.0", - "@sveltejs/vite-plugin-svelte": "^3.0.0", - "@types/eslint": "^8.56.0", - "@typescript-eslint/eslint-plugin": "^7.0.0", - "@typescript-eslint/parser": "^7.0.0", - "eslint": "^8.56.0", - "eslint-config-prettier": "^9.1.0", - "eslint-plugin-svelte": "^2.35.1", - "prettier": "^3.1.1", - "prettier-plugin-svelte": "^3.1.2", - "svelte": "^4.2.7", - "svelte-check": "^3.6.0", - "tslib": "^2.4.1", - "typescript": "^5.0.0", - "vite": "^5.0.3", - "postcss": "8.4.38", - "autoprefixer": "10.4.19", - "tailwindcss": "3.4.3", - "@skeletonlabs/skeleton": "2.10.0", - "@skeletonlabs/tw-plugin": "0.4.0", - "vite-plugin-tailwind-purgecss": "0.3.3", - "@tailwindcss/typography": "0.5.13", - "@tailwindcss/forms": "0.5.7", - "@types/node": "20.12.12" - }, - "type": "module", - "dependencies": { - "@floating-ui/dom": "1.6.5" - } -} \ No newline at end of file + "name": "openai-3-generator", + "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", + "lint": "prettier --check . && eslint .", + "format": "prettier --write ." + }, + "devDependencies": { + "@sveltejs/adapter-auto": "^3.0.0", + "@sveltejs/kit": "^2.0.0", + "@sveltejs/vite-plugin-svelte": "^3.0.0", + "@types/eslint": "^8.56.0", + "@typescript-eslint/eslint-plugin": "^7.0.0", + "@typescript-eslint/parser": "^7.0.0", + "eslint": "^8.56.0", + "eslint-config-prettier": "^9.1.0", + "eslint-plugin-svelte": "^2.35.1", + "prettier": "^3.1.1", + "prettier-plugin-svelte": "^3.1.2", + "svelte": "^4.2.7", + "svelte-check": "^3.6.0", + "tslib": "^2.4.1", + "typescript": "^5.0.0", + "vite": "^5.0.3", + "postcss": "8.4.38", + "autoprefixer": "10.4.19", + "tailwindcss": "3.4.3", + "@skeletonlabs/skeleton": "2.10.0", + "@skeletonlabs/tw-plugin": "0.4.0", + "vite-plugin-tailwind-purgecss": "0.3.3", + "@tailwindcss/typography": "0.5.13", + "@tailwindcss/forms": "0.5.7", + "@types/node": "20.12.12" + }, + "type": "module", + "dependencies": { + "@floating-ui/dom": "1.6.5" + } +} diff --git a/postcss.config.cjs b/postcss.config.cjs index 16dce0b..054c147 100644 --- a/postcss.config.cjs +++ b/postcss.config.cjs @@ -1,6 +1,6 @@ module.exports = { plugins: { tailwindcss: {}, - autoprefixer: {}, - }, -} \ No newline at end of file + autoprefixer: {} + } +}; diff --git a/src/app.html b/src/app.html index 8365edf..9278217 100644 --- a/src/app.html +++ b/src/app.html @@ -1,4 +1,4 @@ - + diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index 3ddf27b..c00f278 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -1,5 +1,6 @@ - +
+ + +

+ OpenAPI generator + 3.0.0 +

+
+ + + Schema Reference + + +
+
+ +
+
diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index 8fc580e..a776ead 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -1,15 +1,40 @@ - + + + + +

Info

+
+ +

Authentication

+
+ +

Servers

+
+ +

Paths

+
+ +

Components

+
+ + {#if tabSet === 0} +

Info

+ {/if} + {#if tabSet === 1} +

Authentication

+ {/if} + {#if tabSet === 2} +

Servers

+ {/if} + {#if tabSet === 3} +

Paths

+ {/if} + {#if tabSet === 4} +

Components

+ {/if} +
+
diff --git a/svelte.config.js b/svelte.config.js index f81a659..d1d13b6 100644 --- a/svelte.config.js +++ b/svelte.config.js @@ -7,9 +7,9 @@ const config = { // Consult https://kit.svelte.dev/docs/integrations#preprocessors // for more information about preprocessors preprocess: [vitePreprocess()], - + vitePlugin: { - inspector: true, + inspector: true }, kit: { // adapter-auto only supports some environments, see https://kit.svelte.dev/docs/adapter-auto for a list. @@ -18,4 +18,4 @@ const config = { adapter: adapter() } }; -export default config; \ No newline at end of file +export default config; diff --git a/tailwind.config.ts b/tailwind.config.ts index 10dfb25..5db5bd0 100644 --- a/tailwind.config.ts +++ b/tailwind.config.ts @@ -1,14 +1,17 @@ -import { join } from 'path' -import type { Config } from 'tailwindcss' +import { join } from 'path'; +import type { Config } from 'tailwindcss'; import forms from '@tailwindcss/forms'; import typography from '@tailwindcss/typography'; -import { skeleton } from '@skeletonlabs/tw-plugin' +import { skeleton } from '@skeletonlabs/tw-plugin'; export default { darkMode: 'class', - content: ['./src/**/*.{html,js,svelte,ts}', join(require.resolve('@skeletonlabs/skeleton'), '../**/*.{html,js,svelte,ts}')], + content: [ + './src/**/*.{html,js,svelte,ts}', + join(require.resolve('@skeletonlabs/skeleton'), '../**/*.{html,js,svelte,ts}') + ], theme: { - extend: {}, + extend: {} }, plugins: [ forms, @@ -18,10 +21,10 @@ export default { preset: [ { name: 'skeleton', - enhancements: true, - }, - ], - }, - }), - ], + enhancements: true + } + ] + } + }) + ] } satisfies Config; diff --git a/vite.config.ts b/vite.config.ts index 8e4637e..eefe408 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -4,4 +4,4 @@ import { defineConfig } from 'vite'; export default defineConfig({ plugins: [sveltekit(), purgeCss()] -}); \ No newline at end of file +});