Skip to content

Feat/typescript 6 migration#281

Open
weyderfs wants to merge 9 commits into
mainfrom
feat/typescript-6-migration
Open

Feat/typescript 6 migration#281
weyderfs wants to merge 9 commits into
mainfrom
feat/typescript-6-migration

Conversation

@weyderfs

Copy link
Copy Markdown
Contributor

No description provided.

weyderfs added 6 commits July 14, 2026 12:43
Phase 67 of TypeScript 6 migration. Bump TypeScript to ~6.0.3 across all
three packages. Supported by ts-jest (peer <7) and typescript-eslint
(peer <6.1.0). All 3660 tests pass.
TypeScript 6 migration complete. No tsconfig changes needed — TS6 is
backwards-compatible with our existing configurations. All builds,
lint checks, and 6516 tests pass.
Add ignoreDeprecations: 6.0 to all tsconfigs that use deprecated options
(node/node10 moduleResolution, baseUrl). Set rootDir in base tsconfig (.)
and build tsconfig (./src) — TS6 requires explicit rootDir when outDir is
set. Add strictPropertyInitialization: false — TS6 enables it when
individual strict checks are set. Exclude __mocks__ from build. Gitignore
*.tsbuildinfo incremental files.
Root cause: TS6 changes default types resolution behavior. Without
explicit `types: ["node", "jest"]` in tsconfig.json, TypeScript ESLint's
projectService cannot resolve @types/jest globals, producing 44k+
no-unsafe-call warnings on every spec file.

Changes:
- Add `types: ["node", "jest"]` to base tsconfig.json
- Switch ESLint from projectService to explicit project config
- Upgrade typescript-eslint 8.63→8.64 (TS6 compat)
- Restore ignoreDeprecations and strictPropertyInitialization flags
- Fix DocBuilder mock type mismatch in docs-build.processor.spec
- Accept eslint --fix cleanups on test files (removed unnecessary casts)

Lint: 0 errors, 25 warnings. Tests: 3660 pass. Build: OK.
@weyderfs weyderfs self-assigned this Jul 21, 2026
@weyderfs weyderfs added the bug Something isn't working label Jul 21, 2026
@codecov

codecov Bot commented Jul 21, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ All tests successful. No failed tests found.

📢 Thoughts on this report? Let us know!

weyderfs added 3 commits July 21, 2026 09:53
…error logging

- Use os.networkInterfaces() to detect IPv4 loopback for Docker testcontainers
- Clean only stale testcontainers, not all postgres containers
- Log real error codes (NodeJS.ErrnoException) in E2E setup failures
- Throw on E2E setup failure instead of silent skip
- Add shared tsconfig.jest.json for TypeScript 6 compatibility
- Fix tsconfig rootDir for test helpers
…e audit vulns

- Clean tsconfig.build.tsbuildinfo before nest build to prevent stale cache blocking JS emission
- Add brace-expansion + immutable to UPSTREAM_UNFIXABLE (transitive deps, no fix without breaking changes)
- Pin fast-uri to 3.1.4 via overrides to fix high CVE
- Verified: build produces dist/config/typeorm-cli.config.js, both audit checks pass, 262 unit tests pass
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant