Skip to content

Commit

Permalink
Bump api and add analytics (#53)
Browse files Browse the repository at this point in the history
* bump api

* fix search input width

* add analytics
  • Loading branch information
nikitayutanov authored Dec 3, 2024
1 parent 7b0d514 commit c4a0ded
Show file tree
Hide file tree
Showing 37 changed files with 5,263 additions and 4,977 deletions.
1 change: 1 addition & 0 deletions .github/workflows/deploy-to-k8s.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ jobs:
VITE_IPFS_GATEWAY_ADDRESS=${{ secrets.VITE_IPFS_GATEWAY_ADDRESS }}
VITE_INDEXER_ADDRESS=${{ secrets.VITE_INDEXER_ADDRESS }}
VITE_INDEXER_WS_ADDRESS=${{ secrets.VITE_INDEXER_WS_ADDRESS }}
VITE_GTM_ID=${{ secrets.VITE_GTM_ID }}
deploy-to-k8s:
needs: [prepair, build-and-push-image]
Expand Down
1 change: 1 addition & 0 deletions frontend/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ VITE_IPFS_UPLOAD_ADDRESS=
VITE_IPFS_GATEWAY_ADDRESS=
VITE_INDEXER_ADDRESS=
VITE_INDEXER_WS_ADDRESS=
VITE_GTM_ID=
4 changes: 3 additions & 1 deletion frontend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,14 @@ ARG VITE_NODE_ADDRESS \
VITE_IPFS_UPLOAD_ADDRESS \
VITE_IPFS_GATEWAY_ADDRESS \
VITE_INDEXER_ADDRESS \
VITE_INDEXER_WS_ADDRESS
VITE_INDEXER_WS_ADDRESS \
VITE_GTM_ID
ENV VITE_NODE_ADDRESS=${VITE_NODE_ADDRESS} \
VITE_IPFS_UPLOAD_ADDRESS=${VITE_IPFS_UPLOAD_ADDRESS} \
VITE_IPFS_GATEWAY_ADDRESS=${VITE_IPFS_GATEWAY_ADDRESS} \
VITE_INDEXER_ADDRESS=${VITE_INDEXER_ADDRESS} \
VITE_INDEXER_WS_ADDRESS=${VITE_INDEXER_WS_ADDRESS} \
VITE_GTM_ID=${VITE_GTM_ID} \
DISABLE_ESLINT_PLUGIN=true

WORKDIR /opt
Expand Down
16 changes: 10 additions & 6 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,25 +11,29 @@
"codegen": "graphql-codegen"
},
"dependencies": {
"@gear-js/api": "0.36.3",
"@gear-js/react-hooks": "0.10.3",
"@gear-js/vara-ui": "0.0.7",
"@gear-js/api": "0.39.0",
"@gear-js/react-hooks": "0.14.0",
"@gear-js/ui": "0.5.28",
"@gear-js/vara-ui": "0.0.11",
"@gear-js/wallet-connect": "0.2.0",
"@hookform/resolvers": "3.3.3",
"@polkadot/api": "10.11.2",
"@polkadot/api": "14.3.1",
"@polkadot/react-identicon": "3.6.4",
"@tanstack/react-query": "5.28.9",
"@tanstack/react-query": "5.62.2",
"graphql-request": "6.1.0",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-gtm-module": "2.0.11",
"react-hook-form": "7.49.2",
"react-router-dom": "6.21.0",
"zod": "3.22.4"
},
"devDependencies": {
"@types/react-gtm-module": "2.0.4",
"@graphql-codegen/cli": "5.0.2",
"@graphql-codegen/client-preset": "4.2.4",
"@graphql-typed-document-node/core": "3.2.0",
"@polkadot/types": "10.11.2",
"@polkadot/types": "14.3.1",
"@types/react": "18.2.43",
"@types/react-dom": "18.2.17",
"@typescript-eslint/eslint-plugin": "6.14.0",
Expand Down
Loading

0 comments on commit c4a0ded

Please sign in to comment.