Skip to content

Commit

Permalink
Adapt to IOTA 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
muXxer committed Apr 19, 2024
1 parent 2dab5ff commit 3de12b9
Show file tree
Hide file tree
Showing 222 changed files with 2,125 additions and 9,005 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -572,7 +572,7 @@ module.exports = {
"error",
{
"ignorePattern": "^import",
"code": 120
"code": 180
}
],
"max-lines": [
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

# About

Common dashboard used by IOTA node software Hornet and Bee.
Dashboard used by the IOTA-Core node software.

## Prerequisites

Expand All @@ -32,9 +32,9 @@ If Node.js is installed, you should see the version that's installed.

# Getting Started

You need to run a local version of the Hornet node software from the main branch [https://github.com/iotaledger/hornet/](https://github.com/iotaledger/hornet/)
You need to run a local version of the IOTA-Core node software from the develop branch [https://github.com/iotaledger/iota-core/](https://github.com/iotaledger/iota-core/)

1. Make sure to set `dashboard.dev` to true in Hornet config, to enable the node to serve assets
1. Make sure to set `dashboard.dev` to true in the config, to enable the node to serve assets
from the dev instance.
2. Install all needed npm modules via `npm install`.
3. Run a dev-server instance by running `npm run start` within the repo root directory.
Expand Down
135 changes: 22 additions & 113 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 5 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"homepage": "/dashboard",
"license": "MIT",
"dependencies": {
"@iota/iota.js": "^2.0.0-rc.1",
"@iota/crypto.js": "^1.8.6",
"@iota/util.js": "^1.8.6",
"classnames": "^2.3.1",
"humanize-duration": "^3.27.3",
"moment": "^2.29.1",
Expand All @@ -23,13 +24,11 @@
"node": ">=14 <=16.16"
},
"scripts": {
"start": "cross-env PORT=9090 REACT_APP_BRAND_ID=hornet craco start",
"start-bee": "cross-env PORT=9090 REACT_APP_BRAND_ID=bee craco start",
"lint": "eslint src --ext .tsx,.ts",
"start": "cross-env PORT=9090 REACT_APP_BRAND_ID=iota-core craco start",
"lint": "eslint src --fix --ext .tsx,.ts",
"sass-lint": "stylelint ./src/**/*.scss --custom-syntax postcss-scss",
"build-internal": "craco build",
"build": "cross-env REACT_APP_BRAND_ID=hornet run-s lint sass-lint build-internal",
"build-bee": "cross-env REACT_APP_BRAND_ID=bee run-s lint sass-lint build-internal",
"build": "cross-env REACT_APP_BRAND_ID=iota-core run-s lint sass-lint build-internal",
"test": "craco test",
"eject": "react-scripts eject"
},
Expand Down
Binary file removed public/branding/bee/favicon.ico
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed public/branding/bee/favicon/apple-touch-icon.png
Binary file not shown.
Binary file removed public/branding/bee/favicon/favicon-16x16.png
Binary file not shown.
Binary file removed public/branding/bee/favicon/favicon-32x32.png
Binary file not shown.
Binary file removed public/branding/bee/favicon/favicon.ico
Binary file not shown.
Binary file removed public/branding/bee/favicon/mstile-150x150.png
Binary file not shown.
Loading

0 comments on commit 3de12b9

Please sign in to comment.