Merge branch 'main' of github.com:blockscout/frontend into client-api-calls
Showing
.gitattributes
0 → 100644
.husky/post-checkout
0 → 100755
.husky/post-commit
0 → 100755
.husky/post-merge
0 → 100755
.husky/pre-push
0 → 100755
.vscode/extensions.json
0 → 100644
.vscode/tasks.json
0 → 100644
129 Bytes
129 Bytes
129 Bytes
129 Bytes
129 Bytes
129 Bytes
configs/app/config.ts
0 → 100644
configs/envs/.env.common
0 → 100644
configs/envs/.env.poa_core
0 → 100644
configs/sentry/nextjs.ts
0 → 100644
configs/sentry/react.ts
0 → 100644
data/apps.ts
deleted
100644 → 0
data/marketplaceApps.json
0 → 100644
data/tx.ts
deleted
100644 → 0
data/txInternal.ts
deleted
100644 → 0
data/txLogs.ts
deleted
100644 → 0
deploy/scripts/replace_envs.sh
100644 → 100755
icons/arrows/east-mini.svg
0 → 100644
icons/arrows/north-east.svg
0 → 100644
icons/arrows/up-down.svg
0 → 100644
icons/link.svg
0 → 100644
icons/nft_shield.svg
0 → 100644
icons/search.svg
0 → 100644
icons/star_filled.svg
0 → 100644
icons/status/pending.svg
0 → 100644
icons/sun.svg
0 → 100644
lib/api/logger.ts
0 → 100644
lib/bigint/compareBns.ts
0 → 100644
lib/block/getBlockReward.ts
0 → 100644
lib/consts.ts
0 → 100644
lib/getMarketplaceApps.ts
0 → 100644
lib/getValueWithUnit.tsx
0 → 100644
lib/hexToAddress.ts
0 → 100644
lib/hexToBytes.ts
0 → 100644
lib/hexToUtf8.ts
0 → 100644
lib/link/basePath.js
0 → 100644
lib/link/paths.js
0 → 100644
lib/link/useLink.ts
deleted
100644 → 0
lib/next/block/getSeo.ts
0 → 100644
lib/next/block/types.ts
0 → 100644
lib/next/blocks/getSeo.ts
0 → 100644
lib/next/blocks/types.ts
0 → 100644
lib/notEmpty.ts
0 → 100644
| ... | @@ -9,28 +9,41 @@ | ... | @@ -9,28 +9,41 @@ |
| }, | }, | ||
| "scripts": { | "scripts": { | ||
| "dev": "next dev", | "dev": "next dev", | ||
| "dev:poa_core": "./node_modules/.bin/dotenv -e ./configs/envs/.env.poa_core -e ./configs/envs/.env.common -e ./configs/envs/.env.secrets next dev | ./node_modules/.bin/pino-pretty", | |||
| "build": "next build", | "build": "next build", | ||
| "build:vercel": "./node_modules/.bin/dotenv -e ./configs/envs/.env.poa_core -e ./configs/envs/.env.common next build", | |||
| "build:docker": "docker build --build-arg GIT_COMMIT_SHA=$(git rev-parse HEAD) -t blockscout ./", | |||
| "start": "next start", | "start": "next start", | ||
| "start:docker:poa_core": "docker run -p 3000:3000 --env-file ./configs/envs/.env.common --env-file ./configs/envs/.env.poa_core --env-file ./configs/envs/.env.secrets blockscout", | |||
| "lint:eslint": "./node_modules/.bin/eslint . --ext .js,.jsx,.ts,.tsx", | "lint:eslint": "./node_modules/.bin/eslint . --ext .js,.jsx,.ts,.tsx", | ||
| "lint:eslint:fix": "./node_modules/.bin/eslint . --ext .js,.jsx,.ts,.tsx --fix", | |||
| "lint:tsc": "./node_modules/.bin/tsc -p ./tsconfig.json", | |||
| "prepare": "husky install", | "prepare": "husky install", | ||
| "format-svg": "./node_modules/.bin/svgo -r ./icons" | "format-svg": "./node_modules/.bin/svgo -r ./icons", | ||
| "test-ct": "playwright test -c playwright-ct.config.ts", | |||
| "test-docker": "docker run --rm --network host -v $(pwd):/work/ -w /work/ -it mcr.microsoft.com/playwright:v1.27.0-focal ./run-tests.sh" | |||
| }, | }, | ||
| "dependencies": { | "dependencies": { | ||
| "@chakra-ui/icons": "^2.0.2", | |||
| "@chakra-ui/react": "2.3.1", | "@chakra-ui/react": "2.3.1", | ||
| "@chakra-ui/theme-tools": "^2.0.2", | "@chakra-ui/theme-tools": "^2.0.2", | ||
| "@emotion/react": "^11", | "@emotion/react": "^11", | ||
| "@emotion/styled": "^11", | "@emotion/styled": "^11", | ||
| "@sentry/nextjs": "^7.12.1", | "@sentry/nextjs": "^7.12.1", | ||
| "@sentry/react": "^7.13.0", | |||
| "@sentry/tracing": "^7.13.0", | |||
| "@tanstack/react-query": "^4.0.10", | "@tanstack/react-query": "^4.0.10", | ||
| "@tanstack/react-query-devtools": "^4.0.10", | "@tanstack/react-query-devtools": "^4.0.10", | ||
| "@types/react-scroll": "^1.8.4", | "@types/react-scroll": "^1.8.4", | ||
| "bignumber.js": "^9.1.0", | |||
| "dayjs": "^1.11.5", | "dayjs": "^1.11.5", | ||
| "ethers": "^5.7.1", | |||
| "framer-motion": "^6", | "framer-motion": "^6", | ||
| "lodash": "^4.0.0", | "lodash": "^4.0.0", | ||
| "next": "12.2.5", | "next": "12.2.5", | ||
| "next-react-svg": "1.1.3", | "next-react-svg": "1.1.3", | ||
| "node-fetch": "^3.2.9", | "node-fetch": "^3.2.9", | ||
| "pino-http": "^8.2.1", | |||
| "pino-pretty": "^9.1.1", | |||
| "react": "18.1.0", | "react": "18.1.0", | ||
| "react-dom": "18.1.0", | "react-dom": "18.1.0", | ||
| "react-hook-form": "^7.33.1", | "react-hook-form": "^7.33.1", | ||
| ... | @@ -41,10 +54,12 @@ | ... | @@ -41,10 +54,12 @@ |
| "use-font-face-observer": "^1.2.1" | "use-font-face-observer": "^1.2.1" | ||
| }, | }, | ||
| "devDependencies": { | "devDependencies": { | ||
| "@playwright/experimental-ct-react": "^1.26.1", | |||
| "@types/node": "17.0.36", | "@types/node": "17.0.36", | ||
| "@types/react": "18.0.9", | "@types/react": "18.0.9", | ||
| "@types/react-dom": "18.0.5", | "@types/react-dom": "18.0.5", | ||
| "@typescript-eslint/eslint-plugin": "^5.27.0", | "@typescript-eslint/eslint-plugin": "^5.27.0", | ||
| "dotenv-cli": "^6.0.0", | |||
| "eslint": "8.16.0", | "eslint": "8.16.0", | ||
| "eslint-config-next": "^12.3.0", | "eslint-config-next": "^12.3.0", | ||
| "eslint-plugin-es5": "^1.5.0", | "eslint-plugin-es5": "^1.5.0", | ||
| ... | @@ -52,6 +67,7 @@ | ... | @@ -52,6 +67,7 @@ |
| "eslint-plugin-regexp": "^1.7.0", | "eslint-plugin-regexp": "^1.7.0", | ||
| "husky": "^8.0.0", | "husky": "^8.0.0", | ||
| "lint-staged": ">=10", | "lint-staged": ">=10", | ||
| "playwright": "^1.26.1", | |||
| "svgo": "^2.8.0", | "svgo": "^2.8.0", | ||
| "typescript": "4.7.2" | "typescript": "4.7.2" | ||
| }, | }, | ||
| ... | ... |
pages/api/blocks/index.ts
0 → 100644
playwright-ct.config.ts
0 → 100644
playwright/index.html
0 → 100644
playwright/index.ts
0 → 100644
run-tests.sh
0 → 100755
sentry.properties
deleted
100644 → 0
theme/components/Spinner.ts
0 → 100644
types/api/addressParams.ts
0 → 100644
types/api/block.ts
0 → 100644
types/api/decodedInput.ts
0 → 100644
types/api/fee.ts
0 → 100644
types/api/log.ts
0 → 100644
types/api/rawTrace.ts
0 → 100644
types/api/reward.ts
0 → 100644
types/api/tokenTransfer.ts
0 → 100644
types/api/transaction.ts
0 → 100644
types/client/txs-sort.ts
0 → 100644
types/unit.ts
0 → 100644
ui/apps/AppCardSkeleton.tsx
0 → 100644
ui/apps/AppListSkeleton.tsx
0 → 100644
ui/apps/CategoriesMenu.tsx
0 → 100644
ui/block/BlockDetails.tsx
0 → 100644
ui/block/BlockTxs.tsx
0 → 100644
ui/blocks/BlocksContent.tsx
0 → 100644
ui/blocks/BlocksList.tsx
0 → 100644
ui/blocks/BlocksListItem.tsx
0 → 100644
ui/blocks/BlocksTable.tsx
0 → 100644
ui/pages/Block.tsx
0 → 100644
ui/pages/Blocks.tsx
0 → 100644
ui/pages/Home.tsx
0 → 100644
ui/pages/MarketplaceApp.tsx
0 → 100644
ui/pages/Transactions.tsx
0 → 100644
ui/shared/CurrencyValue.tsx
0 → 100644
ui/shared/ExternalLink.tsx
0 → 100644
ui/shared/FilterButton.tsx
0 → 100644
ui/shared/Page.tsx
deleted
100644 → 0
ui/shared/Page/Page.tsx
0 → 100644
ui/shared/Pagination.tsx
0 → 100644
ui/shared/PrevNext.tsx
0 → 100644
ui/shared/SortButton.tsx
0 → 100644
ui/shared/TextSeparator.tsx
0 → 100644
ui/shared/Token.tsx
deleted
100644 → 0
ui/shared/TokenLogo.tsx
0 → 100644
ui/shared/TokenSnippet.tsx
0 → 100644
ui/shared/TxStatus.tsx
0 → 100644
ui/shared/Utilization.pw.tsx
0 → 100644
File moved
File moved
File moved
ui/tx/TokenTransferList.tsx
0 → 100644
ui/tx/TxStatus.tsx
deleted
100644 → 0
ui/tx/internals/utils.ts
0 → 100644
ui/tx/logs/TxLogSkeleton.tsx
0 → 100644
ui/tx/state/TxStateList.tsx
0 → 100644
ui/tx/state/TxStateTable.tsx
0 → 100644
ui/txs/TxAdditionalInfo.tsx
0 → 100644
ui/txs/TxType.tsx
0 → 100644
ui/txs/TxsContent.tsx
0 → 100644
ui/txs/TxsListItem.tsx
0 → 100644
ui/txs/TxsPending.tsx
0 → 100644
ui/txs/TxsSkeletonMobile.tsx
0 → 100644
ui/txs/TxsTable.tsx
0 → 100644
ui/txs/TxsTableItem.tsx
0 → 100644
ui/txs/TxsValidated.tsx
0 → 100644
This source diff could not be displayed because it is too large. You can view the blob instead.