From ad2dc1b1c94eb6f84156552f81ee410342e28849 Mon Sep 17 00:00:00 2001 From: debuggingfuture Date: Tue, 18 Feb 2025 14:28:12 +0800 Subject: [PATCH 1/8] fix: registry namespace and full generation --- apps/registry/registry.json | 2022 ++++++++++++++++- apps/registry/src/build.mts | 9 +- apps/registry/src/parser.ts | 2 +- .../src/hooks/eas/use-upload-attestation.ts | 2 +- 4 files changed, 2012 insertions(+), 23 deletions(-) diff --git a/apps/registry/registry.json b/apps/registry/registry.json index ffb9a42e..2354f477 100644 --- a/apps/registry/registry.json +++ b/apps/registry/registry.json @@ -1,13 +1,13 @@ { "$schema": "https://ui.shadcn.com/schema/registry.json", - "name": "shadcn", - "homepage": "https://ui.shadcn.com", + "name": "geist-ddev-kit", + "homepage": "https://ddevkit.geist.network", "items": [ { "title": "components/account/balance", "description": "", "author": "geist", - "name": "components/account/balance", + "name": "@geist/components/account/balance", "type": "registry:component", "files": [ { @@ -34,7 +34,7 @@ "title": "components/attestations/attestation-badge", "description": "", "author": "geist", - "name": "components/attestations/attestation-badge", + "name": "@geist/components/attestations/attestation-badge", "type": "registry:component", "files": [ { @@ -53,7 +53,7 @@ "title": "components/attestations/attestation-card", "description": "", "author": "geist", - "name": "components/attestations/attestation-card", + "name": "@geist/components/attestations/attestation-card", "type": "registry:component", "files": [ { @@ -90,7 +90,7 @@ "title": "components/attestations/attestation-form", "description": "", "author": "geist", - "name": "components/attestations/attestation-form", + "name": "@geist/components/attestations/attestation-form", "type": "registry:component", "files": [ { @@ -124,7 +124,7 @@ "title": "components/attestations/attestation-schema-badge", "description": "", "author": "geist", - "name": "components/attestations/attestation-schema-badge", + "name": "@geist/components/attestations/attestation-schema-badge", "type": "registry:component", "files": [ { @@ -143,7 +143,7 @@ "title": "components/attestations/attestations-table", "description": "", "author": "geist", - "name": "components/attestations/attestations-table", + "name": "@geist/components/attestations/attestations-table", "type": "registry:component", "files": [ { @@ -186,7 +186,7 @@ "title": "components/attestations/attestations", "description": "", "author": "geist", - "name": "components/attestations/attestations", + "name": "@geist/components/attestations/attestations", "type": "registry:component", "files": [ { @@ -205,7 +205,7 @@ "title": "components/attestations/upload-attestation", "description": "", "author": "geist", - "name": "components/attestations/upload-attestation", + "name": "@geist/components/attestations/upload-attestation", "type": "registry:component", "files": [ { @@ -232,7 +232,7 @@ "title": "components/data-table", "description": "", "author": "geist", - "name": "components/data-table", + "name": "@geist/components/data-table", "type": "registry:component", "files": [ { @@ -247,7 +247,7 @@ "title": "components/file/file-input-field", "description": "", "author": "geist", - "name": "components/file/file-input-field", + "name": "@geist/components/file/file-input-field", "type": "registry:component", "files": [ { @@ -262,7 +262,7 @@ "title": "address-badge", "description": "AddressBadge component to display an address with a copy button.", "author": "geist", - "name": "components/identity/address-badge", + "name": "@geist/components/identity/address-badge", "type": "registry:component", "files": [ { @@ -281,7 +281,7 @@ "title": "components/identity/avatar-wagmi", "description": "", "author": "geist", - "name": "components/identity/avatar-wagmi", + "name": "@geist/components/identity/avatar-wagmi", "type": "registry:component", "files": [ { @@ -300,7 +300,7 @@ "title": "components/identity/avatar", "description": "", "author": "geist", - "name": "components/identity/avatar", + "name": "@geist/components/identity/avatar", "type": "registry:component", "files": [ { @@ -319,7 +319,7 @@ "title": "components/identity/index", "description": "", "author": "geist", - "name": "components/identity/index", + "name": "@geist/components/identity/index", "type": "registry:component", "files": [ { @@ -329,6 +329,1996 @@ ], "registryDependencies": [], "dependencies": [] + }, + { + "title": "components/identity/name-wagmi", + "description": "", + "author": "geist", + "name": "@geist/components/identity/name-wagmi", + "type": "registry:component", + "files": [ + { + "path": "registry/components/identity/name-wagmi.tsx", + "type": "registry:component" + }, + { + "path": "registry/hooks/ens/efp.ts", + "type": "registry:hook" + } + ], + "registryDependencies": [], + "dependencies": ["react", "viem", "wagmi"] + }, + { + "title": "components/identity/name", + "description": "", + "author": "geist", + "name": "@geist/components/identity/name", + "type": "registry:component", + "files": [ + { + "path": "registry/components/identity/name.tsx", + "type": "registry:component" + }, + { + "path": "registry/hooks/ens/efp.ts", + "type": "registry:hook" + }, + { + "path": "registry/hooks/ens/use-efp-api.ts", + "type": "registry:hook" + } + ], + "registryDependencies": [], + "dependencies": [] + }, + { + "title": "components/privy/privy-login", + "description": "", + "author": "geist", + "name": "@geist/components/privy/privy-login", + "type": "registry:component", + "files": [ + { + "path": "registry/components/privy/privy-login.tsx", + "type": "registry:component" + } + ], + "registryDependencies": ["button"], + "dependencies": ["@privy-io/react-auth", "react"] + }, + { + "title": "components/protocol/revenue-chart", + "description": "", + "author": "geist", + "name": "@geist/components/protocol/revenue-chart", + "type": "registry:component", + "files": [ + { + "path": "registry/components/protocol/revenue-chart.tsx", + "type": "registry:component" + }, + { + "path": "registry/lib/domain/amount.ts", + "type": "registry:lib" + }, + { + "path": "registry/hooks/data/use-defillama.ts", + "type": "registry:hook" + } + ], + "registryDependencies": ["chart"], + "dependencies": ["react", "recharts", "date-fns"] + }, + { + "title": "components/scrollable-code-block", + "description": "", + "author": "geist", + "name": "@geist/components/scrollable-code-block", + "type": "registry:component", + "files": [ + { + "path": "registry/components/scrollable-code-block.tsx", + "type": "registry:component" + } + ], + "registryDependencies": ["scroll-area", "utils"], + "dependencies": [] + }, + { + "title": "components/signature/sign", + "description": "", + "author": "geist", + "name": "@geist/components/signature/sign", + "type": "registry:component", + "files": [ + { + "path": "registry/components/signature/sign.tsx", + "type": "registry:component" + } + ], + "registryDependencies": [], + "dependencies": [ + "@noble/hashes", + "@wagmi/core", + "react", + "wagmi", + "micro-eth-signer" + ] + }, + { + "title": "components/signature/signature-form", + "description": "", + "author": "geist", + "name": "@geist/components/signature/signature-form", + "type": "registry:component", + "files": [ + { + "path": "registry/components/signature/signature-form.tsx", + "type": "registry:component" + } + ], + "registryDependencies": ["form", "button", "input"], + "dependencies": [ + "jotai", + "viem", + "@hookform/resolvers", + "@radix-ui/react-icons", + "react-hook-form", + "zod" + ] + }, + { + "title": "components/signature/signature-verify-badge", + "description": "", + "author": "geist", + "name": "@geist/components/signature/signature-verify-badge", + "type": "registry:component", + "files": [ + { + "path": "registry/components/signature/signature-verify-badge.tsx", + "type": "registry:component" + }, + { + "path": "registry/components/identity/address-badge.tsx", + "type": "registry:component" + } + ], + "registryDependencies": ["label"], + "dependencies": ["@radix-ui/themes", "react", "viem"] + }, + { + "title": "components/social-graph/follower-list-ensjs", + "description": "", + "author": "geist", + "name": "@geist/components/social-graph/follower-list-ensjs", + "type": "registry:component", + "files": [ + { + "path": "registry/components/social-graph/follower-list-ensjs.tsx", + "type": "registry:component" + }, + { + "path": "registry/hooks/ens/efp.ts", + "type": "registry:hook" + }, + { + "path": "registry/hooks/ens/use-ensjs.ts", + "type": "registry:hook" + }, + { + "path": "registry/components/social-graph/follower-list.tsx", + "type": "registry:component" + } + ], + "registryDependencies": [], + "dependencies": ["react"] + }, + { + "title": "components/social-graph/follower-list", + "description": "", + "author": "geist", + "name": "@geist/components/social-graph/follower-list", + "type": "registry:component", + "files": [ + { + "path": "registry/components/social-graph/follower-list.tsx", + "type": "registry:component" + }, + { + "path": "registry/hooks/ens/efp.ts", + "type": "registry:hook" + } + ], + "registryDependencies": ["scroll-area", "separator"], + "dependencies": [] + }, + { + "title": "components/social-graph/name-and-follower-count-badge", + "description": "", + "author": "geist", + "name": "@geist/components/social-graph/name-and-follower-count-badge", + "type": "registry:component", + "files": [ + { + "path": "registry/components/social-graph/name-and-follower-count-badge.tsx", + "type": "registry:component" + }, + { + "path": "registry/hooks/ens/use-efp-api.ts", + "type": "registry:hook" + }, + { + "path": "registry/hooks/ens/efp.ts", + "type": "registry:hook" + } + ], + "registryDependencies": ["card"], + "dependencies": ["@radix-ui/themes", "react"] + }, + { + "title": "components/token/token-balance-chart", + "description": "", + "author": "geist", + "name": "@geist/components/token/token-balance-chart", + "type": "registry:component", + "files": [ + { + "path": "registry/components/token/token-balance-chart.tsx", + "type": "registry:component" + }, + { + "path": "registry/lib/domain/amount.ts", + "type": "registry:lib" + }, + { + "path": "registry/lib/domain/token/aggregate.ts", + "type": "registry:lib" + }, + { + "path": "registry/lib/domain/token/token-balance-entry.ts", + "type": "registry:lib" + }, + { + "path": "registry/lib/domain/token/token-price-entry.ts", + "type": "registry:lib" + }, + { + "path": "registry/components/token/token-chip-with-info.tsx", + "type": "registry:component" + } + ], + "registryDependencies": ["chart"], + "dependencies": [ + "react", + "@nanostores/react", + "nanostores", + "recharts", + "viem" + ] + }, + { + "title": "components/token/token-balance-table", + "description": "", + "author": "geist", + "name": "@geist/components/token/token-balance-table", + "type": "registry:component", + "files": [ + { + "path": "registry/components/token/token-balance-table.tsx", + "type": "registry:component" + }, + { + "path": "registry/lib/domain/amount.ts", + "type": "registry:lib" + }, + { + "path": "registry/lib/domain/token/aggregate.ts", + "type": "registry:lib" + }, + { + "path": "registry/lib/domain/token/token-balance-entry.ts", + "type": "registry:lib" + }, + { + "path": "registry/lib/domain/token/token-price-entry.ts", + "type": "registry:lib" + }, + { + "path": "registry/components/data-table.tsx", + "type": "registry:component" + }, + { + "path": "registry/lib/explorer/url.ts", + "type": "registry:lib" + } + ], + "registryDependencies": [], + "dependencies": [ + "@nanostores/react", + "@tanstack/react-table", + "lucide-react", + "nanostores", + "react" + ] + }, + { + "title": "components/token/token-chip-with-info", + "description": "", + "author": "geist", + "name": "@geist/components/token/token-chip-with-info", + "type": "registry:component", + "files": [ + { + "path": "registry/components/token/token-chip-with-info.tsx", + "type": "registry:component" + }, + { + "path": "registry/lib/domain/amount.ts", + "type": "registry:lib" + } + ], + "registryDependencies": ["button"], + "dependencies": ["viem"] + }, + { + "title": "components/token/token-chip", + "description": "", + "author": "geist", + "name": "@geist/components/token/token-chip", + "type": "registry:component", + "files": [ + { + "path": "registry/components/token/token-chip.tsx", + "type": "registry:component" + }, + { + "path": "registry/components/token/token.tsx", + "type": "registry:component" + }, + { + "path": "registry/components/token/token-chip-with-info.tsx", + "type": "registry:component" + } + ], + "registryDependencies": [], + "dependencies": ["viem", "wagmi"] + }, + { + "title": "components/token/token-price-chart-with-feed", + "description": "", + "author": "geist", + "name": "@geist/components/token/token-price-chart-with-feed", + "type": "registry:component", + "files": [ + { + "path": "registry/components/token/token-price-chart-with-feed.tsx", + "type": "registry:component" + }, + { + "path": "registry/lib/domain/token/token-price-entry.ts", + "type": "registry:lib" + }, + { + "path": "registry/components/token/token.tsx", + "type": "registry:component" + }, + { + "path": "registry/components/token/token-chip-with-info.tsx", + "type": "registry:component" + } + ], + "registryDependencies": ["chart"], + "dependencies": ["date-fns", "react", "recharts", "viem"] + }, + { + "title": "components/token/token-price-chart", + "description": "", + "author": "geist", + "name": "@geist/components/token/token-price-chart", + "type": "registry:component", + "files": [ + { + "path": "registry/components/token/token-price-chart.tsx", + "type": "registry:component" + }, + { + "path": "registry/lib/domain/token/multi-chain.ts", + "type": "registry:lib" + }, + { + "path": "registry/lib/domain/token/token.ts", + "type": "registry:lib" + }, + { + "path": "registry/lib/domain/token/token-price-entry.ts", + "type": "registry:lib" + }, + { + "path": "registry/hooks/data/use-defillama.ts", + "type": "registry:hook" + }, + { + "path": "registry/components/token/token.tsx", + "type": "registry:component" + }, + { + "path": "registry/components/token/token-price-chart-with-feed.tsx", + "type": "registry:component" + } + ], + "registryDependencies": ["chart"], + "dependencies": ["viem", "wagmi"] + }, + { + "title": "components/token/token", + "description": "", + "author": "geist", + "name": "@geist/components/token/token", + "type": "registry:component", + "files": [ + { + "path": "registry/components/token/token.tsx", + "type": "registry:component" + }, + { + "path": "registry/lib/domain/chain/chain-resolver.ts", + "type": "registry:lib" + }, + { + "path": "registry/lib/domain/token/multi-chain.ts", + "type": "registry:lib" + }, + { + "path": "registry/lib/domain/token/token.ts", + "type": "registry:lib" + }, + { + "path": "registry/lib/trustwallet-chain.ts", + "type": "registry:lib" + } + ], + "registryDependencies": [], + "dependencies": ["@wagmi/core", "react", "viem"] + }, + { + "title": "components/token/yield-historical-chart", + "description": "", + "author": "geist", + "name": "@geist/components/token/yield-historical-chart", + "type": "registry:component", + "files": [ + { + "path": "registry/components/token/yield-historical-chart.tsx", + "type": "registry:component" + } + ], + "registryDependencies": ["chart", "skeleton"], + "dependencies": ["@tanstack/react-query", "react", "recharts"] + }, + { + "title": "components/transactions/transaction-card-with-details", + "description": "", + "author": "geist", + "name": "@geist/components/transactions/transaction-card-with-details", + "type": "registry:component", + "files": [ + { + "path": "registry/components/transactions/transaction-card-with-details.tsx", + "type": "registry:component" + }, + { + "path": "registry/lib/domain/token/token.ts", + "type": "registry:lib" + }, + { + "path": "registry/lib/domain/transaction/transaction.ts", + "type": "registry:lib" + }, + { + "path": "registry/components/identity/address-badge.tsx", + "type": "registry:component" + }, + { + "path": "registry/components/token/token-chip-with-info.tsx", + "type": "registry:component" + }, + { + "path": "registry/lib/utils/hex.ts", + "type": "registry:lib" + } + ], + "registryDependencies": ["card", "separator", "skeleton"], + "dependencies": ["@radix-ui/react-label"] + }, + { + "title": "components/transactions/transaction-card", + "description": "", + "author": "geist", + "name": "@geist/components/transactions/transaction-card", + "type": "registry:component", + "files": [ + { + "path": "registry/components/transactions/transaction-card.tsx", + "type": "registry:component" + }, + { + "path": "registry/hooks/data/use-blockscout.ts", + "type": "registry:hook" + }, + { + "path": "registry/lib/explorer/url.ts", + "type": "registry:lib" + }, + { + "path": "registry/components/transactions/transaction-card-with-details.tsx", + "type": "registry:component" + } + ], + "registryDependencies": ["skeleton"], + "dependencies": ["viem", "wagmi"] + }, + { + "title": "components/transactions/transaction-table-with-details", + "description": "", + "author": "geist", + "name": "@geist/components/transactions/transaction-table-with-details", + "type": "registry:component", + "files": [ + { + "path": "registry/components/transactions/transaction-table-with-details.tsx", + "type": "registry:component" + }, + { + "path": "registry/hooks/data/use-blockscout.ts", + "type": "registry:hook" + }, + { + "path": "registry/lib/blockscout/api.ts", + "type": "registry:lib" + }, + { + "path": "registry/lib/explorer/url.ts", + "type": "registry:lib" + }, + { + "path": "registry/components/transactions/transaction-table.tsx", + "type": "registry:component" + } + ], + "registryDependencies": ["skeleton"], + "dependencies": [] + }, + { + "title": "components/transactions/transaction-table", + "description": "", + "author": "geist", + "name": "@geist/components/transactions/transaction-table", + "type": "registry:component", + "files": [ + { + "path": "registry/components/transactions/transaction-table.tsx", + "type": "registry:component" + }, + { + "path": "registry/lib/domain/chain/chain-resolver.ts", + "type": "registry:lib" + }, + { + "path": "registry/lib/domain/transaction/transaction.ts", + "type": "registry:lib" + }, + { + "path": "registry/components/data-table.tsx", + "type": "registry:component" + }, + { + "path": "registry/lib/explorer/url.ts", + "type": "registry:lib" + }, + { + "path": "registry/lib/utils/address.ts", + "type": "registry:lib" + }, + { + "path": "registry/lib/utils/hex.ts", + "type": "registry:lib" + } + ], + "registryDependencies": ["badge"], + "dependencies": ["@tanstack/react-table", "lucide-react", "viem"] + }, + { + "title": "components/transfer/transfer-button", + "description": "", + "author": "geist", + "name": "@geist/components/transfer/transfer-button", + "type": "registry:component", + "files": [ + { + "path": "registry/components/transfer/transfer-button.tsx", + "type": "registry:component" + } + ], + "registryDependencies": ["button"], + "dependencies": [ + "@tanstack/react-query", + "@wagmi/core", + "lucide-react", + "viem", + "wagmi" + ] + }, + { + "title": "hooks/data/use-blockscout", + "description": "", + "author": "geist", + "name": "@geist/hooks/data/use-blockscout", + "type": "registry:hook", + "files": [ + { + "path": "registry/hooks/data/use-blockscout.ts", + "type": "registry:hook" + }, + { + "path": "registry/lib/domain/transaction/transaction.ts", + "type": "registry:lib" + }, + { + "path": "registry/lib/blockscout/api.ts", + "type": "registry:lib" + } + ], + "registryDependencies": [], + "dependencies": ["@tanstack/react-query"] + }, + { + "title": "hooks/data/use-defillama", + "description": "", + "author": "geist", + "name": "@geist/hooks/data/use-defillama", + "type": "registry:hook", + "files": [ + { + "path": "registry/hooks/data/use-defillama.ts", + "type": "registry:hook" + }, + { + "path": "registry/lib/domain/token/token.ts", + "type": "registry:lib" + }, + { + "path": "registry/lib/domain/token/token-price-entry.ts", + "type": "registry:lib" + }, + { + "path": "registry/lib/domain/transaction/transaction.ts", + "type": "registry:lib" + }, + { + "path": "registry/lib/defillama/api.ts", + "type": "registry:lib" + } + ], + "registryDependencies": [], + "dependencies": ["@tanstack/react-query"] + }, + { + "title": "hooks/eas/sdk/use-attestation", + "description": "", + "author": "geist", + "name": "@geist/hooks/eas/sdk/use-attestation", + "type": "registry:hook", + "files": [ + { + "path": "registry/hooks/eas/sdk/use-attestation.ts", + "type": "registry:hook" + }, + { + "path": "registry/lib/eas/abi.ts", + "type": "registry:lib" + }, + { + "path": "registry/lib/eas/request.ts", + "type": "registry:lib" + }, + { + "path": "registry/lib/eas/sdk/eas.ts", + "type": "registry:lib" + }, + { + "path": "registry/lib/eas/viem/onchain.ts", + "type": "registry:lib" + } + ], + "registryDependencies": [], + "dependencies": [ + "@ethereum-attestation-service/eas-sdk", + "ethers", + "react", + "viem" + ] + }, + { + "title": "hooks/eas/use-attestation", + "description": "", + "author": "geist", + "name": "@geist/hooks/eas/use-attestation", + "type": "registry:hook", + "files": [ + { + "path": "registry/hooks/eas/use-attestation.ts", + "type": "registry:hook" + }, + { + "path": "registry/lib/eas/request.ts", + "type": "registry:lib" + }, + { + "path": "registry/lib/eas/schema-encoder.ts", + "type": "registry:lib" + }, + { + "path": "registry/lib/eas/sdk/offchain/offchain.ts", + "type": "registry:lib" + }, + { + "path": "registry/lib/eas/viem/offchain.ts", + "type": "registry:lib" + }, + { + "path": "registry/lib/eas/viem/onchain.ts", + "type": "registry:lib" + }, + { + "path": "registry/lib/test-utils-isomorphic.ts", + "type": "registry:lib" + } + ], + "registryDependencies": [], + "dependencies": ["react", "viem"] + }, + { + "title": "hooks/eas/use-get-attestation-with-uid", + "description": "", + "author": "geist", + "name": "@geist/hooks/eas/use-get-attestation-with-uid", + "type": "registry:hook", + "files": [ + { + "path": "registry/hooks/eas/use-get-attestation-with-uid.ts", + "type": "registry:hook" + }, + { + "path": "registry/lib/eas/easscan.ts", + "type": "registry:lib" + } + ], + "registryDependencies": [], + "dependencies": [ + "@geist/graphql", + "@tanstack/react-query", + "graphql-request" + ] + }, + { + "title": "hooks/eas/use-get-attestations", + "description": "", + "author": "geist", + "name": "@geist/hooks/eas/use-get-attestations", + "type": "registry:hook", + "files": [ + { + "path": "registry/hooks/eas/use-get-attestations.ts", + "type": "registry:hook" + }, + { + "path": "registry/lib/eas/easscan.ts", + "type": "registry:lib" + } + ], + "registryDependencies": [], + "dependencies": [ + "@geist/graphql", + "@tanstack/react-query", + "graphql-request", + "viem" + ] + }, + { + "title": "hooks/eas/use-upload-attestation", + "description": "", + "author": "geist", + "name": "@geist/hooks/eas/use-upload-attestation", + "type": "registry:hook", + "files": [ + { + "path": "registry/hooks/eas/use-upload-attestation.ts", + "type": "registry:hook" + }, + { + "path": "registry/components/attestations/attestations.tsx", + "type": "registry:component" + }, + { + "path": "registry/hooks/eas/use-get-attestation-with-uid.ts", + "type": "registry:hook" + }, + { + "path": "registry/lib/filecoin/lighthouse/isomorphic.ts", + "type": "registry:lib" + } + ], + "registryDependencies": ["use-toast"], + "dependencies": ["@tanstack/react-query", "wagmi"] + }, + { + "title": "hooks/ens/efp", + "description": "", + "author": "geist", + "name": "@geist/hooks/ens/efp", + "type": "registry:hook", + "files": [ + { + "path": "registry/hooks/ens/efp.ts", + "type": "registry:hook" + } + ], + "registryDependencies": [], + "dependencies": ["viem"] + }, + { + "title": "hooks/ens/use-efp-api", + "description": "", + "author": "geist", + "name": "@geist/hooks/ens/use-efp-api", + "type": "registry:hook", + "files": [ + { + "path": "registry/hooks/ens/use-efp-api.ts", + "type": "registry:hook" + }, + { + "path": "registry/hooks/ens/efp.ts", + "type": "registry:hook" + } + ], + "registryDependencies": [], + "dependencies": ["@tanstack/react-query"] + }, + { + "title": "hooks/ens/use-ensjs", + "description": "", + "author": "geist", + "name": "@geist/hooks/ens/use-ensjs", + "type": "registry:hook", + "files": [ + { + "path": "registry/hooks/ens/use-ensjs.ts", + "type": "registry:hook" + } + ], + "registryDependencies": [], + "dependencies": ["@ensdomains/ensjs", "viem"] + }, + { + "title": "hooks/identity/use-identity", + "description": "", + "author": "geist", + "name": "@geist/hooks/identity/use-identity", + "type": "registry:hook", + "files": [ + { + "path": "registry/hooks/identity/use-identity.ts", + "type": "registry:hook" + }, + { + "path": "registry/hooks/ens/efp.ts", + "type": "registry:hook" + }, + { + "path": "registry/hooks/ens/use-efp-api.ts", + "type": "registry:hook" + } + ], + "registryDependencies": [], + "dependencies": [] + }, + { + "title": "hooks/signature/use-sign", + "description": "", + "author": "geist", + "name": "@geist/hooks/signature/use-sign", + "type": "registry:hook", + "files": [ + { + "path": "registry/hooks/signature/use-sign.ts", + "type": "registry:hook" + }, + { + "path": "registry/lib/domain/signature/sign.ts", + "type": "registry:lib" + }, + { + "path": "registry/lib/domain/signature/type-data.ts", + "type": "registry:lib" + } + ], + "registryDependencies": [], + "dependencies": [ + "@wagmi/core", + "micro-eth-signer", + "react", + "wagmi", + "jotai", + "viem" + ] + }, + { + "title": "index", + "description": "", + "author": "geist", + "name": "@geist/index", + "type": "registry:component", + "files": [ + { + "path": "registry/index.ts", + "type": "registry:component" + } + ], + "registryDependencies": [], + "dependencies": [] + }, + { + "title": "lib/alchemy", + "description": "", + "author": "geist", + "name": "@geist/lib/alchemy", + "type": "registry:lib", + "files": [ + { + "path": "registry/lib/alchemy.ts", + "type": "registry:lib" + } + ], + "registryDependencies": [], + "dependencies": ["viem"] + }, + { + "title": "lib/blockscout/api", + "description": "", + "author": "geist", + "name": "@geist/lib/blockscout/api", + "type": "registry:lib", + "files": [ + { + "path": "registry/lib/blockscout/api.ts", + "type": "registry:lib" + }, + { + "path": "registry/lib/domain/transaction/transaction.ts", + "type": "registry:lib" + } + ], + "registryDependencies": [], + "dependencies": ["viem"] + }, + { + "title": "lib/blockscout/chain", + "description": "", + "author": "geist", + "name": "@geist/lib/blockscout/chain", + "type": "registry:lib", + "files": [ + { + "path": "registry/lib/blockscout/chain.ts", + "type": "registry:lib" + }, + { + "path": "registry/lib/blockscout/chainInfo.ts", + "type": "registry:lib" + } + ], + "registryDependencies": [], + "dependencies": ["viem"] + }, + { + "title": "lib/blockscout/chainInfo", + "description": "", + "author": "geist", + "name": "@geist/lib/blockscout/chainInfo", + "type": "registry:lib", + "files": [ + { + "path": "registry/lib/blockscout/chainInfo.ts", + "type": "registry:lib" + } + ], + "registryDependencies": [], + "dependencies": [] + }, + { + "title": "lib/blockscout/url", + "description": "", + "author": "geist", + "name": "@geist/lib/blockscout/url", + "type": "registry:lib", + "files": [ + { + "path": "registry/lib/blockscout/url.ts", + "type": "registry:lib" + }, + { + "path": "registry/lib/blockscout/chain.ts", + "type": "registry:lib" + }, + { + "path": "registry/lib/explorer/url.ts", + "type": "registry:lib" + } + ], + "registryDependencies": [], + "dependencies": [] + }, + { + "title": "lib/constants", + "description": "", + "author": "geist", + "name": "@geist/lib/constants", + "type": "registry:lib", + "files": [ + { + "path": "registry/lib/constants.ts", + "type": "registry:lib" + } + ], + "registryDependencies": [], + "dependencies": [] + }, + { + "title": "lib/defillama/api", + "description": "", + "author": "geist", + "name": "@geist/lib/defillama/api", + "type": "registry:lib", + "files": [ + { + "path": "registry/lib/defillama/api.ts", + "type": "registry:lib" + }, + { + "path": "registry/lib/domain/chain/chain-resolver.ts", + "type": "registry:lib" + }, + { + "path": "registry/lib/domain/token/multi-chain.ts", + "type": "registry:lib" + }, + { + "path": "registry/lib/domain/token/token.ts", + "type": "registry:lib" + }, + { + "path": "registry/lib/domain/token/token-price-entry.ts", + "type": "registry:lib" + } + ], + "registryDependencies": [], + "dependencies": ["ky"] + }, + { + "title": "lib/domain/amount", + "description": "", + "author": "geist", + "name": "@geist/lib/domain/amount", + "type": "registry:lib", + "files": [ + { + "path": "registry/lib/domain/amount.ts", + "type": "registry:lib" + } + ], + "registryDependencies": [], + "dependencies": ["viem"] + }, + { + "title": "lib/domain/chain/chain-resolver", + "description": "", + "author": "geist", + "name": "@geist/lib/domain/chain/chain-resolver", + "type": "registry:lib", + "files": [ + { + "path": "registry/lib/domain/chain/chain-resolver.ts", + "type": "registry:lib" + } + ], + "registryDependencies": [], + "dependencies": ["viem"] + }, + { + "title": "lib/domain/codec", + "description": "", + "author": "geist", + "name": "@geist/lib/domain/codec", + "type": "registry:lib", + "files": [ + { + "path": "registry/lib/domain/codec.ts", + "type": "registry:lib" + } + ], + "registryDependencies": [], + "dependencies": ["multiformats"] + }, + { + "title": "lib/domain/config", + "description": "", + "author": "geist", + "name": "@geist/lib/domain/config", + "type": "registry:lib", + "files": [ + { + "path": "registry/lib/domain/config.ts", + "type": "registry:lib" + } + ], + "registryDependencies": [], + "dependencies": [] + }, + { + "title": "lib/domain/signature/sign", + "description": "", + "author": "geist", + "name": "@geist/lib/domain/signature/sign", + "type": "registry:lib", + "files": [ + { + "path": "registry/lib/domain/signature/sign.ts", + "type": "registry:lib" + } + ], + "registryDependencies": [], + "dependencies": ["@noble/hashes", "react", "micro-eth-signer"] + }, + { + "title": "lib/domain/signature/type-data", + "description": "", + "author": "geist", + "name": "@geist/lib/domain/signature/type-data", + "type": "registry:lib", + "files": [ + { + "path": "registry/lib/domain/signature/type-data.ts", + "type": "registry:lib" + } + ], + "registryDependencies": [], + "dependencies": ["micro-eth-signer", "viem"] + }, + { + "title": "lib/domain/signature/utils", + "description": "", + "author": "geist", + "name": "@geist/lib/domain/signature/utils", + "type": "registry:lib", + "files": [ + { + "path": "registry/lib/domain/signature/utils.ts", + "type": "registry:lib" + } + ], + "registryDependencies": [], + "dependencies": [] + }, + { + "title": "lib/domain/token/aggregate", + "description": "", + "author": "geist", + "name": "@geist/lib/domain/token/aggregate", + "type": "registry:lib", + "files": [ + { + "path": "registry/lib/domain/token/aggregate.ts", + "type": "registry:lib" + }, + { + "path": "registry/lib/domain/token/multi-chain.ts", + "type": "registry:lib" + }, + { + "path": "registry/lib/domain/token/token-balance-entry.ts", + "type": "registry:lib" + }, + { + "path": "registry/lib/domain/token/token-price-entry.ts", + "type": "registry:lib" + } + ], + "registryDependencies": [], + "dependencies": ["nanostores", "#util"] + }, + { + "title": "lib/domain/token/multi-chain", + "description": "", + "author": "geist", + "name": "@geist/lib/domain/token/multi-chain", + "type": "registry:lib", + "files": [ + { + "path": "registry/lib/domain/token/multi-chain.ts", + "type": "registry:lib" + }, + { + "path": "registry/lib/domain/token/token.ts", + "type": "registry:lib" + }, + { + "path": "registry/lib/domain/token/token-balance-entry.ts", + "type": "registry:lib" + }, + { + "path": "registry/lib/domain/token/token-price-entry.ts", + "type": "registry:lib" + } + ], + "registryDependencies": [], + "dependencies": ["nanostores", "#util"] + }, + { + "title": "lib/domain/token/price", + "description": "", + "author": "geist", + "name": "@geist/lib/domain/token/price", + "type": "registry:lib", + "files": [ + { + "path": "registry/lib/domain/token/price.ts", + "type": "registry:lib" + } + ], + "registryDependencies": [], + "dependencies": [] + }, + { + "title": "lib/domain/token/token-balance-entry", + "description": "", + "author": "geist", + "name": "@geist/lib/domain/token/token-balance-entry", + "type": "registry:lib", + "files": [ + { + "path": "registry/lib/domain/token/token-balance-entry.ts", + "type": "registry:lib" + } + ], + "registryDependencies": [], + "dependencies": ["viem"] + }, + { + "title": "lib/domain/token/token-price-entry", + "description": "", + "author": "geist", + "name": "@geist/lib/domain/token/token-price-entry", + "type": "registry:lib", + "files": [ + { + "path": "registry/lib/domain/token/token-price-entry.ts", + "type": "registry:lib" + }, + { + "path": "registry/lib/domain/token/token.ts", + "type": "registry:lib" + } + ], + "registryDependencies": [], + "dependencies": [] + }, + { + "title": "lib/domain/token/token", + "description": "", + "author": "geist", + "name": "@geist/lib/domain/token/token", + "type": "registry:lib", + "files": [ + { + "path": "registry/lib/domain/token/token.ts", + "type": "registry:lib" + }, + { + "path": "registry/lib/domain/token/multi-chain.ts", + "type": "registry:lib" + }, + { + "path": "registry/lib/domain/token/price.ts", + "type": "registry:lib" + }, + { + "path": "registry/lib/domain/token/token-price-entry.ts", + "type": "registry:lib" + } + ], + "registryDependencies": [], + "dependencies": ["nanostores", "viem"] + }, + { + "title": "lib/domain/transaction/transaction", + "description": "", + "author": "geist", + "name": "@geist/lib/domain/transaction/transaction", + "type": "registry:lib", + "files": [ + { + "path": "registry/lib/domain/transaction/transaction.ts", + "type": "registry:lib" + } + ], + "registryDependencies": [], + "dependencies": ["viem", "#token"] + }, + { + "title": "lib/domain/util", + "description": "", + "author": "geist", + "name": "@geist/lib/domain/util", + "type": "registry:lib", + "files": [ + { + "path": "registry/lib/domain/util.ts", + "type": "registry:lib" + } + ], + "registryDependencies": [], + "dependencies": [] + }, + { + "title": "lib/eas/abi", + "description": "", + "author": "geist", + "name": "@geist/lib/eas/abi", + "type": "registry:lib", + "files": [ + { + "path": "registry/lib/eas/abi.ts", + "type": "registry:lib" + } + ], + "registryDependencies": [], + "dependencies": ["viem"] + }, + { + "title": "lib/eas/config", + "description": "", + "author": "geist", + "name": "@geist/lib/eas/config", + "type": "registry:lib", + "files": [ + { + "path": "registry/lib/eas/config.ts", + "type": "registry:lib" + } + ], + "registryDependencies": [], + "dependencies": ["viem"] + }, + { + "title": "lib/eas/easscan", + "description": "", + "author": "geist", + "name": "@geist/lib/eas/easscan", + "type": "registry:lib", + "files": [ + { + "path": "registry/lib/eas/easscan.ts", + "type": "registry:lib" + }, + { + "path": "registry/lib/eas/config.ts", + "type": "registry:lib" + } + ], + "registryDependencies": [], + "dependencies": ["viem"] + }, + { + "title": "lib/eas/events", + "description": "", + "author": "geist", + "name": "@geist/lib/eas/events", + "type": "registry:lib", + "files": [ + { + "path": "registry/lib/eas/events.ts", + "type": "registry:lib" + }, + { + "path": "registry/lib/eas/abi.ts", + "type": "registry:lib" + } + ], + "registryDependencies": [], + "dependencies": ["viem"] + }, + { + "title": "lib/eas/request", + "description": "", + "author": "geist", + "name": "@geist/lib/eas/request", + "type": "registry:lib", + "files": [ + { + "path": "registry/lib/eas/request.ts", + "type": "registry:lib" + }, + { + "path": "registry/lib/eas/sdk/offchain/typed-data-handler.ts", + "type": "registry:lib" + } + ], + "registryDependencies": [], + "dependencies": ["ethers"] + }, + { + "title": "lib/eas/schema-encoder", + "description": "", + "author": "geist", + "name": "@geist/lib/eas/schema-encoder", + "type": "registry:lib", + "files": [ + { + "path": "registry/lib/eas/schema-encoder.ts", + "type": "registry:lib" + }, + { + "path": "registry/lib/domain/codec.ts", + "type": "registry:lib" + }, + { + "path": "registry/lib/constants.ts", + "type": "registry:lib" + } + ], + "registryDependencies": [], + "dependencies": ["multiformats", "viem"] + }, + { + "title": "lib/eas/sdk/eas", + "description": "", + "author": "geist", + "name": "@geist/lib/eas/sdk/eas", + "type": "registry:lib", + "files": [ + { + "path": "registry/lib/eas/sdk/eas.ts", + "type": "registry:lib" + } + ], + "registryDependencies": [], + "dependencies": ["@ethereum-attestation-service/eas-sdk", "ethers"] + }, + { + "title": "lib/eas/sdk/offchain/delegated", + "description": "", + "author": "geist", + "name": "@geist/lib/eas/sdk/offchain/delegated", + "type": "registry:lib", + "files": [ + { + "path": "registry/lib/eas/sdk/offchain/delegated.ts", + "type": "registry:lib" + }, + { + "path": "registry/lib/eas/sdk/offchain/typed-data-handler.ts", + "type": "registry:lib" + } + ], + "registryDependencies": [], + "dependencies": ["lodash"] + }, + { + "title": "lib/eas/sdk/offchain/offchain-utils", + "description": "", + "author": "geist", + "name": "@geist/lib/eas/sdk/offchain/offchain-utils", + "type": "registry:lib", + "files": [ + { + "path": "registry/lib/eas/sdk/offchain/offchain-utils.ts", + "type": "registry:lib" + }, + { + "path": "registry/lib/domain/util.ts", + "type": "registry:lib" + }, + { + "path": "registry/lib/constants.ts", + "type": "registry:lib" + }, + { + "path": "registry/lib/eas/sdk/offchain/offchain.ts", + "type": "registry:lib" + } + ], + "registryDependencies": [], + "dependencies": [ + "@ethereum-attestation-service/eas-sdk", + "@scure/base", + "fflate", + "viem" + ] + }, + { + "title": "lib/eas/sdk/offchain/offchain", + "description": "", + "author": "geist", + "name": "@geist/lib/eas/sdk/offchain/offchain", + "type": "registry:lib", + "files": [ + { + "path": "registry/lib/eas/sdk/offchain/offchain.ts", + "type": "registry:lib" + }, + { + "path": "registry/lib/constants.ts", + "type": "registry:lib" + }, + { + "path": "registry/lib/eas/sdk/offchain/offchain-utils.ts", + "type": "registry:lib" + }, + { + "path": "registry/lib/eas/sdk/offchain/typed-data-handler.ts", + "type": "registry:lib" + } + ], + "registryDependencies": ["utils"], + "dependencies": ["@ethereum-attestation-service/eas-sdk", "viem"] + }, + { + "title": "lib/eas/sdk/offchain/schema-encoder", + "description": "", + "author": "geist", + "name": "@geist/lib/eas/sdk/offchain/schema-encoder", + "type": "registry:lib", + "files": [ + { + "path": "registry/lib/eas/sdk/offchain/schema-encoder.ts", + "type": "registry:lib" + }, + { + "path": "registry/lib/constants.ts", + "type": "registry:lib" + } + ], + "registryDependencies": [], + "dependencies": ["ethers", "multiformats"] + }, + { + "title": "lib/eas/sdk/offchain/typed-data-handler", + "description": "", + "author": "geist", + "name": "@geist/lib/eas/sdk/offchain/typed-data-handler", + "type": "registry:lib", + "files": [ + { + "path": "registry/lib/eas/sdk/offchain/typed-data-handler.ts", + "type": "registry:lib" + }, + { + "path": "registry/lib/eas/sdk/offchain/delegated.ts", + "type": "registry:lib" + }, + { + "path": "registry/lib/eas/versions.ts", + "type": "registry:lib" + } + ], + "registryDependencies": [], + "dependencies": [ + "@ethereum-attestation-service/eas-sdk", + "ethers", + "viem" + ] + }, + { + "title": "lib/eas/versions", + "description": "", + "author": "geist", + "name": "@geist/lib/eas/versions", + "type": "registry:lib", + "files": [ + { + "path": "registry/lib/eas/versions.ts", + "type": "registry:lib" + } + ], + "registryDependencies": [], + "dependencies": [] + }, + { + "title": "lib/eas/viem/eas", + "description": "", + "author": "geist", + "name": "@geist/lib/eas/viem/eas", + "type": "registry:lib", + "files": [ + { + "path": "registry/lib/eas/viem/eas.ts", + "type": "registry:lib" + } + ], + "registryDependencies": [], + "dependencies": [] + }, + { + "title": "lib/eas/viem/offchain", + "description": "", + "author": "geist", + "name": "@geist/lib/eas/viem/offchain", + "type": "registry:lib", + "files": [ + { + "path": "registry/lib/eas/viem/offchain.ts", + "type": "registry:lib" + }, + { + "path": "registry/lib/eas/sdk/offchain/offchain.ts", + "type": "registry:lib" + }, + { + "path": "registry/lib/eas/sdk/offchain/offchain-utils.ts", + "type": "registry:lib" + } + ], + "registryDependencies": [], + "dependencies": ["viem"] + }, + { + "title": "lib/eas/viem/onchain", + "description": "", + "author": "geist", + "name": "@geist/lib/eas/viem/onchain", + "type": "registry:lib", + "files": [ + { + "path": "registry/lib/eas/viem/onchain.ts", + "type": "registry:lib" + }, + { + "path": "registry/lib/eas/abi.ts", + "type": "registry:lib" + }, + { + "path": "registry/lib/eas/events.ts", + "type": "registry:lib" + }, + { + "path": "registry/lib/eas/request.ts", + "type": "registry:lib" + }, + { + "path": "registry/lib/eas/sdk/eas.ts", + "type": "registry:lib" + } + ], + "registryDependencies": [], + "dependencies": ["viem"] + }, + { + "title": "lib/ens/config", + "description": "", + "author": "geist", + "name": "@geist/lib/ens/config", + "type": "registry:lib", + "files": [ + { + "path": "registry/lib/ens/config.ts", + "type": "registry:lib" + } + ], + "registryDependencies": [], + "dependencies": ["viem"] + }, + { + "title": "lib/explorer/url", + "description": "", + "author": "geist", + "name": "@geist/lib/explorer/url", + "type": "registry:lib", + "files": [ + { + "path": "registry/lib/explorer/url.ts", + "type": "registry:lib" + } + ], + "registryDependencies": [], + "dependencies": ["viem"] + }, + { + "title": "lib/filecoin/akave/client", + "description": "", + "author": "geist", + "name": "@geist/lib/filecoin/akave/client", + "type": "registry:lib", + "files": [ + { + "path": "registry/lib/filecoin/akave/client.ts", + "type": "registry:lib" + } + ], + "registryDependencies": [], + "dependencies": ["ky"] + }, + { + "title": "lib/filecoin/gateway-strategy", + "description": "", + "author": "geist", + "name": "@geist/lib/filecoin/gateway-strategy", + "type": "registry:lib", + "files": [ + { + "path": "registry/lib/filecoin/gateway-strategy.ts", + "type": "registry:lib" + } + ], + "registryDependencies": [], + "dependencies": [] + }, + { + "title": "lib/filecoin/gateway", + "description": "", + "author": "geist", + "name": "@geist/lib/filecoin/gateway", + "type": "registry:lib", + "files": [ + { + "path": "registry/lib/filecoin/gateway.ts", + "type": "registry:lib" + }, + { + "path": "registry/lib/filecoin/gateway-strategy.ts", + "type": "registry:lib" + }, + { + "path": "registry/lib/filecoin/lighthouse/isomorphic.ts", + "type": "registry:lib" + } + ], + "registryDependencies": [], + "dependencies": [] + }, + { + "title": "lib/filecoin/lighthouse/browser", + "description": "", + "author": "geist", + "name": "@geist/lib/filecoin/lighthouse/browser", + "type": "registry:lib", + "files": [ + { + "path": "registry/lib/filecoin/lighthouse/browser.ts", + "type": "registry:lib" + } + ], + "registryDependencies": [], + "dependencies": ["@lighthouse-web3/sdk", "ky"] + }, + { + "title": "lib/filecoin/lighthouse/isomorphic", + "description": "", + "author": "geist", + "name": "@geist/lib/filecoin/lighthouse/isomorphic", + "type": "registry:lib", + "files": [ + { + "path": "registry/lib/filecoin/lighthouse/isomorphic.ts", + "type": "registry:lib" + }, + { + "path": "registry/lib/filecoin/gateway-strategy.ts", + "type": "registry:lib" + }, + { + "path": "registry/lib/filecoin/lighthouse/browser.ts", + "type": "registry:lib" + } + ], + "registryDependencies": [], + "dependencies": [ + "@lighthouse-web3/kavach", + "@lighthouse-web3/sdk", + "ky", + "viem" + ] + }, + { + "title": "lib/filecoin/storacha/isomorphic", + "description": "", + "author": "geist", + "name": "@geist/lib/filecoin/storacha/isomorphic", + "type": "registry:lib", + "files": [ + { + "path": "registry/lib/filecoin/storacha/isomorphic.ts", + "type": "registry:lib" + }, + { + "path": "registry/lib/domain/config.ts", + "type": "registry:lib" + } + ], + "registryDependencies": [], + "dependencies": [ + "@web3-storage/w3up-client", + "@ipld/dag-ucan", + "@noble/ed25519", + "@noble/hashes" + ] + }, + { + "title": "lib/filecoin/url", + "description": "", + "author": "geist", + "name": "@geist/lib/filecoin/url", + "type": "registry:lib", + "files": [ + { + "path": "registry/lib/filecoin/url.ts", + "type": "registry:lib" + }, + { + "path": "registry/lib/explorer/url.ts", + "type": "registry:lib" + } + ], + "registryDependencies": [], + "dependencies": ["viem"] + }, + { + "title": "lib/onchain-min", + "description": "", + "author": "geist", + "name": "@geist/lib/onchain-min", + "type": "registry:lib", + "files": [ + { + "path": "registry/lib/onchain-min.ts", + "type": "registry:lib" + } + ], + "registryDependencies": [], + "dependencies": [] + }, + { + "title": "lib/test-utils-isomorphic", + "description": "", + "author": "geist", + "name": "@geist/lib/test-utils-isomorphic", + "type": "registry:lib", + "files": [ + { + "path": "registry/lib/test-utils-isomorphic.ts", + "type": "registry:lib" + }, + { + "path": "registry/lib/domain/config.ts", + "type": "registry:lib" + }, + { + "path": "registry/lib/alchemy.ts", + "type": "registry:lib" + } + ], + "registryDependencies": [], + "dependencies": ["ethers", "viem"] + }, + { + "title": "lib/test-utils-node", + "description": "", + "author": "geist", + "name": "@geist/lib/test-utils-node", + "type": "registry:lib", + "files": [ + { + "path": "registry/lib/test-utils-node.ts", + "type": "registry:lib" + } + ], + "registryDependencies": [], + "dependencies": ["@faker-js/faker", "fs", "os", "path"] + }, + { + "title": "lib/token/config", + "description": "", + "author": "geist", + "name": "@geist/lib/token/config", + "type": "registry:lib", + "files": [ + { + "path": "registry/lib/token/config.ts", + "type": "registry:lib" + } + ], + "registryDependencies": [], + "dependencies": ["viem"] + }, + { + "title": "lib/trustwallet-chain", + "description": "", + "author": "geist", + "name": "@geist/lib/trustwallet-chain", + "type": "registry:lib", + "files": [ + { + "path": "registry/lib/trustwallet-chain.ts", + "type": "registry:lib" + } + ], + "registryDependencies": [], + "dependencies": ["viem"] + }, + { + "title": "lib/utils/address", + "description": "", + "author": "geist", + "name": "@geist/lib/utils/address", + "type": "registry:lib", + "files": [ + { + "path": "registry/lib/utils/address.ts", + "type": "registry:lib" + }, + { + "path": "registry/lib/utils/hex.ts", + "type": "registry:lib" + } + ], + "registryDependencies": [], + "dependencies": ["viem"] + }, + { + "title": "lib/utils/hex", + "description": "", + "author": "geist", + "name": "@geist/lib/utils/hex", + "type": "registry:lib", + "files": [ + { + "path": "registry/lib/utils/hex.ts", + "type": "registry:lib" + } + ], + "registryDependencies": [], + "dependencies": ["viem"] + }, + { + "title": "lib/utils/wagmi-config", + "description": "", + "author": "geist", + "name": "@geist/lib/utils/wagmi-config", + "type": "registry:lib", + "files": [ + { + "path": "registry/lib/utils/wagmi-config.tsx", + "type": "registry:lib" + } + ], + "registryDependencies": [], + "dependencies": ["viem", "wagmi"] + }, + { + "title": "lib/wagmi-utils", + "description": "", + "author": "geist", + "name": "@geist/lib/wagmi-utils", + "type": "registry:lib", + "files": [ + { + "path": "registry/lib/wagmi-utils.ts", + "type": "registry:lib" + } + ], + "registryDependencies": [], + "dependencies": ["ethers", "react", "viem", "wagmi"] } ] } diff --git a/apps/registry/src/build.mts b/apps/registry/src/build.mts index 418ae87e..3db70446 100644 --- a/apps/registry/src/build.mts +++ b/apps/registry/src/build.mts @@ -63,7 +63,6 @@ const registryJsonPath = resolve(import.meta.dirname, "../registry.json"); console.log("creating working area"); const sourceRootPath = await createWorkingArea(); -// shim for nodev <22 async function getFiles(dir: string): Promise { let files: string[] = []; const entries = await readdirSync(dir, { withFileTypes: true }); @@ -104,7 +103,7 @@ const files = await getFiles(context.sourceRootPath); const registryPaths = files.map((file) => join( context.registryLocalPath, - relative(context.sourceRootPath, file).replace("registry/", ""), + relative(context.sourceRootPath, file).replace("registry/", "@geist/"), ), ); @@ -112,12 +111,12 @@ console.log("registryPaths", registryPaths); const registryTree = { $schema: "https://ui.shadcn.com/schema/registry.json", - name: "shadcn", - homepage: "https://ui.shadcn.com", + name: "geist-ddev-kit", + homepage: "https://ddevkit.geist.network", items: [], }; -for (const file of files.slice(0, 14)) { +for (const file of files) { const { registryItem, sourceFile } = await parseItem(file, context, project); registryTree.items.push(registryItem); await sourceFile.save(); diff --git a/apps/registry/src/parser.ts b/apps/registry/src/parser.ts index 76c85d9f..7a6d91b7 100644 --- a/apps/registry/src/parser.ts +++ b/apps/registry/src/parser.ts @@ -214,7 +214,7 @@ export const parseItem = async ( title: title || name || "", description: description || "", author: "geist", - name, + name: `@geist/${name}`, type, files, registryDependencies: Array.from(registryItemMetadata.registryDependencies), diff --git a/packages/ui-react/src/hooks/eas/use-upload-attestation.ts b/packages/ui-react/src/hooks/eas/use-upload-attestation.ts index bea86146..ef67b523 100644 --- a/packages/ui-react/src/hooks/eas/use-upload-attestation.ts +++ b/packages/ui-react/src/hooks/eas/use-upload-attestation.ts @@ -1,7 +1,7 @@ import { useMutation, useQueryClient } from "@tanstack/react-query"; import { useWalletClient } from "wagmi"; import type { UploadAttestationParams } from "#components/attestations/attestations"; -import { createGetAttestationWithUidQueryOptions } from "#hooks/eas/use-get-attestation-with-uid.js"; +import { createGetAttestationWithUidQueryOptions } from "#hooks/eas/use-get-attestation-with-uid"; import { useToast } from "#hooks/shadcn/use-toast"; import { createLighthouseParams, From 8616ecefc1742b7892d886f57e52cf0b2ed10ebb Mon Sep 17 00:00:00 2001 From: debuggingfuture Date: Tue, 18 Feb 2025 14:53:13 +0800 Subject: [PATCH 2/8] fix: ci --- .github/workflows/storybook.yml | 2 +- apps/registry/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/storybook.yml b/.github/workflows/storybook.yml index 27cc6f60..072eea95 100644 --- a/.github/workflows/storybook.yml +++ b/.github/workflows/storybook.yml @@ -97,4 +97,4 @@ jobs: env: FLEEK_TOKEN: ${{ secrets.FLEEK_TOKEN }} FLEEK_PROJECT_ID: cm2lvm8yh000030bm17kmomq9 - run: pnpm --dir apps/registry deploy:fleek \ No newline at end of file + run: pnpm --dir apps/registry/@geist deploy:fleek \ No newline at end of file diff --git a/apps/registry/package.json b/apps/registry/package.json index 9ce545f1..650ca847 100644 --- a/apps/registry/package.json +++ b/apps/registry/package.json @@ -14,7 +14,7 @@ "scripts": { "build": "tsx src/build.mts", "test": "vitest", - "serve": "http-server public/r -p 3000", + "serve": "http-server public/r/@geist -p 3000", "deploy:fleek": "fleek --debug sites deploy" }, "devDependencies": { From 597b3ab684f1c21f7a8722021314092fdbb4d326 Mon Sep 17 00:00:00 2001 From: debuggingfuture Date: Tue, 18 Feb 2025 14:56:44 +0800 Subject: [PATCH 3/8] fix: ci --- .github/workflows/storybook.yml | 2 +- apps/registry/fleek.config.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/storybook.yml b/.github/workflows/storybook.yml index 072eea95..27cc6f60 100644 --- a/.github/workflows/storybook.yml +++ b/.github/workflows/storybook.yml @@ -97,4 +97,4 @@ jobs: env: FLEEK_TOKEN: ${{ secrets.FLEEK_TOKEN }} FLEEK_PROJECT_ID: cm2lvm8yh000030bm17kmomq9 - run: pnpm --dir apps/registry/@geist deploy:fleek \ No newline at end of file + run: pnpm --dir apps/registry deploy:fleek \ No newline at end of file diff --git a/apps/registry/fleek.config.json b/apps/registry/fleek.config.json index 308b2dce..53c704f9 100644 --- a/apps/registry/fleek.config.json +++ b/apps/registry/fleek.config.json @@ -2,7 +2,7 @@ "sites": [ { "slug": "geist-ddev-kit-registry", - "distDir": "public/r" + "distDir": "public/r/@giest" } ] } From 0b253936d0d50966dbe9d49916d41a6915ce526f Mon Sep 17 00:00:00 2001 From: debuggingfuture Date: Tue, 18 Feb 2025 15:05:16 +0800 Subject: [PATCH 4/8] fix: ci --- apps/registry/fleek.config.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/registry/fleek.config.json b/apps/registry/fleek.config.json index 53c704f9..f0932de4 100644 --- a/apps/registry/fleek.config.json +++ b/apps/registry/fleek.config.json @@ -2,7 +2,7 @@ "sites": [ { "slug": "geist-ddev-kit-registry", - "distDir": "public/r/@giest" + "distDir": "public/r/@geist" } ] } From 90f5bf7667a108d538acc0b6efbac7df0562eb3f Mon Sep 17 00:00:00 2001 From: debuggingfuture Date: Tue, 18 Feb 2025 15:08:58 +0800 Subject: [PATCH 5/8] fix: ci --- .github/workflows/storybook.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/storybook.yml b/.github/workflows/storybook.yml index 27cc6f60..310d2078 100644 --- a/.github/workflows/storybook.yml +++ b/.github/workflows/storybook.yml @@ -62,7 +62,7 @@ jobs: run: pnpm --dir apps/storybook deploy:fleek deploy-docs: - # if: github.ref == 'refs/heads/main' + if: github.ref == 'refs/heads/main' runs-on: ubuntu-latest steps: - name: Checkout @@ -81,7 +81,7 @@ jobs: run: pnpm --dir apps/docs deploy:fleek deploy-registry: - # if: github.ref == 'refs/heads/main' + if: github.ref == 'refs/heads/main' runs-on: ubuntu-latest steps: - name: Checkout From 0c3c9da6754ca60a2d002d0710b516e7dc7490f0 Mon Sep 17 00:00:00 2001 From: debuggingfuture Date: Tue, 18 Feb 2025 15:31:01 +0800 Subject: [PATCH 6/8] fix: ci --- apps/docs/fleek.config.json | 2 +- apps/storybook/fleek.config.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/docs/fleek.config.json b/apps/docs/fleek.config.json index a433564f..74e248b1 100644 --- a/apps/docs/fleek.config.json +++ b/apps/docs/fleek.config.json @@ -1,7 +1,7 @@ { "sites": [ { - "slug": "geist-dapp-kit-docs", + "slug": "geist-ddev-kit-docs", "distDir": "dist" } ] diff --git a/apps/storybook/fleek.config.json b/apps/storybook/fleek.config.json index a9d52894..86c344f3 100644 --- a/apps/storybook/fleek.config.json +++ b/apps/storybook/fleek.config.json @@ -1,7 +1,7 @@ { "sites": [ { - "slug": "geist-dapp-kit", + "slug": "geist-ddev-kit-storybook", "distDir": "storybook-static" } ] From 56b2ce33065ff7d9d29f39af89a431f72b5a6ca2 Mon Sep 17 00:00:00 2001 From: debuggingfuture Date: Tue, 18 Feb 2025 15:38:10 +0800 Subject: [PATCH 7/8] fix: deploy --- .github/workflows/storybook.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/storybook.yml b/.github/workflows/storybook.yml index 310d2078..9ce89396 100644 --- a/.github/workflows/storybook.yml +++ b/.github/workflows/storybook.yml @@ -43,7 +43,7 @@ jobs: deploy-storybook: needs: [build-storybook] - if: github.ref == 'refs/heads/main' + # if: github.ref == 'refs/heads/main' runs-on: ubuntu-latest steps: - name: Setup Node.js and pnpm @@ -58,11 +58,11 @@ jobs: - name: Deploy app env: FLEEK_TOKEN: ${{ secrets.FLEEK_TOKEN }} - FLEEK_PROJECT_ID: ${{ secrets.FLEEK_PROJECT_ID }} + FLEEK_PROJECT_ID: cm2kltx8d000a11txnv1shbbb run: pnpm --dir apps/storybook deploy:fleek deploy-docs: - if: github.ref == 'refs/heads/main' + # if: github.ref == 'refs/heads/main' runs-on: ubuntu-latest steps: - name: Checkout @@ -77,11 +77,11 @@ jobs: - name: Deploy docs env: FLEEK_TOKEN: ${{ secrets.FLEEK_TOKEN }} - FLEEK_PROJECT_ID: cm2lvm8yh000030bm17kmomq9 + FLEEK_PROJECT_ID: cm1coipco000087g1pcgohgtd run: pnpm --dir apps/docs deploy:fleek deploy-registry: - if: github.ref == 'refs/heads/main' + # if: github.ref == 'refs/heads/main' runs-on: ubuntu-latest steps: - name: Checkout @@ -96,5 +96,5 @@ jobs: - name: Deploy registry env: FLEEK_TOKEN: ${{ secrets.FLEEK_TOKEN }} - FLEEK_PROJECT_ID: cm2lvm8yh000030bm17kmomq9 + FLEEK_PROJECT_ID: cm7a54thn000pb7tzoud0v621 run: pnpm --dir apps/registry deploy:fleek \ No newline at end of file From 66327d1ef1f4d0479a339375c9df5f97fa164563 Mon Sep 17 00:00:00 2001 From: debuggingfuture Date: Tue, 18 Feb 2025 15:41:49 +0800 Subject: [PATCH 8/8] fix: ci --- .github/workflows/storybook.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/storybook.yml b/.github/workflows/storybook.yml index 9ce89396..2d94c3ca 100644 --- a/.github/workflows/storybook.yml +++ b/.github/workflows/storybook.yml @@ -43,7 +43,7 @@ jobs: deploy-storybook: needs: [build-storybook] - # if: github.ref == 'refs/heads/main' + if: github.ref == 'refs/heads/main' runs-on: ubuntu-latest steps: - name: Setup Node.js and pnpm @@ -62,7 +62,7 @@ jobs: run: pnpm --dir apps/storybook deploy:fleek deploy-docs: - # if: github.ref == 'refs/heads/main' + if: github.ref == 'refs/heads/main' runs-on: ubuntu-latest steps: - name: Checkout @@ -81,7 +81,7 @@ jobs: run: pnpm --dir apps/docs deploy:fleek deploy-registry: - # if: github.ref == 'refs/heads/main' + if: github.ref == 'refs/heads/main' runs-on: ubuntu-latest steps: - name: Checkout