Skip to content

Commit f82857b

Browse files
committed
Fix hardhat init command and regenerate AI files
Change npx hardhat init to npx hardhat --init for correct initialization syntax.
1 parent 59c9f6b commit f82857b

File tree

8 files changed

+2598
-529
lines changed

8 files changed

+2598
-529
lines changed

.ai/categories/infrastructure.md

Lines changed: 1938 additions & 233 deletions
Large diffs are not rendered by default.

.ai/categories/smart-contracts.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6180,7 +6180,7 @@ Before setting up Hardhat, make sure the following are installed:
61806180
yarn add --dev hardhat@^2.27.0 @nomicfoundation/hardhat-toolbox
61816181

61826182
# Initialize a Hardhat project
6183-
npx hardhat init
6183+
npx hardhat --init
61846184
```
61856185

61866186
3. You will be prompted to select certain configurations for your project. To quickly create a working setup, you can accept the default answers, which will create a JavaScript project, initialize it in the current directory, add a `.gitignore`, and install all dependencies.

.ai/categories/tooling.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6240,7 +6240,7 @@ Before setting up Hardhat, make sure the following are installed:
62406240
yarn add --dev hardhat@^2.27.0 @nomicfoundation/hardhat-toolbox
62416241

62426242
# Initialize a Hardhat project
6243-
npx hardhat init
6243+
npx hardhat --init
62446244
```
62456245

62466246
3. You will be prompted to select certain configurations for your project. To quickly create a working setup, you can accept the default answers, which will create a JavaScript project, initialize it in the current directory, add a `.gitignore`, and install all dependencies.

.ai/pages/smart-contracts-dev-environments-hardhat.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ Before setting up Hardhat, make sure the following are installed:
5757
yarn add --dev hardhat@^2.27.0 @nomicfoundation/hardhat-toolbox
5858
5959
# Initialize a Hardhat project
60-
npx hardhat init
60+
npx hardhat --init
6161
```
6262

6363
3. You will be prompted to select certain configurations for your project. To quickly create a working setup, you can accept the default answers, which will create a JavaScript project, initialize it in the current directory, add a `.gitignore`, and install all dependencies.

0 commit comments

Comments
 (0)