{ "name": "@factory/database-client", "version": "0.1.0", "private": true, "type": "module", "description": "TASK-0135 multi-client Postgres routing (prisma/clients.ts per the phase-15 spec): writes + permission/version reads go to the PRIMARY; tree/listing/search reads go to the READER (replica when DATABASE_REPLICA_URL is set, primary otherwise — single-node dev/CI fallback).", "main": "./src/index.ts", "types": "./src/index.ts", "exports": { ".": { "types": "./src/index.ts", "default": "./src/index.ts" } }, "scripts": { "typecheck": "tsc --noEmit", "test": "vitest run" }, "dependencies": { "@prisma/client": "^6.19.3" }, "devDependencies": { "@types/node": "^20.14.0", "typescript": "^5.6.0", "vitest": "^2.1.9", "zod": "^3.23.8" } }