feat: sync and update with all changes from fork (#720)

* feat: sync and update with all changes from fork
* refactor: extract clipboard copy logic into custom hook
* fix: correct spelling of DEFAULT_REFRESH_FREQUENCY_MS in Stamps and WalletBalance providers
* refactor(ui-tests): replace fixed sleeps with condition-based waits
* fix: handle null values for size and granteeCount in infoGroups
* fix(lint): add newline at end of file in useClipboardCopy hook
* fix(ui-tests): page.goto URL
* refactor: update import paths for useClipboardCopy

---------

Co-authored-by: Ferenc Sárai <sarai.ferenc@gmail.com>
This commit is contained in:
Bálint Ujvári
2026-03-02 11:34:39 +01:00
committed by GitHub
parent b0f00a624a
commit 519c411db0
303 changed files with 16609 additions and 29415 deletions
+137 -137
View File
@@ -2,6 +2,139 @@
"name": "@ethersphere/bee-dashboard",
"version": "0.33.5",
"description": "An app which helps users to setup their Bee node and do actions like cash out cheques",
"homepage": ".",
"bin": {
"bee-dashboard": "./serve.js"
},
"main": "lib/App.cjs.js",
"browser": "lib/App.js",
"types": "lib/App.d.ts",
"exports": {
".": {
"types": "./lib/App.d.ts",
"require": "./lib/App.cjs.js",
"import": "./lib/App.js",
"default": "./lib/App.cjs.js"
},
"./style.css": "./lib/App.css"
},
"bugs": {
"url": "https://github.com/ethersphere/bee-dashboard/issues/"
},
"license": "BSD-3-Clause",
"repository": {
"type": "git",
"url": "https://github.com/ethersphere/bee-dashboard.git"
},
"scripts": {
"prepublishOnly": "cross-env NODE_ENV=production pnpm run prepare",
"prepare": "pnpm run build && pnpm run build:component",
"start": "vite",
"desktop": "node ./desktop.mjs",
"build": "rimraf ./build && vite build",
"build:component": "rimraf ./lib && BUILD_MODE=component vite build",
"test": "jest",
"test:ui": "node tests/ui/index.js",
"serve": "node ./serve.js",
"depcheck": "depcheck .",
"lint": "eslint . --report-unused-disable-directives --no-cache --max-warnings=5",
"lint:fix": "pnpm run lint --fix",
"check:types": "tsc --project tsconfig.lib.json",
"update-map-data": "node ./utils/update-map-data.js",
"init:husky": "pnpm husky install"
},
"peerDependencies": {
"react": ">=19",
"react-dom": ">=19",
"react-router": ">=7",
"react-router-dom": ">=7",
"tss-react": ">=4"
},
"dependencies": {
"@emotion/react": "^11.14.0",
"@emotion/styled": "^11.14.1",
"@ethersphere/bee-js": "^10.4.0",
"@formbricks/js": "^4.3.0",
"@mui/icons-material": "^7.3.7",
"@mui/material": "^7.3.7",
"@solarpunkltd/file-manager-lib": "^1.0.5",
"axios": "^0.30.2",
"bignumber.js": "^9.3.1",
"dotted-map": "^2.2.3",
"ethers": "^6.16.0",
"file-saver": "^2.0.5",
"formik": "2.4.9",
"formik-mui": "^5.0.0-alpha.1",
"jszip": "^3.10.1",
"notistack": "^3.0.2",
"opener": "1.5.2",
"react-dropzone": "^14.4.0",
"react-qr-code": "^2.0.18",
"react-syntax-highlighter": "16.1.0",
"remixicon-react": "^1.0.0",
"serve-handler": "6.1.6"
},
"devDependencies": {
"@babel/core": "^7.26.10",
"@babel/plugin-transform-runtime": "^7.26.10",
"@babel/preset-env": "^7.26.10",
"@babel/preset-react": "^7.26.3",
"@babel/preset-typescript": "^7.26.10",
"@commitlint/cli": "^20.4.1",
"@commitlint/config-conventional": "^20.4.1",
"@eslint/js": "^9.39.2",
"@testing-library/jest-dom": "6.9.1",
"@testing-library/react": "16.3.2",
"@types/cors": "^2.8.19",
"@types/express": "^5.0.6",
"@types/file-saver": "2.0.5",
"@types/jest": "30.0.0",
"@types/react": "^19.2.10",
"@types/react-dom": "^19.2.3",
"@types/react-router": "5.1.20",
"@types/react-router-dom": "5.3.3",
"@types/react-syntax-highlighter": "15.5.13",
"@typescript-eslint/eslint-plugin": "8.55.0",
"@typescript-eslint/parser": "8.55.0",
"@vitejs/plugin-react": "^5.1.2",
"cors": "^2.8.5",
"depcheck": "^1.4.7",
"env-paths": "^3.0.0",
"eslint": "9.39.2",
"eslint-config-prettier": "10.1.8",
"eslint-import-resolver-typescript": "^4.4.4",
"eslint-plugin-import": "2.32.0",
"eslint-plugin-jest": "29.14.0",
"eslint-plugin-jsx-a11y": "6.10.2",
"eslint-plugin-prettier": "5.5.5",
"eslint-plugin-react": "7.37.5",
"eslint-plugin-react-hooks": "7.0.1",
"eslint-plugin-simple-import-sort": "^12.1.1",
"eslint-plugin-testing-library": "7.15.4",
"express": "^5.2.1",
"husky": "^9.1.7",
"jest": "^30.2.0",
"jest-environment-jsdom": "^30.2.0",
"open": "^11.0.0",
"prettier": "3.8.1",
"puppeteer": "^24.37.1",
"rimraf": "^6.1.2",
"sass": "^1.97.3",
"ts-node": "^10.9.2",
"typescript": "5.9.3",
"vite": "^7.3.1",
"vite-plugin-dts": "^4.5.4",
"vite-plugin-node-polyfills": "^0.25.0",
"web-vitals": "5.1.0"
},
"pnpm": {
"onlyBuiltDependencies": [
"@parcel/watcher",
"esbuild",
"puppeteer",
"unrs-resolver"
]
},
"keywords": [
"bee",
"swarm",
@@ -11,140 +144,6 @@
"typescript",
"p2p"
],
"homepage": ".",
"bin": {
"bee-dashboard": "./serve.js"
},
"main": "lib/App.js",
"types": "lib/src/App.d.ts",
"bugs": {
"url": "https://github.com/ethersphere/bee-dashboard/issues/"
},
"license": "BSD-3-Clause",
"repository": {
"type": "git",
"url": "https://github.com/ethersphere/bee-dashboard.git"
},
"overrides": {
"@fairdatasociety/fdp-storage": {
"@ethersphere/bee-js": "^10.2.0"
}
},
"dependencies": {
"@ethersphere/bee-js": "^10.3.0",
"@ethersproject/keccak256": "^5.7.0",
"@ethersproject/strings": "^5.7.0",
"@fairdatasociety/fdp-storage": "^0.19.0",
"@formbricks/js": "^4.2.1",
"@material-ui/core": "4.12.3",
"@material-ui/icons": "4.11.2",
"@material-ui/lab": "4.0.0-alpha.57",
"@solarpunkltd/file-manager-lib": "^1.0.4",
"axios": "^0.28.1",
"bignumber.js": "^9.1.2",
"buffer": "^6.0.3",
"crypto": "npm:crypto-browserify",
"crypto-browserify": "^3.12.0",
"dotted-map": "^2.2.3",
"ethers": "^5.7.2",
"file-saver": "^2.0.5",
"formik": "2.2.9",
"formik-material-ui": "3.0.1",
"jszip": "^3.10.1",
"material-ui-dropzone": "3.5.0",
"notistack": "^3.0.1",
"opener": "1.5.2",
"qrcode.react": "1.0.1",
"react": ">= 17.0.2",
"react-copy-to-clipboard": "^5.1.0",
"react-dom": ">= 17.0.2",
"react-identicons": "1.2.5",
"react-router": "6.2.1",
"react-router-dom": "6.2.1",
"react-syntax-highlighter": "15.4.4",
"remixicon-react": "^1.0.0",
"serve-handler": "6.1.3",
"stream": "npm:stream-browserify",
"stream-browserify": "^3.0.0"
},
"devDependencies": {
"@babel/core": "^7.24.0",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/plugin-transform-runtime": "^7.24.0",
"@babel/preset-env": "^7.24.0",
"@babel/preset-react": "^7.23.3",
"@babel/preset-typescript": "^7.23.3",
"@commitlint/config-conventional": "14.1.0",
"@testing-library/jest-dom": "5.16.4",
"@testing-library/react": "12.1.2",
"@testing-library/react-hooks": "^8.0.0",
"@types/cors": "^2.8.12",
"@types/express": "^4.17.13",
"@types/file-saver": "2.0.4",
"@types/jest": "27.0.2",
"@types/qrcode.react": "1.0.2",
"@types/react": "17.0.34",
"@types/react-copy-to-clipboard": "^5.0.2",
"@types/react-dom": "17.0.11",
"@types/react-router": "5.1.18",
"@types/react-router-dom": "5.3.2",
"@types/react-syntax-highlighter": "13.5.2",
"@typescript-eslint/eslint-plugin": "5.28.0",
"@typescript-eslint/parser": "5.28.0",
"babel-eslint": "^10.1.0",
"babel-loader": "^8.1.0",
"babel-plugin-syntax-dynamic-import": "6.18.0",
"babel-plugin-tsconfig-paths": "1.0.2",
"base64-inline-loader": "^2.0.1",
"cors": "^2.8.5",
"depcheck": "^1.4.3",
"env-paths": "^3.0.0",
"eslint": "8.17.0 ",
"eslint-config-prettier": "8.5.0",
"eslint-config-react-app": "7.0.1",
"eslint-plugin-flowtype": "8.0.3",
"eslint-plugin-import": "2.26.0",
"eslint-plugin-jest": "26.5.3",
"eslint-plugin-jsx-a11y": "6.5.1",
"eslint-plugin-prettier": "4.0.0",
"eslint-plugin-react": "7.30.0",
"eslint-plugin-react-hooks": "4.5.0",
"eslint-plugin-testing-library": "5.5.1",
"express": "^4.17.3",
"file-loader": "6.2.0",
"open": "^8.4.0",
"prettier": "2.4.1",
"puppeteer": "^15.4.0",
"react-scripts": "^5.0.1",
"rimraf": "^3.0.2",
"sass": "^1.91.0",
"ts-node": "^10.8.1",
"typescript": "4.8.3",
"web-vitals": "2.1.2",
"webpack": "^5.93.0",
"webpack-cli": "^4.10.0"
},
"peerDependencies": {
"react": ">= 17.0.2",
"react-dom": ">= 17.0.2"
},
"scripts": {
"prepare": "npm run build && npm run build:component",
"start": "react-scripts start",
"desktop": "node ./desktop.mjs",
"build": "react-scripts build",
"build:component": "rimraf ./lib && webpack --mode=production && npm run compile:types",
"compile:types": "tsc --project tsconfig.lib.json --emitDeclarationOnly --declaration",
"test": "react-scripts test",
"test:ui": "node ui-test/index.js",
"serve": "node ./serve.js",
"depcheck": "depcheck .",
"lint": "eslint --fix \"src/**/*.ts\" \"src/**/*.tsx\" && prettier --write \"src/**/*.ts\" \"src/**/*.tsx\"",
"lint:check": "eslint \"src/**/*.ts\" \"src/**/*.tsx\" && prettier --check \"src/**/*.ts\" \"src/**/*.tsx\"",
"check:types": "tsc --project tsconfig.lib.json",
"update-map-data": "node ./utils/update-map-data.js",
"bee": "npx bee-factory start"
},
"files": [
"lib",
"build",
@@ -163,8 +162,9 @@
]
},
"engines": {
"node": ">=14.0.0",
"npm": ">=6.9.0",
"bee": "1.16.1-8e269c8"
"node": ">=24.0.0",
"npm": ">=11.0.0",
"pnpm": ">=10.0.0",
"bee": "2.7.0"
}
}