Skip to content

Make dependabot ignore major version upgrades to @types/node#291

Merged
spatten merged 1 commit intomainfrom
ignore-types-node-major-upgrades
Apr 9, 2026
Merged

Make dependabot ignore major version upgrades to @types/node#291
spatten merged 1 commit intomainfrom
ignore-types-node-major-upgrades

Conversation

@spatten
Copy link
Copy Markdown
Contributor

@spatten spatten commented Apr 8, 2026

Overview

Adds a dependabot ignore rule to skip major version bumps for @types/node. This avoids dependabot PRs like #289 that propose upgrading @types/node to the 25.X.X branch. This would create a type/runtime mismatch with our Node 24 LTS target. Patch/minor updates within v24.x will still be proposed.

Checklist

  • If I changed code, I ran yarn build and committed resulting changes.
    • No code changes, only dependabot config.
  • I added an example exercising this PRs functionality to .github/workflows/test.yml or explained why it doesn't make sense to do so.
    • This is a dependabot config change, not testable in CI.

Important

After merging, make sure to create a new GitHub release and associated tag for this release.
You can either create the tag locally and then create a corresponding GitHub release,
or just create both the tag and release using the GitHub Release UI.

Additionally, if this is not a breaking change, make sure to update the v1 tag:

# Check out the tag you want to set as `v1`.
git checkout $TAG

# Delete and re-create the `v1` tag.
git tag -d v1 && git push origin :refs/tags/v1 && git tag v1 && git push origin tag v1

Node 25 is a non-LTS release, so @types/node v25 would create a
mismatch with our Node 24 LTS runtime. This rule prevents dependabot
from proposing major version bumps while still allowing patch/minor
updates within v24.x.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@spatten spatten changed the title Ignore @types/node major version upgrades in dependabot Make dependabot ignore major version upgrades to @types/node Apr 8, 2026
@spatten spatten marked this pull request as ready for review April 8, 2026 18:55
@spatten spatten requested a review from a team as a code owner April 8, 2026 18:55
@spatten spatten requested a review from tjugdev April 8, 2026 18:55
@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Apr 8, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository YAML (base), Organization UI (inherited)

Review profile: ASSERTIVE

Plan: Pro

Run ID: d1fcf186-b9e0-4f0b-baf4-a034bb8b3443

📥 Commits

Reviewing files that changed from the base of the PR and between b36611c and 1ee4cde.

📒 Files selected for processing (1)
  • .github/dependabot.yml

Walkthrough

The pull request adds a Dependabot ignore rule to the npm ecosystem configuration in .github/dependabot.yml. The rule excludes major version updates for the @types/node dependency from Dependabot's automated update process. This modifies the dependency management configuration without affecting any code declarations or public entities.

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately describes the primary change: adding a Dependabot ignore rule for major version upgrades to @types/node.
Description check ✅ Passed The description includes all required sections with complete information and properly addresses the checklist items with explanations for why certain items don't apply.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@spatten spatten merged commit e23f415 into main Apr 9, 2026
3 checks passed
@spatten spatten deleted the ignore-types-node-major-upgrades branch April 9, 2026 22:29
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.

2 participants