Skip to content

Commit 60f4854

Browse files
committed
update scripts with new test task
1 parent 54d0b41 commit 60f4854

File tree

6 files changed

+13
-13
lines changed

6 files changed

+13
-13
lines changed

v-next/core/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@
3232
"lint:fix": "pnpm prettier --write && pnpm eslint --fix",
3333
"eslint": "eslint \"src/**/*.ts\" \"test/**/*.ts\"",
3434
"prettier": "prettier \"**/*.{ts,js,md,json}\"",
35-
"test": "node --import tsx/esm --test --test-reporter=@nomicfoundation/hardhat-node-test-reporter \"test/**/*.ts\"",
36-
"test:only": "node --import tsx/esm --test --test-only --test-reporter=@nomicfoundation/hardhat-node-test-reporter \"test/**/*.ts\"",
37-
"test:coverage": "c8 --reporter html --reporter text --all --src src --exclude src/types node --import tsx/esm --test --test-reporter=@nomicfoundation/hardhat-node-test-reporter \"test/**/*.ts\"",
35+
"test": "node --import tsx/esm --test --test-reporter=@nomicfoundation/hardhat-node-test-reporter \"test/!(fixture-projects|helpers)/**/*.ts\"",
36+
"test:only": "node --import tsx/esm --test --test-only --test-reporter=@nomicfoundation/hardhat-node-test-reporter \"test/!(fixture-projects|helpers)/**/*.ts\"",
37+
"test:coverage": "c8 --reporter html --reporter text --all --src src --exclude src/types node --import tsx/esm --test --test-reporter=@nomicfoundation/hardhat-node-test-reporter \"test/!(fixture-projects|helpers)/**/*.ts\"",
3838
"pretest": "pnpm build",
3939
"build": "tsc --build .",
4040
"prepublishOnly": "pnpm build",

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
"lint:fix": "pnpm prettier --write && pnpm eslint --fix",
2020
"eslint": "eslint \"src/**/*.ts\" \"test/**/*.ts\"",
2121
"prettier": "prettier \"**/*.{ts,js,md,json}\"",
22-
"test": "node --import tsx/esm --test --test-reporter=@nomicfoundation/hardhat-node-test-reporter \"test/**/*.ts\"",
23-
"test:only": "node --import tsx/esm --test --test-only --test-reporter=@nomicfoundation/hardhat-node-test-reporter \"test/**/*.ts\"",
22+
"test": "node --import tsx/esm --test --test-reporter=@nomicfoundation/hardhat-node-test-reporter \"test/!(fixture-projects|helpers)/**/*.ts\"",
23+
"test:only": "node --import tsx/esm --test --test-only --test-reporter=@nomicfoundation/hardhat-node-test-reporter \"test/!(fixture-projects|helpers)/**/*.ts\"",
2424
"pretest": "pnpm build",
2525
"build": "tsc --build .",
2626
"prepublishOnly": "pnpm build",

v-next/hardhat-errors/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
"lint:fix": "pnpm prettier --write && pnpm eslint --fix",
2222
"eslint": "eslint \"src/**/*.ts\" \"test/**/*.ts\"",
2323
"prettier": "prettier \"**/*.{ts,js,md,json}\"",
24-
"test": "node --import tsx/esm --test --test-reporter=@nomicfoundation/hardhat-node-test-reporter \"test/**/*.ts\"",
25-
"test:only": "node --import tsx/esm --test --test-only --test-reporter=@nomicfoundation/hardhat-node-test-reporter \"test/**/*.ts\"",
24+
"test": "node --import tsx/esm --test --test-reporter=@nomicfoundation/hardhat-node-test-reporter \"test/!(fixture-projects|helpers)/**/*.ts\"",
25+
"test:only": "node --import tsx/esm --test --test-only --test-reporter=@nomicfoundation/hardhat-node-test-reporter \"test/!(fixture-projects|helpers)/**/*.ts\"",
2626
"pretest": "pnpm build",
2727
"build": "tsc --build .",
2828
"prepublishOnly": "pnpm build",

v-next/hardhat-utils/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@
3434
"lint:fix": "pnpm prettier --write && pnpm eslint --fix",
3535
"eslint": "eslint \"src/**/*.ts\" \"test/**/*.ts\"",
3636
"prettier": "prettier \"**/*.{ts,js,md,json}\"",
37-
"test": "node --import tsx/esm --test --test-reporter=@nomicfoundation/hardhat-node-test-reporter \"test/**/*.ts\"",
38-
"test:only": "node --import tsx/esm --test --test-only --test-reporter=@nomicfoundation/hardhat-node-test-reporter \"test/**/*.ts\"",
37+
"test": "node --import tsx/esm --test --test-reporter=@nomicfoundation/hardhat-node-test-reporter \"test/!(fixture-projects|helpers)/**/*.ts\"",
38+
"test:only": "node --import tsx/esm --test --test-only --test-reporter=@nomicfoundation/hardhat-node-test-reporter \"test/!(fixture-projects|helpers)/**/*.ts\"",
3939
"pretest": "pnpm build",
4040
"build": "tsc --build .",
4141
"prepublishOnly": "pnpm build",

v-next/hardhat-zod-utils/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
"lint:fix": "pnpm prettier --write && pnpm eslint --fix",
2222
"eslint": "eslint \"src/**/*.ts\" \"test/**/*.ts\"",
2323
"prettier": "prettier \"**/*.{ts,js,md,json}\"",
24-
"test": "node --import tsx/esm --test --test-reporter=@nomicfoundation/hardhat-node-test-reporter \"test/**/*.ts\"",
25-
"test:only": "node --import tsx/esm --test --test-only --test-reporter=@nomicfoundation/hardhat-node-test-reporter \"test/**/*.ts\"",
24+
"test": "node --import tsx/esm --test --test-reporter=@nomicfoundation/hardhat-node-test-reporter \"test/!(fixture-projects|helpers)/**/*.ts\"",
25+
"test:only": "node --import tsx/esm --test --test-only --test-reporter=@nomicfoundation/hardhat-node-test-reporter \"test/!(fixture-projects|helpers)/**/*.ts\"",
2626
"pretest": "pnpm build",
2727
"build": "tsc --build .",
2828
"prepublishOnly": "pnpm build",

v-next/template-package/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
"lint:fix": "pnpm prettier --write && pnpm eslint --fix",
2424
"eslint": "eslint \"src/**/*.ts\" \"test/**/*.ts\"",
2525
"prettier": "prettier \"**/*.{ts,js,md,json}\"",
26-
"test": "node --import tsx/esm --test --test-reporter=@nomicfoundation/hardhat-node-test-reporter \"test/**/*.ts\"",
27-
"test:only": "node --import tsx/esm --test --test-only --test-reporter=@nomicfoundation/hardhat-node-test-reporter \"test/**/*.ts\"",
26+
"test": "node --import tsx/esm --test --test-reporter=@nomicfoundation/hardhat-node-test-reporter \"test/!(fixture-projects|helpers)/**/*.ts\"",
27+
"test:only": "node --import tsx/esm --test --test-only --test-reporter=@nomicfoundation/hardhat-node-test-reporter \"test/!(fixture-projects|helpers)/**/*.ts\"",
2828
"pretest": "pnpm build",
2929
"build": "tsc --build .",
3030
"prepublishOnly": "pnpm build",

0 commit comments

Comments
 (0)