Skip to content

Commit c62ebc5

Browse files
chore(deps-dev): match @types/node to Node.js 24
CI runs on Node.js 24, but the project still used the Node.js 20 type definitions, and Dependabot proposed jumping to Node.js 26. Use @types/node 24 so the types describe the runtime the code actually runs on. Skip @types/node major updates in Dependabot: they should change only when the Node.js version used in CI changes.
1 parent af546ea commit c62ebc5

3 files changed

Lines changed: 14 additions & 9 deletions

File tree

‎.github/dependabot.yml‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@ updates:
2727
- dependency-name: lucide-react
2828
update-types:
2929
- version-update:semver-major
30+
# @types/node must match the Node.js major version used in CI (24). Update
31+
# it by hand when the Node.js version changes.
32+
- dependency-name: "@types/node"
33+
update-types:
34+
- version-update:semver-major
3035
- package-ecosystem: github-actions
3136
directory: /
3237
schedule:

‎package-lock.json‎

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
},
3131
"devDependencies": {
3232
"@tailwindcss/postcss": "^4",
33-
"@types/node": "^20",
33+
"@types/node": "^24",
3434
"@types/react": "^19",
3535
"@types/react-dom": "^19",
3636
"eslint": "^10",

0 commit comments

Comments
 (0)