From 91a80dc8b51e392ac890036738471cebc08c1ea3 Mon Sep 17 00:00:00 2001 From: Darlington02 Date: Mon, 20 May 2024 04:06:10 +0100 Subject: [PATCH] chore: update cli installation script --- bin/cli.mjs | 12 +++++++++++- .../components/ScaffoldDeployer/ScaffoldDeployer.tsx | 2 +- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/bin/cli.mjs b/bin/cli.mjs index ea44482..04a2386 100755 --- a/bin/cli.mjs +++ b/bin/cli.mjs @@ -47,12 +47,17 @@ try { const componentsToRemove = [ "burner", "website", + "devnet", `${FRONTEND_BASE_PATH}/burner`, `${FRONTEND_BASE_PATH}/wikipedia`, `${FRONTEND_BASE_PATH}/scaffold-deployer`, `${FRONTEND_BASE_PATH}/components/Burner`, `${FRONTEND_BASE_PATH}/components/BurnerWallet`, - `${FRONTEND_BASE_PATH}/components/ScaffoldDeployer` + `${FRONTEND_BASE_PATH}/components/ScaffoldDeployer`, + `${FRONTEND_BASE_PATH}/components/AssetTransferModal.tsx`, + `${FRONTEND_BASE_PATH}/components/ConnectModal.tsx`, + `${FRONTEND_BASE_PATH}/components/ConnectionModal.tsx`, + `${FRONTEND_BASE_PATH}/components/ContractExecutionModal.tsx`, ]; basicCleanupTasks.push( ...componentsToRemove.map((comp) => @@ -82,11 +87,16 @@ try { recursive: true, force: true, }); + const rmWebsite = rm(path.join(projectPath, "website"), { + recursive: true, + force: true, + }); await Promise.all([ rmGit, rmBin, rmGithub, rmContributing, + rmWebsite, ...basicCleanupTasks, ]); diff --git a/frontend/src/app/components/ScaffoldDeployer/ScaffoldDeployer.tsx b/frontend/src/app/components/ScaffoldDeployer/ScaffoldDeployer.tsx index 6b63adb..b0f07f7 100644 --- a/frontend/src/app/components/ScaffoldDeployer/ScaffoldDeployer.tsx +++ b/frontend/src/app/components/ScaffoldDeployer/ScaffoldDeployer.tsx @@ -291,7 +291,7 @@ function ScaffoldDeployer() { )}