
2025-05-06 21:17:30
« Nom et arborescence de Monorepo »
#Monorepo
« Nom et arborescence de Monorepo »
#Monorepo
Décider où poster mon issue ? L'avantage du paradigme #Monorepo
https://notes.sklein.xyz/2025-05-06_2331/
Day 7
✅ 24 test suites, 153 tests passing.
Solid coverage across service and controller layers in my modular monorepo. Strict typing (TypeScript), full DTO validation, and realistic mocks across complex relations (TypeORM).
Next: fine-tuning error handling & exploring e2e strategies.
https://write.tyolabs.com/?p=25
Nice #nixos Oslo meetup today. Meeting up with old friends and seeing https://github.com/ezemtsov presenting about building monorepo tooling using the TVL Kit (https://github.com/tvlfyi/kit)
Day 3 2/2
2. Enabling API documentation with Swagger.
I integrated Swagger into the backend (NestJS v10, ESM, Turbo monorepo), using `@nestjs/swagger@7` to match our current framework version.
The docs are now live at `/api/docs`, fully aligned with our global `ValidationPipe` and `AllExceptionsFilter` — ensuring consistent validation and error responses.
Next: annotate DTOs, describe endpoints properly, and restrict access.
Day 3 1/2
TL;DR:
Added global `ValidationPipe` and unified `AllExceptionsFilter` in NestJS. API errors now follow a consistent format: `{ statusCode, error, message, code, details }`.
Today’s work focused on:
1. Standardizing input validation and error handling in the backend of the insurance sales network management system (NestJS, TypeScript, ESM, Turbo monorepo).
- Enabled global `ValidationPipe` with: `whitelist`, `forbidNonWhitelisted`, `transform`, `enableI…
Day 2:
TL;DR:
❌ `composite: true`
❌ `tsconfig.build.json`
✅ `paths` in `tsconfig.base.json`
✅ `include` shared libs explicitly where needed
✅ `turbo run build` just works
Wrestled for hours (~3) with TypeScript `project references` and `paths` in a Turbo monorepo (NestJS, ESM).
Turns out: if you want global aliases like `@my-lib/foo` to *just work* across apps — skip `composite: true` and `tsc --build`.
Project references and alia…