Skip to content

fix(ts-client): keep Babel override consistent with lockfile #5072

Description

@neubig

Problem

TypeScript client CI on current main fails before tests because npm re-resolves the self-referencing @babel/core override beyond the version captured by the lockfile.

Actual Behavior

After the repository setup command uv sync, change into clients/typescript. Both the Node 22.12 and Node 24 CI jobs then fail at:

npm ci

The error begins with:

Invalid: lock file's @babel/core@8.0.1 does not satisfy @babel/core@8.0.5

and then reports the newer Babel dependency graph missing from the lock.

Expected Behavior

A clean install from the committed package manifest and lockfile succeeds reproducibly on every supported Node version.

Acceptance Criteria

  • npm ci succeeds from a clean clients/typescript checkout on Node 22.12 and Node 24.
  • The fix retains the currently tested Babel 8.0.1 dependency graph; dependency upgrades remain in their dedicated Dependabot PRs.
  • No generated client or runtime behavior changes.

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

    bugSomething isn't workingcidependenciesPull requests that update a dependency filejavascriptPull requests that update javascript codepriority:mediumFor bugs, a serious source of annoyance, but not blocking a large number of users.ready-for-devIssue meets development readiness criteria

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions