Skip to content

Commit 22ceb92

Browse files
committed
chore: update pnpm commands and format doc
1 parent a5bcb2c commit 22ceb92

File tree

13 files changed

+24
-6
lines changed

13 files changed

+24
-6
lines changed

docs/src/content/hardhat-chai-matchers/docs/migrate-from-waffle.md

+1
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ The `@nomicfoundation/hardhat-chai-matchers` plugin is meant to be a drop-in rep
3535
:::
3636

3737
:::tab{value="pnpm"}
38+
3839
```
3940
pnpm remove @nomiclabs/hardhat-waffle ethereum-waffle
4041
```

docs/src/content/hardhat-chai-matchers/docs/overview.md

+2
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,13 @@ yarn add --dev @nomicfoundation/hardhat-chai-matchers
4444
:::
4545

4646
:::tab{value="pnpm"}
47+
4748
```
4849
pnpm add -D @nomicfoundation/hardhat-chai-matchers
4950
```
5051

5152
:::
53+
5254
::::
5355

5456
## How can I use it?

docs/src/content/hardhat-network-helpers/docs/overview.md

+2
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,11 @@ yarn add --dev @nomicfoundation/hardhat-network-helpers
4040
:::
4141

4242
:::tab{value="pnpm"}
43+
4344
```
4445
pnpm add -D @nomicfoundation/hardhat-network-helpers
4546
```
47+
4648
:::
4749

4850
::::

docs/src/content/hardhat-runner/docs/advanced/create-task.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ yarn add --dev @nomicfoundation/hardhat-toolbox @nomicfoundation/hardhat-network
7979
:::tab{value="pnpm"}
8080

8181
```
82-
pnpm add -D @nomicfoundation/hardhat-toolbox @nomicfoundation/hardhat-network-helpers @nomicfoundation/hardhat-chai-matchers @nomicfoundation/hardhat-ethers @nomicfoundation/hardhat-verify chai@4 ethers hardhat-gas-reporter solidity-coverage @typechain/hardhat typechain @typechain/ethers-v6
82+
pnpm add -D @nomicfoundation/hardhat-toolbox @nomicfoundation/hardhat-network-helpers chai@4 ethers
8383
```
8484

8585
:::

docs/src/content/hardhat-runner/docs/advanced/migrating-from-hardhat-waffle.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ Follow these steps to migrate your project to Hardhat Toolbox.
7979
:::tab{value="pnpm"}
8080

8181
```
82-
pnpm add --D @nomicfoundation/hardhat-toolbox @nomicfoundation/hardhat-ignition-ethers @nomicfoundation/hardhat-network-helpers @nomicfoundation/hardhat-chai-matchers@1 @nomiclabs/hardhat-ethers @nomiclabs/hardhat-etherscan chai@4 ethers@5 hardhat-gas-reporter solidity-coverage @typechain/hardhat typechain @typechain/ethers-v6
82+
pnpm add -D @nomicfoundation/hardhat-toolbox @nomicfoundation/hardhat-network-helpers ethers chai@4
8383
```
8484

8585
:::

docs/src/content/hardhat-runner/docs/advanced/using-esm.md

+2
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ yarn init -y
5151
```
5252
pnpm init
5353
```
54+
5455
:::
5556

5657
::::
@@ -90,6 +91,7 @@ yarn add --dev hardhat
9091
```
9192
pnpm add -D hardhat
9293
```
94+
9395
:::
9496

9597
::::

docs/src/content/hardhat-runner/docs/supporter-guides/oracles.md

+1
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ yarn add --dev @chainlink/hardhat-chainlink
125125
```
126126
pnpm add -D @chainlink/hardhat-chainlink
127127
```
128+
128129
:::
129130

130131
::::

docs/src/content/ignition/docs/advanced/migrating.md

+2
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,9 @@ To get started, we’ll uninstall the `hardhat-deploy` plugin and install the Ha
3131
```sh
3232
pnpm remove hardhat-deploy hardhat-deploy-ethers
3333
```
34+
3435
:::
36+
3537
::::
3638

3739
2. Install the Hardhat Ignition package and `hardhat-network-helpers` to provide additional testing support as a replacement for `hardhat-deploy` functionality like EVM snapshots:

docs/src/content/ignition/docs/getting-started/index.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,11 @@ yarn add --dev @nomicfoundation/hardhat-ignition-ethers @nomicfoundation/hardhat
6767
:::
6868

6969
:::tab{value="pnpm"}
70+
7071
```sh
71-
pnpm add -D @nomicfoundation/hardhat-ignition-ethers @nomicfoundation/hardhat-ethers @nomicfoundation/hardhat-ignition @nomicfoundation/hardhat-verify @nomicfoundation/ignition-core ethers
72+
pnpm add -D @nomicfoundation/hardhat-ignition-ethers @nomicfoundation/hardhat-ignition ethers
7273
```
74+
7375
:::
7476

7577
::::

docs/src/content/ignition/docs/guides/ledger.md

+1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ yarn add --dev @nomicfoundation/hardhat-ledger
2323
:::
2424

2525
:::tab{value="pnpm"}
26+
2627
```sh
2728
pnpm add -D @nomicfoundation/hardhat-ledger
2829
```

docs/src/content/ignition/docs/guides/upgradeable-proxies.md

+2
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,11 @@ yarn add @openzeppelin/contracts
3333
:::
3434

3535
:::tab{value="pnpm"}
36+
3637
```sh
3738
pnpm add @openzeppelin/contracts
3839
```
40+
3941
:::
4042

4143
::::

docs/src/content/ignition/docs/guides/viem.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,9 @@ yarn add --dev @nomicfoundation/hardhat-ignition-viem @nomicfoundation/hardhat-i
4242
:::
4343

4444
:::tab{value="pnpm"}
45+
4546
```shell
46-
pnpm add -D @nomicfoundation/hardhat-ignition-viem @nomicfoundation/hardhat-ignition @nomicfoundation/hardhat-verify @nomicfoundation/hardhat-viem @nomicfoundation/ignition-core typescript viem
47+
pnpm add -D @nomicfoundation/hardhat-ignition-viem viem typescript
4748
```
4849

4950
:::

docs/src/content/tutorial/creating-a-new-hardhat-project.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ yarn init
4646
:::
4747

4848
:::tab{value="pnpm"}
49+
4950
```
5051
pnpm init
5152
```
@@ -82,8 +83,8 @@ yarn add --dev hardhat
8283

8384
:::
8485

85-
8686
:::tab{value="pnpm"}
87+
8788
```
8889
pnpm add -D hardhat
8990
```
@@ -174,8 +175,9 @@ yarn add --dev @nomicfoundation/hardhat-toolbox @nomicfoundation/hardhat-ignitio
174175
:::tab{value="pnpm"}
175176

176177
```
177-
pnpm add -D @nomicfoundation/hardhat-toolbox @nomicfoundation/hardhat-ignition @nomicfoundation/hardhat-ignition-ethers @nomicfoundation/hardhat-network-helpers @nomicfoundation/hardhat-chai-matchers @nomicfoundation/hardhat-ethers @nomicfoundation/hardhat-verify chai@4 ethers hardhat-gas-reporter solidity-coverage @typechain/hardhat typechain @typechain/ethers-v6
178+
pnpm add -D @nomicfoundation/hardhat-toolbox @nomicfoundation/hardhat-ignition @nomicfoundation/hardhat-network-helpers chai@4 ethers
178179
```
180+
179181
:::
180182

181183
::::

0 commit comments

Comments
 (0)