Skip to content

Commit ef39dbd

Browse files
authored
Bump TypeScript to 5.7.3 (#5117)
* Bump TypeScript and the @typescript-eslint/* dependencies. * fixup! Bump TypeScript and the @typescript-eslint/* dependencies. * Fix build issues. * fixup! Fix build issues. * fixup! Fix build issues. * Update the Heft TypeScript plugin to support TypeScript 5.7. * fixup! Fix build issues. * fixup! Fix build issues. * Fix up API reports and rollups. * fixup! Fix build issues. * fixup! Fix build issues. * Rush update. * fixup! Bump TypeScript and the @typescript-eslint/* dependencies. * fixup! Bump TypeScript and the @typescript-eslint/* dependencies. * Include missing changefiles. * Remove some unnecessary dependencies.
1 parent 0f11a06 commit ef39dbd

File tree

134 files changed

+1604
-839
lines changed

Some content is hidden

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

134 files changed

+1604
-839
lines changed

apps/cpu-profile-summarizer/package.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
},
2424
"devDependencies": {
2525
"@rushstack/heft": "workspace:*",
26-
"local-node-rig": "workspace:*",
27-
"typescript": "~5.4.2"
26+
"local-node-rig": "workspace:*"
2827
}
2928
}

apps/heft/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,6 @@
5555
"@types/heft-jest": "1.0.1",
5656
"@types/node": "20.17.19",
5757
"@types/watchpack": "2.4.0",
58-
"typescript": "~5.4.2"
58+
"typescript": "~5.7.3"
5959
}
6060
}

apps/heft/src/index.ts

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
22
// See LICENSE in the project root for license information.
33

4+
/// <reference types="node" preserve="true" />
5+
46
/**
57
* Heft is a config-driven toolchain that invokes other popular tools such
68
* as TypeScript, ESLint, Jest, Webpack, and API Extractor. You can use it to build

apps/trace-import/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"@rushstack/ts-command-line": "workspace:*",
2424
"resolve": "~1.22.1",
2525
"semver": "~7.5.4",
26-
"typescript": "~5.4.2"
26+
"typescript": "~5.7.3"
2727
},
2828
"devDependencies": {
2929
"@rushstack/heft": "workspace:*",

build-tests-samples/heft-node-basic-tutorial/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@
1919
"@types/heft-jest": "1.0.1",
2020
"@types/node": "20.17.19",
2121
"eslint": "~8.57.0",
22-
"typescript": "~5.4.2"
22+
"typescript": "~5.7.3"
2323
}
2424
}

build-tests-samples/heft-node-jest-tutorial/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@
1818
"@types/heft-jest": "1.0.1",
1919
"@types/node": "20.17.19",
2020
"eslint": "~8.57.0",
21-
"typescript": "~5.4.2"
21+
"typescript": "~5.7.3"
2222
}
2323
}

build-tests-samples/heft-serverless-stack-tutorial/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,6 @@
3030
"constructs": "~10.0.98",
3131
"eslint": "~8.57.0",
3232
"local-eslint-config": "workspace:*",
33-
"typescript": "~5.4.2"
33+
"typescript": "~5.7.3"
3434
}
3535
}

build-tests-samples/heft-storybook-react-tutorial-storykit/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"react": "~17.0.2",
3333
"style-loader": "~2.0.0",
3434
"terser-webpack-plugin": "~3.0.8",
35-
"typescript": "~5.4.2",
35+
"typescript": "~5.7.3",
3636
"webpack": "~4.47.0"
3737
}
3838
}

build-tests-samples/heft-storybook-react-tutorial/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"html-webpack-plugin": "~4.5.2",
3939
"source-map-loader": "~1.1.3",
4040
"style-loader": "~2.0.0",
41-
"typescript": "~5.4.2",
41+
"typescript": "~5.7.3",
4242
"webpack": "~4.47.0"
4343
}
4444
}

build-tests-samples/heft-web-rig-app-tutorial/package.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
"@rushstack/heft": "workspace:*",
2222
"@types/react-dom": "17.0.25",
2323
"@types/react": "17.0.74",
24-
"@types/webpack-env": "1.18.8",
25-
"typescript": "~5.4.2"
24+
"@types/webpack-env": "1.18.8"
2625
}
2726
}

build-tests-samples/heft-web-rig-library-tutorial/package.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
"@rushstack/heft": "workspace:*",
2424
"@types/react-dom": "17.0.25",
2525
"@types/react": "17.0.74",
26-
"@types/webpack-env": "1.18.8",
27-
"typescript": "~5.4.2"
26+
"@types/webpack-env": "1.18.8"
2827
}
2928
}

build-tests-samples/heft-webpack-basic-tutorial/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"html-webpack-plugin": "~5.5.0",
3131
"source-map-loader": "~3.0.1",
3232
"style-loader": "~3.3.1",
33-
"typescript": "~5.4.2",
33+
"typescript": "~5.7.3",
3434
"webpack": "~5.95.0"
3535
}
3636
}

build-tests-samples/packlets-tutorial/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@
1616
"@rushstack/heft-typescript-plugin": "workspace:*",
1717
"@types/node": "20.17.19",
1818
"eslint": "~8.57.0",
19-
"typescript": "~5.4.2"
19+
"typescript": "~5.7.3"
2020
}
2121
}

build-tests-subspace/rush-lib-test/package.json

+1-3
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,10 @@
1414
"@rushstack/terminal": "workspace:*"
1515
},
1616
"devDependencies": {
17-
"@rushstack/eslint-config": "workspace:*",
1817
"@rushstack/heft": "workspace:*",
1918
"@types/node": "20.17.19",
2019
"eslint": "~8.57.0",
21-
"local-node-rig": "workspace:*",
22-
"typescript": "~5.4.2"
20+
"local-node-rig": "workspace:*"
2321
},
2422
"dependenciesMeta": {
2523
"@microsoft/rush-lib": {

build-tests-subspace/rush-sdk-test/package.json

+1-3
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,10 @@
1414
},
1515
"devDependencies": {
1616
"@microsoft/rush-lib": "workspace:*",
17-
"@rushstack/eslint-config": "workspace:*",
1817
"@rushstack/heft": "workspace:*",
1918
"@types/node": "20.17.19",
2019
"eslint": "~8.57.0",
21-
"local-node-rig": "workspace:*",
22-
"typescript": "~5.4.2"
20+
"local-node-rig": "workspace:*"
2321
},
2422
"dependenciesMeta": {
2523
"@microsoft/rush-lib": {

build-tests-subspace/typescript-newest-test/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"@rushstack/heft": "workspace:*",
1515
"eslint": "~8.57.0",
1616
"local-node-rig": "workspace:*",
17-
"typescript": "~5.4.2"
17+
"typescript": "~5.7.3"
1818
},
1919
"dependenciesMeta": {
2020
"@rushstack/eslint-config": {

build-tests/api-extractor-scenarios/etc/mixinPattern/rollup.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export declare class B extends B_base {
99

1010
declare const B_base: {
1111
new (...args: any[]): {
12-
mixinProp?: string | undefined;
12+
mixinProp?: string;
1313
};
1414
} & typeof A;
1515

build-tests/api-extractor-test-01/dist/api-extractor-test-01-alpha.d.ts

-4
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,6 @@
99
* @packageDocumentation
1010
*/
1111

12-
/// <reference types="jest" />
13-
/// <reference lib="es2015.symbol.wellknown" />
14-
/// <reference lib="es2018.intl" />
15-
1612
import { default as Long_2 } from 'long';
1713
import { MAX_UNSIGNED_VALUE } from 'long';
1814

build-tests/api-extractor-test-01/dist/api-extractor-test-01-beta.d.ts

-4
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,6 @@
99
* @packageDocumentation
1010
*/
1111

12-
/// <reference types="jest" />
13-
/// <reference lib="es2015.symbol.wellknown" />
14-
/// <reference lib="es2018.intl" />
15-
1612
import { default as Long_2 } from 'long';
1713
import { MAX_UNSIGNED_VALUE } from 'long';
1814

build-tests/api-extractor-test-01/dist/api-extractor-test-01-public.d.ts

-4
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,6 @@
99
* @packageDocumentation
1010
*/
1111

12-
/// <reference types="jest" />
13-
/// <reference lib="es2015.symbol.wellknown" />
14-
/// <reference lib="es2018.intl" />
15-
1612
import { default as Long_2 } from 'long';
1713
import { MAX_UNSIGNED_VALUE } from 'long';
1814

build-tests/api-extractor-test-01/dist/api-extractor-test-01.d.ts

-4
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,6 @@
99
* @packageDocumentation
1010
*/
1111

12-
/// <reference types="jest" />
13-
/// <reference lib="es2015.symbol.wellknown" />
14-
/// <reference lib="es2018.intl" />
15-
1612
import { default as Long_2 } from 'long';
1713
import { MAX_UNSIGNED_VALUE } from 'long';
1814

build-tests/api-extractor-test-01/etc/api-extractor-test-01.api.md

-4

build-tests/api-extractor-test-02/package.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
},
1818
"devDependencies": {
1919
"@rushstack/heft": "workspace:*",
20-
"local-node-rig": "workspace:*",
21-
"typescript": "5.7.3"
20+
"local-node-rig": "workspace:*"
2221
}
2322
}

build-tests/eslint-7-11-test/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@
1616
"@typescript-eslint/parser": "~6.19.0",
1717
"eslint": "7.11.0",
1818
"local-node-rig": "workspace:*",
19-
"typescript": "~5.4.2"
19+
"typescript": "~5.7.3"
2020
}
2121
}

build-tests/eslint-7-7-test/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@
1616
"@typescript-eslint/parser": "~6.19.0",
1717
"eslint": "7.7.0",
1818
"local-node-rig": "workspace:*",
19-
"typescript": "~5.4.2"
19+
"typescript": "~5.7.3"
2020
}
2121
}

build-tests/eslint-7-test/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@
1616
"@typescript-eslint/parser": "~6.19.0",
1717
"eslint": "~7.30.0",
1818
"local-node-rig": "workspace:*",
19-
"typescript": "~5.4.2"
19+
"typescript": "~5.7.3"
2020
}
2121
}

build-tests/eslint-8-test/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
"@rushstack/heft": "workspace:*",
1414
"local-node-rig": "workspace:*",
1515
"@types/node": "20.17.19",
16-
"@typescript-eslint/parser": "~8.1.0",
16+
"@typescript-eslint/parser": "~8.24.0",
1717
"eslint": "~8.57.0",
18-
"typescript": "~5.4.2"
18+
"typescript": "~5.7.3"
1919
}
2020
}

build-tests/eslint-bulk-suppressions-test-legacy/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@
1212
"@rushstack/eslint-patch": "workspace:*",
1313
"@rushstack/heft": "workspace:*",
1414
"@rushstack/node-core-library": "workspace:*",
15-
"@typescript-eslint/parser": "~6.19.0",
15+
"@typescript-eslint/parser": "~8.24.0",
1616
"eslint": "~8.57.0",
1717
"eslint-8.23": "npm:[email protected]",
1818
"eslint-oldest": "npm:[email protected]",
1919
"local-node-rig": "workspace:*",
20-
"typescript": "~5.4.2"
20+
"typescript": "~5.7.3"
2121
}
2222
}

build-tests/eslint-bulk-suppressions-test/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
"@rushstack/eslint-patch": "workspace:*",
1212
"@rushstack/heft": "workspace:*",
1313
"@rushstack/node-core-library": "workspace:*",
14-
"@typescript-eslint/parser": "~8.1.0",
14+
"@typescript-eslint/parser": "~8.24.0",
1515
"eslint": "~8.57.0",
1616
"local-node-rig": "workspace:*",
17-
"typescript": "~5.4.2"
17+
"typescript": "~5.7.3"
1818
}
1919
}

build-tests/hashed-folder-copy-plugin-webpack5-test/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"@rushstack/heft-webpack5-plugin": "workspace:*",
1717
"@types/webpack-env": "1.18.8",
1818
"html-webpack-plugin": "~5.5.0",
19-
"typescript": "~5.4.2",
19+
"typescript": "~5.7.3",
2020
"webpack-bundle-analyzer": "~4.5.0",
2121
"webpack": "~5.95.0"
2222
}

build-tests/heft-example-plugin-01/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@
2121
"@types/node": "20.17.19",
2222
"@types/tapable": "1.0.6",
2323
"eslint": "~8.57.0",
24-
"typescript": "~5.4.2"
24+
"typescript": "~5.7.3"
2525
}
2626
}

build-tests/heft-example-plugin-02/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,6 @@
2626
"@types/node": "20.17.19",
2727
"eslint": "~8.57.0",
2828
"heft-example-plugin-01": "workspace:*",
29-
"typescript": "~5.4.2"
29+
"typescript": "~5.7.3"
3030
}
3131
}

build-tests/heft-fastify-test/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"@types/heft-jest": "1.0.1",
2020
"@types/node": "20.17.19",
2121
"eslint": "~8.57.0",
22-
"typescript": "~5.4.2"
22+
"typescript": "~5.7.3"
2323
},
2424
"dependencies": {
2525
"fastify": "~3.16.1"

build-tests/heft-jest-preset-test/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@
1818
"@rushstack/heft-typescript-plugin": "workspace:*",
1919
"@types/heft-jest": "1.0.1",
2020
"eslint": "~8.57.0",
21-
"typescript": "~5.4.2"
21+
"typescript": "~5.7.3"
2222
}
2323
}

build-tests/heft-jest-reporters-test/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@
2020
"@rushstack/heft-typescript-plugin": "workspace:*",
2121
"@types/heft-jest": "1.0.1",
2222
"eslint": "~8.57.0",
23-
"typescript": "~5.4.2"
23+
"typescript": "~5.7.3"
2424
}
2525
}

build-tests/heft-minimal-rig-test/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"_phase:build": ""
1010
},
1111
"dependencies": {
12-
"typescript": "~5.4.2",
12+
"typescript": "~5.7.3",
1313
"@microsoft/api-extractor": "workspace:*",
1414
"@rushstack/heft-api-extractor-plugin": "workspace:*",
1515
"@rushstack/heft-jest-plugin": "workspace:*",

build-tests/heft-node-everything-esm-module-test/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,6 @@
2525
"heft-example-plugin-01": "workspace:*",
2626
"heft-example-plugin-02": "workspace:*",
2727
"tslint": "~5.20.1",
28-
"typescript": "~5.4.2"
28+
"typescript": "~5.7.3"
2929
}
3030
}

build-tests/heft-node-everything-test/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,6 @@
2626
"heft-example-plugin-01": "workspace:*",
2727
"heft-example-plugin-02": "workspace:*",
2828
"tslint": "~5.20.1",
29-
"typescript": "~5.4.2"
29+
"typescript": "~5.7.3"
3030
}
3131
}

build-tests/heft-parameter-plugin-test/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@
1818
"@types/heft-jest": "1.0.1",
1919
"@types/node": "20.17.19",
2020
"heft-parameter-plugin": "workspace:*",
21-
"typescript": "~5.4.2"
21+
"typescript": "~5.7.3"
2222
}
2323
}

build-tests/heft-parameter-plugin/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"@rushstack/heft-typescript-plugin": "workspace:*",
1717
"@types/node": "20.17.19",
1818
"eslint": "~8.57.0",
19-
"typescript": "~5.4.2"
19+
"typescript": "~5.7.3"
2020
},
2121
"dependencies": {
2222
"@rushstack/node-core-library": "workspace:*"

build-tests/heft-sass-test/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"react-dom": "~17.0.2",
3232
"react": "~17.0.2",
3333
"style-loader": "~2.0.0",
34-
"typescript": "~5.4.2",
34+
"typescript": "~5.7.3",
3535
"webpack": "~4.47.0"
3636
},
3737
"dependencies": {

build-tests/heft-typescript-composite-test/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@
2020
"@types/webpack-env": "1.18.8",
2121
"eslint": "~8.57.0",
2222
"tslint": "~5.20.1",
23-
"typescript": "~5.4.2"
23+
"typescript": "~5.7.3"
2424
}
2525
}

0 commit comments

Comments
 (0)