Skip to content
This repository was archived by the owner on Oct 12, 2023. It is now read-only.

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Jul 11, 2022

Bumps @graphql-codegen/cli from 2.2.1 to 2.8.0.

Release notes

Sourced from @​graphql-codegen/cli's releases.

@​graphql-codegen/cli@​2.8.0

Minor Changes

  • d84afec09: 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.

  • d84afec09: Support TypeScript ESM modules ("module": "node16" and "moduleResolution": "node16").

    More information on the TypeScript Release Notes.

  • 8e44df58b: 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

  • e7870ac28: Fix security vulnerability by removing latest-version dependency.

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

    $ graphql-codegen --watch=false
  • 2e86ecb65: ### 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

... (truncated)

Changelog

Sourced from @​graphql-codegen/cli's changelog.

2.8.0

Minor Changes

  • d84afec09: 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.

  • d84afec09: Support TypeScript ESM modules ("module": "node16" and "moduleResolution": "node16").

    More information on the TypeScript Release Notes.

  • 8e44df58b: 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

  • e7870ac28: Fix security vulnerability by removing latest-version dependency.

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

    $ graphql-codegen --watch=false
  • 2e86ecb65: ### 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

... (truncated)

Commits
  • b4a8e8b chore(release): update monorepo packages versions (#8028)
  • 8e44df5 feat: add ignoreNoDocuments flag and config option (#8040)
  • 2578c30 chore(deps): pin dependency change-case-all to 1.0.14 (#8048)
  • 2e86ecb feat: migrate to listr2 (#8005)
  • dce40ed Allow disabling watch from cli (#7781)
  • e7870ac feat: remove latest-version dependency (#8035)
  • d84afec feat: generate TypeScript modules compatible exports map and dist structure (...
  • b2f5a13 chore(release): update monorepo packages versions (#8004)
  • 4dce442 Bump loaders for the latest cross-undici-fetch (#8023)
  • 5670d6c fixes for promise/no-nesting rule (#7854)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [@graphql-codegen/cli](https://github.com/dotansimha/graphql-code-generator/tree/HEAD/packages/graphql-codegen-cli) from 2.2.1 to 2.8.0.
- [Release notes](https://github.com/dotansimha/graphql-code-generator/releases)
- [Changelog](https://github.com/dotansimha/graphql-code-generator/blob/master/packages/graphql-codegen-cli/CHANGELOG.md)
- [Commits](https://github.com/dotansimha/graphql-code-generator/commits/@graphql-codegen/cli@2.8.0/packages/graphql-codegen-cli)

---
updated-dependencies:
- dependency-name: "@graphql-codegen/cli"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jul 11, 2022
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Jul 18, 2022

Superseded by #82.

@dependabot dependabot bot closed this Jul 18, 2022
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/graphql-codegen/cli-2.8.0 branch July 18, 2022 10:41
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant