Skip to content

chore(deps): stop @types/node major bumps - #505

Merged
tusbar merged 1 commit into
masterfrom
tusbar/pin-types-node-major
Jul 30, 2026
Merged

tusbar merged 1 commit into
masterfrom
tusbar/pin-types-node-major

Conversation

@tusbar

@tusbar tusbar commented Jul 30, 2026

Copy link
Copy Markdown
Member

@types/node must track the Node.js runtime major — the project targets Node 24 and type defs ahead of the runtime type-check code against APIs that don't exist in production.

This adds a dependabot ignore rule for @types/node semver-major bumps, so it keeps getting 24.x minor/patch updates only. The declared version is already on ^24, so nothing else changes here.

Bump it deliberately, together with .node-version / engines / @tsconfig/nodeXX, when the runtime itself moves to a new major.

@types/node must track the Node.js runtime major (24, see
.node-version): type defs ahead of the runtime type-check code
against APIs that do not exist in production.

Ignore @types/node major bumps in dependabot so it keeps getting
24.x minor/patch updates only; bump it deliberately when the runtime
moves to a new major.
Copilot AI review requested due to automatic review settings July 30, 2026 14:36
@codecov

codecov Bot commented Jul 30, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (8c4b921) to head (8866509).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff            @@
##            master      #505   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            1         1           
  Lines           11        11           
  Branches         1         1           
=========================================
  Hits            11        11           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adjusts Dependabot configuration so @types/node does not receive semver-major upgrade PRs, keeping TypeScript’s Node typings aligned with the project’s Node 24 runtime target.

Changes:

  • Add a Dependabot ignore rule to block @types/node major version updates (while still allowing minor/patch updates).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@tusbar
tusbar merged commit 31d4f52 into master Jul 30, 2026
7 checks passed
@tusbar
tusbar deleted the tusbar/pin-types-node-major branch July 30, 2026 14:45
@bizon-bot

Copy link
Copy Markdown
Member

🎉 This PR is included in version 6.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

3 participants