Open
Description
Issue Description
Hello,
Graphql-ws 6 has been released but peerDependecy for apollo-client has not been updated yet so npm crashes if using the new graphql-ws version:
2025-01-16T17:46:04.802Z frontend: #10 1.782 npm error While resolving: @apollo/[email protected]
2025-01-16T17:46:04.802Z frontend: #10 1.782 npm error Found: [email protected]
2025-01-16T17:46:04.802Z frontend: #10 1.782 npm error node_modules/graphql-ws
2025-01-16T17:46:04.802Z frontend: #10 1.782 npm error graphql-ws@"^6.0.0" from the root project
2025-01-16T17:46:04.802Z frontend: #10 1.782 npm error
2025-01-16T17:46:04.802Z frontend: #10 1.782 npm error Could not resolve dependency:
2025-01-16T17:46:04.802Z frontend: #10 1.782 npm error peerOptional graphql-ws@"^5.5.5" from @apollo/[email protected]
2025-01-16T17:46:04.802Z frontend: #10 1.782 npm error node_modules/@apollo/client
Link to Reproduction
no required
Reproduction Steps
Update graphql-ws to 6.0.1 in you package.json and it will crash npm while doing npm i
@apollo/client
version
3.12.3