Files
task-stream/apps/api/package.json
Josep Piguillem 62fac8ef45 fix: ship nodemailer in the API image
E-mail copies of notifications need nodemailer at runtime, but the image
installs only the dependencies listed in apps/api/package.json, so the API
crashed on start with "Cannot find module 'nodemailer'" and the container
never became healthy.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-08 19:58:06 +02:00

37 lines
1.1 KiB
JSON

{
"name": "api",
"version": "0.0.1",
"private": true,
"description": "Runtime dependencies of the API image. Nx uses this list for dist/apps/api/package.json (some packages, such as pg or @as-integrations/express5, are loaded dynamically and invisible to its import analysis).",
"dependencies": {
"@apollo/server": "^5.5.1",
"@as-integrations/express5": "^1.1.2",
"@nestjs/apollo": "^13.4.5",
"@nestjs/common": "^11.0.0",
"@nestjs/config": "^4.0.4",
"@nestjs/core": "^11.0.0",
"@nestjs/cqrs": "^11.0.3",
"@nestjs/graphql": "^13.4.5",
"@nestjs/mongoose": "^11.0.4",
"@nestjs/platform-express": "^11.0.0",
"@nestjs/swagger": "^11.4.7",
"@nestjs/typeorm": "^11.0.3",
"class-transformer": "^0.5.1",
"class-validator": "^0.15.1",
"express": "5.2.1",
"graphql": "^16.14.2",
"graphql-redis-subscriptions": "^2.7.0",
"graphql-ws": "^6.3.0",
"ioredis": "^5.11.1",
"joi": "^18.2.9",
"mongoose": "^8.24.4",
"nodemailer": "^7.0.13",
"pg": "^8.23.1",
"reflect-metadata": "^0.2.0",
"rxjs": "^7.8.0",
"tslib": "^2.8.1",
"typeorm": "^0.3.31",
"ws": "^8.22.0"
}
}