Skip to content

Commit e02148a

Browse files
authored
Bump @types/node and @types/webpack-env. (#5132)
* Bump @types/node and @types/webpack-env. * fixup! Bump @types/node and @types/webpack-env.
1 parent c923f02 commit e02148a

File tree

104 files changed

+1043
-881
lines changed

Some content is hidden

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

104 files changed

+1043
-881
lines changed

apps/api-extractor/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
"@types/heft-jest": "1.0.1",
5858
"@types/lodash": "4.14.116",
5959
"@types/minimatch": "3.0.5",
60-
"@types/node": "18.17.15",
60+
"@types/node": "20.17.19",
6161
"@types/resolve": "1.20.2",
6262
"@types/semver": "7.5.0",
6363
"local-eslint-config": "workspace:*"

apps/heft/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
"@rushstack/heft": "0.68.12",
5454
"@rushstack/heft-node-rig": "2.6.48",
5555
"@types/heft-jest": "1.0.1",
56-
"@types/node": "18.17.15",
56+
"@types/node": "20.17.19",
5757
"@types/watchpack": "2.4.0",
5858
"typescript": "~5.4.2"
5959
}

apps/heft/src/cli/HeftCommandLineParser.ts

+3-2
Original file line numberDiff line numberDiff line change
@@ -245,8 +245,9 @@ export class HeftCommandLineParser extends CommandLineParser {
245245
this.globalTerminal.writeErrorLine(error.stack!);
246246
}
247247

248-
if (!process.exitCode || process.exitCode > 0) {
249-
process.exit(process.exitCode);
248+
const exitCode: string | number | undefined = process.exitCode;
249+
if (!exitCode || typeof exitCode !== 'number' || exitCode > 0) {
250+
process.exit(exitCode);
250251
} else {
251252
process.exit(1);
252253
}

apps/rundown/src/launcher.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ class Launcher {
5151
}
5252

5353
public installHook(): void {
54-
const realRequire: NodeJS.Require = moduleApi.Module.prototype.require;
54+
const realRequire: typeof moduleApi.Module.prototype.require = moduleApi.Module.prototype.require;
5555

5656
const importedModules: Set<unknown> = this._importedModules; // for closure
5757
const importedModulePaths: Set<string> = this._importedModulePaths; // for closure

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"@rushstack/heft-lint-plugin": "workspace:*",
1818
"@rushstack/heft-typescript-plugin": "workspace:*",
1919
"@types/heft-jest": "1.0.1",
20-
"@types/node": "18.17.15",
20+
"@types/node": "20.17.19",
2121
"eslint": "~8.57.0",
2222
"typescript": "~5.4.2"
2323
}

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

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

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@
1515
"@rushstack/heft": "workspace:*",
1616
"@rushstack/heft-node-rig": "workspace:*",
1717
"@types/heft-jest": "1.0.1",
18-
"@types/node": "18.17.15"
18+
"@types/node": "20.17.19"
1919
}
2020
}

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"@serverless-stack/resources": "1.18.4",
2626
"@types/aws-lambda": "8.10.93",
2727
"@types/heft-jest": "1.0.1",
28-
"@types/node": "18.17.15",
28+
"@types/node": "20.17.19",
2929
"aws-cdk-lib": "2.177.0",
3030
"constructs": "~10.0.98",
3131
"eslint": "~8.57.0",

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@
2121
"@storybook/react": "~6.4.18",
2222
"@storybook/theming": "~6.4.18",
2323
"@types/heft-jest": "1.0.1",
24-
"@types/node": "18.17.15",
24+
"@types/node": "20.17.19",
2525
"@types/react-dom": "17.0.25",
2626
"@types/react": "17.0.74",
27-
"@types/webpack-env": "1.18.0",
27+
"@types/webpack-env": "1.18.8",
2828
"babel-loader": "~8.2.3",
2929
"css-loader": "~5.2.7",
3030
"jest": "~29.3.1",

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@
2828
"@rushstack/webpack4-module-minifier-plugin": "workspace:*",
2929
"@storybook/react": "~6.4.18",
3030
"@types/heft-jest": "1.0.1",
31-
"@types/node": "18.17.15",
31+
"@types/node": "20.17.19",
3232
"@types/react-dom": "17.0.25",
3333
"@types/react": "17.0.74",
34-
"@types/webpack-env": "1.18.0",
34+
"@types/webpack-env": "1.18.8",
3535
"css-loader": "~5.2.7",
3636
"eslint": "~8.57.0",
3737
"heft-storybook-react-tutorial-storykit": "workspace:*",

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"@rushstack/heft": "workspace:*",
2222
"@types/react-dom": "17.0.25",
2323
"@types/react": "17.0.74",
24-
"@types/webpack-env": "1.18.0",
24+
"@types/webpack-env": "1.18.8",
2525
"typescript": "~5.4.2"
2626
}
2727
}

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"@rushstack/heft": "workspace:*",
2424
"@types/react-dom": "17.0.25",
2525
"@types/react": "17.0.74",
26-
"@types/webpack-env": "1.18.0",
26+
"@types/webpack-env": "1.18.8",
2727
"typescript": "~5.4.2"
2828
}
2929
}

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"@types/heft-jest": "1.0.1",
2525
"@types/react-dom": "17.0.25",
2626
"@types/react": "17.0.74",
27-
"@types/webpack-env": "1.18.0",
27+
"@types/webpack-env": "1.18.8",
2828
"css-loader": "~6.6.0",
2929
"eslint": "~8.57.0",
3030
"html-webpack-plugin": "~5.5.0",

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"@rushstack/heft": "workspace:*",
1515
"@rushstack/heft-lint-plugin": "workspace:*",
1616
"@rushstack/heft-typescript-plugin": "workspace:*",
17-
"@types/node": "18.17.15",
17+
"@types/node": "20.17.19",
1818
"eslint": "~8.57.0",
1919
"typescript": "~5.4.2"
2020
}

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"devDependencies": {
1717
"@rushstack/eslint-config": "workspace:*",
1818
"@rushstack/heft": "workspace:*",
19-
"@types/node": "18.17.15",
19+
"@types/node": "20.17.19",
2020
"eslint": "~8.57.0",
2121
"local-node-rig": "workspace:*",
2222
"typescript": "~5.4.2"

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"@microsoft/rush-lib": "workspace:*",
1717
"@rushstack/eslint-config": "workspace:*",
1818
"@rushstack/heft": "workspace:*",
19-
"@types/node": "18.17.15",
19+
"@types/node": "20.17.19",
2020
"eslint": "~8.57.0",
2121
"local-node-rig": "workspace:*",
2222
"typescript": "~5.4.2"

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"devDependencies": {
1313
"@rushstack/eslint-config": "3.7.1",
1414
"@rushstack/heft": "workspace:*",
15-
"@types/node": "18.17.15",
15+
"@types/node": "20.17.19",
1616
"@typescript-eslint/parser": "~6.19.0",
1717
"eslint": "7.11.0",
1818
"local-node-rig": "workspace:*",

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"devDependencies": {
1313
"@rushstack/eslint-config": "3.7.1",
1414
"@rushstack/heft": "workspace:*",
15-
"@types/node": "18.17.15",
15+
"@types/node": "20.17.19",
1616
"@typescript-eslint/parser": "~6.19.0",
1717
"eslint": "7.7.0",
1818
"local-node-rig": "workspace:*",

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"devDependencies": {
1313
"@rushstack/eslint-config": "3.7.1",
1414
"@rushstack/heft": "workspace:*",
15-
"@types/node": "18.17.15",
15+
"@types/node": "20.17.19",
1616
"@typescript-eslint/parser": "~6.19.0",
1717
"eslint": "~7.30.0",
1818
"local-node-rig": "workspace:*",

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"devDependencies": {
1313
"@rushstack/heft": "workspace:*",
1414
"local-node-rig": "workspace:*",
15-
"@types/node": "18.17.15",
15+
"@types/node": "20.17.19",
1616
"@typescript-eslint/parser": "~8.1.0",
1717
"eslint": "~8.57.0",
1818
"typescript": "~5.4.2"

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"@rushstack/heft-lint-plugin": "workspace:*",
1515
"@rushstack/heft-typescript-plugin": "workspace:*",
1616
"@rushstack/heft-webpack5-plugin": "workspace:*",
17-
"@types/webpack-env": "1.18.0",
17+
"@types/webpack-env": "1.18.8",
1818
"html-webpack-plugin": "~5.5.0",
1919
"typescript": "~5.4.2",
2020
"webpack-bundle-analyzer": "~4.5.0",

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"@rushstack/heft": "workspace:*",
1919
"@rushstack/heft-lint-plugin": "workspace:*",
2020
"@rushstack/heft-typescript-plugin": "workspace:*",
21-
"@types/node": "18.17.15",
21+
"@types/node": "20.17.19",
2222
"@types/tapable": "1.0.6",
2323
"eslint": "~8.57.0",
2424
"typescript": "~5.4.2"

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"@rushstack/heft": "workspace:*",
2424
"@rushstack/heft-lint-plugin": "workspace:*",
2525
"@rushstack/heft-typescript-plugin": "workspace:*",
26-
"@types/node": "18.17.15",
26+
"@types/node": "20.17.19",
2727
"eslint": "~8.57.0",
2828
"heft-example-plugin-01": "workspace:*",
2929
"typescript": "~5.4.2"

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"@rushstack/heft-lint-plugin": "workspace:*",
1818
"@rushstack/heft-typescript-plugin": "workspace:*",
1919
"@types/heft-jest": "1.0.1",
20-
"@types/node": "18.17.15",
20+
"@types/node": "20.17.19",
2121
"eslint": "~8.57.0",
2222
"typescript": "~5.4.2"
2323
},

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"devDependencies": {
1313
"@jest/reporters": "~29.5.0",
1414
"@jest/types": "29.5.0",
15-
"@types/node": "18.17.15",
15+
"@types/node": "20.17.19",
1616
"local-eslint-config": "workspace:*",
1717
"@rushstack/heft": "workspace:*",
1818
"@rushstack/heft-jest-plugin": "workspace:*",

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"@rushstack/heft": "workspace:*",
1414
"@rushstack/heft-jest-plugin": "workspace:*",
1515
"@types/heft-jest": "1.0.1",
16-
"@types/node": "18.17.15",
16+
"@types/node": "20.17.19",
1717
"heft-minimal-rig-test": "workspace:*"
1818
}
1919
}

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"@rushstack/heft-lint-plugin": "workspace:*",
2121
"@rushstack/heft-typescript-plugin": "workspace:*",
2222
"@types/heft-jest": "1.0.1",
23-
"@types/node": "18.17.15",
23+
"@types/node": "20.17.19",
2424
"eslint": "~8.57.0",
2525
"heft-example-plugin-01": "workspace:*",
2626
"heft-example-plugin-02": "workspace:*",

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"@rushstack/heft-lint-plugin": "workspace:*",
2222
"@rushstack/heft-typescript-plugin": "workspace:*",
2323
"@types/heft-jest": "1.0.1",
24-
"@types/node": "18.17.15",
24+
"@types/node": "20.17.19",
2525
"eslint": "~8.57.0",
2626
"heft-example-plugin-01": "workspace:*",
2727
"heft-example-plugin-02": "workspace:*",

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

+2-1
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,13 @@
1010
"_phase:test": "heft run --only test -- --clean --custom-parameter --custom-integer-parameter 5 --custom-integer-list-parameter 6 --custom-integer-list-parameter 7 --custom-string-parameter test --custom-string-list-parameter eevee --custom-string-list-parameter togepi --custom-string-list-parameter mareep --custom-choice-parameter red --custom-choice-list-parameter totodile --custom-choice-list-parameter gudetama --custom-choice-list-parameter wobbuffet"
1111
},
1212
"devDependencies": {
13-
"@rushstack/heft": "workspace:*",
1413
"@rushstack/heft-jest-plugin": "workspace:*",
1514
"@rushstack/heft-lint-plugin": "workspace:*",
1615
"@rushstack/heft-typescript-plugin": "workspace:*",
16+
"@rushstack/heft": "workspace:*",
1717
"@rushstack/node-core-library": "workspace:*",
1818
"@types/heft-jest": "1.0.1",
19+
"@types/node": "20.17.19",
1920
"heft-parameter-plugin": "workspace:*",
2021
"typescript": "~5.4.2"
2122
}

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"@rushstack/heft": "workspace:*",
1515
"@rushstack/heft-lint-plugin": "workspace:*",
1616
"@rushstack/heft-typescript-plugin": "workspace:*",
17-
"@types/node": "18.17.15",
17+
"@types/node": "20.17.19",
1818
"eslint": "~8.57.0",
1919
"typescript": "~5.4.2"
2020
},

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"@types/heft-jest": "1.0.1",
2222
"@types/react-dom": "17.0.25",
2323
"@types/react": "17.0.74",
24-
"@types/webpack-env": "1.18.0",
24+
"@types/webpack-env": "1.18.8",
2525
"autoprefixer": "~10.4.2",
2626
"css-loader": "~5.2.7",
2727
"eslint": "~8.57.0",

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"@rushstack/heft-typescript-plugin": "workspace:*",
1818
"@types/heft-jest": "1.0.1",
1919
"@types/jest": "29.2.5",
20-
"@types/webpack-env": "1.18.0",
20+
"@types/webpack-env": "1.18.8",
2121
"eslint": "~8.57.0",
2222
"tslint": "~5.20.1",
2323
"typescript": "~5.4.2"

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

+5-4
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,21 @@
1010
"_phase:test": "heft run --only test -- --clean"
1111
},
1212
"devDependencies": {
13-
"local-eslint-config": "workspace:*",
14-
"@rushstack/heft": "workspace:*",
1513
"@rushstack/heft-dev-cert-plugin": "workspace:*",
1614
"@rushstack/heft-jest-plugin": "workspace:*",
1715
"@rushstack/heft-lint-plugin": "workspace:*",
1816
"@rushstack/heft-typescript-plugin": "workspace:*",
1917
"@rushstack/heft-webpack4-plugin": "workspace:*",
18+
"@rushstack/heft": "workspace:*",
19+
"@rushstack/module-minifier": "workspace:*",
2020
"@rushstack/node-core-library": "workspace:*",
2121
"@rushstack/webpack4-module-minifier-plugin": "workspace:*",
22-
"@rushstack/module-minifier": "workspace:*",
2322
"@types/heft-jest": "1.0.1",
24-
"@types/webpack-env": "1.18.0",
23+
"@types/node": "20.17.19",
24+
"@types/webpack-env": "1.18.8",
2525
"eslint": "~8.57.0",
2626
"file-loader": "~6.0.0",
27+
"local-eslint-config": "workspace:*",
2728
"source-map-loader": "~1.1.3",
2829
"tslint": "~5.20.1",
2930
"typescript": "~5.4.2",

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

+6-6
Original file line numberDiff line numberDiff line change
@@ -12,25 +12,25 @@
1212
"_phase:test:ipc": "heft run-watch --only test -- --clean"
1313
},
1414
"devDependencies": {
15-
"local-eslint-config": "workspace:*",
16-
"@rushstack/heft": "workspace:*",
1715
"@rushstack/heft-dev-cert-plugin": "workspace:*",
1816
"@rushstack/heft-jest-plugin": "workspace:*",
1917
"@rushstack/heft-lint-plugin": "workspace:*",
2018
"@rushstack/heft-typescript-plugin": "workspace:*",
2119
"@rushstack/heft-webpack5-plugin": "workspace:*",
20+
"@rushstack/heft": "workspace:*",
2221
"@rushstack/module-minifier": "workspace:*",
23-
"@rushstack/webpack5-module-minifier-plugin": "workspace:*",
2422
"@rushstack/node-core-library": "workspace:*",
2523
"@rushstack/rush-sdk": "workspace:*",
24+
"@rushstack/webpack5-module-minifier-plugin": "workspace:*",
2625
"@types/heft-jest": "1.0.1",
27-
"@types/webpack-env": "1.18.0",
26+
"@types/node": "20.17.19",
27+
"@types/webpack-env": "1.18.8",
2828
"eslint": "~8.57.0",
2929
"html-webpack-plugin": "~5.5.0",
30+
"local-eslint-config": "workspace:*",
3031
"source-map-loader": "~3.0.1",
3132
"tslint": "~5.20.1",
3233
"typescript": "~5.4.2",
33-
"webpack": "~5.95.0",
34-
"@types/node": "18.17.15"
34+
"webpack": "~5.95.0"
3535
}
3636
}

build-tests/localization-plugin-test-01/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"@rushstack/webpack4-localization-plugin": "workspace:*",
1313
"@rushstack/webpack4-module-minifier-plugin": "workspace:*",
1414
"@rushstack/set-webpack-public-path-plugin": "^4.1.16",
15-
"@types/webpack-env": "1.18.0",
15+
"@types/webpack-env": "1.18.8",
1616
"html-webpack-plugin": "~4.5.2",
1717
"webpack": "~4.47.0",
1818
"webpack-bundle-analyzer": "~4.5.0",

build-tests/localization-plugin-test-02/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"@rushstack/webpack4-localization-plugin": "workspace:*",
1717
"@rushstack/webpack4-module-minifier-plugin": "workspace:*",
1818
"@types/lodash": "4.14.116",
19-
"@types/webpack-env": "1.18.0",
19+
"@types/webpack-env": "1.18.8",
2020
"html-webpack-plugin": "~4.5.2",
2121
"lodash": "~4.17.15",
2222
"webpack-bundle-analyzer": "~4.5.0",

build-tests/localization-plugin-test-03/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"@rushstack/set-webpack-public-path-plugin": "^4.1.16",
1616
"@rushstack/webpack4-localization-plugin": "workspace:*",
1717
"@rushstack/webpack4-module-minifier-plugin": "workspace:*",
18-
"@types/webpack-env": "1.18.0",
18+
"@types/webpack-env": "1.18.8",
1919
"html-webpack-plugin": "~4.5.2",
2020
"local-node-rig": "workspace:*",
2121
"ts-loader": "6.0.0",

build-tests/package-extractor-test-01/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@
1111
},
1212
"devDependencies": {
1313
"package-extractor-test-03": "workspace:*",
14-
"@types/node": "18.17.15"
14+
"@types/node": "20.17.19"
1515
}
1616
}

0 commit comments

Comments
 (0)