switch to TypeScript 5.0 + 5.2 in create-app

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2023-09-13 15:47:01 +02:00
parent 5995614eb0
commit a4c08241ad
5 changed files with 12 additions and 27 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/create-app': patch
---
Switched the template to use TypeScript 5.2 by default.
+1 -1
View File
@@ -82,7 +82,7 @@
"semver": "^7.5.3",
"shx": "^0.3.2",
"ts-node": "^10.4.0",
"typescript": "~4.9.0"
"typescript": "~5.0.0"
},
"prettier": "@spotify/prettier-config",
"lint-staged": {
@@ -36,7 +36,7 @@
"lerna": "^4.0.0",
"node-gyp": "^9.0.0",
"prettier": "^2.3.2",
"typescript": "~5.0.0"
"typescript": "~5.2.0"
},
"resolutions": {
"@types/react": "^17",
@@ -90,8 +90,8 @@ export const createTemplateAction = <
...action,
schema: {
...action.schema,
input: inputSchema,
output: outputSchema,
input: inputSchema as TInputSchema,
output: outputSchema as TOutputSchema,
},
};
};
+3 -23
View File
@@ -38858,7 +38858,7 @@ __metadata:
semver: ^7.5.3
shx: ^0.3.2
ts-node: ^10.4.0
typescript: ~4.9.0
typescript: ~5.0.0
languageName: unknown
linkType: soft
@@ -41839,17 +41839,7 @@ __metadata:
languageName: node
linkType: hard
"typescript@npm:~4.9.0":
version: 4.9.5
resolution: "typescript@npm:4.9.5"
bin:
tsc: bin/tsc
tsserver: bin/tsserver
checksum: ee000bc26848147ad423b581bd250075662a354d84f0e06eb76d3b892328d8d4440b7487b5a83e851b12b255f55d71835b008a66cbf8f255a11e4400159237db
languageName: node
linkType: hard
"typescript@npm:~5.0.4":
"typescript@npm:~5.0.0, typescript@npm:~5.0.4":
version: 5.0.4
resolution: "typescript@npm:5.0.4"
bin:
@@ -41869,17 +41859,7 @@ __metadata:
languageName: node
linkType: hard
"typescript@patch:typescript@~4.9.0#~builtin<compat/typescript>":
version: 4.9.5
resolution: "typescript@patch:typescript@npm%3A4.9.5#~builtin<compat/typescript>::version=4.9.5&hash=a1c5e5"
bin:
tsc: bin/tsc
tsserver: bin/tsserver
checksum: 2eee5c37cad4390385db5db5a8e81470e42e8f1401b0358d7390095d6f681b410f2c4a0c496c6ff9ebd775423c7785cdace7bcdad76c7bee283df3d9718c0f20
languageName: node
linkType: hard
"typescript@patch:typescript@~5.0.4#~builtin<compat/typescript>":
"typescript@patch:typescript@~5.0.0#~builtin<compat/typescript>, typescript@patch:typescript@~5.0.4#~builtin<compat/typescript>":
version: 5.0.4
resolution: "typescript@patch:typescript@npm%3A5.0.4#~builtin<compat/typescript>::version=5.0.4&hash=a1c5e5"
bin: