Skip to content

Commit

Permalink
chore: update cli installation script
Browse files Browse the repository at this point in the history
  • Loading branch information
Darlington02 committed May 20, 2024
1 parent 8451491 commit 91a80dc
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
12 changes: 11 additions & 1 deletion bin/cli.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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) =>
Expand Down Expand Up @@ -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,
]);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ function ScaffoldDeployer() {
)}
<button
onClick={(e) => handleDeclare(e)}
className="bg-blue-500 py-3 px-4 rounded-[5px] w-[200px] text-white"
className="bg-[#f77448] py-3 px-4 rounded-[5px] w-[200px] text-white"
>
Declare
</button>
Expand Down

0 comments on commit 91a80dc

Please sign in to comment.