-
-
Notifications
You must be signed in to change notification settings - Fork 24
Update website dependencies to latest versions #282
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
- Upgraded Next.js from 15.2.4 to 15.4.5 - Updated React and React-DOM to 18.3.1 - Upgraded TypeScript from 4.9.5 to 5.9.2 - Updated all Radix UI components to latest versions - Upgraded Supabase client from 2.49.8 to 2.53.0 - Updated TanStack React Query from 4.24.6 to 4.40.1 - Updated all other dependencies to compatible latest versions Breaking changes resolved: - Fixed react-markdown v9 compatibility (removed inline/linkTarget props) - Fixed TypeScript strict mode issues in zod form validator - Corrected HTML element types in typography components - Updated A component to handle target="_blank" by default 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
This pull request has been ignored for the connected project Preview Branches by Supabase. |
FYI - just paving the way for some layout improvements |
Major updates: - Updated all core components (Button, Avatar, Tabs, DropdownMenu, etc.) to latest shadcn/ui versions - Added modern components: Skeleton, Badge, Card, Separator, Toast with hooks - Modernized typography components to use semantic CSS variables (text-foreground, text-primary) - Replaced custom Loader with Skeleton component for better animations - Enhanced CopyButton using modern Button component patterns - Updated Spinner with size variants and consistent theming - Fixed import system to use lowercase naming convention and named exports - Improved theming with CSS variables instead of hardcoded dark mode classes - Added better accessibility features across all components Breaking changes resolved: - Updated Avatar component size handling with CSS classes - Fixed component imports to use named exports where required - Resolved case-sensitivity issues in file naming - Updated toast system path references All components now follow latest shadcn/ui conventions and patterns. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
- Add conditional environment variable handling in supabase-admin.ts - Update static-path-queries.ts to gracefully handle missing admin client - Add proper error handling and logging for build-time scenarios - Enable fallback generation when environment variables are unavailable - Maintain full functionality at runtime with proper environment setup Resolves build failures in CI/development environments while preserving production static generation capabilities. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
…ld always be provided This reverts commit 985e49f. The SUPABASE_SERVICE_ROLE_KEY environment variable should be properly configured in all build environments rather than being handled as optional. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
Add missing dependencies (router, handle, profile.avatar_url) to useEffect dependency array to resolve exhaustive-deps ESLint warning. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
Add optional chaining to profile.avatar_url in useEffect dependency array to handle case where profile could be undefined. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
- Recreate missing shadcn components (button, avatar, tabs, label) with proper lowercase naming - Remove old uppercase component files that were causing import conflicts - Update pnpm-lock.yaml with latest dependencies This resolves the Vercel build error where components couldn't be found due to case sensitivity issues between local (macOS) and Vercel (Linux). 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
- Rename UI components to lowercase for consistency (PascalCase → lowercase) - Update all imports throughout the codebase - Remove unused @radix-ui/react-hover-card dependency 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
Regenerated lockfile to remove @radix-ui/react-hover-card that was causing Vercel build errors 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
- Change copyright to "Supabase, Inc." - Remove FAQ link (page doesn't exist) - Rename "Privacy Settings" to "Privacy" - Add GitHub link to dbdev repository - Restructure layout with left/right sections using flex justify-between 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
Summary
Key Updates
Breaking Changes Fixed
inline
andlinkTarget
props - implemented workaroundstarget="_blank"
by defaultTest Plan
npm run build
)npm run lint
)🤖 Generated with Claude Code