Failed dependency update
Package: typescript
From: 6.0.3 → To: 7.0.2
Error
Bumping typescript to 7.0.2 (the native TypeScript 7 compiler port) breaks typescript-eslint. ESLint fails to even load its config with:
TypeError: Cannot read properties of undefined (reading 'Cjs')
at @typescript-eslint/typescript-estree/dist/create-program/shared.js:59:14
This surfaced first in Step 1 (update-outdated-deps:fix-pkg-json, which runs eslint --fix on the package.json files) and would also fail Step 2a (Linting). The crash reproduces with the previous @typescript-eslint 8.63.0 as well, confirming the typescript 7 bump is the cause, not the typescript-eslint bump.
TypeScript 7 is the Go-based native compiler and does not yet expose the classic JS compiler API (e.g. ModuleKind.Cjs) that @typescript-eslint/typescript-estree depends on. The latest typescript-eslint (8.64.0) does not support it.
What was tried
- Installed
typescript@7.0.2 and ran ESLint — crashes as above.
- Confirmed the crash is independent of the
@typescript-eslint version bump.
- No clean migration available (no
typescript-eslint release supports the native TS7 API yet), so reverted typescript to 6.0.3 across all workspace package.json files. The remaining dependency updates were applied and validated.
Workflow run
https://github.com/workleap/wl-telemetry/actions/runs/29341481108
Failed dependency update
Package:
typescriptFrom:
6.0.3→ To:7.0.2Error
Bumping
typescriptto7.0.2(the native TypeScript 7 compiler port) breakstypescript-eslint. ESLint fails to even load its config with:This surfaced first in Step 1 (
update-outdated-deps:fix-pkg-json, which runseslint --fixon the package.json files) and would also fail Step 2a (Linting). The crash reproduces with the previous@typescript-eslint8.63.0 as well, confirming thetypescript7 bump is the cause, not thetypescript-eslintbump.TypeScript 7 is the Go-based native compiler and does not yet expose the classic JS compiler API (e.g.
ModuleKind.Cjs) that@typescript-eslint/typescript-estreedepends on. The latesttypescript-eslint(8.64.0) does not support it.What was tried
typescript@7.0.2and ran ESLint — crashes as above.@typescript-eslintversion bump.typescript-eslintrelease supports the native TS7 API yet), so revertedtypescriptto6.0.3across all workspace package.json files. The remaining dependency updates were applied and validated.Workflow run
https://github.com/workleap/wl-telemetry/actions/runs/29341481108