feat: verify Turborepo pipeline — all 8 packages build and test

Adds packageManager field to root package.json (required by turbo v2.9),
loads .env via dotenv in API jest config so Prisma integration tests find
DATABASE_URL when run from the monorepo root. pnpm build + pnpm test: 8/8 passing.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-27 14:38:34 +05:30
parent f26c50dec0
commit b16a30beb2
4 changed files with 14 additions and 0 deletions
+3
View File
@@ -1,3 +1,6 @@
const path = require('path');
require('dotenv').config({ path: path.resolve(__dirname, '../../.env') });
module.exports = {
moduleFileExtensions: ['js', 'json', 'ts'],
rootDir: 'src',
+1
View File
@@ -26,6 +26,7 @@
"@nestjs/testing": "^11.0.0",
"@types/jest": "^29.0.0",
"@types/node": "^22.0.0",
"dotenv": "^17.4.2",
"jest": "^29.0.0",
"prisma": "^6.0.0",
"ts-jest": "^29.0.0",