Skip to content

build(deps): skip TypeScript major bumps for the website - #57

Merged
tushar-mahalya merged 1 commit into
mainfrom
build/dependabot-ignore-typescript-major
Dec 3, 2026
Merged

tushar-mahalya merged 1 commit into
mainfrom
build/dependabot-ignore-typescript-major

Conversation

@tushar-mahalya

@tushar-mahalya tushar-mahalya commented Dec 3, 2026 •

Copy link
Copy Markdown
Member

What and why

Dependabot's website group (#55) bumped TypeScript 5.9 -> 7.0, but @astrojs/check only accepts TypeScript ^5 || ^6 as a peer, so npm ci fails with ERESOLVE. This ignores semver-major TypeScript updates in /website until @astrojs/check supports the new major. Minor and patch updates still come through.

How I checked it

pre-commit run --files .github/dependabot.yml passes, including the Dependabot config schema check. Config only, so there's no test or CHANGELOG entry.

Summary by CodeRabbit

  • Chores
    • Updated automated dependency update settings for website development tools to defer TypeScript major-version updates until compatibility is confirmed.
    • This change affects maintenance workflows only; it does not alter website features or functionality for visitors.

Dependabot's website group bumped TypeScript 5.9 -> 7.0, but
@astrojs/check only accepts TypeScript ^5 || ^6 as a peer, so `npm ci`
fails with ERESOLVE (#55). Ignore semver-major TypeScript updates in
/website until @astrojs/check supports the new major. Minor and patch
updates still come through.
@coderabbitai

coderabbitai Bot commented Dec 3, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The /website npm update configuration now ignores TypeScript major-version updates. A comment records the stated peer-version constraint and when the ignore can be lifted.

Changes: Website Dependency Policy

Layer / File(s) Summary
TypeScript major-update ignore
.github/dependabot.yml
The /website npm update configuration ignores TypeScript major-version updates. A comment describes the @astrojs/check peer-version constraint and when to lift the ignore.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Change: Other

Merge Risk: Minimal · up to e2941

This configuration-only change stops Dependabot from proposing TypeScript major upgrades for the website, which avoids the reported npm install conflict. It has no runtime impact and is low risk to merge.

Security architecture risk: Minimal · up to e2941

Dependabot will stop proposing TypeScript major-version updates for the website. Minor and patch proposals remain eligible, and the website’s declared TypeScript version is unchanged.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title names the change: Dependabot updates for the website skip TypeScript major bumps. The raw summary confirms the dependabot.yml ignore rule for /website TypeScript major versions, and the PR o…
Description check Passed The description covers the problem and fix. It names the conflict (TypeScript 5.9 to 7.0 bump versus @astrojs/check accepting only ^5 || ^6, causing npm ci ERESOLVE), and it states that the ignore app…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title names the change: Dependabot updates for the website skip TypeScript major bumps. The raw summary confirms the dependabot.yml ignore rule for /website TypeScript major versions, and the PR objectives describe the same rule. The conventional 'build(deps)' prefix matches a dependency configuration change.

Full details: Description check

Explanation

The description covers the problem and fix. It names the conflict (TypeScript 5.9 to 7.0 bump versus @astrojs/check accepting only ^5 || ^6, causing npm ci ERESOLVE), and it states that the ignore applies to semver-major TypeScript updates in /website. The 'How I checked it' section lists the pre-commit run and the schema check. It also explains why there is no test or CHANGELOG entry. It does not include an issue link, which the template asks for under 'What and why'. The checklist items are not ticked, and the 'AI tools used' field is blank. Because the change is config-only, the author explains the missing items. The description is mostly complete.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between b49ba7d and e294147.

Files selected for processing: 1

  • .github/dependabot.yml

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.

@tushar-mahalya
tushar-mahalya merged commit 4f7e3b6 into main Dec 3, 2026
17 checks passed
@tushar-mahalya
tushar-mahalya deleted the build/dependabot-ignore-typescript-major branch December 3, 2026 17:38
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