From 24bf703f3412e953f8517bfe36ac14a968c4a6c9 Mon Sep 17 00:00:00 2001 From: phipsae Date: Mon, 27 Jan 2025 20:04:20 +0100 Subject: [PATCH 1/2] add hardhat clean and hardhat:clean to the respectice package.json files --- package.json | 1 + packages/hardhat/package.json | 1 + 2 files changed, 2 insertions(+) diff --git a/package.json b/package.json index 26e88a7eb..95f284169 100644 --- a/package.json +++ b/package.json @@ -23,6 +23,7 @@ "hardhat:check-types": "yarn workspace @se-2/hardhat check-types", "hardhat:compile": "yarn workspace @se-2/hardhat compile", "hardhat:deploy": "yarn workspace @se-2/hardhat deploy", + "hardhat:clean": "yarn workspace @se-2/hardhat clean", "hardhat:flatten": "yarn workspace @se-2/hardhat flatten", "hardhat:fork": "yarn workspace @se-2/hardhat fork", "hardhat:format": "yarn workspace @se-2/hardhat format", diff --git a/packages/hardhat/package.json b/packages/hardhat/package.json index 94e824092..e7ccd4746 100644 --- a/packages/hardhat/package.json +++ b/packages/hardhat/package.json @@ -9,6 +9,7 @@ "check-types": "tsc --noEmit --incremental", "compile": "hardhat compile", "deploy": "ts-node scripts/runHardhatDeployWithPK.ts", + "clean": "hardhat clean", "flatten": "hardhat flatten", "fork": "MAINNET_FORKING_ENABLED=true hardhat node --network hardhat --no-deploy", "format": "prettier --write './**/*.(ts|sol)'", From e1e5981adf4859391a1d5a8abc8a50ffb6b812a6 Mon Sep 17 00:00:00 2001 From: Shiv Bhonde Date: Tue, 28 Jan 2025 11:46:49 +0530 Subject: [PATCH 2/2] add the command in sorted order --- package.json | 2 +- packages/hardhat/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 95f284169..d28dc3913 100644 --- a/package.json +++ b/package.json @@ -21,9 +21,9 @@ "hardhat:account": "yarn workspace @se-2/hardhat account", "hardhat:chain": "yarn workspace @se-2/hardhat chain", "hardhat:check-types": "yarn workspace @se-2/hardhat check-types", + "hardhat:clean": "yarn workspace @se-2/hardhat clean", "hardhat:compile": "yarn workspace @se-2/hardhat compile", "hardhat:deploy": "yarn workspace @se-2/hardhat deploy", - "hardhat:clean": "yarn workspace @se-2/hardhat clean", "hardhat:flatten": "yarn workspace @se-2/hardhat flatten", "hardhat:fork": "yarn workspace @se-2/hardhat fork", "hardhat:format": "yarn workspace @se-2/hardhat format", diff --git a/packages/hardhat/package.json b/packages/hardhat/package.json index e7ccd4746..678022c81 100644 --- a/packages/hardhat/package.json +++ b/packages/hardhat/package.json @@ -7,9 +7,9 @@ "account:import": "hardhat run scripts/importAccount.ts", "chain": "hardhat node --network hardhat --no-deploy", "check-types": "tsc --noEmit --incremental", + "clean": "hardhat clean", "compile": "hardhat compile", "deploy": "ts-node scripts/runHardhatDeployWithPK.ts", - "clean": "hardhat clean", "flatten": "hardhat flatten", "fork": "MAINNET_FORKING_ENABLED=true hardhat node --network hardhat --no-deploy", "format": "prettier --write './**/*.(ts|sol)'",