Skip to content

Commit

Permalink
refactor(ledger-browser): rename ledger browser
Browse files Browse the repository at this point in the history
- delete solid.js version
- rename package
- fix type erros
- bump vite from 5.0.12 to 5.0.13 in /packages/cacti-ledger-browser-react

Closes: hyperledger-cacti#3156

Signed-off-by: Tomasz Awramski <tomasz.awramski@fujitsu.com>
  • Loading branch information
rwat17 committed Apr 4, 2024
1 parent 9e83087 commit 48c13d4
Show file tree
Hide file tree
Showing 159 changed files with 5,354 additions and 13,195 deletions.
61 changes: 0 additions & 61 deletions packages/cacti-ledger-browser-react/README.md

This file was deleted.

16 changes: 0 additions & 16 deletions packages/cacti-ledger-browser-react/index.html

This file was deleted.

79 changes: 0 additions & 79 deletions packages/cacti-ledger-browser-react/package.json

This file was deleted.

19 changes: 0 additions & 19 deletions packages/cacti-ledger-browser-react/tsconfig.json

This file was deleted.

8 changes: 0 additions & 8 deletions packages/cacti-ledger-browser/CHANGELOG.md

This file was deleted.

28 changes: 14 additions & 14 deletions packages/cacti-ledger-browser/index.html
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<link rel="shortcut icon" type="image/ico" href="/src/assets/favicon.ico" />
<title>Cacti Ledger Browser</title>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>

<script src="/src/index.tsx" type="module"></script>
</body>
</html>
<head>
<meta charset="UTF-8" />
<link rel="icon" href="https://www.hyperledger.org/hubfs/hyperledgerfavicon.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Cacti Ledger Browser</title>
</head>

<body>
<div id="root"></div>
<script type="module" src="/src/main/typescript/main.tsx"></script>
</body>

</html>
52 changes: 27 additions & 25 deletions packages/cacti-ledger-browser/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@hyperledger/cacti-ledger-browser",
"version": "2.0.0-alpha.2",
"description": "Cacti GUI for visualizing ledger data.",
"description": "Cacti GUI for visualizing ledger data build on react.",
"keywords": [
"Hyperledger",
"Cacti",
Expand Down Expand Up @@ -29,6 +29,11 @@
"email": "your.name@example.com",
"url": "https://example.com"
},
{
"name": "Tomasz Awramski",
"email": "tomasz.awramski@fujitsu.com",
"url": "https://www.fujitsu.com/global/"
},
{
"name": "Eryk Baranowski",
"email": "eryk.baranowski@fujitsu.com",
Expand All @@ -48,31 +53,28 @@
"start": "vite"
},
"dependencies": {
"@solidjs/router": "0.8.4",
"@emotion/react": "11.11.3",
"@emotion/styled": "11.11.0",
"@mui/icons-material": "5.15.10",
"@mui/material": "5.15.10",
"@supabase/supabase-js": "1.35.6",
"apexcharts": "3.36.0",
"chart.js": "3.9.1",
"moment": "2.29.4",
"solid-apexcharts": "0.1.6",
"solid-icons": "1.0.4",
"solid-js": "1.8.11",
"solid-slider": "1.3.9",
"solid-toast": "0.5.0"
"apexcharts": "3.45.2",
"localforage": "1.10.0",
"match-sorter": "6.3.3",
"moment": "2.30.1",
"react": "18.2.0",
"react-apexcharts": "1.4.1",
"react-dom": "18.2.0",
"react-router-dom": "6.21.3",
"sort-by": "1.2.0",
"web3": "4.1.1"
},
"devDependencies": {
"autoprefixer": "10.4.8",
"postcss": "8.4.31",
"supabase": "1.28.4",
"typescript-plugin-css-modules": "5.0.2",
"vite": "4.5.2",
"vite-plugin-solid": "2.8.2"
},
"engines": {
"node": ">=18",
"npm": ">=8"
},
"publishConfig": {
"access": "public"
},
"watch": {}
"@types/react": "18.2.43",
"@types/react-dom": "18.2.17",
"@types/sort-by": "1",
"@vitejs/plugin-react": "4.2.1",
"typescript": "5.2.2",
"vite": "5.0.13"
}
}
5 changes: 0 additions & 5 deletions packages/cacti-ledger-browser/postcss.config.js

This file was deleted.

12 changes: 0 additions & 12 deletions packages/cacti-ledger-browser/src/App.module.css

This file was deleted.

18 changes: 0 additions & 18 deletions packages/cacti-ledger-browser/src/App.tsx

This file was deleted.

Binary file removed packages/cacti-ledger-browser/src/assets/favicon.ico
Binary file not shown.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 48c13d4

Please sign in to comment.