From ae3203388f3d7423aa352a86bc63d00c3400c73d Mon Sep 17 00:00:00 2001 From: Dodothereal <129273127+Dodothereal@users.noreply.github.com> Date: Thu, 23 Jul 2026 09:13:26 +0200 Subject: [PATCH 1/6] Add README.md to ProfileCard component directory Co-authored-by: Claude Code --- .../src/components/ProfileCard/README.md | 45 +++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 packages/client/src/components/ProfileCard/README.md diff --git a/packages/client/src/components/ProfileCard/README.md b/packages/client/src/components/ProfileCard/README.md new file mode 100644 index 00000000..e98442bb --- /dev/null +++ b/packages/client/src/components/ProfileCard/README.md @@ -0,0 +1,45 @@ +# ProfileCard Component + +A reusable component for displaying a user's profile information, including avatar, name, status, and optional stats. + +## Usage + +```tsx +import ProfileCard from './ProfileCard'; + +// Example usage + +``` + +## Props + +| Prop | Type | Description | +|------|------|-------------| +| `username` | `string` | The user's display name. | +| `initials` | `string` | The initials to display in the avatar (if no image). | +| `status` | `'online' \| 'offline' \| 'away'` | The user's online status. | +| `stats` | `{ connections?: number; roomsJoined?: number; }` | Optional statistics to display. | +| `avatarUrl` | `string` | Optional URL to the user's avatar image. If not provided, initials are shown. | + +## Example + +```tsx + +``` + +## Notes + +- The component uses Tailwind CSS for styling. +- The avatar displays the user's image if `avatarUrl` is provided; otherwise, it shows the initials on a colored background. +- The status dot is color-coded: green for online, gray for offline, yellow for away. \ No newline at end of file From c167cce0020ca0d2ba067cb66508d0362c06679f Mon Sep 17 00:00:00 2001 From: Dodothereal <129273127+Dodothereal@users.noreply.github.com> Date: Thu, 23 Jul 2026 09:28:01 +0200 Subject: [PATCH 2/6] Add vercel.json to attempt to fix Vercel CI Co-authored-by: Claude Code --- vercel.json | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 vercel.json diff --git a/vercel.json b/vercel.json new file mode 100644 index 00000000..d4ebe40e --- /dev/null +++ b/vercel.json @@ -0,0 +1,10 @@ +{ + "version": 2, + "builds": [ + { + "src": "package.json", + "use": "@vercel/static-build", + "config": { "distDir": "public" } + } + ] +} From 2858b03aaffac1c9fac8755b10194131a188c5d1 Mon Sep 17 00:00:00 2001 From: Dodothereal <129273127+Dodothereal@users.noreply.github.com> Date: Thu, 23 Jul 2026 09:32:26 +0200 Subject: [PATCH 3/6] Remove vercel.json Co-authored-by: Claude Code --- vercel.json | 10 ---------- 1 file changed, 10 deletions(-) delete mode 100644 vercel.json diff --git a/vercel.json b/vercel.json deleted file mode 100644 index d4ebe40e..00000000 --- a/vercel.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "version": 2, - "builds": [ - { - "src": "package.json", - "use": "@vercel/static-build", - "config": { "distDir": "public" } - } - ] -} From 331ff18d6a6c952cf7c2c75474b5c7e4f3a9b4e8 Mon Sep 17 00:00:00 2001 From: Dodothereal <129273127+Dodothereal@users.noreply.github.com> Date: Thu, 23 Jul 2026 09:34:42 +0200 Subject: [PATCH 4/6] Add vercel.json to configure Vercel build for Next.js app Co-authored-by: Claude Code --- vercel.json | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 vercel.json diff --git a/vercel.json b/vercel.json new file mode 100644 index 00000000..cab38fcd --- /dev/null +++ b/vercel.json @@ -0,0 +1,10 @@ +{ + "version": 2, + "builds": [ + { + "src": "packages/client/package.json", + "use": "@vercel/next.js", + "config": { "distDir": ".next" } + } + ] +} \ No newline at end of file From ca01c72a2b7258d379652e29494fc6803ae44dee Mon Sep 17 00:00:00 2001 From: Dodothereal <129273127+Dodothereal@users.noreply.github.com> Date: Thu, 23 Jul 2026 09:37:01 +0200 Subject: [PATCH 5/6] Update vercel.json to set project root to packages/client Co-authored-by: Claude Code --- vercel.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/vercel.json b/vercel.json index cab38fcd..14eb82b4 100644 --- a/vercel.json +++ b/vercel.json @@ -1,10 +1,10 @@ { "version": 2, + "root": "packages/client", "builds": [ { - "src": "packages/client/package.json", - "use": "@vercel/next.js", - "config": { "distDir": ".next" } + "src": "package.json", + "use": "@vercel/next.js" } ] } \ No newline at end of file From 4598a728901812ced4d828d7f57a6f4f742ddda4 Mon Sep 17 00:00:00 2001 From: Dodothereal <129273127+Dodothereal@users.noreply.github.com> Date: Thu, 23 Jul 2026 09:54:56 +0200 Subject: [PATCH 6/6] chore: specify node engine version >=20.9.0 to fix Next.js build --- package.json | 3 ++ packages/client/package.json | 81 +++++++++++++++++++----------------- 2 files changed, 45 insertions(+), 39 deletions(-) diff --git a/package.json b/package.json index 849c77df..e03af454 100644 --- a/package.json +++ b/package.json @@ -18,5 +18,8 @@ }, "dependencies": { "@vercel/analytics": "^2.0.1" + }, + "engines": { + "node": ">=20.9.0" } } diff --git a/packages/client/package.json b/packages/client/package.json index 110b7a7a..6b325471 100644 --- a/packages/client/package.json +++ b/packages/client/package.json @@ -1,41 +1,44 @@ { - "name": "@intellicircle/client", - "version": "1.0.0", - "private": true, - "scripts": { - "dev": "next dev", - "build": "next build", - "start": "next start", - "lint": "next lint", - "analyze": "set ANALYZE=true && next build" - }, - "dependencies": { - "@tanstack/react-query": "^5.59.0", - "@vercel/analytics": "^2.0.1", - "axios": "^1.13.6", - "clsx": "^2.1.1", - "framer-motion": "^12.34.3", - "lucide-react": "^0.453.0", - "next": "^16.2.4", - "posthog-js": "^1.356.1", - "react": "^18.3.1", - "react-dom": "^18.3.1", - "react-hot-toast": "^2.6.0", - "react-virtuoso": "^4.18.1", - "tailwind-merge": "^2.6.1", - "web-vitals": "^5.2.0", - "zustand": "^4.5.2" - }, - "devDependencies": { - "@next/bundle-analyzer": "^16.2.2", - "@types/node": "^20", - "@types/react": "^18", - "@types/react-dom": "^18", - "autoprefixer": "^10.4.27", - "eslint": "^8", - "eslint-config-next": "^16.2.4", - "postcss": "^8.5.6", - "tailwindcss": "^3.4.19", - "typescript": "^5" - } + "name": "@intellicircle/client", + "version": "1.0.0", + "private": true, + "scripts": { + "dev": "next dev", + "build": "next build", + "start": "next start", + "lint": "next lint", + "analyze": "set ANALYZE=true && next build" + }, + "dependencies": { + "@tanstack/react-query": "^5.59.0", + "@vercel/analytics": "^2.0.1", + "axios": "^1.13.6", + "clsx": "^2.1.1", + "framer-motion": "^12.34.3", + "lucide-react": "^0.453.0", + "next": "^16.2.4", + "posthog-js": "^1.356.1", + "react": "^18.3.1", + "react-dom": "^18.3.1", + "react-hot-toast": "^2.6.0", + "react-virtuoso": "^4.18.1", + "tailwind-merge": "^2.6.1", + "web-vitals": "^5.2.0", + "zustand": "^4.5.2" + }, + "devDependencies": { + "@next/bundle-analyzer": "^16.2.2", + "@types/node": "^20", + "@types/react": "^18", + "@types/react-dom": "^18", + "autoprefixer": "^10.4.27", + "eslint": "^8", + "eslint-config-next": "^16.2.4", + "postcss": "^8.5.6", + "tailwindcss": "^3.4.19", + "typescript": "^5" + }, + "engines": { + "node": ">=20.9.0" + } }