Skip to content

Commit 7e94c87

Browse files
authored
Add typescript 5.x as an allowed version. (#18674)
* Add typescript 5.x as an allowed version. * Adjust version ranges to keep tests passing. * Update the typescript-rxjs sample.
1 parent 70130ed commit 7e94c87

File tree

32 files changed

+3399
-9244
lines changed

32 files changed

+3399
-9244
lines changed

modules/openapi-generator/src/main/resources/typescript-aurelia/package.json.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,6 @@
2222
},
2323
"devDependencies": {
2424
"tslint": "^3.15.1",
25-
"typescript": "^4.0"
25+
"typescript": "^4.0 || ^5.0"
2626
}
2727
}

modules/openapi-generator/src/main/resources/typescript-axios/package.mustache

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@
2929
"axios": "^1.6.1"
3030
},
3131
"devDependencies": {
32-
"@types/node": "^12.11.5",
33-
"typescript": "^4.0"
32+
"@types/node": "12.11.5 - 12.20.42",
33+
"typescript": "^4.0 || ^5.0"
3434
}{{#npmRepository}},{{/npmRepository}}
3535
{{#npmRepository}}
3636
"publishConfig": {

modules/openapi-generator/src/main/resources/typescript-fetch/package.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"redux-ts-simple": "^3.2.0",
3131
"reselect": "^4.0.0",
3232
{{/sagasAndRecords}}
33-
"typescript": "^4.0"
33+
"typescript": "^4.0 || ^5.0"
3434
}{{#npmRepository}},{{/npmRepository}}
3535
{{#npmRepository}}
3636
"publishConfig": {

modules/openapi-generator/src/main/resources/typescript-jquery/package.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
},
2020
"devDependencies": {
2121
"@types/jquery": "^3.1",
22-
"typescript": "^4.0"
22+
"typescript": "^4.0 || ^5.0"
2323
}{{#npmRepository}},
2424
"publishConfig": {
2525
"registry": "{{npmRepository}}"

modules/openapi-generator/src/main/resources/typescript-nestjs/package.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
"ts-node": "8.3.0",
5454
"tsconfig-paths": "3.8.0",
5555
"tslint": "5.18.0",
56-
"typescript": "^4.0",
56+
"typescript": "^4.0 || ^5.0",
5757
"wait-on": "^3.2.0"
5858
},
5959
"jest": {

modules/openapi-generator/src/main/resources/typescript-node/package.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"@types/bluebird": "^3.5.33",
2424
"@types/node": "^12",
2525
"@types/request": "^2.48.8",
26-
"typescript": "^4.0"
26+
"typescript": "^4.0 || ^5.0"
2727
}{{#npmRepository}},
2828
"publishConfig": {
2929
"registry": "{{npmRepository}}"

modules/openapi-generator/src/main/resources/typescript-redux-query/package.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"redux-query": "^3.2.0"
1818
},
1919
"devDependencies": {
20-
"typescript": "^4.0"
20+
"typescript": "^4.0 || ^5.0"
2121
}{{#npmRepository}},{{/npmRepository}}
2222
{{#npmRepository}}
2323
"publishConfig": {

modules/openapi-generator/src/main/resources/typescript-rxjs/package.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"rxjs": "^7.2.0"
1818
},
1919
"devDependencies": {
20-
"typescript": "^4.0"
20+
"typescript": "^4.0 || ^5.0"
2121
}{{#npmRepository}},{{/npmRepository}}
2222
{{#npmRepository}}
2323
"publishConfig": {

modules/openapi-generator/src/test/resources/integrationtests/typescript/node-es5-expected/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"request": "^2.72.0"
1818
},
1919
"devDependencies": {
20-
"typescript": "^4.0",
20+
"typescript": "^4.0 || ^5.0",
2121
"typings": "^0.8.1"
2222
}
2323
}

modules/openapi-generator/src/test/resources/integrationtests/typescript/objectsWithEnums-expected/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"rewire": "^3.0.2"
2121
},
2222
"devDependencies": {
23-
"typescript": "^4.0",
23+
"typescript": "^4.0 || ^5.0",
2424
"@types/node": "8.10.34"
2525
}
2626
}

0 commit comments

Comments
 (0)