Skip to content

Update graphqlcodegenerator monorepo #273

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 16, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 27, 2022

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@graphql-codegen/cli 2.16.1 -> 2.16.5 age adoption passing confidence
@graphql-codegen/plugin-helpers 2.4.2 -> 2.7.2 age adoption passing confidence
@graphql-codegen/typescript 2.8.7 -> 2.8.8 age adoption passing confidence
@graphql-codegen/visitor-plugin-common 2.13.7 -> 2.13.8 age adoption passing confidence

Release Notes

dotansimha/graphql-code-generator (@​graphql-codegen/cli)

v2.16.5

Compare Source

Patch Changes

v2.16.4

Compare Source

Patch Changes

v2.16.3

Compare Source

Patch Changes

v2.16.2

Compare Source

Patch Changes
dotansimha/graphql-code-generator (@​graphql-codegen/plugin-helpers)

v2.7.2

Compare Source

Patch Changes

v2.7.1

Compare Source

Patch Changes

v2.7.0

Compare Source

Minor Changes

v2.6.2

Compare Source

Patch Changes

v2.6.1

Compare Source

Patch Changes
  • 6a2e328: feat(cli): --verbose and --debug flags

v2.6.0

Compare Source

Minor Changes
  • 2cbcbb3: Add new flag to emit legacy common js imports. Default it will be true this way it ensure that generated code works with non-compliant bundlers.

    You can use the option in your config:

    schema: 'schema.graphql'
     documents:
       - 'src/**/*.graphql'
     emitLegacyCommonJSImports: true

    Alternative you can use the CLI to set this option:

    $ codegen --config-file=config.yml --emit-legacy-common-js-imports

v2.5.0

Compare Source

Minor Changes
  • d84afec: Support TypeScript ESM modules ("module": "node16" and "moduleResolution": "node16").

    More information on the TypeScript Release Notes.

  • 8e44df5: Add new config option to not exit with non-zero exit code when there are no documents.

    You can use this option in your config:

    schema: 'schema.graphql'
    documents:
      - 'src/**/*.graphql'
    ignoreNoDocuments: true

    Alternative you can use the CLI to set this option:

    $ codegen --config-file=config.yml --ignore-no-documents
Patch Changes
  • a4fe500: Fix TS type error on strictNullChecks: true

    Fix the compiler error:

    node_modules/@&#8203;graphql-codegen/plugin-helpers/oldVisit.d.ts:5:75 - error TS2339: Property 'enter' does not exist on type '{ readonly enter?: ASTVisitFn<NameNode> | undefined; readonly leave: ASTReducerFn<NameNode, unknown>; } | { readonly enter?: ASTVisitFn<DocumentNode> | undefined; readonly leave: ASTReducerFn<...>; } | ... 41 more ... | undefined'.
    
    5     enter?: Partial<Record<keyof NewVisitor, NewVisitor[keyof NewVisitor]['enter']>>;
                                                                                ~~~~~~~
    
    node_modules/@&#8203;graphql-codegen/plugin-helpers/oldVisit.d.ts:6:75 - error TS2339: Property 'leave' does not exist on type '{ readonly enter?: ASTVisitFn<NameNode> | undefined; readonly leave: ASTReducerFn<NameNode, unknown>; } | { readonly enter?: ASTVisitFn<DocumentNode> | undefined; readonly leave: ASTReducerFn<...>; } | ... 41 more ... | undefined'.
    
    6     leave?: Partial<Record<keyof NewVisitor, NewVisitor[keyof NewVisitor]['leave']>>;
                                                                                ~~~~~~~
    
    Found 2 errors in the same file, starting at: node_modules/@&#8203;graphql-codegen/plugin-helpers/oldVisit.d.ts:5
    

    Only happens when TS compiler options strictNullChecks: true and skipLibCheck: false.

    Partial<T> includes {}, therefore NewVisitor[keyof NewVisitor] includes undefined, and indexing undefined is error.
    Eliminate undefined by wrapping it inside NonNullable<...>.

    Related #​7519

dotansimha/graphql-code-generator (@​graphql-codegen/typescript)

v2.8.8

Compare Source

Patch Changes
dotansimha/graphql-code-generator (@​graphql-codegen/visitor-plugin-common)

v2.13.8

Compare Source

Patch Changes
  • #​8816 a98198524 Thanks @​charle692! - Fix issue where visitor-plugin-common emitted ESM imports for Operations when emitLegacyCommonJSImports is true

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 if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/graphqlcodegenerator-monorepo branch 3 times, most recently from 7e3fe9d to 1ada188 Compare January 4, 2023 17:10
@renovate renovate bot force-pushed the renovate/graphqlcodegenerator-monorepo branch 3 times, most recently from e1232c5 to 291e506 Compare January 14, 2023 04:30
@renovate renovate bot force-pushed the renovate/graphqlcodegenerator-monorepo branch 10 times, most recently from 5ac4bc5 to 67f10ca Compare January 19, 2023 02:56
@renovate renovate bot force-pushed the renovate/graphqlcodegenerator-monorepo branch 6 times, most recently from 23ae267 to 81030b8 Compare January 30, 2023 17:31
@renovate renovate bot force-pushed the renovate/graphqlcodegenerator-monorepo branch 3 times, most recently from db1ad4c to 8d91cc9 Compare February 6, 2023 19:03
@renovate renovate bot force-pushed the renovate/graphqlcodegenerator-monorepo branch 5 times, most recently from b04550f to 2232fcc Compare February 8, 2023 21:30
@renovate renovate bot force-pushed the renovate/graphqlcodegenerator-monorepo branch 2 times, most recently from e556d90 to 23c889a Compare February 15, 2023 15:40
@renovate renovate bot force-pushed the renovate/graphqlcodegenerator-monorepo branch 5 times, most recently from dcfeecf to 827ea68 Compare February 28, 2023 07:37
@renovate renovate bot force-pushed the renovate/graphqlcodegenerator-monorepo branch 2 times, most recently from 913a389 to 61784a8 Compare March 1, 2023 04:23
@tobiasdiez
Copy link

@Code-Hex would be nice if this could be merged. The old dependency of @​graphql-codegen/plugin-helpers pulls in a old version of graphql-tools/utils which sometimes leads to issues with v.9 of that package. Thanks!

@renovate renovate bot force-pushed the renovate/graphqlcodegenerator-monorepo branch 6 times, most recently from a384bfd to c48b0a7 Compare March 11, 2023 04:38
@renovate renovate bot force-pushed the renovate/graphqlcodegenerator-monorepo branch 10 times, most recently from 5972e49 to d34b345 Compare March 16, 2023 11:40
@renovate renovate bot force-pushed the renovate/graphqlcodegenerator-monorepo branch from d34b345 to 37fa103 Compare March 16, 2023 11:41
@renovate renovate bot merged commit ef6acfe into main Mar 16, 2023
@renovate renovate bot deleted the renovate/graphqlcodegenerator-monorepo branch March 16, 2023 12:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant