Skip to content

Commit

Permalink
Merge pull request #6221 from leonardehrenfried/fix-client-preset
Browse files Browse the repository at this point in the history
Fix @graphql/client-preset
  • Loading branch information
leonardehrenfried authored Nov 4, 2024
2 parents 15727f5 + 7a3099b commit 6ed0b7b
Show file tree
Hide file tree
Showing 4 changed files with 55 additions and 191 deletions.
3 changes: 3 additions & 0 deletions client/codegen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ const config: CodegenConfig = {
preset: 'client',
plugins: [],
},
'src/gql/types.generated.ts': {
plugins: ['typescript'],
},
},
};

Expand Down
235 changes: 50 additions & 185 deletions client/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
},
"devDependencies": {
"@graphql-codegen/cli": "5.0.3",
"@graphql-codegen/client-preset": "4.3.3",
"@graphql-codegen/client-preset": "4.5.0",
"@graphql-codegen/introspection": "4.0.3",
"@parcel/watcher": "2.4.1",
"@testing-library/react": "16.0.1",
Expand Down
6 changes: 1 addition & 5 deletions renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,7 @@
"com.azure.resourcemanager:azure-resourcemanager-servicebus",
"com.azure:azure-core",
"com.azure:azure-messaging-servicebus",
"com.azure:azure-identity",
// there is a breaking change in this package which is breaking our workflow, that cannot
// be reverted: https://github.com/dotansimha/graphql-code-generator/issues/10167
// once that is resolved, we can remove this line
"@graphql-codegen/client-preset"
"com.azure:azure-identity"
],
"enabled": false
},
Expand Down

0 comments on commit 6ed0b7b

Please sign in to comment.