Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add hardhat-test-utils package #5492

Merged
merged 3 commits into from
Jul 8, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Install the test utils in the rest of the packages
alcuadrado committed Jul 5, 2024
commit 3cf7d90fe0aeb2e5c146123bdd454d4ab0c3a834
12 changes: 12 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion v-next/hardhat-build-system/package.json
Original file line number Diff line number Diff line change
@@ -38,9 +38,9 @@
"README.md"
],
"dependencies": {
"@nomicfoundation/ethereumjs-util": "9.0.4",
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Jus an automatic reordering that pnpm did

"@ignored/hardhat-vnext-errors": "workspace:^3.0.0-next.0",
"@ignored/hardhat-vnext-utils": "workspace:^3.0.0-next.0",
"@nomicfoundation/ethereumjs-util": "9.0.4",
"@nomicfoundation/solidity-analyzer": "^0.1.0",
"adm-zip": "^0.4.16",
"aggregate-error": "^3.0.0",
@@ -61,6 +61,7 @@
"devDependencies": {
"@eslint-community/eslint-plugin-eslint-comments": "^4.3.0",
"@ignored/hardhat-vnext-node-test-reporter": "workspace:^3.0.0-next.0",
"@nomicfoundation/hardhat-test-utils": "workspace:^",
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Contrary to the rest of our packages, we do workspace:^ here because this is a private package, which we don't intend to publish, so versioning is not an issue.

"@types/ci-info": "^2.0.0",
"@types/debug": "^4.1.4",
"@types/find-up": "^2.1.1",
3 changes: 3 additions & 0 deletions v-next/hardhat-build-system/tsconfig.json
Original file line number Diff line number Diff line change
@@ -7,6 +7,9 @@
{
"path": "../hardhat-node-test-reporter"
},
{
"path": "../hardhat-test-utils"
},
{
"path": "../hardhat-utils"
}
1 change: 1 addition & 0 deletions v-next/hardhat-zod-utils/package.json
Original file line number Diff line number Diff line change
@@ -43,6 +43,7 @@
"@eslint-community/eslint-plugin-eslint-comments": "^4.3.0",
"@ignored/hardhat-vnext-core": "workspace:^3.0.0-next.2",
"@ignored/hardhat-vnext-node-test-reporter": "workspace:^3.0.0-next.2",
"@nomicfoundation/hardhat-test-utils": "workspace:^",
"@types/node": "^20.14.9",
"@typescript-eslint/eslint-plugin": "^7.7.1",
"@typescript-eslint/parser": "^7.7.1",
3 changes: 3 additions & 0 deletions v-next/hardhat-zod-utils/tsconfig.json
Original file line number Diff line number Diff line change
@@ -6,6 +6,9 @@
},
{
"path": "../hardhat-node-test-reporter"
},
{
"path": "../hardhat-test-utils"
}
]
}
1 change: 1 addition & 0 deletions v-next/hardhat/package.json
Original file line number Diff line number Diff line change
@@ -57,6 +57,7 @@
"devDependencies": {
"@eslint-community/eslint-plugin-eslint-comments": "^4.3.0",
"@ignored/hardhat-vnext-node-test-reporter": "workspace:^3.0.0-next.2",
"@nomicfoundation/hardhat-test-utils": "workspace:^",
"@types/node": "^20.14.9",
"@typescript-eslint/eslint-plugin": "^7.7.1",
"@typescript-eslint/parser": "^7.7.1",
3 changes: 3 additions & 0 deletions v-next/hardhat/tsconfig.json
Original file line number Diff line number Diff line change
@@ -10,6 +10,9 @@
{
"path": "../hardhat-node-test-reporter"
},
{
"path": "../hardhat-test-utils"
},
{
"path": "../hardhat-utils"
},
1 change: 1 addition & 0 deletions v-next/template-package/package.json
Original file line number Diff line number Diff line change
@@ -44,6 +44,7 @@
"devDependencies": {
"@eslint-community/eslint-plugin-eslint-comments": "^4.3.0",
"@ignored/hardhat-vnext-node-test-reporter": "workspace:^3.0.0-next.2",
"@nomicfoundation/hardhat-test-utils": "workspace:^",
"@types/node": "^20.14.9",
"@typescript-eslint/eslint-plugin": "^7.7.1",
"@typescript-eslint/parser": "^7.7.1",
3 changes: 3 additions & 0 deletions v-next/template-package/tsconfig.json
Original file line number Diff line number Diff line change
@@ -3,6 +3,9 @@
"references": [
{
"path": "../hardhat-node-test-reporter"
},
{
"path": "../hardhat-test-utils"
}
]
}