4204bea2b3
Add drizzle-orm ^0.38.4 and postgres ^3.4.5 to root package.json dependencies so that pnpm --frozen-lockfile install in CI makes them available at the root node_modules level. apps/api is not a pnpm workspace member (workspace declares packages: ["apps/*"]), so CI's pnpm install does not reach into apps/api/node_modules/. Adding these deps to the root package.json fixes the ERR_MODULE_NOT_FOUND error that Vitest encountered when running tests under pnpm --frozen-lockfile. Also moves drizzle-orm and postgres from apps/api/devDependencies to dependencies per the issue spec. Co-Authored-By: Paperclip <noreply@paperclip.ing>
44 lines
1.1 KiB
JSON
44 lines
1.1 KiB
JSON
{
|
|
"name": "@groombook/api",
|
|
"version": "0.0.1",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "tsx watch src/index.ts",
|
|
"build": "tsc --project .",
|
|
"start": "node dist/index.js",
|
|
"lint": "eslint src --ext .ts",
|
|
"typecheck": "tsc --noEmit",
|
|
"test": "vitest run"
|
|
},
|
|
"dependencies": {
|
|
"@aws-sdk/client-s3": "^3.800.0",
|
|
"@aws-sdk/s3-request-presigner": "^3.800.0",
|
|
"@groombook/db": "workspace:*",
|
|
"@groombook/types": "workspace:*",
|
|
"@hono/node-server": "^1.13.7",
|
|
"@hono/zod-validator": "^0.7.6",
|
|
"better-auth": "^1.5.6",
|
|
"drizzle-orm": "^0.38.4",
|
|
"hono": "^4.6.17",
|
|
"node-cron": "^3.0.3",
|
|
"nodemailer": "^6.9.16",
|
|
"postgres": "^3.4.5",
|
|
"stripe": "^22.0.0",
|
|
"telnyx": "^1.23.0",
|
|
"zod": "^4.3.6"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^22.10.7",
|
|
"@types/node-cron": "^3.0.11",
|
|
"@types/nodemailer": "^6.4.17",
|
|
"@vitest/coverage-v8": "^3.2.4",
|
|
"eslint": "^9.18.0",
|
|
"tsx": "^4.19.2",
|
|
"typescript": "^5.7.3",
|
|
"typescript-eslint": "^8.20.0",
|
|
"vitest": "^3.2.4"
|
|
},
|
|
"license": "AGPL-3.0-only"
|
|
}
|