Skip to content

Commit 09b1a20

Browse files
authored
Merge pull request #5439 from NomicFoundation/fix-test-reporter-types
Upgrade `@types/node` and remove an old workaround
2 parents dc48f55 + bb8709f commit 09b1a20

File tree

18 files changed

+79
-177
lines changed

18 files changed

+79
-177
lines changed

pnpm-lock.yaml

+44-44
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

v-next/core/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
"@nomicfoundation/eslint-plugin-hardhat-internal-rules": "workspace:^",
5454
"@nomicfoundation/eslint-plugin-slow-imports": "workspace:^",
5555
"@nomicfoundation/hardhat-node-test-reporter": "workspace:^3.0.0",
56-
"@types/node": "^20.0.0",
56+
"@types/node": "^20.14.9",
5757
"@types/semver": "^7.5.8",
5858
"@typescript-eslint/eslint-plugin": "^7.7.1",
5959
"@typescript-eslint/parser": "^7.7.1",

v-next/example-project/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
},
1919
"devDependencies": {
2020
"@nomicfoundation/hardhat": "workspace:^3.0.0",
21-
"@types/node": "^20.0.0",
21+
"@types/node": "^20.14.9",
2222
"prettier": "3.2.5",
2323
"typescript": "~5.4.0"
2424
}

v-next/hardhat-build-system/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
"@types/find-up": "^2.1.1",
6565
"@types/fs-extra": "^5.1.0",
6666
"@types/lodash": "^4.14.123",
67-
"@types/node": "^20.0.0",
67+
"@types/node": "^20.14.9",
6868
"@types/resolve": "^1.17.1",
6969
"@types/semver": "^7.5.8",
7070
"@types/sinon": "^9.0.8",

v-next/hardhat-errors/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"@nomicfoundation/eslint-plugin-hardhat-internal-rules": "workspace:^",
4141
"@nomicfoundation/eslint-plugin-slow-imports": "workspace:^",
4242
"@nomicfoundation/hardhat-node-test-reporter": "workspace:^3.0.0",
43-
"@types/node": "^20.0.0",
43+
"@types/node": "^20.14.9",
4444
"@typescript-eslint/eslint-plugin": "^7.7.1",
4545
"@typescript-eslint/parser": "^7.7.1",
4646
"eslint": "8.57.0",

v-next/hardhat-node-test-reporter/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"devDependencies": {
4040
"@nomicfoundation/eslint-plugin-hardhat-internal-rules": "workspace:^",
4141
"@nomicfoundation/eslint-plugin-slow-imports": "workspace:^",
42-
"@types/node": "^20.0.0",
42+
"@types/node": "^20.14.9",
4343
"@typescript-eslint/eslint-plugin": "^7.7.1",
4444
"@typescript-eslint/parser": "^7.7.1",
4545
"eslint": "8.57.0",

v-next/hardhat-node-test-reporter/src/diagnostics.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { TestEventData } from "./node-types.js";
1+
import type { TestEventData } from "./types.js";
22

33
export interface GlobalDiagnostics {
44
tests: number;

v-next/hardhat-node-test-reporter/src/formatting.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { GlobalDiagnostics } from "./diagnostics.js";
2-
import type { TestEventData } from "./node-types.js";
2+
import type { TestEventData } from "./types.js";
33

44
import chalk from "chalk";
55

v-next/hardhat-node-test-reporter/src/github-actions.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { TestEventData } from "./node-types.js";
1+
import type { TestEventData } from "./types.js";
22

33
import path from "node:path";
44
import { fileURLToPath } from "node:url";

0 commit comments

Comments
 (0)