830714c94f
自托管 Life OS 不应有公开注册。改为: - /setup 一次性初始化向导(创建唯一 owner + 生成 Recovery Key) - /recover 通过 Recovery Key 重置密码 - /login 未初始化时重定向到 /setup,去掉注册链接 - Better Auth databaseHooks 阻止额外用户注册 - citty CLI: bun run cli auth reset-password - 删除 /signup 路由 - 新增 system_settings 表存储 recovery key hash - 修复 drizzle.config.ts 非空断言 + sidebar.tsx cookieStore API - 更新 AGENTS.md shadcn/ui 组件编辑规则
77 lines
2.7 KiB
JSON
77 lines
2.7 KiB
JSON
{
|
|
"name": "@furtherverse/server",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"build": "bunx --bun vite build",
|
|
"cli": "bun run src/cli/index.ts",
|
|
"compile": "bun compile.ts",
|
|
"compile:darwin": "bun run compile:darwin:arm64 && bun run compile:darwin:x64",
|
|
"compile:darwin:arm64": "bun compile.ts --target bun-darwin-arm64",
|
|
"compile:darwin:x64": "bun compile.ts --target bun-darwin-x64",
|
|
"compile:linux": "bun run compile:linux:x64 && bun run compile:linux:arm64",
|
|
"compile:linux:arm64": "bun compile.ts --target bun-linux-arm64",
|
|
"compile:linux:x64": "bun compile.ts --target bun-linux-x64",
|
|
"compile:windows": "bun run compile:windows:x64",
|
|
"compile:windows:x64": "bun compile.ts --target bun-windows-x64",
|
|
"db:generate": "drizzle-kit generate",
|
|
"db:migrate": "drizzle-kit migrate",
|
|
"db:push": "drizzle-kit push",
|
|
"db:studio": "drizzle-kit studio",
|
|
"dev": "bunx --bun vite dev",
|
|
"fix": "biome check --write",
|
|
"typecheck": "tsc --noEmit"
|
|
},
|
|
"dependencies": {
|
|
"@base-ui/react": "catalog:",
|
|
"@dnd-kit/dom": "catalog:",
|
|
"@dnd-kit/helpers": "catalog:",
|
|
"@dnd-kit/react": "catalog:",
|
|
"@fontsource-variable/geist": "catalog:",
|
|
"@orpc/client": "catalog:",
|
|
"@orpc/contract": "catalog:",
|
|
"@orpc/openapi": "catalog:",
|
|
"@orpc/server": "catalog:",
|
|
"@orpc/tanstack-query": "catalog:",
|
|
"@orpc/zod": "catalog:",
|
|
"@t3-oss/env-core": "catalog:",
|
|
"@tanstack/react-query": "catalog:",
|
|
"@tanstack/react-router": "catalog:",
|
|
"@tanstack/react-router-ssr-query": "catalog:",
|
|
"@tanstack/react-start": "catalog:",
|
|
"@tanstack/react-virtual": "catalog:",
|
|
"better-auth": "catalog:",
|
|
"citty": "catalog:",
|
|
"class-variance-authority": "catalog:",
|
|
"clsx": "catalog:",
|
|
"drizzle-orm": "catalog:",
|
|
"lucide-react": "catalog:",
|
|
"next-themes": "catalog:",
|
|
"postgres": "catalog:",
|
|
"react": "catalog:",
|
|
"react-dom": "catalog:",
|
|
"sonner": "catalog:",
|
|
"tailwind-merge": "catalog:",
|
|
"tw-animate-css": "catalog:",
|
|
"uuid": "catalog:",
|
|
"zod": "catalog:"
|
|
},
|
|
"devDependencies": {
|
|
"@furtherverse/tsconfig": "workspace:*",
|
|
"@rolldown/plugin-babel": "catalog:",
|
|
"@tailwindcss/vite": "catalog:",
|
|
"@tanstack/devtools-vite": "catalog:",
|
|
"@tanstack/react-devtools": "catalog:",
|
|
"@tanstack/react-query-devtools": "catalog:",
|
|
"@tanstack/react-router-devtools": "catalog:",
|
|
"@types/bun": "catalog:",
|
|
"@vitejs/plugin-react": "catalog:",
|
|
"babel-plugin-react-compiler": "catalog:",
|
|
"drizzle-kit": "catalog:",
|
|
"nitro": "catalog:",
|
|
"tailwindcss": "catalog:",
|
|
"vite": "catalog:"
|
|
}
|
|
}
|