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:
@@ -1,3 +1,6 @@
|
||||
const path = require('path');
|
||||
require('dotenv').config({ path: path.resolve(__dirname, '../../.env') });
|
||||
|
||||
module.exports = {
|
||||
moduleFileExtensions: ['js', 'json', 'ts'],
|
||||
rootDir: 'src',
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user