移除前端多余依赖
All checks were successful
Dart CI / build (push) Successful in 32s
Web CI / lint-test-build (push) Successful in 1m47s

This commit is contained in:
2026-04-09 22:15:48 +08:00
parent 2349cb59d3
commit 58d3b26440
4 changed files with 5 additions and 2165 deletions

View File

@@ -17,7 +17,6 @@
"auth:schema": "better-auth generate --config src/lib/server/auth.js --output src/lib/server/db/auth.schema.js --yes"
},
"devDependencies": {
"@better-auth/cli": "~1.4.21",
"@eslint/compat": "^2.0.2",
"@eslint/js": "^9.39.2",
"@inlang/paraglide-js": "^2.10.0",
@@ -27,7 +26,6 @@
"@types/better-sqlite3": "^7.6.13",
"@types/node": "^22",
"@vitest/browser-playwright": "^4.0.18",
"better-auth": "~1.4.21",
"eslint": "^9.39.2",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-svelte": "^3.14.0",

2160
web/pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

6
web/src/app.d.ts vendored
View File

@@ -1,12 +1,12 @@
import type { User, Session } from 'better-auth/minimal';
// import type { User, Session } from 'better-auth/minimal';
// See https://svelte.dev/docs/kit/types#app.d.ts
// for information about these interfaces
declare global {
namespace App {
interface Locals {
user?: User;
session?: Session;
// user?: User;
// session?: Session;
}
// interface Error {}

View File

@@ -1,6 +1,4 @@
import { sequence } from '@sveltejs/kit/hooks';
import { building } from '$app/environment';
import { svelteKitHandler } from 'better-auth/svelte-kit';
import { getTextDirection } from '$lib/paraglide/runtime';
import { paraglideMiddleware } from '$lib/paraglide/server';
import { env } from '$env/dynamic/private';