-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Description
Description
Running pnpm install produces a large number of unmet peer dependency warnings. These are not currently breaking anything but indicate technical debt that could cause issues as dependencies are updated.
Categories
1. React 19 incompatibility
Most dependencies still declare peer deps for React 16-18 but we're on React 19.2.1:
@livepeer/design-system@1.1.0— expectsreact@17.0.1- All
@radix-ui/*packages — expectreact@^16.8 || ^17.0 || ^18.0 @reach/dialog,@reach/tabs— expectreact@^16.8.0 || 17.xqrcode.react,react-query,react-table,react-number-format
2. Outdated packages
Some packages are significantly behind and should be evaluated for replacement:
react-truncate@2.4.0— expectsreact <= 16.x.xreact-hook-form@3.29.4— expectsreact@^16.8.0(current is v7+)apollo-link@1.2.14andapollo-link-http@1.5.17— expectgraphql@^0.11-^15(we're on 16)graphql-tools@8.3.20— pulls in old@apollo/client@3.7.17@modulz/radix-icons@4.0.0— expectsreact@^16.x || ^17.x
3. Other mismatches
wagmi→@walletconnect→viem→abitypeexpectszod@^3 >=3.22.0but found4.1.12@reown/appkit→use-sync-external-storeexpects React 16-18@coinbase/cdp-sdk→@solana/rpc-subscriptionsexpectsws@^8.18.0but found7.5.10
Suggested approach
- Prioritize updating
@livepeer/design-systemto support React 19 (or addpnpm.peerDependencyRules.allowedVersionsoverrides as a short-term fix) - Evaluate replacing
react-truncate,react-hook-form@3,apollo-link, and@modulz/radix-iconswith modern alternatives - Consider removing
graphql-toolsif unused or upgrading to a version that doesn't pull in the old Apollo client
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels