diff --git a/package.json b/package.json index 853f952049..ecf820d8d7 100644 --- a/package.json +++ b/package.json @@ -63,7 +63,7 @@ "build:prod:frontend": "lerna run build:prod:frontend", "build:dev": "npm-run-all build:dev:backend webpack:dev:web build:dev:frontend", "build:dev:backend": "npm-run-all tsc build:dev:backend:postbuild", - "build:dev:frontend": "lerna run build:dev:frontend --scope='@hyperledger/cactus-example-*-frontend' --scope='@hyperledger/cacti-cmd-gui-app'", + "build:dev:frontend": "lerna run build:dev:frontend --scope='@hyperledger/cactus-example-*-frontend' --scope='@hyperledger/cacti-ledger-browser'", "build:dev:common": "lerna exec --stream --scope '*/*common' -- 'del-cli dist/** && tsc --project ./tsconfig.json && webpack --env=dev --target=node --config ../../webpack.config.js'", "build:dev:backend:postbuild": "lerna run build:dev:backend:postbuild", "test:cmd-api-server": "tap --ts --timeout=600 \"packages/cactus-*cmd-api-server/src/test/typescript/{unit,integration}/\"", diff --git a/packages/cacti-cmd-gui-app/README.md b/packages/cacti-ledger-browser/README.md similarity index 95% rename from packages/cacti-cmd-gui-app/README.md rename to packages/cacti-ledger-browser/README.md index 8f63795e1e..19990e0451 100644 --- a/packages/cacti-cmd-gui-app/README.md +++ b/packages/cacti-ledger-browser/README.md @@ -1,10 +1,10 @@ -# `@hyperledger/cacti-cmd-gui-app` +# `@hyperledger/cacti-ledger-browser` This component allows viewing ledger data in Supabase or other postgreSQL compatible database. The data is fed to supabase by persistence plugins for each ledgers. ## Summary -- [`@hyperledger/cacti-cmd-gui-app`](#hyperledgercacti-cmd-gui-app) +- [`@hyperledger/cacti-ledger-browser`](#hyperledgercacti-gui-tx-viewer) - [Summary](#summary) - [Remarks](#remarks) - [Getting Started](#getting-started) diff --git a/packages/cacti-cmd-gui-app/index.html b/packages/cacti-ledger-browser/index.html similarity index 92% rename from packages/cacti-cmd-gui-app/index.html rename to packages/cacti-ledger-browser/index.html index 6da7c5535b..103afb82d4 100644 --- a/packages/cacti-cmd-gui-app/index.html +++ b/packages/cacti-ledger-browser/index.html @@ -5,7 +5,7 @@ - Cacti GUI + Cacti Ledger Browser diff --git a/packages/cacti-cmd-gui-app/package.json b/packages/cacti-ledger-browser/package.json similarity index 97% rename from packages/cacti-cmd-gui-app/package.json rename to packages/cacti-ledger-browser/package.json index 58d1d07f59..99a1599f5c 100644 --- a/packages/cacti-cmd-gui-app/package.json +++ b/packages/cacti-ledger-browser/package.json @@ -1,5 +1,5 @@ { - "name": "@hyperledger/cacti-cmd-gui-app", + "name": "@hyperledger/cacti-ledger-browser", "version": "2.0.0-alpha.1", "description": "Cacti GUI for visualizing ledger data.", "keywords": [ diff --git a/packages/cacti-cmd-gui-app/postcss.config.js b/packages/cacti-ledger-browser/postcss.config.js similarity index 100% rename from packages/cacti-cmd-gui-app/postcss.config.js rename to packages/cacti-ledger-browser/postcss.config.js diff --git a/packages/cacti-cmd-gui-app/src/App.module.css b/packages/cacti-ledger-browser/src/App.module.css similarity index 100% rename from packages/cacti-cmd-gui-app/src/App.module.css rename to packages/cacti-ledger-browser/src/App.module.css diff --git a/packages/cacti-cmd-gui-app/src/App.tsx b/packages/cacti-ledger-browser/src/App.tsx similarity index 100% rename from packages/cacti-cmd-gui-app/src/App.tsx rename to packages/cacti-ledger-browser/src/App.tsx diff --git a/packages/cacti-cmd-gui-app/src/assets/favicon.ico b/packages/cacti-ledger-browser/src/assets/favicon.ico similarity index 100% rename from packages/cacti-cmd-gui-app/src/assets/favicon.ico rename to packages/cacti-ledger-browser/src/assets/favicon.ico diff --git a/packages/cacti-cmd-gui-app/src/components/AccountCard/AccountCard.module.css b/packages/cacti-ledger-browser/src/components/AccountCard/AccountCard.module.css similarity index 100% rename from packages/cacti-cmd-gui-app/src/components/AccountCard/AccountCard.module.css rename to packages/cacti-ledger-browser/src/components/AccountCard/AccountCard.module.css diff --git a/packages/cacti-cmd-gui-app/src/components/AccountCard/AccountCard.tsx b/packages/cacti-ledger-browser/src/components/AccountCard/AccountCard.tsx similarity index 100% rename from packages/cacti-cmd-gui-app/src/components/AccountCard/AccountCard.tsx rename to packages/cacti-ledger-browser/src/components/AccountCard/AccountCard.tsx diff --git a/packages/cacti-cmd-gui-app/src/components/BlockCard/BlockCard.module.css b/packages/cacti-ledger-browser/src/components/BlockCard/BlockCard.module.css similarity index 100% rename from packages/cacti-cmd-gui-app/src/components/BlockCard/BlockCard.module.css rename to packages/cacti-ledger-browser/src/components/BlockCard/BlockCard.module.css diff --git a/packages/cacti-cmd-gui-app/src/components/BlockCard/BlockCard.tsx b/packages/cacti-ledger-browser/src/components/BlockCard/BlockCard.tsx similarity index 100% rename from packages/cacti-cmd-gui-app/src/components/BlockCard/BlockCard.tsx rename to packages/cacti-ledger-browser/src/components/BlockCard/BlockCard.tsx diff --git a/packages/cacti-cmd-gui-app/src/components/CardWrapper/CardWrapper.module.css b/packages/cacti-ledger-browser/src/components/CardWrapper/CardWrapper.module.css similarity index 100% rename from packages/cacti-cmd-gui-app/src/components/CardWrapper/CardWrapper.module.css rename to packages/cacti-ledger-browser/src/components/CardWrapper/CardWrapper.module.css diff --git a/packages/cacti-cmd-gui-app/src/components/CardWrapper/CardWrapper.tsx b/packages/cacti-ledger-browser/src/components/CardWrapper/CardWrapper.tsx similarity index 100% rename from packages/cacti-cmd-gui-app/src/components/CardWrapper/CardWrapper.tsx rename to packages/cacti-ledger-browser/src/components/CardWrapper/CardWrapper.tsx diff --git a/packages/cacti-cmd-gui-app/src/components/Chart/Chart.module.css b/packages/cacti-ledger-browser/src/components/Chart/Chart.module.css similarity index 100% rename from packages/cacti-cmd-gui-app/src/components/Chart/Chart.module.css rename to packages/cacti-ledger-browser/src/components/Chart/Chart.module.css diff --git a/packages/cacti-cmd-gui-app/src/components/Chart/Chart.tsx b/packages/cacti-ledger-browser/src/components/Chart/Chart.tsx similarity index 100% rename from packages/cacti-cmd-gui-app/src/components/Chart/Chart.tsx rename to packages/cacti-ledger-browser/src/components/Chart/Chart.tsx diff --git a/packages/cacti-cmd-gui-app/src/components/Chart/LineChart.tsx b/packages/cacti-ledger-browser/src/components/Chart/LineChart.tsx similarity index 100% rename from packages/cacti-cmd-gui-app/src/components/Chart/LineChart.tsx rename to packages/cacti-ledger-browser/src/components/Chart/LineChart.tsx diff --git a/packages/cacti-cmd-gui-app/src/components/Pagination/Pagination.module.css b/packages/cacti-ledger-browser/src/components/Pagination/Pagination.module.css similarity index 100% rename from packages/cacti-cmd-gui-app/src/components/Pagination/Pagination.module.css rename to packages/cacti-ledger-browser/src/components/Pagination/Pagination.module.css diff --git a/packages/cacti-cmd-gui-app/src/components/Pagination/Pagination.tsx b/packages/cacti-ledger-browser/src/components/Pagination/Pagination.tsx similarity index 100% rename from packages/cacti-cmd-gui-app/src/components/Pagination/Pagination.tsx rename to packages/cacti-ledger-browser/src/components/Pagination/Pagination.tsx diff --git a/packages/cacti-cmd-gui-app/src/components/TokenHeader/TokenAccount.tsx b/packages/cacti-ledger-browser/src/components/TokenHeader/TokenAccount.tsx similarity index 100% rename from packages/cacti-cmd-gui-app/src/components/TokenHeader/TokenAccount.tsx rename to packages/cacti-ledger-browser/src/components/TokenHeader/TokenAccount.tsx diff --git a/packages/cacti-cmd-gui-app/src/components/TokenHeader/TokenHeader.module.css b/packages/cacti-ledger-browser/src/components/TokenHeader/TokenHeader.module.css similarity index 100% rename from packages/cacti-cmd-gui-app/src/components/TokenHeader/TokenHeader.module.css rename to packages/cacti-ledger-browser/src/components/TokenHeader/TokenHeader.module.css diff --git a/packages/cacti-cmd-gui-app/src/components/TokenHeader/TokenHeader.tsx b/packages/cacti-ledger-browser/src/components/TokenHeader/TokenHeader.tsx similarity index 100% rename from packages/cacti-cmd-gui-app/src/components/TokenHeader/TokenHeader.tsx rename to packages/cacti-ledger-browser/src/components/TokenHeader/TokenHeader.tsx diff --git a/packages/cacti-cmd-gui-app/src/components/UI/Button/Button.module.css b/packages/cacti-ledger-browser/src/components/UI/Button/Button.module.css similarity index 100% rename from packages/cacti-cmd-gui-app/src/components/UI/Button/Button.module.css rename to packages/cacti-ledger-browser/src/components/UI/Button/Button.module.css diff --git a/packages/cacti-cmd-gui-app/src/components/UI/Button/Button.tsx b/packages/cacti-ledger-browser/src/components/UI/Button/Button.tsx similarity index 100% rename from packages/cacti-cmd-gui-app/src/components/UI/Button/Button.tsx rename to packages/cacti-ledger-browser/src/components/UI/Button/Button.tsx diff --git a/packages/cacti-cmd-gui-app/src/components/UI/CustomTable/CustomTable.css b/packages/cacti-ledger-browser/src/components/UI/CustomTable/CustomTable.css similarity index 100% rename from packages/cacti-cmd-gui-app/src/components/UI/CustomTable/CustomTable.css rename to packages/cacti-ledger-browser/src/components/UI/CustomTable/CustomTable.css diff --git a/packages/cacti-cmd-gui-app/src/components/UI/CustomTable/CustomTable.module.css b/packages/cacti-ledger-browser/src/components/UI/CustomTable/CustomTable.module.css similarity index 100% rename from packages/cacti-cmd-gui-app/src/components/UI/CustomTable/CustomTable.module.css rename to packages/cacti-ledger-browser/src/components/UI/CustomTable/CustomTable.module.css diff --git a/packages/cacti-cmd-gui-app/src/components/UI/CustomTable/CustomTable.tsx b/packages/cacti-ledger-browser/src/components/UI/CustomTable/CustomTable.tsx similarity index 100% rename from packages/cacti-cmd-gui-app/src/components/UI/CustomTable/CustomTable.tsx rename to packages/cacti-ledger-browser/src/components/UI/CustomTable/CustomTable.tsx diff --git a/packages/cacti-cmd-gui-app/src/components/UI/CustomTable/EmptyTablePlaceholder/EmptyTablePlaceholder.module.css b/packages/cacti-ledger-browser/src/components/UI/CustomTable/EmptyTablePlaceholder/EmptyTablePlaceholder.module.css similarity index 100% rename from packages/cacti-cmd-gui-app/src/components/UI/CustomTable/EmptyTablePlaceholder/EmptyTablePlaceholder.module.css rename to packages/cacti-ledger-browser/src/components/UI/CustomTable/EmptyTablePlaceholder/EmptyTablePlaceholder.module.css diff --git a/packages/cacti-cmd-gui-app/src/components/UI/CustomTable/EmptyTablePlaceholder/EmptyTablePlaceholder.tsx b/packages/cacti-ledger-browser/src/components/UI/CustomTable/EmptyTablePlaceholder/EmptyTablePlaceholder.tsx similarity index 100% rename from packages/cacti-cmd-gui-app/src/components/UI/CustomTable/EmptyTablePlaceholder/EmptyTablePlaceholder.tsx rename to packages/cacti-ledger-browser/src/components/UI/CustomTable/EmptyTablePlaceholder/EmptyTablePlaceholder.tsx diff --git a/packages/cacti-cmd-gui-app/src/components/UI/Menu/Menu.module.css b/packages/cacti-ledger-browser/src/components/UI/Menu/Menu.module.css similarity index 100% rename from packages/cacti-cmd-gui-app/src/components/UI/Menu/Menu.module.css rename to packages/cacti-ledger-browser/src/components/UI/Menu/Menu.module.css diff --git a/packages/cacti-cmd-gui-app/src/components/UI/Menu/Menu.tsx b/packages/cacti-ledger-browser/src/components/UI/Menu/Menu.tsx similarity index 100% rename from packages/cacti-cmd-gui-app/src/components/UI/Menu/Menu.tsx rename to packages/cacti-ledger-browser/src/components/UI/Menu/Menu.tsx diff --git a/packages/cacti-cmd-gui-app/src/components/UI/Search/Search.module.css b/packages/cacti-ledger-browser/src/components/UI/Search/Search.module.css similarity index 100% rename from packages/cacti-cmd-gui-app/src/components/UI/Search/Search.module.css rename to packages/cacti-ledger-browser/src/components/UI/Search/Search.module.css diff --git a/packages/cacti-cmd-gui-app/src/components/UI/Search/Search.tsx b/packages/cacti-ledger-browser/src/components/UI/Search/Search.tsx similarity index 100% rename from packages/cacti-cmd-gui-app/src/components/UI/Search/Search.tsx rename to packages/cacti-ledger-browser/src/components/UI/Search/Search.tsx diff --git a/packages/cacti-cmd-gui-app/src/components/UI/Select/Select.module.css b/packages/cacti-ledger-browser/src/components/UI/Select/Select.module.css similarity index 100% rename from packages/cacti-cmd-gui-app/src/components/UI/Select/Select.module.css rename to packages/cacti-ledger-browser/src/components/UI/Select/Select.module.css diff --git a/packages/cacti-cmd-gui-app/src/components/UI/Select/Select.tsx b/packages/cacti-ledger-browser/src/components/UI/Select/Select.tsx similarity index 100% rename from packages/cacti-cmd-gui-app/src/components/UI/Select/Select.tsx rename to packages/cacti-ledger-browser/src/components/UI/Select/Select.tsx diff --git a/packages/cacti-cmd-gui-app/src/index.css b/packages/cacti-ledger-browser/src/index.css similarity index 100% rename from packages/cacti-cmd-gui-app/src/index.css rename to packages/cacti-ledger-browser/src/index.css diff --git a/packages/cacti-cmd-gui-app/src/index.tsx b/packages/cacti-ledger-browser/src/index.tsx similarity index 100% rename from packages/cacti-cmd-gui-app/src/index.tsx rename to packages/cacti-ledger-browser/src/index.tsx diff --git a/packages/cacti-cmd-gui-app/src/logo.svg b/packages/cacti-ledger-browser/src/logo.svg similarity index 100% rename from packages/cacti-cmd-gui-app/src/logo.svg rename to packages/cacti-ledger-browser/src/logo.svg diff --git a/packages/cacti-cmd-gui-app/src/pages/Pages.tsx b/packages/cacti-ledger-browser/src/pages/Pages.tsx similarity index 100% rename from packages/cacti-cmd-gui-app/src/pages/Pages.tsx rename to packages/cacti-ledger-browser/src/pages/Pages.tsx diff --git a/packages/cacti-cmd-gui-app/src/pages/eth/Accounts/Accounts.module.css b/packages/cacti-ledger-browser/src/pages/eth/Accounts/Accounts.module.css similarity index 100% rename from packages/cacti-cmd-gui-app/src/pages/eth/Accounts/Accounts.module.css rename to packages/cacti-ledger-browser/src/pages/eth/Accounts/Accounts.module.css diff --git a/packages/cacti-cmd-gui-app/src/pages/eth/Accounts/Accounts.tsx b/packages/cacti-ledger-browser/src/pages/eth/Accounts/Accounts.tsx similarity index 100% rename from packages/cacti-cmd-gui-app/src/pages/eth/Accounts/Accounts.tsx rename to packages/cacti-ledger-browser/src/pages/eth/Accounts/Accounts.tsx diff --git a/packages/cacti-cmd-gui-app/src/pages/eth/Blocks/Blocks.module.css b/packages/cacti-ledger-browser/src/pages/eth/Blocks/Blocks.module.css similarity index 100% rename from packages/cacti-cmd-gui-app/src/pages/eth/Blocks/Blocks.module.css rename to packages/cacti-ledger-browser/src/pages/eth/Blocks/Blocks.module.css diff --git a/packages/cacti-cmd-gui-app/src/pages/eth/Blocks/Blocks.tsx b/packages/cacti-ledger-browser/src/pages/eth/Blocks/Blocks.tsx similarity index 100% rename from packages/cacti-cmd-gui-app/src/pages/eth/Blocks/Blocks.tsx rename to packages/cacti-ledger-browser/src/pages/eth/Blocks/Blocks.tsx diff --git a/packages/cacti-cmd-gui-app/src/pages/eth/Dashboard/Dashboard.module.css b/packages/cacti-ledger-browser/src/pages/eth/Dashboard/Dashboard.module.css similarity index 100% rename from packages/cacti-cmd-gui-app/src/pages/eth/Dashboard/Dashboard.module.css rename to packages/cacti-ledger-browser/src/pages/eth/Dashboard/Dashboard.module.css diff --git a/packages/cacti-cmd-gui-app/src/pages/eth/Dashboard/Dashboard.tsx b/packages/cacti-ledger-browser/src/pages/eth/Dashboard/Dashboard.tsx similarity index 100% rename from packages/cacti-cmd-gui-app/src/pages/eth/Dashboard/Dashboard.tsx rename to packages/cacti-ledger-browser/src/pages/eth/Dashboard/Dashboard.tsx diff --git a/packages/cacti-cmd-gui-app/src/pages/eth/Details/BlockDetails.tsx b/packages/cacti-ledger-browser/src/pages/eth/Details/BlockDetails.tsx similarity index 100% rename from packages/cacti-cmd-gui-app/src/pages/eth/Details/BlockDetails.tsx rename to packages/cacti-ledger-browser/src/pages/eth/Details/BlockDetails.tsx diff --git a/packages/cacti-cmd-gui-app/src/pages/eth/Details/Details.module.css b/packages/cacti-ledger-browser/src/pages/eth/Details/Details.module.css similarity index 100% rename from packages/cacti-cmd-gui-app/src/pages/eth/Details/Details.module.css rename to packages/cacti-ledger-browser/src/pages/eth/Details/Details.module.css diff --git a/packages/cacti-cmd-gui-app/src/pages/eth/Details/TokenDetails.tsx b/packages/cacti-ledger-browser/src/pages/eth/Details/TokenDetails.tsx similarity index 100% rename from packages/cacti-cmd-gui-app/src/pages/eth/Details/TokenDetails.tsx rename to packages/cacti-ledger-browser/src/pages/eth/Details/TokenDetails.tsx diff --git a/packages/cacti-cmd-gui-app/src/pages/eth/Details/TokenTransactionDetails.tsx b/packages/cacti-ledger-browser/src/pages/eth/Details/TokenTransactionDetails.tsx similarity index 100% rename from packages/cacti-cmd-gui-app/src/pages/eth/Details/TokenTransactionDetails.tsx rename to packages/cacti-ledger-browser/src/pages/eth/Details/TokenTransactionDetails.tsx diff --git a/packages/cacti-cmd-gui-app/src/pages/eth/Details/TransactionDetails.tsx b/packages/cacti-ledger-browser/src/pages/eth/Details/TransactionDetails.tsx similarity index 100% rename from packages/cacti-cmd-gui-app/src/pages/eth/Details/TransactionDetails.tsx rename to packages/cacti-ledger-browser/src/pages/eth/Details/TransactionDetails.tsx diff --git a/packages/cacti-cmd-gui-app/src/pages/eth/ERC20/ERC20.module.css b/packages/cacti-ledger-browser/src/pages/eth/ERC20/ERC20.module.css similarity index 100% rename from packages/cacti-cmd-gui-app/src/pages/eth/ERC20/ERC20.module.css rename to packages/cacti-ledger-browser/src/pages/eth/ERC20/ERC20.module.css diff --git a/packages/cacti-cmd-gui-app/src/pages/eth/ERC20/ERC20.tsx b/packages/cacti-ledger-browser/src/pages/eth/ERC20/ERC20.tsx similarity index 100% rename from packages/cacti-cmd-gui-app/src/pages/eth/ERC20/ERC20.tsx rename to packages/cacti-ledger-browser/src/pages/eth/ERC20/ERC20.tsx diff --git a/packages/cacti-cmd-gui-app/src/pages/eth/ERC721/ERC721.module.css b/packages/cacti-ledger-browser/src/pages/eth/ERC721/ERC721.module.css similarity index 100% rename from packages/cacti-cmd-gui-app/src/pages/eth/ERC721/ERC721.module.css rename to packages/cacti-ledger-browser/src/pages/eth/ERC721/ERC721.module.css diff --git a/packages/cacti-cmd-gui-app/src/pages/eth/ERC721/ERC721.tsx b/packages/cacti-ledger-browser/src/pages/eth/ERC721/ERC721.tsx similarity index 100% rename from packages/cacti-cmd-gui-app/src/pages/eth/ERC721/ERC721.tsx rename to packages/cacti-ledger-browser/src/pages/eth/ERC721/ERC721.tsx diff --git a/packages/cacti-cmd-gui-app/src/pages/eth/SingleTokenHistory/SingleTokenHistory.module.css b/packages/cacti-ledger-browser/src/pages/eth/SingleTokenHistory/SingleTokenHistory.module.css similarity index 100% rename from packages/cacti-cmd-gui-app/src/pages/eth/SingleTokenHistory/SingleTokenHistory.module.css rename to packages/cacti-ledger-browser/src/pages/eth/SingleTokenHistory/SingleTokenHistory.module.css diff --git a/packages/cacti-cmd-gui-app/src/pages/eth/SingleTokenHistory/SingleTokenHistory.tsx b/packages/cacti-ledger-browser/src/pages/eth/SingleTokenHistory/SingleTokenHistory.tsx similarity index 100% rename from packages/cacti-cmd-gui-app/src/pages/eth/SingleTokenHistory/SingleTokenHistory.tsx rename to packages/cacti-ledger-browser/src/pages/eth/SingleTokenHistory/SingleTokenHistory.tsx diff --git a/packages/cacti-cmd-gui-app/src/pages/eth/Transactions/Transactions.module.css b/packages/cacti-ledger-browser/src/pages/eth/Transactions/Transactions.module.css similarity index 100% rename from packages/cacti-cmd-gui-app/src/pages/eth/Transactions/Transactions.module.css rename to packages/cacti-ledger-browser/src/pages/eth/Transactions/Transactions.module.css diff --git a/packages/cacti-cmd-gui-app/src/pages/eth/Transactions/Transactions.tsx b/packages/cacti-ledger-browser/src/pages/eth/Transactions/Transactions.tsx similarity index 100% rename from packages/cacti-cmd-gui-app/src/pages/eth/Transactions/Transactions.tsx rename to packages/cacti-ledger-browser/src/pages/eth/Transactions/Transactions.tsx diff --git a/packages/cacti-cmd-gui-app/src/pages/fabric/BlocksFabric/BlocksFabric.module.css b/packages/cacti-ledger-browser/src/pages/fabric/BlocksFabric/BlocksFabric.module.css similarity index 100% rename from packages/cacti-cmd-gui-app/src/pages/fabric/BlocksFabric/BlocksFabric.module.css rename to packages/cacti-ledger-browser/src/pages/fabric/BlocksFabric/BlocksFabric.module.css diff --git a/packages/cacti-cmd-gui-app/src/pages/fabric/BlocksFabric/BlocksFabric.tsx b/packages/cacti-ledger-browser/src/pages/fabric/BlocksFabric/BlocksFabric.tsx similarity index 100% rename from packages/cacti-cmd-gui-app/src/pages/fabric/BlocksFabric/BlocksFabric.tsx rename to packages/cacti-ledger-browser/src/pages/fabric/BlocksFabric/BlocksFabric.tsx diff --git a/packages/cacti-cmd-gui-app/src/pages/fabric/DashFabric/DashFabric.module.css b/packages/cacti-ledger-browser/src/pages/fabric/DashFabric/DashFabric.module.css similarity index 100% rename from packages/cacti-cmd-gui-app/src/pages/fabric/DashFabric/DashFabric.module.css rename to packages/cacti-ledger-browser/src/pages/fabric/DashFabric/DashFabric.module.css diff --git a/packages/cacti-cmd-gui-app/src/pages/fabric/DashFabric/DashFabric.tsx b/packages/cacti-ledger-browser/src/pages/fabric/DashFabric/DashFabric.tsx similarity index 100% rename from packages/cacti-cmd-gui-app/src/pages/fabric/DashFabric/DashFabric.tsx rename to packages/cacti-ledger-browser/src/pages/fabric/DashFabric/DashFabric.tsx diff --git a/packages/cacti-cmd-gui-app/src/pages/fabric/FabricBlock/FabricBlock.module.css b/packages/cacti-ledger-browser/src/pages/fabric/FabricBlock/FabricBlock.module.css similarity index 100% rename from packages/cacti-cmd-gui-app/src/pages/fabric/FabricBlock/FabricBlock.module.css rename to packages/cacti-ledger-browser/src/pages/fabric/FabricBlock/FabricBlock.module.css diff --git a/packages/cacti-cmd-gui-app/src/pages/fabric/FabricBlock/FabricBlock.tsx b/packages/cacti-ledger-browser/src/pages/fabric/FabricBlock/FabricBlock.tsx similarity index 100% rename from packages/cacti-cmd-gui-app/src/pages/fabric/FabricBlock/FabricBlock.tsx rename to packages/cacti-ledger-browser/src/pages/fabric/FabricBlock/FabricBlock.tsx diff --git a/packages/cacti-cmd-gui-app/src/pages/fabric/FabricTransaction/FabricTransaction.module.css b/packages/cacti-ledger-browser/src/pages/fabric/FabricTransaction/FabricTransaction.module.css similarity index 100% rename from packages/cacti-cmd-gui-app/src/pages/fabric/FabricTransaction/FabricTransaction.module.css rename to packages/cacti-ledger-browser/src/pages/fabric/FabricTransaction/FabricTransaction.module.css diff --git a/packages/cacti-cmd-gui-app/src/pages/fabric/FabricTransaction/FabricTransaction.tsx b/packages/cacti-ledger-browser/src/pages/fabric/FabricTransaction/FabricTransaction.tsx similarity index 100% rename from packages/cacti-cmd-gui-app/src/pages/fabric/FabricTransaction/FabricTransaction.tsx rename to packages/cacti-ledger-browser/src/pages/fabric/FabricTransaction/FabricTransaction.tsx diff --git a/packages/cacti-cmd-gui-app/src/pages/fabric/TransactionsFabric/TransactionsFabric.module.css b/packages/cacti-ledger-browser/src/pages/fabric/TransactionsFabric/TransactionsFabric.module.css similarity index 100% rename from packages/cacti-cmd-gui-app/src/pages/fabric/TransactionsFabric/TransactionsFabric.module.css rename to packages/cacti-ledger-browser/src/pages/fabric/TransactionsFabric/TransactionsFabric.module.css diff --git a/packages/cacti-cmd-gui-app/src/pages/fabric/TransactionsFabric/TransactionsFabric.tsx b/packages/cacti-ledger-browser/src/pages/fabric/TransactionsFabric/TransactionsFabric.tsx similarity index 100% rename from packages/cacti-cmd-gui-app/src/pages/fabric/TransactionsFabric/TransactionsFabric.tsx rename to packages/cacti-ledger-browser/src/pages/fabric/TransactionsFabric/TransactionsFabric.tsx diff --git a/packages/cacti-cmd-gui-app/src/pages/shared/Home/Home.module.css b/packages/cacti-ledger-browser/src/pages/shared/Home/Home.module.css similarity index 100% rename from packages/cacti-cmd-gui-app/src/pages/shared/Home/Home.module.css rename to packages/cacti-ledger-browser/src/pages/shared/Home/Home.module.css diff --git a/packages/cacti-cmd-gui-app/src/pages/shared/Home/Home.tsx b/packages/cacti-ledger-browser/src/pages/shared/Home/Home.tsx similarity index 100% rename from packages/cacti-cmd-gui-app/src/pages/shared/Home/Home.tsx rename to packages/cacti-ledger-browser/src/pages/shared/Home/Home.tsx diff --git a/packages/cacti-cmd-gui-app/src/schema/supabase-types.ts b/packages/cacti-ledger-browser/src/schema/supabase-types.ts similarity index 100% rename from packages/cacti-cmd-gui-app/src/schema/supabase-types.ts rename to packages/cacti-ledger-browser/src/schema/supabase-types.ts diff --git a/packages/cacti-cmd-gui-app/src/schema/token-standards.ts b/packages/cacti-ledger-browser/src/schema/token-standards.ts similarity index 100% rename from packages/cacti-cmd-gui-app/src/schema/token-standards.ts rename to packages/cacti-ledger-browser/src/schema/token-standards.ts diff --git a/packages/cacti-cmd-gui-app/src/supabase-client.tsx b/packages/cacti-ledger-browser/src/supabase-client.tsx similarity index 100% rename from packages/cacti-cmd-gui-app/src/supabase-client.tsx rename to packages/cacti-ledger-browser/src/supabase-client.tsx diff --git a/packages/cacti-cmd-gui-app/styles.d.ts b/packages/cacti-ledger-browser/styles.d.ts similarity index 100% rename from packages/cacti-cmd-gui-app/styles.d.ts rename to packages/cacti-ledger-browser/styles.d.ts diff --git a/packages/cacti-cmd-gui-app/tailwind.config.ts b/packages/cacti-ledger-browser/tailwind.config.ts similarity index 100% rename from packages/cacti-cmd-gui-app/tailwind.config.ts rename to packages/cacti-ledger-browser/tailwind.config.ts diff --git a/packages/cacti-cmd-gui-app/tsconfig.json b/packages/cacti-ledger-browser/tsconfig.json similarity index 80% rename from packages/cacti-cmd-gui-app/tsconfig.json rename to packages/cacti-ledger-browser/tsconfig.json index d8f03f3180..c93aefcae8 100644 --- a/packages/cacti-cmd-gui-app/tsconfig.json +++ b/packages/cacti-ledger-browser/tsconfig.json @@ -13,7 +13,7 @@ ], "outDir": "./dist/out-tsc", "rootDir": "./src", - "tsBuildInfoFile": "../../.build-cache/cactus-cmd-gui-app.tsbuildinfo" + "tsBuildInfoFile": "../../.build-cache/cacti-ledger-browser.tsbuildinfo" }, } \ No newline at end of file diff --git a/packages/cacti-cmd-gui-app/vite.config.ts b/packages/cacti-ledger-browser/vite.config.ts similarity index 100% rename from packages/cacti-cmd-gui-app/vite.config.ts rename to packages/cacti-ledger-browser/vite.config.ts diff --git a/packages/cactus-plugin-persistence-fabric/README.md b/packages/cactus-plugin-persistence-fabric/README.md index f2355c4be4..f6ef80ef5c 100644 --- a/packages/cactus-plugin-persistence-fabric/README.md +++ b/packages/cactus-plugin-persistence-fabric/README.md @@ -2,7 +2,7 @@ This plugin allows `Cacti` to persist Fabric Block general data and basic information about transactions into some storage (currently to a `PostgreSQL` database, but this concept can be extended further). Data in the database can later be analyzed and viewed in a GUI tool. -GUI tool is in project root directory of Cacti project in GUI folder. cacti/packages/cacti-cmd-gui-app +GUI tool is in project root directory of Cacti project in GUI folder. cacti/packages/cacti-ledger-browser ## Summary diff --git a/tsconfig.json b/tsconfig.json index a7a3723df1..924881e8a9 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -11,7 +11,7 @@ "path": "./packages/cactus-cmd-socketio-server/tsconfig.json" }, { - "path": "./packages/cacti-cmd-gui-app/tsconfig.json" + "path": "./packages/cacti-ledger-browser/tsconfig.json" }, { "path": "./packages/cactus-common/tsconfig.json" diff --git a/yarn.lock b/yarn.lock index c6faa0d89f..254c06c1c7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5949,9 +5949,9 @@ __metadata: languageName: node linkType: hard -"@hyperledger/cacti-cmd-gui-app@workspace:packages/cacti-cmd-gui-app": +"@hyperledger/cacti-ledger-browser@workspace:packages/cacti-ledger-browser": version: 0.0.0-use.local - resolution: "@hyperledger/cacti-cmd-gui-app@workspace:packages/cacti-cmd-gui-app" + resolution: "@hyperledger/cacti-ledger-browser@workspace:packages/cacti-ledger-browser" dependencies: "@solidjs/router": 0.4.2 "@supabase/supabase-js": 1.35.6