Skip to content

Adopt TypeScript 7 once @astrojs/check supports it #1424

Description

@braboj

Do not pick up before a trigger condition fires.

As a maintainer, I want the toolchain on TypeScript 7 so that the project stays on a supported major and gains the native compiler's speed.

What

Bump typescript from ~6.0.x to ^7 and reconcile the toolchain.

Why

Dependabot #1407 (typescript 6.0.3 -> 7.0.2) is blocked: npm ci fails with ERESOLVE because @astrojs/check (provides astro check, our type + content-schema gate) peers typescript@"^5.0.0 || ^6.0.0". No published @astrojs/check version accepts TS 7 (latest 0.9.9 as of 2026-07-18). Forcing with --legacy-peer-deps would risk breaking the validation gate.

Trigger conditions (pick up when any fires)

  • @astrojs/check publishes a version whose typescript peer range includes ^7.
  • We decide to drop astro check from the quality gate (would need its own ADR).

Acceptance criteria

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

    P4Backlog — somedaytaskAtomic implementable work

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions