Skip to content

Isolate TypeScript Dependabot updates and defer unsupported major upgrades #158

Closed

Description

Problem

Dependabot PR #153 grouped TypeScript 7.0.2 with routine npm updates. The TypeScript build then failed during npm ci because the latest available @typescript-eslint packages require TypeScript <6.1.0.

The shared TypeScript source is built from this repository's lockfile and its generated declarations are consumed by the Black, Flake8, isort, mypy, and Pylint extensions. Those consumers currently compile with TypeScript 5.9-6.0, so a TypeScript major upgrade should be coordinated and validated across the extensions rather than arriving in a routine grouped dependency PR.

Proposed change

Update .github/dependabot.yml to:

  • Exclude typescript from the all-npm dependency group.
  • Ignore only version-update:semver-major updates for typescript.
  • Continue allowing TypeScript patch and minor updates as standalone PRs.
  • Leave the existing grouping and ignore policy for other npm dependencies unchanged.

After the configuration lands, close or recreate #153 so the compatible semver and Sinon updates can be proposed without TypeScript 7.

Acceptance criteria

  • typescript appears under groups.all-npm.exclude-patterns.
  • The typescript ignore rule contains only version-update:semver-major.
  • Dependabot YAML parses successfully.
  • A regenerated routine npm update does not include TypeScript 7.
  • A future TypeScript major upgrade is validated against all five consuming extensions before their submodule pins advance.

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions