Skip to content

Commit 596a80e

Browse files
committed
chore: update wording
1 parent b142813 commit 596a80e

File tree

6 files changed

+15
-7
lines changed

6 files changed

+15
-7
lines changed

v-next/hardhat/src/internal/cli/init/prompt.ts

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,16 @@ export async function promptForHardhatVersion(): Promise<
2020
message: "Which version of Hardhat would you like to use?",
2121
initial: 0,
2222
choices: [
23-
{ name: "hardhat-3", message: "Hardhat 3", value: "hardhat-3" },
24-
{ name: "hardhat-2", message: "Hardhat 2", value: "hardhat-2" },
23+
{
24+
name: "hardhat-3",
25+
message: "Hardhat 3 (recommended for new projects)",
26+
value: "hardhat-3",
27+
},
28+
{
29+
name: "hardhat-2",
30+
message: "Hardhat 2 (older version)",
31+
value: "hardhat-2",
32+
},
2533
],
2634
},
2735
]);

v-next/hardhat/templates/hardhat-2/01-mocha-ethers-js/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "template-v2-mocha-ethers-js",
33
"private": true,
44
"version": "0.0.1",
5-
"description": "A Javascript Hardhat 2 project using Mocha and Ethers.js",
5+
"description": "A Javascript project using Mocha and Ethers.js",
66
"devDependencies": {
77
"@nomicfoundation/hardhat-chai-matchers": "^2.0.0",
88
"@nomicfoundation/hardhat-ethers": "^3.0.0",

v-next/hardhat/templates/hardhat-2/02-mocha-ethers-js-esm/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "template-v2-mocha-ethers-js-esm",
33
"private": true,
44
"version": "0.0.1",
5-
"description": "A Javascript Hardhat 2 project using Mocha and Ethers.js (ESM)",
5+
"description": "A Javascript project using Mocha and Ethers.js (ESM)",
66
"type": "module",
77
"devDependencies": {
88
"@nomicfoundation/hardhat-chai-matchers": "^2.0.0",

v-next/hardhat/templates/hardhat-2/03-mocha-ethers-ts/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "template-v2-mocha-ethers-ts",
33
"private": true,
44
"version": "0.0.1",
5-
"description": "A Typescript Hardhat 2 project using Mocha and Ethers.js",
5+
"description": "A Typescript project using Mocha and Ethers.js",
66
"devDependencies": {
77
"@nomicfoundation/hardhat-chai-matchers": "^2.0.0",
88
"@nomicfoundation/hardhat-ethers": "^3.0.0",

v-next/hardhat/templates/hardhat-2/04-mocha-viem-ts/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "template-v2-mocha-viem-ts",
33
"private": true,
44
"version": "0.0.1",
5-
"description": "A Typescript Hardhat 2 project using Mocha and Viem",
5+
"description": "A Typescript project using Mocha and Viem",
66
"devDependencies": {
77
"@nomicfoundation/hardhat-ignition": "^0.15.0",
88
"@nomicfoundation/hardhat-ignition-viem": "^0.15.0",

v-next/hardhat/templates/hardhat-2/05-empty-hardhat-config-js/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "template-v2-empty-hardhat-config-js",
33
"private": true,
44
"version": "0.0.1",
5-
"description": "An empty Hardhat 2 config file (hardhat.config.js)",
5+
"description": "An empty config file (hardhat.config.js)",
66
"devDependencies": {
77
"hardhat": "^2.14.0"
88
}

0 commit comments

Comments
 (0)