Initial commit

This commit is contained in:
jbl 2024-10-25 13:33:40 +02:00
commit 2eb9934b3a
28 changed files with 5344 additions and 0 deletions

21
.gitignore vendored Normal file
View file

@ -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-*

1
.npmrc Normal file
View file

@ -0,0 +1 @@
engine-strict=true

4
.prettierignore Normal file
View file

@ -0,0 +1,4 @@
# Package Managers
package-lock.json
pnpm-lock.yaml
yarn.lock

11
.prettierrc Normal file
View file

@ -0,0 +1,11 @@
{
"useTabs": true,
"singleQuote": true,
"trailingComma": "none",
"printWidth": 100,
"plugins": ["prettier-plugin-svelte", "prettier-plugin-tailwindcss"],
"arrowParens": "avoid",
"bracketSpacing": false,
"svelteSortOrder": "options-scripts-markup-styles",
"overrides": [{"files": "*.svelte", "options": {"parser": "svelte"}}]
}

38
README.md Normal file
View file

@ -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.

32
eslint.config.js Normal file
View file

@ -0,0 +1,32 @@
import eslint from '@eslint/js';
import prettier from 'eslint-config-prettier';
import svelte from 'eslint-plugin-svelte';
import globals from 'globals';
import tseslint from 'typescript-eslint';
export default tseslint.config(
eslint.configs.recommended,
...tseslint.configs.recommended,
...svelte.configs['flat/recommended'],
prettier,
...svelte.configs['flat/prettier'],
{
languageOptions: {
globals: {
...globals.browser,
...globals.node
}
}
},
{
files: ['**/*.svelte'],
languageOptions: {
parserOptions: {
parser: tseslint.parser
}
}
},
{
ignores: ['build/', '.svelte-kit/', 'dist/']
}
);

4707
package-lock.json generated Normal file

File diff suppressed because it is too large Load diff

42
package.json Normal file
View file

@ -0,0 +1,42 @@
{
"name": "000---homepage",
"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": {
"@catppuccin/daisyui": "^1.1.2",
"@catppuccin/tailwindcss": "^0.1.6",
"@sveltejs/adapter-auto": "^3.0.0",
"@sveltejs/kit": "^2.0.0",
"@sveltejs/vite-plugin-svelte": "^3.0.0",
"@types/eslint": "^9.6.0",
"autoprefixer": "^10.4.20",
"daisyui": "^4.12.12",
"eslint": "^9.0.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-svelte": "^2.36.0",
"globals": "^15.0.0",
"postcss": "^8.4.47",
"prettier": "^3.3.3",
"prettier-plugin-svelte": "^3.2.7",
"svelte": "^4.2.7",
"svelte-check": "^4.0.0",
"tailwindcss": "^3.4.13",
"typescript": "^5.0.0",
"typescript-eslint": "^8.0.0",
"vite": "^5.0.3"
},
"type": "module",
"dependencies": {
"prettier-plugin-tailwindcss": "^0.6.8",
"vidstack": "^1.12.11"
}
}

6
postcss.config.js Normal file
View file

@ -0,0 +1,6 @@
export default {
plugins: {
tailwindcss: {},
autoprefixer: {}
}
};

13
src/app.css Normal file
View file

@ -0,0 +1,13 @@
@tailwind base;
@tailwind components;
@tailwind utilities;
@font-face {
font-family: 'Hack Nerd Font';
src: url('/fonts/HackNerdFont.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}
body {
font-family: 'Hack Nerd Font', sans-serif;
}

13
src/app.d.ts vendored Normal file
View file

@ -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 {};

12
src/app.html Normal file
View file

@ -0,0 +1,12 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="icon" href="%sveltekit.assets%/favicon.png" />
%sveltekit.head%
</head>
<body data-sveltekit-preload-data="hover" class="min-h-screen bg-ctp-base text-ctp-text">
<div style="display: contents">%sveltekit.body%</div>
</body>
</html>

1
src/lib/index.ts Normal file
View file

@ -0,0 +1 @@
// place files you want to import through the `$lib` alias in this folder.

View file

@ -0,0 +1,5 @@
<script>
import '../app.css';
</script>
<slot />

334
src/routes/+page.svelte Normal file
View file

@ -0,0 +1,334 @@
<body class="bg-ctp-base text-ctp-text">
<!-- Metadata -->
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="description" content="A personal website by jbugel." />
<meta name="keywords" content="jbugel, programming, computer science, blog, personal website" />
<meta name="author" content="jbugel" />
<!-- Header -->
<div class="navbar sticky top-0 z-50 bg-ctp-mantle rounded-box">
<div class="flex-1 px-2 lg:flex-none">
<a class="text-lg font-bold" href="/">jbugel.xyz</a>
</div>
<div class="flex flex-1 justify-end px-2">
<div class="flex items-stretch">
<div class="flex items-stretch" role="menu">
<ul
class="rounded-md hover:bg-ctp-lavender hover:text-ctp-base p-2 hidden sm:block"
>
<a href="#projects">Projects</a>
</ul>
<ul
class="rounded-md hover:bg-ctp-lavender hover:text-ctp-base p-2 hidden sm:block"
>
<a href="#skills">Skills</a>
</ul>
<ul
class="rounded-md hover:bg-ctp-lavender hover:text-ctp-base p-2 hidden sm:block"
>
<a href="#blog">Blog</a>
</ul>
<ul
class="rounded-md hover:bg-ctp-lavender hover:text-ctp-base p-2 hidden sm:block"
>
<a href="/music">Music</a>
</ul>
</div>
</div>
</div>
<div class="dropdown dropdown-end dropdown-hover sm:hidden">
<div
tabindex="0"
role="button"
class="btn btn-ghost rounded-btn hover:bg-ctp-lavender hover:text-ctp-base"
>
Quick Links
</div>
<ul
role="menu"
class="menu dropdown-content z-[1] w-52 rounded-box bg-ctp-crust p-2 shadow"
>
<li
role="menuitem"
class="rounded-md hover:bg-ctp-lavender hover:text-ctp-base"
>
<a href="#projects">Projects</a>
</li>
<li
role="menuitem"
class="rounded-md hover:bg-ctp-lavender hover:text-ctp-base"
>
<a href="#skills">Skills</a>
</li>
<li
role="menuitem"
class="rounded-md hover:bg-ctp-lavender hover:text-ctp-base"
>
<a href="#blog">Blog</a>
</li>
<li
role="menuitem"
class="rounded-md hover:bg-ctp-lavender hover:text-ctp-base"
>
<a href="/music">Music</a>
</li>
<li
role="menuitem"
class="rounded-md hover:bg-ctp-lavender hover:text-ctp-base"
>
<a href="/contact">Contact Me</a>
</li>
</ul>
</div>
</div>
<div class="flex justify-center p-28 text-2xl md:text-3xl lg:text-5xl">
Welcome to my Portfolio &#x1F44B;&#x1F3FB;
</div>
<div>
<h2 class="flex justify-center text-xl sm:text-2xl md:text-3xl lg:text-4xl">
About me
</h2>
<p class="justify-center p-8 text-center">
<span class="block"
>Hey there, I'm JBugel, a 17-year-old student from Austria 🇦🇹 with a
passion for making things look beautiful.</span
>
<span class="block"
>I started learning to code when I was 14 and since then I've been
learning and improving my skills.</span
>
<span class="block"
>Currently, I'm mostly interested in web development. I like to share my
(inactive) projects on GitHub.</span
>
<span class="block"
>When I'm not coding, you can find me listening to or even making music,
reading a book, or watching a movie or a show.</span
>
</p>
</div>
<div></div>
<div>
<section id="projects">
<h2
class="flex justify-center pt-60 pb-12 text-xl sm:text-2xl md:text-3xl lg:text-4xl"
>
My Projects
</h2>
<div class="flex justify-center px-4">
<div class="join join-vertical w-full max-w-4xl space-y-4">
<div
class="collapse collapse-arrow join-item border-ctp-lavender border hover:bg-ctp-mantle"
>
<input type="checkbox" />
<div class="collapse-title text-xl font-medium">
jbugel.xyz - My Website
</div>
<div class="collapse-content">
<p>So basically, one of my projects is this website here.</p>
</div>
</div>
<div
class="collapse collapse-arrow join-item border-ctp-lavender border hover:bg-ctp-mantle"
>
<input type="checkbox" />
<div class="collapse-title text-xl font-medium">
016622.xyz - Guides
</div>
<div class="collapse-content">
<p>Also known as GFE - Guides for everyone.</p>
<p>I try to make guides, which everyone can follow.</p>
</div>
</div>
<div
class="collapse collapse-arrow join-item border-ctp-lavender border hover:bg-ctp-mantle"
>
<input type="checkbox" />
<div class="collapse-title text-xl font-medium">
My custom link shortener
</div>
<div class="collapse-content">
<p>
I had issues with YOURLS and I decided to make my own together
with inspectorrex.
</p>
</div>
</div>
<div
class="collapse collapse-arrow join-item border-ctp-lavender border hover:bg-ctp-mantle"
>
<input type="checkbox" />
<div class="collapse-title text-xl font-medium">
Tekk / Hardtekk
</div>
<div class="collapse-content">
<p>
As said before, I also do Music, it's a german genre called
Hardtekk or Tekk.
</p>
<p>
The music is mostly ranges from 160-190BPMs. You can find my
music almost everywhere.
</p>
<p>
If you would like
<a href="https://artist.link/jbugel" class="link"
>you can give it a listen</a
>
</p>
</div>
</div>
</div>
</div>
</section>
<section id="skills">
<h2
class="flex justify-center pt-60 pb-12 text-xl sm:text-2xl md:text-3xl lg:text-4xl"
>
My Skills
</h2>
<div class="flex flex-wrap justify-center p-8">
<div class="p-4">
<a
href="https://developer.mozilla.org/en-US/docs/Web/HTML"
target="_blank"
class="text-center bg-ctp-mantle rounded-lg p-6 flex flex-col items-center hover:bg-ctp-crust w-40"
>
<img src="html.svg" alt="HTML" class="h-12 w-12" />
<p class="mt-4">HTML</p>
<progress
class="progress progress-primary w-full"
value="80"
max="100"
></progress>
</a>
</div>
<div class="p-4">
<a
href="https://developer.mozilla.org/en-US/docs/Web/CSS"
target="_blank"
class="text-center bg-ctp-mantle rounded-lg p-6 flex flex-col items-center hover:bg-ctp-crust w-40"
>
<img src="css.svg" alt="CSS" class="h-12 w-12" />
<p class="mt-4">CSS</p>
<progress
class="progress progress-primary w-full"
value="80"
max="100"
></progress>
</a>
</div>
<div class="p-4">
<a
href="https://svelte.dev/"
target="_blank"
class="text-center bg-ctp-mantle rounded-lg p-6 flex flex-col items-center hover:bg-ctp-crust w-40"
>
<img src="svelte.svg" alt="Svelte" class="h-12 w-12" />
<p class="mt-4">Svelte</p>
<progress
class="progress progress-primary w-full"
value="60"
max="100"
></progress>
</a>
</div>
<div class="p-4">
<a
href="https://tailwindcss.com/"
target="_blank"
class="text-center bg-ctp-mantle rounded-lg p-6 flex flex-col items-center hover:bg-ctp-crust w-40"
>
<img src="tailwindcss.svg" alt="TailwindCSS" class="h-12 w-12" />
<p class="mt-4">TailwindCSS</p>
<progress
class="progress progress-primary w-full"
value="60"
max="100"
></progress>
</a>
</div>
</div>
</section>
<section id="blog" class="flex flex-col items-center p-28">
<h2 class="text-2xl md:text-3xl lg:text-5xl">Blog</h2>
<ul class="p-4 pb-96">
<li><a href="/blog/2024/October/hello-world">Hello, World</a></li>
</ul>
</section>
</div>
<footer class="footer footer-center rounded bg-ctp-mantle p-10 text-ctp-text">
<nav class="grid grid-flow-col gap-4">
<a class="link-hover link" href="/contact">Contact</a>
<a class="link-hover link" href="https://github.com/jbugel-lol">GitHub</a>
</nav>
<nav>
<div class="grid grid-flow-col gap-4">
<a href="https://youtube.com/@jbugelTekk" target="_blank">
<svg
xmlns="http://www.w3.org/2000/svg"
width="24"
height="24"
viewBox="0 0 12 12"
>
<path
d="M10.776 3.48c-.096-.528-.551-.912-1.08-1.032-.792-.168-2.256-.288-3.84-.288-1.583 0-3.071.12-3.863.288-.528.12-.984.48-1.08 1.032C.816 4.08.72 4.92.72 6s.096 1.92.216 2.52c.097.528.552.912 1.08 1.032.84.168 2.28.288 3.864.288s3.024-.12 3.864-.288c.528-.12.983-.48 1.08-1.032.096-.6.216-1.464.24-2.52a17 17 0 0 0-.289-2.52M4.56 7.68V4.32L7.488 6Z"
fill="#cdd6f4"
/>
</svg>
</a>
<a
href="https://open.spotify.com/artist/4QW2HVb8BGuCC0Ai3DEko5"
target="_blank"
>
<svg
xmlns="http://www.w3.org/2000/svg"
width="24"
height="24"
viewBox="0 0 12 12"
>
<path
d="M6.002.476C2.957.476.48 2.953.48 5.998s2.477 5.522 5.522 5.522 5.522-2.477 5.522-5.522S9.047.476 6.002.476M8.339 8.48a.36.36 0 0 1-.499.1c-.593-.396-1.6-.66-2.44-.66a5.5 5.5 0 0 0-1.566.222.36.36 0 1 1-.228-.683A6.2 6.2 0 0 1 5.4 7.201c.84 0 2.008.226 2.84.78a.36.36 0 0 1 .1.499m.718-1.474a.41.41 0 0 1-.568.132c-1.076-.671-2.182-.812-3.135-.804a9.6 9.6 0 0 0-1.95.219.412.412 0 1 1-.225-.793c.066-.019.925-.23 2.1-.24 1.072-.009 2.407.146 3.646.918.193.12.252.374.132.568m.716-1.723a.48.48 0 0 1-.657.171c-1.254-.736-2.779-.893-3.838-.894h-.015c-1.28 0-2.266.225-2.275.228a.48.48 0 0 1-.218-.935A12 12 0 0 1 5.264 3.6h.017c1.177.002 2.883.181 4.322 1.026a.48.48 0 0 1 .171.657"
fill="#cdd6f4"
/>
</svg>
</a>
<a
href="https://music.apple.com/artist/jbugel/1711482902"
target="_blank"
>
<svg
xmlns="http://www.w3.org/2000/svg"
width="24"
height="24"
viewBox="0 0 12 12"
>
<path
d="M8.88.96H3.12C1.929.96.96 1.929.96 3.12v5.76c0 1.191.969 2.16 2.16 2.16h5.76c1.191 0 2.16-.969 2.16-2.16V3.12c0-1.191-.969-2.16-2.16-2.16M8.4 6.48v.965A1.2 1.2 0 0 1 7.2 8.64h-.12a.84.84 0 0 1-.623-.276.85.85 0 0 1-.213-.649c.043-.424.425-.755.87-.755h.326a.48.48 0 0 0 .48-.48V4.129l-2.88.54V8.16c0 .662-.538 1.2-1.2 1.2h-.12a.84.84 0 0 1-.623-.276.85.85 0 0 1-.213-.649c.043-.424.425-.755.87-.755h.326a.48.48 0 0 0 .48-.48V3.685a.48.48 0 0 1 .392-.472l3.022-.566a.36.36 0 0 1 .426.354z"
fill="#cdd6f4"
/>
</svg>
</a>
</div>
<div>
BTW: If you want to listen to some space ambient music, you can enable
autoplay for audio and video, so the iframe can start.
</div>
<a class="link link-hover" href="/help/autoplay"
>how to enable autoplay</a
>
</nav>
<aside>
<p>2022 - {new Date().getFullYear()} jbugel</p>
</aside>
</footer>
<iframe
id="video"
src="https://inv.nadeko.net/embed/E5WpblyBR38?autoplay=1&loop=1&controls=0&mute=0"
frameborder="0"
allow="autoplay; encrypted-media; picture-in-picture"
title="Focus Site"
class="hidden"
></iframe>
</body>

View file

@ -0,0 +1,7 @@
<script lang="ts">
import type { PageData } from './$types';
export let data: PageData;
</script>
Hello, World!

View file

@ -0,0 +1,13 @@
<div class="flex flex-col justify-center items-center space-y-4">
<p class="text-3xl p-2">For Safari</p>
<iframe src="https://files.catbox.moe/m8bsw7.mp4" width="600" height="300" frameborder="0" allowfullscreen class="mx-auto" title="Safari Autoplay"></iframe>
<p class="text-3xl p-2">For Chrome</p>
<iframe src="https://files.catbox.moe/cr2stn.mp4" width="600" height="300" frameborder="0" allowfullscreen class="mx-auto" title="Chrome Autoplay"></iframe>
<p class="text-3xl p-2">For Firefox</p>
<iframe src="https://files.catbox.moe/k73hsh.mp4" width="600" height="300" frameborder="0" allowfullscreen class="mx-auto" title="Firefox Autoplay"></iframe>
<p class="text-3xl p-2">For Edge</p>
<iframe src="https://files.catbox.moe/gplj7v.mp4" width="600" height="300" frameborder="0" allowfullscreen class="mx-auto" title="Edge Autoplay"></iframe>
</div>

View file

@ -0,0 +1,7 @@
<script lang="ts">
import type { PageData } from './$types';
export let data: PageData;
</script>
<meta http-equiv="refresh" content="0; url=https://songwhip.com/jbugel" />

1
static/css.svg Normal file
View file

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" fill="#b4befe" xml:space="preserve"><path d="m32 0 40.8 460.8L256 512l183.136-51.168L480 0zm360.768 150.688-5.152 57.888-15.52 173.568L256 414.208l-.064.032-116-32.128-8.128-90.752h56.832l4.224 47.104 63.072 17.024.064-.064 63.136-17.024 8.608-78.432-198.656.544-5.632-53.664 209.056-2.432 4.224-57.44-218.88.608-3.68-53.376h283.648z"/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/></svg>

After

Width:  |  Height:  |  Size: 469 B

BIN
static/favicon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

1
static/html.svg Normal file
View file

@ -0,0 +1 @@
<svg viewBox="-30 0 512 512" fill="#b4befe" xmlns="http://www.w3.org/2000/svg"><path d="M31.86 448.059 226.112 512l194.254-63.941L452.227 0H0zM371.616 75l-4.277 60H145.094l5.418 77h211.48l-12.879 180.602-123 41.101-123.004-41.101L98.906 332h60l1.215 16.492 65.992 21.903 66.004-21.899 5.39-76.496H94.41L80.61 75zm0 0"/></svg>

After

Width:  |  Height:  |  Size: 325 B

1
static/svelte.svg Normal file
View file

@ -0,0 +1 @@
<svg fill="none" height="512" viewBox="0 0 512 512" width="512" xmlns="http://www.w3.org/2000/svg"><path d="m181.632 262.4 17.493-12.245 17.472-12.245 69.888-48.939a85.333 85.333 0 0 1 114.347 15.083m-60.587 52.864-34.965 24.469-69.888 48.96a85.333 85.333 0 0 1-114.347-15.083m0 0a85.333 85.333 0 0 0 123.52 111.403l139.819-97.899a85.333 85.333 0 0 0 16.427-124.715M121.067 315.264a85.333 85.333 0 0 1 16.448-124.736l139.797-97.877a85.333 85.333 0 0 1 123.52 111.403" stroke="#b4befe" stroke-linecap="round" stroke-linejoin="round" stroke-width="42.667"/></svg>

After

Width:  |  Height:  |  Size: 561 B

1
static/tailwindcss.svg Normal file
View file

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="512" height="512" viewBox="0 0 256 256"><path d="M24 9.604q-9.6 0-12 9.597 3.6-4.798 8.4-3.599c1.826.456 3.131 1.781 4.576 3.247C27.328 21.236 30.051 24 36 24q9.6 0 12-9.598-3.6 4.798-8.4 3.6c-1.825-.456-3.13-1.781-4.575-3.247C32.672 12.367 29.948 9.604 24 9.604M12 24q-9.6 0-12 9.598 3.6-4.799 8.4-3.599c1.825.457 3.13 1.781 4.575 3.246 2.353 2.388 5.077 5.152 11.025 5.152q9.6 0 12-9.598-3.6 4.799-8.4 3.599c-1.826-.456-3.131-1.781-4.576-3.246C20.672 26.764 17.949 24 12 24" transform="scale(5.33333)" fill="#b4befe" font-family="none" font-weight="none" font-size="none" text-anchor="none" style="mix-blend-mode:normal"/></svg>

After

Width:  |  Height:  |  Size: 677 B

20
svelte.config.js Normal file
View file

@ -0,0 +1,20 @@
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()
},
// eslint-disable-next-line no-dupe-keys
preprocess: vitePreprocess()
};
export default config;

28
tailwind.config.js Normal file
View file

@ -0,0 +1,28 @@
/** @type {import('tailwindcss').Config} */
import catppuccin from '@catppuccin/daisyui';
export default {
content: ['./src/**/*.{html,js,svelte,ts}'],
theme: {
extend: {}
},
plugins: [
// eslint-disable-next-line @typescript-eslint/no-require-imports
require('@catppuccin/tailwindcss')({
// prefix to use, e.g. `text-pink` becomes `text-ctp-pink`.
// default is `false`, which means no prefix
prefix: 'ctp',
// which flavour of colours to use by default, in the `:root`
defaultFlavour: 'mocha'
}),
// eslint-disable-next-line @typescript-eslint/no-require-imports
require('daisyui')
],
daisyui: {
themes: [
catppuccin('mocha', { primary: 'lavender', secondary: 'green' }), // Put this last
],
},
};

19
tsconfig.json Normal file
View file

@ -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
}

6
vite.config.ts Normal file
View file

@ -0,0 +1,6 @@
import {sveltekit} from '@sveltejs/kit/vite';
import {defineConfig} from 'vite';
export default defineConfig({
plugins: [sveltekit()]
});