feat(阶段1): drizzle schema 从本地库生成并剪掉 Django 框架表

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
2026-08-06 20:45:51 -06:00
parent 9bfe629cd7
commit f635737453
10 changed files with 5536 additions and 6 deletions

20
apps/api/package.json Normal file
View File

@@ -0,0 +1,20 @@
{
"name": "@oj2/api",
"version": "0.0.0",
"private": true,
"type": "module",
"scripts": {
"dev": "bun --watch src/index.ts",
"db:pull": "drizzle-kit pull"
},
"dependencies": {
"@oj2/contract": "workspace:*",
"drizzle-orm": "^0.45.2",
"hono": "^4.0.0",
"postgres": "^3.4.0",
"zod": "^4.0.0"
},
"devDependencies": {
"drizzle-kit": "^0.31.10"
}
}