Chore/upgrade toolchain (Node 22 modernize)#47
Merged
Conversation
…, NestJS 10, MikroORM 5 Modernize the entire build toolchain from 2021-era versions: - Rush 5.62→5.175, pnpm 6→10, Node 14→22, TypeScript 4.4→5.8 - NestJS 8→10, @nestjs/swagger 5→7, MikroORM 4→5 - Migrate pnpmOptions from rush.json to pnpm-config.json - Fix MikroORM v5 API changes (populate options, allowGlobalContext) - Update GitHub Actions to v4, remove obsolete Travis CI config Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- NestJS 11 brings Express v5 as default adapter - MikroORM 6 removes `type` option, use `driver: SqliteDriver` import instead - @nestjs/swagger 11 aligns versioning with NestJS core - swagger-ui-express 4→5 for Express v5 compatibility Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@nestjs/swagger 11 added strict `exports` in package.json, blocking deep imports. Resolve the file path via package.json location instead. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- jest 26/27→29, ts-jest→29, @types/jest→29 - supertest 6→7, @types/supertest→6 - pino 7→9, pino-pretty 7→13, pino-std-serializers 5→7 Replace deprecated prettyPrint option with transport API - zod 3.10/3.12→3.24 - bcrypt 5.0→5.1, dotenv 16.0→16.4 - reflect-metadata 0.1→0.2, ts-node 10.5→10.9 - @types/express 4→5 (Express v5 in NestJS 11) - Remove rimraf (unused) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- target es2019→es2022, lib es2020→es2023 (match Node 22 capabilities) - Enable full strict mode (was only strictNullChecks) - Fix noImplicitAny errors: add type annotations across both packages - Fix strictPropertyInitialization: add definite assignment assertions for MikroORM-managed entity properties - Fix EventBus subscriber type to use InstanceType<T> for correct event instance typing Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
NestJS 11 supports rethrow teardown via abortOnError: false, so the custom MonolithNestFactory override is no longer needed. Also adds start/start:dev scripts and clarifies the Promise.all init comment. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
… docs The new name better communicates the intent — registering providers in a flat, Spring-style global IoC container. Added JSDoc with usage examples. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…y/catch Use a named options interface instead of positional args. Remove defensive try/catch around logger and event bus lookups since both are always expected to be present. Set abortOnError: true. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
Coverage for commit 836d117: Click to see coverage log
|
The old @typescript-eslint v4 only supported TypeScript <4.2, incompatible with the project's TS 5.8. Upgrade to v7 which supports TS 5.x while still using the legacy .eslintrc config format. Rule changes: - @typescript-eslint/comma-dangle, space-before-function-paren → core rules (formatting rules removed in v6) - @typescript-eslint/no-var-requires → no-require-imports (renamed) - @typescript-eslint/naming-convention → removed (was noop with no selectors) - no-new-object → no-object-constructor (renamed in eslint 8) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.