diff --git a/README.md b/README.md index 32b1acf..96d0d57 100644 --- a/README.md +++ b/README.md @@ -98,5 +98,6 @@ Run your app and you should see buttons for each detected wallet. Click one to c ## Learn more +- [Documentation](https://www.framework-kit.com/) — full guides and API reference - [Full hooks documentation](packages/react-hooks/README.md) — all available hooks and options - [Client API](packages/client/README.md) — use the client without React diff --git a/apps/docs/app/layout.tsx b/apps/docs/app/layout.tsx index 67530f5..a3b2c18 100644 --- a/apps/docs/app/layout.tsx +++ b/apps/docs/app/layout.tsx @@ -1,3 +1,4 @@ +import { Analytics } from '@vercel/analytics/next'; import type { Metadata } from 'next'; import { Plus_Jakarta_Sans } from 'next/font/google'; import './globals.css'; @@ -29,6 +30,7 @@ export default function RootLayout({ children }: { children: React.ReactNode }) {children} + ); diff --git a/apps/docs/package.json b/apps/docs/package.json index faa7547..8855d6b 100644 --- a/apps/docs/package.json +++ b/apps/docs/package.json @@ -10,6 +10,7 @@ }, "dependencies": { "@fumadocs/ui": "^16.4.4", + "@vercel/analytics": "^1.6.1", "@types/mdx": "^2.0.13", "@vercel/og": "^0.8.6", "clsx": "^2.1.1", diff --git a/packages/client/README.md b/packages/client/README.md index b832c4b..1558645 100644 --- a/packages/client/README.md +++ b/packages/client/README.md @@ -263,6 +263,7 @@ const connectors = autoDiscover({ ## More resources +- [Documentation](https://www.framework-kit.com/) — full guides and API reference - Playground: `examples/vite-react` (run with `pnpm install && pnpm dev`). - Next.js reference app: `examples/nextjs`. - Client APIs live in `src/actions.ts`, `src/watchers`, and `src/features/*` for helper internals. diff --git a/packages/react-hooks/README.md b/packages/react-hooks/README.md index 2e2daa2..ed53e6d 100644 --- a/packages/react-hooks/README.md +++ b/packages/react-hooks/README.md @@ -459,6 +459,7 @@ This approach follows Wallet Standard's wallet-agnostic discovery pattern while ## More resources +- [Documentation](https://www.framework-kit.com/) — full guides and API reference - Playground: `examples/vite-react` (run with `pnpm install && pnpm dev`). - Next.js reference app: `examples/nextjs`. - Hook JSDoc lives in `src/hooks.ts`, `src/queryHooks.ts`, `src/ui.tsx`. diff --git a/packages/web3-compat/README.md b/packages/web3-compat/README.md index 69d1e1e..0bfaca7 100644 --- a/packages/web3-compat/README.md +++ b/packages/web3-compat/README.md @@ -166,3 +166,7 @@ Phase 0 does not fully replace web3.js. Notable gaps: Future phases will expand coverage and introduce intentional breaking changes once users have an easy migration path. + +## More resources + +- [Documentation](https://www.framework-kit.com/) — full guides and API reference diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 8728d46..9b6317d 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -164,6 +164,9 @@ importers: '@types/mdx': specifier: ^2.0.13 version: 2.0.13 + '@vercel/analytics': + specifier: ^1.6.1 + version: 1.6.1(next@16.1.1(react-dom@19.2.3(react@19.2.3))(react@19.2.3))(react@19.2.3) '@vercel/og': specifier: ^0.8.6 version: 0.8.6 @@ -2552,6 +2555,32 @@ packages: '@ungap/structured-clone@1.3.0': resolution: {integrity: sha512-WmoN8qaIAo7WTYWbAZuG8PYEhn5fkz7dZrqTBZ7dtt//lL2Gwms1IcnQ5yHqjDfX8Ft5j4YzDM23f87zBfDe9g==} + '@vercel/analytics@1.6.1': + resolution: {integrity: sha512-oH9He/bEM+6oKlv3chWuOOcp8Y6fo6/PSro8hEkgCW3pu9/OiCXiUpRUogDh3Fs3LH2sosDrx8CxeOLBEE+afg==} + peerDependencies: + '@remix-run/react': ^2 + '@sveltejs/kit': ^1 || ^2 + next: '>= 13' + react: ^18 || ^19 || ^19.0.0-rc + svelte: '>= 4' + vue: ^3 + vue-router: ^4 + peerDependenciesMeta: + '@remix-run/react': + optional: true + '@sveltejs/kit': + optional: true + next: + optional: true + react: + optional: true + svelte: + optional: true + vue: + optional: true + vue-router: + optional: true + '@vercel/og@0.8.6': resolution: {integrity: sha512-hBcWIOppZV14bi+eAmCZj8Elj8hVSUZJTpf1lgGBhVD85pervzQ1poM/qYfFUlPraYSZYP+ASg6To5BwYmUSGQ==} engines: {node: '>=16'} @@ -6877,6 +6906,11 @@ snapshots: '@ungap/structured-clone@1.3.0': {} + '@vercel/analytics@1.6.1(next@16.1.1(react-dom@19.2.3(react@19.2.3))(react@19.2.3))(react@19.2.3)': + optionalDependencies: + next: 16.1.1(react-dom@19.2.3(react@19.2.3))(react@19.2.3) + react: 19.2.3 + '@vercel/og@0.8.6': dependencies: '@resvg/resvg-wasm': 2.4.0