Skip to content

[agent] Failed to update typescript #210

Description

@claude

Failed dependency update

Package: typescript
From: 6.0.3 → To: 7.0.2

Error

Failed during pnpm update-outdated-deps (the update-outdated-deps:fix-pkg-json step, which runs ESLint over the package.json files), and would equally fail validation Step 2a (pnpm lint), since every ESLint invocation loads eslint.config.ts → @workleap/eslint-configs → typescript-eslint:

Oops! Something went wrong! :(

ESLint: 9.39.2

Error: typescript-eslint does not support TS 7.0.
    at node_modules/.pnpm/typescript-eslint@8.x_typescript@7.0.2/node_modules/typescript-eslint/dist/index.js:52:9
    ...
    at async node_modules/@workleap/eslint-configs/dist/typescript.js:3:54
    at async node_modules/@workleap/eslint-configs/dist/by-project-type/defineMonorepoWorkspaceConfig.js:5:19
    at async eslint.config.ts:1:218

typescript-eslint hard-fails on TypeScript 7.0 and points at these references:

What was tried

  • Confirmed the failure is not specific to the fix-pkg-json script: the incompatibility lives in the shared ESLint config chain, so it blocks all linting.
  • No clean migration is available. typescript-eslint 8.67.0 (the latest version, which this run did update to) refuses TS 7.0 outright; per its own error message, support is being tracked for TS >= 7.1 and would require an upstream typescript-eslint release. Adding a shim, or pinning a second side-by-side TypeScript install, would be a workaround rather than a migration.
  • Reverted typescript to 6.0.3 in all 15 workspace package.json files via pnpm -r --include-workspace-root update typescript@6.0.3, then continued with the remaining updates. All validation steps passed afterwards.

Note: typecheck in this repo runs tsgo from @typescript/native-preview, so the typescript package is only consumed as the TS API by typescript-eslint and editors. The hold-back is purely about unblocking ESLint.

Workflow run

https://github.com/workleap/wl-telemetry/actions/runs/31501501389

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions