Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@
"dependencies": {
"@amplitude/analytics-browser": "1.12.1",
"@apollo/client": "3.10.4",
"@graphql-codegen/cli": "3.3.1",
"@graphql-codegen/cli": "6.0.0",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

critical

Upgrading @graphql-codegen/cli by three major versions (from v3 to v6) without upgrading the other @graphql-codegen/* packages will likely break your build. GraphQL Codegen packages are designed to work together and should be kept on compatible versions.

The other @graphql-codegen dependencies in this package.json are still on v3:

  • @graphql-codegen/client-preset: 3.0.1
  • @graphql-codegen/typescript: 3.0.4
  • @graphql-codegen/typescript-operations: 3.0.4
  • @graphql-codegen/typescript-react-apollo: 3.3.7
  • @graphql-codegen/typescript-resolvers: 3.2.1

Please upgrade all @graphql-codegen/* packages to versions compatible with @graphql-codegen/cli@6.0.0. This may also require updates to your codegen.ts configuration file due to breaking changes. After updating package.json, remember to run yarn to update yarn.lock.

"@graphql-codegen/client-preset": "3.0.1",
"@graphql-codegen/typescript": "3.0.4",
"@graphql-codegen/typescript-operations": "3.0.4",
Expand Down