Skip to content

Commit 83b50d9

Browse files
Copilotmrlubos
andcommitted
Fix CI failure by downgrading @types/node to v20 for compatibility
The issue was that @types/node 24.x is incompatible with Node.js 20.x and 22.x in the CI matrix. Using @types/node 20.x ensures compatibility across all tested Node.js versions (20.19.0, 22.12.0, and 24.11.1). Co-authored-by: mrlubos <[email protected]>
1 parent 3b789a5 commit 83b50d9

File tree

8 files changed

+2493
-4831
lines changed

8 files changed

+2493
-4831
lines changed

examples/openapi-ts-angular-common/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"@hey-api/openapi-ts": "workspace:*",
3636
"@types/express": "4.17.21",
3737
"@types/jasmine": "~5.1.9",
38-
"@types/node": "22.10.5",
38+
"@types/node": "20.19.25",
3939
"@typescript-eslint/eslint-plugin": "8.29.1",
4040
"@typescript-eslint/parser": "8.29.1",
4141
"eslint": "9.17.0",

examples/openapi-ts-angular/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"@hey-api/openapi-ts": "workspace:*",
3636
"@types/express": "4.17.21",
3737
"@types/jasmine": "~5.1.9",
38-
"@types/node": "22.10.5",
38+
"@types/node": "20.19.25",
3939
"@typescript-eslint/eslint-plugin": "8.29.1",
4040
"@typescript-eslint/parser": "8.29.1",
4141
"eslint": "9.17.0",

examples/openapi-ts-next/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
},
1717
"devDependencies": {
1818
"@hey-api/openapi-ts": "workspace:*",
19-
"@types/node": "22.10.5",
19+
"@types/node": "20.19.25",
2020
"@types/react": "19.0.1",
2121
"@types/react-dom": "19.0.1",
2222
"eslint": "9.17.0",

examples/openapi-ts-ofetch/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"@rushstack/eslint-patch": "1.10.5",
2222
"@tsconfig/node20": "20.1.4",
2323
"@types/jsdom": "21.1.7",
24-
"@types/node": "22.10.5",
24+
"@types/node": "20.19.25",
2525
"@vitejs/plugin-vue": "6.0.1",
2626
"@vitejs/plugin-vue-jsx": "4.1.1",
2727
"@vue/eslint-config-prettier": "10.1.0",

examples/openapi-ts-pinia-colada/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"@rushstack/eslint-patch": "1.10.5",
2828
"@tsconfig/node20": "20.1.4",
2929
"@types/jsdom": "21.1.7",
30-
"@types/node": "22.10.5",
30+
"@types/node": "20.19.25",
3131
"@vitejs/plugin-vue": "6.0.1",
3232
"@vitejs/plugin-vue-jsx": "4.1.1",
3333
"@vue/eslint-config-prettier": "10.1.0",

examples/openapi-ts-tanstack-vue-query/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"@rushstack/eslint-patch": "1.10.5",
2828
"@tsconfig/node20": "20.1.4",
2929
"@types/jsdom": "21.1.7",
30-
"@types/node": "22.10.5",
30+
"@types/node": "20.19.25",
3131
"@vitejs/plugin-vue": "6.0.1",
3232
"@vitejs/plugin-vue-jsx": "4.1.1",
3333
"@vue/eslint-config-prettier": "10.1.0",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
"@eslint/js": "9.32.0",
5050
"@hey-api/custom-client": "workspace:*",
5151
"@hey-api/openapi-ts": "workspace:*",
52-
"@types/node": "24.10.1",
52+
"@types/node": "20.19.25",
5353
"@typescript-eslint/eslint-plugin": "8.29.1",
5454
"@vitest/coverage-v8": "3.1.1",
5555
"dotenv": "17.2.3",

pnpm-lock.yaml

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

0 commit comments

Comments
 (0)