From cce887a0a4aa6c60d115c1a8508de6693683530e Mon Sep 17 00:00:00 2001 From: John Kane Date: Fri, 22 Nov 2024 14:54:48 +0000 Subject: [PATCH] docs: tweak install command for pnpm Using `--save-dev` keeps it closer to the other install commands. --- .../hardhat-runner/docs/advanced/hardhat-and-foundry.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/src/content/hardhat-runner/docs/advanced/hardhat-and-foundry.md b/docs/src/content/hardhat-runner/docs/advanced/hardhat-and-foundry.md index 7b3a25b7cc..1be14205ab 100644 --- a/docs/src/content/hardhat-runner/docs/advanced/hardhat-and-foundry.md +++ b/docs/src/content/hardhat-runner/docs/advanced/hardhat-and-foundry.md @@ -49,7 +49,7 @@ yarn add --dev @nomicfoundation/hardhat-foundry :::tab{value=pnpm} ``` -pnpm add -D @nomicfoundation/hardhat-foundry +pnpm add --save-dev @nomicfoundation/hardhat-foundry ``` :::: @@ -91,7 +91,7 @@ Then install Hardhat, the [Hardhat Toolbox](/hardhat-runner/plugins/nomicfoundat :::tab{value="npm 7+"} ``` -npm install --save-dev @nomicfoundation/hardhat-toolbox @nomicfoundation/hardhat-foundry +npm install --save-dev hardhat @nomicfoundation/hardhat-toolbox @nomicfoundation/hardhat-foundry ``` ::: @@ -99,7 +99,7 @@ npm install --save-dev @nomicfoundation/hardhat-toolbox @nomicfoundation/hardhat :::tab{value="npm 6"} ``` -npm install --save-dev @nomicfoundation/hardhat-toolbox @nomicfoundation/hardhat-foundry +npm install --save-dev hardhat @nomicfoundation/hardhat-toolbox @nomicfoundation/hardhat-foundry ``` ::: @@ -115,7 +115,7 @@ yarn add --dev hardhat @nomicfoundation/hardhat-toolbox @nomicfoundation/hardhat :::tab{value=pnpm} ``` -pnpm add -D hardhat @nomicfoundation/hardhat-toolbox @nomicfoundation/hardhat-foundry +pnpm add --save-dev hardhat @nomicfoundation/hardhat-toolbox @nomicfoundation/hardhat-foundry ``` :::