diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index e8a12ce6b..058a11210 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -213,6 +213,8 @@ When submitting provider changes: Use Node.js `>=24.22.1` (Node 26 recommended/default) and Bun `1.4.4` (tracked in `.bun-version`). +Keep `@types/node` on the Node 24 major to match the minimum supported runtime, even when developing on Node 26. Pin it to an exact published 24.x version; the type package version does not need to match the Node.js runtime patch version. + Install dependencies: ```bash diff --git a/bun.lock b/bun.lock index dcf315f88..e79904137 100644 --- a/bun.lock +++ b/bun.lock @@ -27,7 +27,7 @@ "@smithy/core": "3.36.2", "@smithy/node-http-handler": "4.12.1", "@types/bun": "1.4.4", - "@types/node": "^24.19.2", + "@types/node": "24.19.2", "@types/react": "19.2.14", "@typescript-eslint/eslint-plugin": "8.72.0", "@typescript-eslint/parser": "8.72.0", diff --git a/package.json b/package.json index 24160ea39..342d23d82 100644 --- a/package.json +++ b/package.json @@ -107,7 +107,7 @@ "@smithy/core": "3.36.2", "@smithy/node-http-handler": "4.12.1", "@types/bun": "1.4.4", - "@types/node": "^24.19.2", + "@types/node": "24.19.2", "@types/react": "19.2.14", "@typescript-eslint/eslint-plugin": "8.72.0", "@typescript-eslint/parser": "8.72.0",