Skip to content
This repository has been archived by the owner on Nov 11, 2024. It is now read-only.

chore(deps): update graphqlcodegenerator monorepo #176

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Mar 7, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@graphql-codegen/cli 3.2.1 -> 3.3.1 age adoption passing confidence
@graphql-codegen/client-preset 2.1.0 -> 2.1.1 age adoption passing confidence

⚠ Dependency Lookup Warnings ⚠

Warnings were logged while processing this repo. Please check the Dependency Dashboard for more information.


Release Notes

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

v3.3.1

Compare Source

Patch Changes

v3.3.0

Compare Source

Minor Changes
  • #​9151 b7dacb21f Thanks @​'./user/schema.mappers#UserMapper',! - Add watchPattern config option for generates sections.

    By default, watch mode automatically watches all GraphQL schema and document files. This means when a change is detected, Codegen CLI is run.

    A user may want to run Codegen CLI when non-schema and non-document files are changed. Each generates section now has a watchPattern option to allow more file patterns to be added to the list of patterns to watch.

    In the example below, mappers are exported from schema.mappers.ts files. We want to re-run Codegen if the content of *.mappers.ts files change because they change the generated types file. To solve this, we can add mapper file patterns to watch using the glob pattern used for schema and document files.

    // codegen.ts
    const config: CodegenConfig = {
      schema: 'src/schema/**/*.graphql',
      generates: {
        'src/schema/types.ts': {
          plugins: ['typescript', 'typescript-resolvers'],
          config: {
            mappers: {
    
              Book: './book/schema.mappers#BookMapper',
            },
          }
          watchPattern: 'src/schema/**/*.mappers.ts', // Watches mapper files in `watch` mode. Use an array for multiple patterns e.g. `['src/*.pattern1.ts','src/*.pattern2.ts']`
        },
      },
    };

    Then, run Codegen CLI in watch mode:

    yarn graphql-codegen --watch

    Now, updating *.mappers.ts files re-runs Codegen! 🎉

    Note: watchPattern is only used in watch mode i.e. running CLI with --watch flag.

Patch Changes

v3.2.2

Compare Source

Patch Changes
dotansimha/graphql-code-generator (@​graphql-codegen/client-preset)

v2.1.1

Compare Source

Patch Changes

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

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 changed the title chore(deps): update dependency @graphql-codegen/client-preset to v2.1.1 chore(deps): update graphqlcodegenerator monorepo Mar 15, 2023
@renovate renovate bot force-pushed the renovate/graphqlcodegenerator-monorepo branch 3 times, most recently from 93db80e to 1f316d3 Compare March 20, 2023 11:01
@renovate renovate bot force-pushed the renovate/graphqlcodegenerator-monorepo branch 26 times, most recently from 5702fb2 to ef38ac1 Compare March 31, 2023 12:24
@renovate renovate bot force-pushed the renovate/graphqlcodegenerator-monorepo branch 8 times, most recently from 0ac5ef6 to 0b98780 Compare April 4, 2023 17:25
@renovate renovate bot force-pushed the renovate/graphqlcodegenerator-monorepo branch 3 times, most recently from 420e829 to ab826d2 Compare April 22, 2023 14:22
@renovate renovate bot force-pushed the renovate/graphqlcodegenerator-monorepo branch 4 times, most recently from 0141e89 to 5d23c66 Compare May 4, 2023 07:36
@renovate renovate bot force-pushed the renovate/graphqlcodegenerator-monorepo branch from 5d23c66 to 8c7f01c Compare May 8, 2023 13:25
@renovate renovate bot force-pushed the renovate/graphqlcodegenerator-monorepo branch from 8c7f01c to 791567a Compare May 28, 2023 11:24
@renovate renovate bot force-pushed the renovate/graphqlcodegenerator-monorepo branch from 791567a to 1aa6082 Compare June 4, 2023 14:06
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants