ab4db641b0
Adds the Prisma schema (Request/Job models, RequestStatus/JobState enums), a Prisma client singleton at web/src/lib/db.ts, and the init_request_job migration, applied and verified against Postgres. Also publishes the db service's port (5432:5432) in docker-compose.yml so host-run Prisma commands can reach localhost:5432 for local dev.
29 lines
627 B
JSON
29 lines
627 B
JSON
{
|
|
"name": "lyra-web",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "next dev",
|
|
"build": "next build",
|
|
"start": "next start",
|
|
"test": "vitest run",
|
|
"postinstall": "prisma generate",
|
|
"db:migrate": "prisma migrate deploy",
|
|
"db:dev": "prisma migrate dev"
|
|
},
|
|
"dependencies": {
|
|
"next": "15.5.20",
|
|
"react": "19.0.0",
|
|
"react-dom": "19.0.0",
|
|
"@prisma/client": "6.1.0"
|
|
},
|
|
"devDependencies": {
|
|
"typescript": "5.7.2",
|
|
"@types/node": "22.10.2",
|
|
"@types/react": "19.0.1",
|
|
"@types/react-dom": "19.0.1",
|
|
"prisma": "6.1.0",
|
|
"vitest": "2.1.8"
|
|
}
|
|
}
|