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.
This commit is contained in:
Jeffrey Yasskin 2024-05-15 13:09:55 -07:00 committed by GitHub
parent 70130edaab
commit 7e94c873f7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
32 changed files with 1567 additions and 7412 deletions

View File

@ -22,6 +22,6 @@
},
"devDependencies": {
"tslint": "^3.15.1",
"typescript": "^4.0"
"typescript": "^4.0 || ^5.0"
}
}

View File

@ -29,8 +29,8 @@
"axios": "^1.6.1"
},
"devDependencies": {
"@types/node": "^12.11.5",
"typescript": "^4.0"
"@types/node": "12.11.5 - 12.20.42",
"typescript": "^4.0 || ^5.0"
}{{#npmRepository}},{{/npmRepository}}
{{#npmRepository}}
"publishConfig": {

View File

@ -30,7 +30,7 @@
"redux-ts-simple": "^3.2.0",
"reselect": "^4.0.0",
{{/sagasAndRecords}}
"typescript": "^4.0"
"typescript": "^4.0 || ^5.0"
}{{#npmRepository}},{{/npmRepository}}
{{#npmRepository}}
"publishConfig": {

View File

@ -19,7 +19,7 @@
},
"devDependencies": {
"@types/jquery": "^3.1",
"typescript": "^4.0"
"typescript": "^4.0 || ^5.0"
}{{#npmRepository}},
"publishConfig": {
"registry": "{{npmRepository}}"

View File

@ -53,7 +53,7 @@
"ts-node": "8.3.0",
"tsconfig-paths": "3.8.0",
"tslint": "5.18.0",
"typescript": "^4.0",
"typescript": "^4.0 || ^5.0",
"wait-on": "^3.2.0"
},
"jest": {

View File

@ -23,7 +23,7 @@
"@types/bluebird": "^3.5.33",
"@types/node": "^12",
"@types/request": "^2.48.8",
"typescript": "^4.0"
"typescript": "^4.0 || ^5.0"
}{{#npmRepository}},
"publishConfig": {
"registry": "{{npmRepository}}"

View File

@ -17,7 +17,7 @@
"redux-query": "^3.2.0"
},
"devDependencies": {
"typescript": "^4.0"
"typescript": "^4.0 || ^5.0"
}{{#npmRepository}},{{/npmRepository}}
{{#npmRepository}}
"publishConfig": {

View File

@ -17,7 +17,7 @@
"rxjs": "^7.2.0"
},
"devDependencies": {
"typescript": "^4.0"
"typescript": "^4.0 || ^5.0"
}{{#npmRepository}},{{/npmRepository}}
{{#npmRepository}}
"publishConfig": {

View File

@ -17,7 +17,7 @@
"request": "^2.72.0"
},
"devDependencies": {
"typescript": "^4.0",
"typescript": "^4.0 || ^5.0",
"typings": "^0.8.1"
}
}

View File

@ -20,7 +20,7 @@
"rewire": "^3.0.2"
},
"devDependencies": {
"typescript": "^4.0",
"typescript": "^4.0 || ^5.0",
"@types/node": "8.10.34"
}
}

View File

@ -25,7 +25,7 @@
"axios": "^1.6.1"
},
"devDependencies": {
"@types/node": "^12.11.5",
"typescript": "^4.0"
"@types/node": "12.11.5 - 12.20.42",
"typescript": "^4.0 || ^5.0"
}
}

View File

@ -22,6 +22,6 @@
},
"devDependencies": {
"tslint": "^3.15.1",
"typescript": "^4.0"
"typescript": "^4.0 || ^5.0"
}
}

View File

@ -27,8 +27,8 @@
"axios": "^1.6.1"
},
"devDependencies": {
"@types/node": "^12.11.5",
"typescript": "^4.0"
"@types/node": "12.11.5 - 12.20.42",
"typescript": "^4.0 || ^5.0"
},
"publishConfig": {
"registry": "https://skimdb.npmjs.com/registry"

View File

@ -25,8 +25,8 @@
"axios": "^1.6.1"
},
"devDependencies": {
"@types/node": "^12.11.5",
"typescript": "^4.0"
"@types/node": "12.11.5 - 12.20.42",
"typescript": "^4.0 || ^5.0"
},
"publishConfig": {
"registry": "https://skimdb.npmjs.com/registry"

View File

@ -25,8 +25,8 @@
"axios": "^1.6.1"
},
"devDependencies": {
"@types/node": "^12.11.5",
"typescript": "^4.0"
"@types/node": "12.11.5 - 12.20.42",
"typescript": "^4.0 || ^5.0"
},
"publishConfig": {
"registry": "https://skimdb.npmjs.com/registry"

View File

@ -16,7 +16,7 @@
"prepare": "npm run build"
},
"devDependencies": {
"typescript": "^4.0"
"typescript": "^4.0 || ^5.0"
},
"publishConfig": {
"registry": "https://skimdb.npmjs.com/registry"

View File

@ -14,7 +14,7 @@
"prepare": "npm run build"
},
"devDependencies": {
"typescript": "^4.0"
"typescript": "^4.0 || ^5.0"
},
"publishConfig": {
"registry": "https://skimdb.npmjs.com/registry"

View File

@ -20,7 +20,7 @@
"redux-saga": "^1.1.3",
"redux-ts-simple": "^3.2.0",
"reselect": "^4.0.0",
"typescript": "^4.0"
"typescript": "^4.0 || ^5.0"
},
"publishConfig": {
"registry": "https://skimdb.npmjs.com/registry"

View File

@ -1,36 +1,28 @@
{
"name": "@openapitools/typescript-fetch-petstore",
"version": "1.0.0",
"lockfileVersion": 2,
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "@openapitools/typescript-fetch-petstore",
"version": "1.0.0",
"devDependencies": {
"typescript": "^4.0"
"typescript": "^4.0 || ^5.0"
}
},
"node_modules/typescript": {
"version": "4.6.3",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-4.6.3.tgz",
"integrity": "sha512-yNIatDa5iaofVozS/uQJEl3JRWLKKGJKh6Yaiv0GLGSuhpFJe7P3SbHZ8/yjAHRQwKRoA6YZqlfjXWmVzoVSMw==",
"version": "5.4.5",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.4.5.tgz",
"integrity": "sha512-vcI4UpRgg81oIRUFwR0WSIHKt11nJ7SAVlYNIu+QpqeyXP+gpQJy/Z4+F0aGxSE4MqwjyXvW/TzgkLAx2AGHwQ==",
"dev": true,
"bin": {
"tsc": "bin/tsc",
"tsserver": "bin/tsserver"
},
"engines": {
"node": ">=4.2.0"
"node": ">=14.17"
}
}
},
"dependencies": {
"typescript": {
"version": "4.6.3",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-4.6.3.tgz",
"integrity": "sha512-yNIatDa5iaofVozS/uQJEl3JRWLKKGJKh6Yaiv0GLGSuhpFJe7P3SbHZ8/yjAHRQwKRoA6YZqlfjXWmVzoVSMw==",
"dev": true
}
}
}

View File

@ -14,7 +14,7 @@
"prepare": "npm run build"
},
"devDependencies": {
"typescript": "^4.0"
"typescript": "^4.0 || ^5.0"
},
"publishConfig": {
"registry": "https://skimdb.npmjs.com/registry"

View File

@ -14,7 +14,7 @@
"prepare": "npm run build"
},
"devDependencies": {
"typescript": "^4.0"
"typescript": "^4.0 || ^5.0"
},
"publishConfig": {
"registry": "https://skimdb.npmjs.com/registry"

File diff suppressed because it is too large Load Diff

View File

@ -26,7 +26,7 @@
"node-fetch": "^2.2.0",
"ts-loader": "^2.3.0",
"tsify": "^3.0.4",
"typescript": "^4.0",
"typescript": "^4.0 || ^5.0",
"typings": "^2.1.1",
"webpack": "^1.13.0"
},

View File

@ -19,7 +19,7 @@
},
"devDependencies": {
"@types/jquery": "^3.1",
"typescript": "^4.0"
"typescript": "^4.0 || ^5.0"
},
"publishConfig": {
"registry": "https://skimdb.npmjs.com/registry"

View File

@ -50,7 +50,7 @@
"ts-node": "8.3.0",
"tsconfig-paths": "3.8.0",
"tslint": "5.18.0",
"typescript": "^4.0",
"typescript": "^4.0 || ^5.0",
"wait-on": "^3.2.0"
},
"jest": {

View File

@ -51,7 +51,7 @@
"ts-node": "8.3.0",
"tsconfig-paths": "3.8.0",
"tslint": "5.18.0",
"typescript": "^4.0",
"typescript": "^4.0 || ^5.0",
"wait-on": "^3.2.0"
},
"jest": {

View File

@ -23,7 +23,7 @@
"@types/bluebird": "^3.5.33",
"@types/node": "^12",
"@types/request": "^2.48.8",
"typescript": "^4.0"
"typescript": "^4.0 || ^5.0"
},
"publishConfig": {
"registry": "https://skimdb.npmjs.com/registry"

View File

@ -17,7 +17,7 @@
"redux-query": "^3.2.0"
},
"devDependencies": {
"typescript": "^4.0"
"typescript": "^4.0 || ^5.0"
},
"publishConfig": {
"registry": "https://skimdb.npmjs.com/registry"

View File

@ -17,7 +17,7 @@
"rxjs": "^7.2.0"
},
"devDependencies": {
"typescript": "^4.0"
"typescript": "^4.0 || ^5.0"
},
"publishConfig": {
"registry": "https://skimdb.npmjs.com/registry"

View File

@ -17,7 +17,7 @@
"rxjs": "^7.2.0"
},
"devDependencies": {
"typescript": "^4.0"
"typescript": "^4.0 || ^5.0"
},
"publishConfig": {
"registry": "https://skimdb.npmjs.com/registry"

View File

@ -12,10 +12,10 @@
"build": "tsc"
},
"devDependencies": {
"@types/chai": "^4.0.1",
"@types/chai": "4.0.1 - 4.1.x",
"@types/isomorphic-fetch": "0.0.34",
"@types/mocha": "^2.2.41",
"@types/node": "^8.10.38",
"@types/node": "8.10.38 - 8.10.62",
"chai": "^4.1.0",
"mocha": "^5.2.0",
"ts-loader": "^2.3.0",

View File

@ -12,10 +12,10 @@
"build": "tsc"
},
"devDependencies": {
"@types/chai": "^4.0.1",
"@types/chai": "4.0.1 - 4.1.x",
"@types/isomorphic-fetch": "0.0.34",
"@types/mocha": "^2.2.41",
"@types/node": "^8.10.38",
"@types/node": "8.10.38 - 8.10.62",
"chai": "^4.1.0",
"mocha": "^5.2.0",
"ts-loader": "^2.3.0",