Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(deps): update graphqlcodegenerator monorepo (#10856)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@graphql-codegen/client-preset](https://togithub.com/dotansimha/graphql-code-generator) ([source](https://togithub.com/dotansimha/graphql-code-generator/tree/HEAD/packages/presets/client)) | [`4.2.5` -> `4.3.0`](https://renovatebot.com/diffs/npm/@graphql-codegen%2fclient-preset/4.2.5/4.3.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@graphql-codegen%2fclient-preset/4.3.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@graphql-codegen%2fclient-preset/4.3.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@graphql-codegen%2fclient-preset/4.2.5/4.3.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@graphql-codegen%2fclient-preset/4.2.5/4.3.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@graphql-codegen/typed-document-node](https://togithub.com/dotansimha/graphql-code-generator) ([source](https://togithub.com/dotansimha/graphql-code-generator/tree/HEAD/packages/plugins/typescript/typed-document-node)) | [`5.0.6` -> `5.0.7`](https://renovatebot.com/diffs/npm/@graphql-codegen%2ftyped-document-node/5.0.6/5.0.7) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@graphql-codegen%2ftyped-document-node/5.0.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@graphql-codegen%2ftyped-document-node/5.0.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@graphql-codegen%2ftyped-document-node/5.0.6/5.0.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@graphql-codegen%2ftyped-document-node/5.0.6/5.0.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>dotansimha/graphql-code-generator (@​graphql-codegen/client-preset)</summary> ### [`v4.3.0`](https://togithub.com/dotansimha/graphql-code-generator/blob/HEAD/packages/presets/client/CHANGELOG.md#430) [Compare Source](https://togithub.com/dotansimha/graphql-code-generator/compare/@graphql-codegen/[email protected]...@graphql-codegen/[email protected]) ##### Minor Changes - [#​10001](https://togithub.com/dotansimha/graphql-code-generator/pull/10001) [`1be6e65`](https://togithub.com/dotansimha/graphql-code-generator/commit/1be6e65943b85162f3d465189d0a6df4b962df5d) Thanks [@​n1ru4l](https://togithub.com/n1ru4l)! - Support discriminating `null` and `undefined` within the `useFragment` function. ```ts function MyComponent(props: FragmentType<typeof MyFragment> | null) { const data = useFragment(MyFragment, props); // data is `MyFragment | null` } function MyComponent(props: FragmentType<typeof MyFragment> | undefined) { const data = useFragment(MyFragment, props); // data is `MyFragment | undefined` } ``` Before, the returned type from `useFragment` was always `TType | null | undefined`. - [#​9804](https://togithub.com/dotansimha/graphql-code-generator/pull/9804) [`5e594ef`](https://togithub.com/dotansimha/graphql-code-generator/commit/5e594ef8f39b9e1036b6bcaa977f914a66fec03e) Thanks [@​rachel-church](https://togithub.com/rachel-church)! - Preserving `Array<T>` or `ReadonlyArray<T>` in `useFragment()` return type. ##### Patch Changes - [#​9996](https://togithub.com/dotansimha/graphql-code-generator/pull/9996) [`99f449c`](https://togithub.com/dotansimha/graphql-code-generator/commit/99f449c8dcd645d49eda26e4ddfcb8ad7056ecbf) Thanks [@​nahn20](https://togithub.com/nahn20)! - Added configuration to allow for custom hash functions for persisted documents in the client preset ##### Example ```ts filename="codegen.ts" {10-12} import { type CodegenConfig } from '@​graphql-codegen/cli'; const config: CodegenConfig = { schema: 'schema.graphql', documents: ['src/**/*.tsx'], generates: { './src/gql/': { preset: 'client', presetConfig: { persistedDocuments: { hashAlgorithm: operation => { const shasum = crypto.createHash('sha512'); shasum.update(operation); return shasum.digest('hex'); }, }, }, }, }, }; ``` - Updated dependencies \[[`5501c62`](https://togithub.com/dotansimha/graphql-code-generator/commit/5501c621f19eb5ef8e703a21f7367e07e41f199c)]: - [@​graphql-codegen/add](https://togithub.com/graphql-codegen/add)[@​5](https://togithub.com/5).0.3 ### [`v4.2.6`](https://togithub.com/dotansimha/graphql-code-generator/blob/HEAD/packages/presets/client/CHANGELOG.md#426) [Compare Source](https://togithub.com/dotansimha/graphql-code-generator/compare/@graphql-codegen/[email protected]...@graphql-codegen/[email protected]) ##### Patch Changes - Updated dependencies \[[`dfc5310`](https://togithub.com/dotansimha/graphql-code-generator/commit/dfc5310ab476bed6deaefc608f311ff368722f7e), [`156cc2b`](https://togithub.com/dotansimha/graphql-code-generator/commit/156cc2b9a2a5129beba121cfa987b04e29899431), [`dfc5310`](https://togithub.com/dotansimha/graphql-code-generator/commit/dfc5310ab476bed6deaefc608f311ff368722f7e), [`b49457b`](https://togithub.com/dotansimha/graphql-code-generator/commit/b49457b5f29328d2dc23c642788a2e697cb8966e)]: - [@​graphql-codegen/plugin-helpers](https://togithub.com/graphql-codegen/plugin-helpers)[@​5](https://togithub.com/5).0.4 - [@​graphql-codegen/visitor-plugin-common](https://togithub.com/graphql-codegen/visitor-plugin-common)[@​5](https://togithub.com/5).2.0 - [@​graphql-codegen/gql-tag-operations](https://togithub.com/graphql-codegen/gql-tag-operations)[@​4](https://togithub.com/4).0.7 - [@​graphql-codegen/typescript-operations](https://togithub.com/graphql-codegen/typescript-operations)[@​4](https://togithub.com/4).2.1 - [@​graphql-codegen/typed-document-node](https://togithub.com/graphql-codegen/typed-document-node)[@​5](https://togithub.com/5).0.7 - [@​graphql-codegen/typescript](https://togithub.com/graphql-codegen/typescript)[@​4](https://togithub.com/4).0.7 </details> <details> <summary>dotansimha/graphql-code-generator (@​graphql-codegen/typed-document-node)</summary> ### [`v5.0.7`](https://togithub.com/dotansimha/graphql-code-generator/blob/HEAD/packages/plugins/typescript/typed-document-node/CHANGELOG.md#507) [Compare Source](https://togithub.com/dotansimha/graphql-code-generator/compare/@graphql-codegen/[email protected]...@graphql-codegen/[email protected]) ##### Patch Changes - Updated dependencies \[[`dfc5310`](https://togithub.com/dotansimha/graphql-code-generator/commit/dfc5310ab476bed6deaefc608f311ff368722f7e), [`156cc2b`](https://togithub.com/dotansimha/graphql-code-generator/commit/156cc2b9a2a5129beba121cfa987b04e29899431), [`dfc5310`](https://togithub.com/dotansimha/graphql-code-generator/commit/dfc5310ab476bed6deaefc608f311ff368722f7e), [`b49457b`](https://togithub.com/dotansimha/graphql-code-generator/commit/b49457b5f29328d2dc23c642788a2e697cb8966e)]: - [@​graphql-codegen/plugin-helpers](https://togithub.com/graphql-codegen/plugin-helpers)[@​5](https://togithub.com/5).0.4 - [@​graphql-codegen/visitor-plugin-common](https://togithub.com/graphql-codegen/visitor-plugin-common)[@​5](https://togithub.com/5).2.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/redwoodjs/redwood). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MTAuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQxMy4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
- Loading branch information