cli: move back to ES2022 in tsconfig

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2025-12-10 20:33:41 +01:00
parent 08d56dd72d
commit c07af9f966
2 changed files with 4 additions and 2 deletions
+3 -1
View File
@@ -2,4 +2,6 @@
'@backstage/cli': patch
---
Switched ECMAScript version to ES2023.
Switched compilation target to ES2022 in order to match the new set of supported Node.js versions, which are 22 and 24.
The TypeScript compilation target has been set to ES2022, because setting it to a higher target will break projects on older TypeScript versions. If you use a newer TypeScript version in your own project, you can bump `compilerOptions.target` to ES2023 or ES2024 in your own `tsconfig.json` file.
+1 -1
View File
@@ -33,7 +33,7 @@
"strictNullChecks": true,
"strictPropertyInitialization": true,
"stripInternal": true,
"target": "ES2023",
"target": "ES2022",
"types": ["node", "jest", "webpack-env"],
"useDefineForClassFields": true
}