diff --git a/package.json b/package.json index 49b3cfd..b5f1349 100644 --- a/package.json +++ b/package.json @@ -67,9 +67,9 @@ "@types/node": "^22.9.3", "jest": "^30.0.0", "prettier": "^2.7.1", - "ts-jest": "^29.4.0", + "ts-jest": "^29.4.7", "tsx": "^4.22.4", - "typescript": "^5.9.0" + "typescript": "^6.0.3" }, "overrides": { "js-yaml": "^3.15.0" diff --git a/tsconfig.json b/tsconfig.json index a4f3187..168172b 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -7,6 +7,14 @@ "resolveJsonModule": true, "esModuleInterop": true, "isolatedModules": true, + // TS 6 no longer infers rootDir (aka.ms/ts6, error TS5011). The JSON + // import of ../package.json makes the effective root the project + // directory, which preserves the lib/src/** emit layout. + "rootDir": "./", + // TS 6 flips the effective noImplicitAny default to true. Pinned to keep + // the upgrade diff behavior-preserving; see format-lint-report.ts for the + // known implicit-any sites awaiting cleanup. + "noImplicitAny": false, "types": [ "jest", "node"