Skip to content
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

Update graphqlcodegenerator monorepo #444

Merged
merged 1 commit into from
Jul 11, 2022

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 11, 2022

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@graphql-codegen/add 3.1.1 -> 3.2.0 age adoption passing confidence
@graphql-codegen/cli 2.6.3 -> 2.8.0 age adoption passing confidence
@graphql-codegen/introspection 2.1.1 -> 2.2.0 age adoption passing confidence
@graphql-codegen/typescript 2.5.1 -> 2.7.1 age adoption passing confidence
@graphql-codegen/typescript-operations 2.4.2 -> 2.5.1 age adoption passing confidence
@graphql-codegen/typescript-react-query 3.5.14 -> 3.6.1 age adoption passing confidence

Release Notes

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

v3.2.0

Compare Source

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

v2.8.0

Compare Source

Minor Changes
  • d84afec: Add bin CLI command for running graphql-code-generator in ESM mode. You can now use graphql-codegen-esm instead of graphql-codegen.

    GraphQL Code Generator will continue supporting both ESM and CommonJS in parallel.

  • 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
  • e7870ac: Fix security vulnerability by removing latest-version dependency.

  • dce40ed: Allow to disable watch mode from CLI to overwrite the config. Now you can do:

    $ graphql-codegen --watch=false
  • 2e86ecb: ### Summary

    • Migrate to listr2
    • Remove custom renderer for listr
    • Remove unused dependencies
Why

listr is not actively maintained and we have to maintain our custom renderer for it to display errors. Migrating to listr2 it just works out of the almost similar to how it was working in past and is a actively maintained.

Dev notes

Big change for us is how errors were collected. In listr errors were thrown and were caught in the end function of our custom listr Renderer but with listr2 we don't really get Error in end function always so instead we use the context to collect errors from all the tasks and then show them after all the tasks are finished.

v2.7.0

Compare Source

Minor Changes
  • e050230: Remove unnecessary browser check
Patch Changes

v2.6.4

Compare Source

Patch Changes
  • 92f7142: Revert "Upgrade latest version"
dotansimha/graphql-code-generator (@​graphql-codegen/introspection)

v2.2.0

Compare Source

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

v2.7.1

Compare Source

Patch Changes

v2.7.0

Compare Source

Minor Changes
Patch Changes

v2.6.0

Compare Source

Minor Changes
Patch Changes
dotansimha/graphql-code-generator (@​graphql-codegen/typescript-operations)

v2.5.1

Compare Source

Patch Changes

v2.5.0

Compare Source

Minor Changes
Patch Changes

v2.4.3

Compare Source

Patch Changes
dotansimha/graphql-code-generator (@​graphql-codegen/typescript-react-query)

v3.6.1

Compare Source

Patch Changes

v3.6.0

Compare Source

Minor Changes
Patch Changes

v3.5.15

Compare Source

Patch Changes

Configuration

📅 Schedule: Branch creation - "before 3am" in timezone Asia/Tokyo, 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, click this checkbox.

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

@vercel
Copy link

vercel bot commented Jul 11, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
nextjs-template ✅ Ready (Inspect) Visit Preview Jul 11, 2022 at 4:44PM (UTC)
nextjs-template-mockup ✅ Ready (Inspect) Visit Preview Jul 11, 2022 at 4:44PM (UTC)
nextjs-template-storybook ✅ Ready (Inspect) Visit Preview Jul 11, 2022 at 4:44PM (UTC)

@vercel vercel bot temporarily deployed to Preview – nextjs-template-mockup July 11, 2022 16:41 Inactive
@vercel vercel bot temporarily deployed to Preview – nextjs-template-storybook July 11, 2022 16:42 Inactive
@vercel vercel bot temporarily deployed to Preview – nextjs-template July 11, 2022 16:44 Inactive
@renovate renovate bot merged commit 3d362e8 into main Jul 11, 2022
@renovate renovate bot deleted the renovate/graphqlcodegenerator-monorepo branch July 11, 2022 19:35
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.

None yet

0 participants