mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-15 01:21:09 +02:00
The presi module's schema was defined inline in routes.ts but had no working db:push mechanism — the old references to @presi/server and @presi/backend no longer exist after consolidation. Extracts schema into its own file, adds a dedicated drizzle config, and updates the setup script so tables are actually created. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
36 lines
963 B
JSON
36 lines
963 B
JSON
{
|
|
"name": "@mana/api",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "bun --hot run src/index.ts",
|
|
"build": "bun build src/index.ts --outdir dist --target bun",
|
|
"start": "bun run dist/index.js",
|
|
"type-check": "tsc --noEmit",
|
|
"db:generate": "drizzle-kit generate",
|
|
"db:push": "drizzle-kit push",
|
|
"db:push:presi": "drizzle-kit push --config=drizzle.presi.config.ts"
|
|
},
|
|
"dependencies": {
|
|
"@ai-sdk/openai-compatible": "^2.0.41",
|
|
"@mana/media-client": "workspace:*",
|
|
"@mana/shared-hono": "workspace:*",
|
|
"@mana/shared-storage": "workspace:*",
|
|
"@mana/shared-types": "workspace:^",
|
|
"@mozilla/readability": "^0.5.0",
|
|
"ai": "^6.0.154",
|
|
"drizzle-orm": "^0.38.0",
|
|
"hono": "^4.7.0",
|
|
"jsdom": "^25.0.0",
|
|
"postgres": "^3.4.0",
|
|
"rrule": "^2.8.1",
|
|
"zod": "^3.23.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/bun": "latest",
|
|
"@types/jsdom": "^21.1.0",
|
|
"drizzle-kit": "^0.30.0",
|
|
"typescript": "^5.8.0"
|
|
}
|
|
}
|