Skip to content

Commit

Permalink
Merge pull request #5913 from NomicFoundation/chore/add-missing-eleme…
Browse files Browse the repository at this point in the history
…nts-to-templates

chore: add @types/node to both templates
  • Loading branch information
kanej authored Oct 31, 2024
2 parents 5e02612 + b12052b commit 5fff398
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 12 deletions.
26 changes: 16 additions & 10 deletions pnpm-lock.yaml

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

2 changes: 1 addition & 1 deletion v-next/hardhat-errors/src/descriptors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -942,7 +942,7 @@ This error is thrown when you import a file with the wrong casing under a case i
IMPORTED_NPM_DEPENDENCY_NOT_INSTALLED: {
number: 1206,
messageTemplate:
'The import "{importPath}" from "{from}" is trying to use an uinstalled npm dependency.',
'The import "{importPath}" from "{from}" is trying to use an uninstalled npm dependency.',
websiteTitle: "Uninstalled npm solidity dependency",
websiteDescription: `One of your files is traying to import a dependency using npm, but it hasn't been installed`,
},
Expand Down
1 change: 1 addition & 0 deletions v-next/hardhat/templates/mocha-ethers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"@types/chai": "^4.2.0",
"@types/chai-as-promised": "^8.0.1",
"@types/mocha": "^10.0.0",
"@types/node": "^22.8.5",
"chai": "^4.4.1",
"chai-as-promised": "^8.0.0",
"forge-std": "foundry-rs/forge-std#v1.9.4",
Expand Down
3 changes: 2 additions & 1 deletion v-next/hardhat/templates/node-test-runner-viem/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@
"type": "module",
"devDependencies": {
"@ignored/hardhat-vnext": "workspace:^3.0.0-next.10",
"@ignored/hardhat-vnext-viem": "workspace:^3.0.0-next.5",
"@ignored/hardhat-vnext-node-test-runner": "workspace:^3.0.0-next.6",
"@ignored/hardhat-vnext-network-helpers": "workspace:^3.0.0-next.6",
"@ignored/hardhat-vnext-viem": "workspace:^3.0.0-next.5",
"@types/node": "^22.8.5",
"forge-std": "foundry-rs/forge-std#v1.9.4",
"typescript": "~5.5.0",
"viem": "^2.21.17"
Expand Down

0 comments on commit 5fff398

Please sign in to comment.