Skip to content

fix(docs): cap typescript at ^6 for @astrojs/check compat (fixes red main CI)#584

Open
avrabe wants to merge 1 commit into
mainfrom
fix/docs-typescript-astro-check-compat
Open

fix(docs): cap typescript at ^6 for @astrojs/check compat (fixes red main CI)#584
avrabe wants to merge 1 commit into
mainfrom
fix/docs-typescript-astro-check-compat

Conversation

@avrabe

@avrabe avrabe commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

Fixes red main CI

//docs-site:docs_site has failed on main since 2026-07-20 with npm ERESOLVE, and every open PR (the whole dependabot pile + #547) inherits it as red Test on ubuntu-latest / Test on macos-latest.

Cause: PR #561 bumped docs-site typescript 6.0.3 → 7.0.2, but @astrojs/check (latest 0.9.9) still peer-requires typescript@^5.0.0 || ^6.0.0 — no TS 7 support. So no @astrojs/check upgrade unblocks it; typescript must stay ≤ 6.

Third recurrence: reverted before in 2b151fe, re-bumped by #448 (→6) then #561 (→7). So this PR also stops the loop:

  • docs-site/package.json: typescript ^7.0.2^6.0.3
  • .github/dependabot.yml: ignore typescript semver-major for /docs-site until @astrojs/check ships TS 7 support.

Verified: npm install --dry-run in docs-site resolves cleanly (734 packages, no ERESOLVE) with typescript ^6.

Once merged, main goes green and the inherited red clears from the dependabot PRs and #547.

🤖 Generated with Claude Code

… CI)

PR #561 bumped docs-site typescript 6.0.3 -> 7.0.2, but @astrojs/check (latest
0.9.9) still peer-requires `typescript@^5.0.0 || ^6.0.0` — no TS 7 support yet.
The docs-site build (//docs-site:docs_site) has failed on main since 2026-07-20
with npm ERESOLVE, which every open PR inherits as red "Test on {ubuntu,macos}".

This is the third recurrence (previously reverted in 2b151fe, re-bumped by #448
then #561). Revert typescript to ^6.0.3 AND add a dependabot ignore for
typescript major bumps in /docs-site so it stops recurring until @astrojs/check
ships TS 7 support.

Verified: `npm install --dry-run` in docs-site resolves cleanly (734 packages,
no ERESOLVE) with typescript ^6.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant