update: improve project structure and add linting/formatting

- Remove duplicate lucide-svelte package, keep @lucide/svelte
- Move schema from src/lib/server/ to src/lib/db/ for better organization
- Add path aliases to svelte.config.js (, , , , )
- Add ESLint and Prettier configuration with 2-space indentation
- Update all imports to use new schema location and icon package
This commit is contained in:
Rasmus Q
2026-03-15 20:58:55 +00:00
parent 686b43bc18
commit 06c96f4b35
27 changed files with 103 additions and 25 deletions

View File

@@ -1,7 +1,7 @@
import { fail, redirect } from '@sveltejs/kit';
import type { Actions, PageServerLoad } from './$types';
import { db } from '$lib/server/db';
import { users } from '$lib/server/schema';
import { users } from '$lib/db/schema';
import { eq } from 'drizzle-orm';
import bcrypt from 'bcrypt';
import { env } from '$env/dynamic/private';