forked from imbytecat/fullstack-starter
- 添加 uuid 依赖以支持唯一标识符生成 - 移除对 todoTable 的导出,不再从数据库模式文件中暴露该表定义。 - 导出 todo 模式定义文件中的所有内容 - 添加待办事项数据表定义,包含标题和完成状态字段,并集成自动生成字段。 - 添加用于定义主键、创建时间和更新时间字段的实用工具函数,并支持不同 PostgreSQL 版本的 UUID 生成策略,同时提供生成字段的键名映射。 - 添加 uuid 依赖到项目中
59 lines
1.7 KiB
JSON
59 lines
1.7 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:",
|
|
"uuid": "catalog:",
|
|
"zod": "catalog:"
|
|
},
|
|
"devDependencies": {
|
|
"@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:",
|
|
"typescript": "catalog:",
|
|
"vite": "catalog:",
|
|
"vite-tsconfig-paths": "catalog:"
|
|
}
|
|
}
|