Skip to content

Commit d53baf2

Browse files
authored
resolve icon issue and remove redundent code (#741)
Remove items with conflicting licenses and update dependencies. Signed-off-by: Jason You <[email protected]>
1 parent 736a0c6 commit d53baf2

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

71 files changed

+233
-2077
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,7 @@ lerna-debug.log
4949

5050
# Ignore data
5151
data/
52+
53+
# Ignore temp test files
54+
test/
55+
temp/

lerna.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
"packages/caliper-cli",
1616
"packages/caliper-publish",
1717
"packages/caliper-tests-integration",
18+
"packages/caliper-gui-dashboard",
19+
"packages/caliper-gui-server",
1820
"packages/caliper-generator/generator-caliper"
1921
],
2022
"version": "0.3.1-unstable",

packages/caliper-core/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"compare-versions": "^3.4.0",
2727
"dockerode": "3.1.0",
2828
"fs-extra": "8.1.0",
29-
"js-yaml": "^3.12.0",
29+
"js-yaml": "^3.13.1",
3030
"mustache": "^2.3.0",
3131
"mqtt": "3.0.0",
3232
"nconf": "^0.10.0",
@@ -90,7 +90,7 @@
9090
}
9191
},
9292
"optionalDependencies": {
93-
"ajv": "^6.0.0"
93+
"ajv": "6.12.0"
9494
},
9595
"nyc": {
9696
"exclude": [

packages/caliper-ethereum/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"ethereumjs-wallet": "^0.6.3"
2727
},
2828
"devDependencies": {
29-
"web3": "1.2.2",
29+
"web3": "0.20.7",
3030
"chai": "^3.5.0",
3131
"eslint": "^5.16.0",
3232
"mocha": "3.4.2",

packages/caliper-gui-dashboard/package.json

Lines changed: 28 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"test": "npm run lint",
1515
"lint": "npx eslint .",
1616
"nyc": "nyc mocha --recursive -t 10000",
17-
"start": "react-scripts start",
17+
"start": "SKIP_PREFLIGHT_CHECK=true react-scripts start",
1818
"build": "react-scripts build",
1919
"eject": "react-scripts eject",
2020
"install:clean": "rm -rf node_modules/ && rm -rf package-lock.json && npm install && npm start",
@@ -27,34 +27,38 @@
2727
"npm": ">=5.6.0"
2828
},
2929
"dependencies": {
30-
"axios": "^0.19.0",
31-
"bootstrap": "4.3.1",
32-
"chart.js": "^2.8.0",
33-
"d3": "^5.9.7",
34-
"history": "4.9.0",
30+
"@fortawesome/fontawesome-svg-core": "^1.2.27",
31+
"@fortawesome/free-brands-svg-icons": "^5.12.1",
32+
"@fortawesome/free-solid-svg-icons": "^5.12.1",
33+
"@fortawesome/react-fontawesome": "^0.1.8",
34+
"axios": "^0.19.2",
35+
"bootstrap": "4.4.1",
36+
"chart.js": "^2.9.3",
37+
"d3": "^5.15.0",
38+
"history": "4.10.1",
3539
"js-yaml": "^3.13.1",
3640
"mime-types": "^2.1.24",
37-
"node-sass": "4.12.0",
41+
"node-sass": "4.13.1",
3842
"patternomaly": "^1.3.2",
39-
"perfect-scrollbar": "1.4.0",
40-
"react": "^16.8.6",
41-
"react-chartjs-2": "^2.7.6",
42-
"react-copy-to-clipboard": "^5.0.1",
43-
"react-d3-graph": "^2.1.0",
44-
"react-dom": "16.8.6",
43+
"perfect-scrollbar": "1.5.0",
44+
"react": "^16.12.0",
45+
"react-chartjs-2": "^2.9.0",
46+
"react-copy-to-clipboard": "^5.0.2",
47+
"react-d3-graph": "^2.3.0",
48+
"react-dom": "16.12.0",
4549
"react-google-maps": "9.4.5",
4650
"react-notification-alert": "0.0.12",
47-
"react-router": "5.0.0",
48-
"react-router-dom": "5.0.0",
49-
"react-scripts": "3.0.1",
50-
"react-textarea-autosize": "^7.1.0",
51-
"reactstrap": "8.0.0"
51+
"react-router": "5.1.2",
52+
"react-router-dom": "5.1.2",
53+
"react-scripts": "3.4.0",
54+
"react-textarea-autosize": "^7.1.2",
55+
"reactstrap": "8.4.1"
5256
},
5357
"devDependencies": {
5458
"babel-eslint": "10.0.1",
5559
"chai": "^3.5.0",
5660
"eslint": "^5.16.0",
57-
"eslint-plugin-react": "^7.16.0",
61+
"eslint-plugin-react": "^7.18.3",
5862
"license-check-and-add": "2.3.6",
5963
"mocha": "3.4.2",
6064
"nyc": "11.1.0",
@@ -71,12 +75,12 @@
7175
"not op_mini all"
7276
],
7377
"optionalDependencies": {
74-
"@types/googlemaps": "3.36.2",
78+
"@types/googlemaps": "3.39.3",
7579
"@types/markerclustererplus": "2.1.33",
76-
"@types/react": "16.8.19",
77-
"ajv": "6.10.0",
80+
"@types/react": "16.9.23",
81+
"ajv": "6.12.0",
7882
"jquery": "3.4.1",
79-
"typescript": "3.4.5"
83+
"typescript": "3.8.2"
8084
},
8185
"license-check-and-add-config": {
8286
"folder": ".",
@@ -89,7 +93,7 @@
8993
".gitignore",
9094
"log",
9195
".jshintrc",
92-
"gui-client/caliper-gui-dashboard/.gitignore"
96+
"src/assets/.DS_Store"
9397
],
9498
"file_type_method": "EXCLUDE",
9599
"file_types": [

packages/caliper-gui-dashboard/public/index.html

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,8 @@
6666
href="https://fonts.googleapis.com/css?family=Montserrat:400,700,200"
6767
rel="stylesheet"
6868
/>
69-
<link
70-
rel="stylesheet"
71-
href="https://use.fontawesome.com/releases/v5.3.1/css/all.css"
72-
/>
69+
<!-- Fontawesome latest kit -->
70+
<script src="https://kit.fontawesome.com/71d2d3ed2e.js" crossorigin="anonymous"></script>
7371

7472
<title>Hyperledger Caliper Dashboard</title>
7573
</head>

0 commit comments

Comments
 (0)