- 添加本地数据库包依赖以支持项目数据库功能 - 导出 todoTable 以供数据库 schema 使用 - 移除对 todo 模式的导出 - 删除待办事项数据表的定义配置 - 重命名文件以更准确地反映其用途,将数据库相关工具函数集中到新的工具文件中。 - 将数据库创建函数的导入路径从 '@/db' 更新为 '@/db/utils'。 - 将数据库包版本更新为1.0.0并添加对工作区中数据库包的依赖。
60 lines
1.8 KiB
JSON
60 lines
1.8 KiB
JSON
{
|
|
"name": "@furtherverse/server",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"build": "vite build",
|
|
"compile": "bun build.ts",
|
|
"db:generate": "drizzle-kit generate",
|
|
"db:migrate": "drizzle-kit migrate",
|
|
"db:push": "drizzle-kit push",
|
|
"db:studio": "drizzle-kit studio",
|
|
"dev": "vite dev",
|
|
"fix": "biome check --write",
|
|
"typecheck": "tsc --noEmit"
|
|
},
|
|
"dependencies": {
|
|
"@furtherverse/database": "workspace:*",
|
|
"@orpc/client": "catalog:",
|
|
"@orpc/contract": "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:",
|
|
"@tauri-apps/api": "catalog:",
|
|
"drizzle-orm": "catalog:",
|
|
"drizzle-zod": "catalog:",
|
|
"postgres": "catalog:",
|
|
"react": "catalog:",
|
|
"react-dom": "catalog:",
|
|
"zod": "catalog:"
|
|
},
|
|
"devDependencies": {
|
|
"@biomejs/biome": "catalog:",
|
|
"@effect/platform": "catalog:",
|
|
"@effect/schema": "catalog:",
|
|
"@furtherverse/tsconfig": "workspace:*",
|
|
"@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:",
|
|
"effect": "catalog:",
|
|
"nitro": "catalog:",
|
|
"tailwindcss": "catalog:",
|
|
"turbo": "catalog:",
|
|
"typescript": "catalog:",
|
|
"vite": "catalog:",
|
|
"vite-tsconfig-paths": "catalog:"
|
|
}
|
|
}
|