Files
stats/packages/db/package.json
zias 2d8bfd1da1
Some checks failed
Build and Push API / build-api (push) Has been cancelled
Build and Push Dashboard / build-dashboard (push) Has been cancelled
Build and Push Worker / build-worker (push) Has been cancelled
feat: add Gitea CI workflows, production compose, and update all deps
- Add .gitea/workflows for building and pushing api, dashboard, and worker images to git.zias.be registry
- Add docker-compose.prod.yml using pre-built registry images (no build-from-source on server)
- Update docker-compose.yml infra images to latest (postgres 18.3, redis 8.6.2, clickhouse 26.3.2.3)
- Update self-hosting/docker-compose.template.yml image versions to match
- Bump Node.js to 22.22.2 in all three Dockerfiles
- Update pnpm to 10.33.0 and upgrade all safe npm dependencies
- Add buffer-equal-constant-time patch

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-31 10:02:12 +02:00

46 lines
1.4 KiB
JSON

{
"name": "@openpanel/db",
"version": "0.0.1",
"type": "module",
"main": "index.ts",
"scripts": {
"codegen": "pnpm with-env prisma generate && jiti prisma/prisma-json-types.ts",
"migrate": "pnpm with-env prisma migrate dev",
"migrate:deploy:code": "pnpm with-env jiti ./code-migrations/migrate.ts",
"migrate:deploy:db": "pnpm with-env prisma migrate deploy",
"migrate:deploy": "pnpm migrate:deploy:db && pnpm migrate:deploy:code",
"typecheck": "tsc --noEmit",
"with-env": "dotenv -e ../../.env -c --"
},
"dependencies": {
"@clickhouse/client": "^1.18.2",
"@openpanel/common": "workspace:*",
"@openpanel/constants": "workspace:*",
"@openpanel/json": "workspace:*",
"@openpanel/logger": "workspace:*",
"@openpanel/queue": "workspace:^",
"@openpanel/redis": "workspace:*",
"@openpanel/validation": "workspace:*",
"@prisma/client": "^6.19.2",
"@prisma/extension-read-replicas": "^0.5.0",
"fast-deep-equal": "^3.1.3",
"jiti": "^2.6.1",
"mathjs": "^15.1.1",
"prisma-json-types-generator": "^3.6.2",
"ramda": "^0.32.0",
"sqlstring": "^2.3.3",
"superjson": "^1.13.3",
"uuid": "^9.0.1",
"zod": "catalog:"
},
"devDependencies": {
"@openpanel/tsconfig": "workspace:*",
"@types/node": "catalog:",
"@types/ramda": "^0.31.1",
"@types/sqlstring": "^2.3.2",
"@types/uuid": "^11.0.0",
"prisma": "^6.19.2",
"typescript": "catalog:"
}
}