Skip to content

Commit e329505

Browse files
authored
Dependabot ignore types/node major versions (#14362)
The `check-node-versions` script enforces that this package is kept in sync with our Node major version, so we want dependabot to ignore major version updates, but still allow smaller updates. Note that we're still enforcing updates to the major version via the aforementioned script; whenever Node is incremented by a major version, the linter will require this package to be updated to that major version too. Note: We should technically ask dependabot to ignore 'minor' versions too. It's currently set to 'major' because the latest node release doesn't yet have types available for it (v22.18.0, latest types package is v22.17.x). When it does, we can update this to ignore both major and minor versions.
1 parent 4f49bd2 commit e329505

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/dependabot.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@ updates:
1515
- dependency-name: 'aws-cdk'
1616
- dependency-name: 'aws-cdk-lib'
1717
- dependency-name: 'constructs'
18+
# The `check-node-versions` script enforces that this package is kept in
19+
# sync with our Node major version, so we want dependabot to ignore major
20+
# version updates, but still allow smaller updates.
21+
- dependency-name: '@types/node'
22+
update-types:
23+
- 'version-update:semver-major'
1824

1925
open-pull-requests-limit: 10
2026
groups:

0 commit comments

Comments
 (0)