Skip to content

Commit cd24cc0

Browse files
authored
chore: Update TS 5.7 (#17053)
1 parent d465131 commit cd24cc0

164 files changed

Lines changed: 439 additions & 291 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

codemods/babel-plugin-codemod-object-assign-to-object-spread/tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
"../../tsconfig.paths.json"
66
],
77
"include": [
8-
"../../codemods/babel-plugin-codemod-object-assign-to-object-spread/src/**/*.ts",
8+
"./src/**/*.ts",
9+
"./src/**/*.cts",
910
"../../lib/globals.d.ts",
1011
"../../scripts/repo-utils/*.d.ts"
1112
],

codemods/babel-plugin-codemod-optional-catch-binding/tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
"../../tsconfig.paths.json"
66
],
77
"include": [
8-
"../../codemods/babel-plugin-codemod-optional-catch-binding/src/**/*.ts",
8+
"./src/**/*.ts",
9+
"./src/**/*.cts",
910
"../../lib/globals.d.ts",
1011
"../../scripts/repo-utils/*.d.ts"
1112
],

eslint.config.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@ export default [
135135
allowDefaultProject: [
136136
"packages/babel-helpers/src/helpers/applyDecs2305.ts",
137137
"scripts/repo-utils/index.d.cts",
138+
"scripts/babel-plugin-bit-decorator/types.d.ts",
138139
"eslint/babel-eslint-plugin/types.d.cts",
139140
"eslint/babel-eslint-parser/types.d.cts",
140141
],

eslint/babel-eslint-parser/tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
"../../tsconfig.paths.json"
66
],
77
"include": [
8-
"../../eslint/babel-eslint-parser/src/**/*.cts",
8+
"./src/**/*.ts",
9+
"./src/**/*.cts",
910
"../../lib/globals.d.ts",
1011
"../../scripts/repo-utils/*.d.ts"
1112
],

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
"@rollup/plugin-replace": "^5.0.5",
4646
"@rollup/plugin-terser": "^0.4.4",
4747
"@types/jest": "^29.5.11",
48-
"@types/node": "^22.5.4",
48+
"@types/node": "^22.10.5",
4949
"@yarnpkg/types": "^4.0.0",
5050
"babel-plugin-transform-charcodes": "^0.2.0",
5151
"c8": "^10.0.0",
@@ -74,16 +74,16 @@
7474
"lint-staged": "^15.2.7",
7575
"mergeiterator": "^1.4.4",
7676
"picocolors": "^1.0.0",
77-
"prettier": "^3.3.2",
77+
"prettier": "^3.4.2",
7878
"rollup": "^4.18.0",
7979
"rollup-plugin-dts": "patch:rollup-plugin-dts@npm%3A6.1.0#~/.yarn/patches/rollup-plugin-dts-npm-6.1.0-6d41e665a7.patch",
8080
"rollup-plugin-dts-5": "npm:rollup-plugin-dts@^5.3.1",
8181
"rollup-plugin-polyfill-node": "^0.13.0",
8282
"semver": "^6.3.1",
8383
"shelljs": "^0.8.5",
8484
"test262-stream": "^1.4.0",
85-
"typescript": "5.6.2",
86-
"typescript-eslint": "8.8.0"
85+
"typescript": "5.7.3",
86+
"typescript-eslint": "8.19.1"
8787
},
8888
"workspaces": [
8989
"codemods/*",

packages/babel-cli/tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
"../../tsconfig.paths.json"
66
],
77
"include": [
8-
"../../packages/babel-cli/src/**/*.ts",
8+
"./src/**/*.ts",
9+
"./src/**/*.cts",
910
"../../lib/globals.d.ts",
1011
"../../scripts/repo-utils/*.d.ts"
1112
],

packages/babel-code-frame/tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
"../../tsconfig.paths.json"
66
],
77
"include": [
8-
"../../packages/babel-code-frame/src/**/*.ts",
8+
"./src/**/*.ts",
9+
"./src/**/*.cts",
910
"../../lib/globals.d.ts",
1011
"../../scripts/repo-utils/*.d.ts"
1112
],

packages/babel-compat-data/tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
"../../tsconfig.paths.json"
66
],
77
"include": [
8-
"../../packages/babel-compat-data/src/**/*.ts",
8+
"./src/**/*.ts",
9+
"./src/**/*.cts",
910
"../../lib/globals.d.ts",
1011
"../../scripts/repo-utils/*.d.ts"
1112
],

packages/babel-core/tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
"../../tsconfig.paths.json"
66
],
77
"include": [
8-
"../../packages/babel-core/src/**/*.ts",
8+
"./src/**/*.ts",
9+
"./src/**/*.cts",
910
"../../lib/globals.d.ts",
1011
"../../scripts/repo-utils/*.d.ts"
1112
],

packages/babel-generator/tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
"../../tsconfig.paths.json"
66
],
77
"include": [
8-
"../../packages/babel-generator/src/**/*.ts",
8+
"./src/**/*.ts",
9+
"./src/**/*.cts",
910
"../../lib/globals.d.ts",
1011
"../../scripts/repo-utils/*.d.ts"
1112
],

0 commit comments

Comments
 (0)