移除前端多余依赖
This commit is contained in:
@@ -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
2160
web/pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
6
web/src/app.d.ts
vendored
6
web/src/app.d.ts
vendored
@@ -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 {}
|
||||
|
||||
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user