Skip to content

Update devDependencies (major)#17

Open
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/major-devdependencies
Open

Update devDependencies (major)#17
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/major-devdependencies

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Jan 9, 2021

ℹ️ Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence
@graphql-codegen/cli (source) 1.8.16.3.1 age confidence
@graphql-codegen/fragment-matcher (source) 1.8.16.0.1 age confidence
@graphql-codegen/introspection (source) 1.8.15.0.2 age confidence
@graphql-codegen/typescript (source) 1.8.15.0.10 age confidence
@graphql-codegen/typescript-operations (source) 1.8.15.1.0 age confidence
@graphql-codegen/typescript-react-apollo (source) 1.8.14.4.2 age confidence
@types/node (source) 12.11.124.12.2 age confidence
@types/react (source) 16.9.719.2.14 age confidence
@types/react-dom (source) 16.9.219.2.3 age confidence
dotenv 8.2.017.4.2 age confidence
ts-node (source) 8.4.110.9.2 age confidence
typescript (source) 3.6.46.0.3 age confidence
yaml (source) 1.7.22.8.3 age confidence

Release Notes

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

v6.3.1

Compare Source

Patch Changes
  • #​10737
    be85118
    Thanks @​eddeee888! - Fix issue where same SDL in different
    documents are ignored when handling documents vs externalDocuments

v6.3.0

Compare Source

Minor Changes
  • #​10659
    e65d303
    Thanks @​ikusakov2! - Add support for externalDocuments

    externalDocuments declares GraphQL documents that will be read but will not have type files
    generated for them. These documents are available to plugins for type resolution (e.g. fragment
    types), but no output files will be generated based on them. Accepts the same formats as
    documents.

    This config option is useful for monorepos where each project may want to generate types for its
    own documents, but some may need to read shared fragments from across projects.

Patch Changes

v6.2.1

Compare Source

Patch Changes
  • #​10618 e804925 Thanks @​PalmerTurley34! - Honor per-output preset importExtension and emitLegacyCommonJSImports config instead of always using the root config values.

v6.2.0

Compare Source

Minor Changes
Patch Changes

v6.1.3

Compare Source

Patch Changes

v6.1.2

Compare Source

Patch Changes
  • #​10590 e173e11 Thanks @​ya2s! - Fix GraphQL Config loading to forward nested extensions.codegen.config options
    when loading schemas/documents, matching codegen.ts behavior.

v6.1.1

Compare Source

Patch Changes
  • #​10569 8cb7d43 Thanks @​etr2460! - fix(graphql-codegen-cli): Don't hang when 0 CPUs are found

    Fixes generation when 0 CPUs are returned by os.cpus(), which occurs in sandbox environments.

v6.1.0

Compare Source

Minor Changes
Patch Changes

v6.0.2

Compare Source

Patch Changes

v6.0.1

Compare Source

Patch Changes
  • #​10468 cb1b9d9 Thanks @​eddeee888! - In watch mode, do not write output on failure

    Previously, on partial or full failure, watch mode still write to output. However, since the output'd be an empty array, it will then call removeStaleFiles internally to remove all previously generated files.

    This patch puts a temporary fix to avoid writing output on any failure to fix the described behaviour.

    This also means the config.allowPartialOutputs does not work in watch mode for now.

v6.0.0

Compare Source

Major Changes
Patch Changes

v5.0.7

Compare Source

Patch Changes

v5.0.6

Compare Source

Patch Changes

v5.0.5

Compare Source

Patch Changes

v5.0.4

Compare Source

Patch Changes

v5.0.3

Compare Source

Patch Changes

v5.0.2

Compare Source

Patch Changes

v5.0.1

Compare Source

Patch Changes

v5.0.0

Compare Source

Major Changes
Patch Changes

v4.0.1

Compare Source

Patch Changes

v4.0.0

Compare Source

Major Changes
Patch Changes

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

v3.2.1

Compare Source

Patch Changes

v3.2.0

Compare Source

Minor Changes
Patch Changes

v3.1.0

Compare Source

Minor Changes
  • #​8893 a118c307a Thanks @​n1ru4l! - It is no longer mandatory to declare an empty plugins array when using a preset

  • #​8723 a3309e63e Thanks @​kazekyo! - Introduce a new feature called DocumentTransform.

    DocumentTransform is a functionality that allows you to modify documents before they are processed by plugins. You can use functions passed to the documentTransforms option to make changes to GraphQL documents.

    To use this feature, you can write documentTransforms as follows:

    import type { CodegenConfig } from '@​graphql-codegen/cli'
    
    const config: CodegenConfig = {
      schema: 'https://localhost:4000/graphql',
      documents: ['src/**/*.tsx'],
      generates: {
        './src/gql/': {
          preset: 'client',
          documentTransforms: [
            {
              transform: ({ documents }) => {
                // Make some changes to the documents
                return documents
              }
            }
          ]
        }
      }
    }
    export default config

    For instance, to remove a @localOnlyDirective directive from documents, you can write the following code:

    import type { CodegenConfig } from '@​graphql-codegen/cli'
    import { visit } from 'graphql'
    
    const config: CodegenConfig = {
      schema: 'https://localhost:4000/graphql',
      documents: ['src/**/*.tsx'],
      generates: {
        './src/gql/': {
          preset: 'client',
          documentTransforms: [
            {
              transform: ({ documents }) => {
                return documents.map(documentFile => {
                  documentFile.document = visit(documentFile.document, {
                    Directive: {
                      leave(node) {
                        if (node.name.value === 'localOnlyDirective') return null
                      }
                    }
                  })
                  return documentFile
                })
              }
            }
          ]
        }
      }
    }
    export default config

    DocumentTransform can also be specified by file name. You can create a custom file for a specific transformation and pass it to documentTransforms.

    Let's create the document transform as a file:

    module.exports = {
      transform: ({ documents }) => {
        // Make some changes to the documents
        return documents
      }
    }

    Then, you can specify the file name as follows:

    import type { CodegenConfig } from '@​graphql-codegen/cli'
    
    const config: CodegenConfig = {
      schema: 'https://localhost:4000/graphql',
      documents: ['src/**/*.tsx'],
      generates: {
        './src/gql/': {
          preset: 'client',
          documentTransforms: ['./my-document-transform.js']
        }
      }
    }
    export default config
Patch Changes

v3.0.0

Compare Source

Major Changes
Patch Changes

v2.16.5

Compare Source

Patch Changes

Configuration

📅 Schedule: (in timezone Asia/Tokyo)

  • Branch creation
    • "every weekend"
  • 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 was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot force-pushed the renovate/major-devdependencies branch 3 times, most recently from 3e8a26d to 1180956 Compare February 11, 2021 09:03
@renovate renovate Bot force-pushed the renovate/major-devdependencies branch from 1180956 to c8c027d Compare April 26, 2021 12:47
@renovate renovate Bot force-pushed the renovate/major-devdependencies branch 2 times, most recently from 1d966e8 to 4b567a6 Compare May 15, 2021 19:13
@renovate renovate Bot force-pushed the renovate/major-devdependencies branch from 4b567a6 to aba753f Compare June 6, 2021 22:10
@renovate renovate Bot force-pushed the renovate/major-devdependencies branch from aba753f to 72aeb6c Compare June 15, 2021 14:09
@renovate renovate Bot force-pushed the renovate/major-devdependencies branch from 72aeb6c to 1769b61 Compare October 18, 2021 20:36
@renovate renovate Bot force-pushed the renovate/major-devdependencies branch from 1769b61 to d3bc15a Compare March 7, 2022 17:38
@renovate renovate Bot force-pushed the renovate/major-devdependencies branch from d3bc15a to bf06d83 Compare March 26, 2022 14:33
@renovate renovate Bot force-pushed the renovate/major-devdependencies branch from bf06d83 to e2b92dc Compare April 24, 2022 18:58
@renovate renovate Bot force-pushed the renovate/major-devdependencies branch from e2b92dc to c38754e Compare May 15, 2022 22:29
@renovate renovate Bot force-pushed the renovate/major-devdependencies branch from c38754e to 3c5846a Compare June 18, 2022 18:56
@renovate renovate Bot force-pushed the renovate/major-devdependencies branch from 3c5846a to 62ceedb Compare September 25, 2022 13:55
@renovate renovate Bot force-pushed the renovate/major-devdependencies branch from 62ceedb to e98b9e8 Compare November 20, 2022 12:03
@renovate renovate Bot force-pushed the renovate/major-devdependencies branch from e98b9e8 to 9a2a4aa Compare March 16, 2023 11:48
@renovate renovate Bot force-pushed the renovate/major-devdependencies branch 7 times, most recently from 2517ff4 to e557cb7 Compare March 30, 2023 22:18
@renovate renovate Bot force-pushed the renovate/major-devdependencies branch from e557cb7 to 625b104 Compare April 3, 2023 10:50
@renovate renovate Bot force-pushed the renovate/major-devdependencies branch 2 times, most recently from 37dec99 to fc3bb83 Compare April 17, 2023 19:14
@renovate renovate Bot force-pushed the renovate/major-devdependencies branch 3 times, most recently from 4047f99 to c1e857c Compare May 31, 2023 02:45
@renovate renovate Bot force-pushed the renovate/major-devdependencies branch 5 times, most recently from 60b6660 to e0b8cd6 Compare June 19, 2023 14:54
@renovate renovate Bot force-pushed the renovate/major-devdependencies branch 3 times, most recently from fdceb95 to 2641c6f Compare June 29, 2023 02:44
@renovate renovate Bot force-pushed the renovate/major-devdependencies branch from 2641c6f to e25700c Compare July 1, 2023 05:14
@renovate renovate Bot force-pushed the renovate/major-devdependencies branch 2 times, most recently from 819f125 to cb4afd3 Compare July 13, 2023 20:01
@renovate renovate Bot force-pushed the renovate/major-devdependencies branch 6 times, most recently from facf807 to 3bfecb4 Compare July 26, 2023 20:11
@renovate renovate Bot force-pushed the renovate/major-devdependencies branch 3 times, most recently from 69240f6 to 21ede89 Compare August 5, 2023 12:48
@renovate renovate Bot force-pushed the renovate/major-devdependencies branch 4 times, most recently from f6283df to afff0e3 Compare August 11, 2023 22:35
@renovate renovate Bot force-pushed the renovate/major-devdependencies branch 5 times, most recently from 0b2e963 to bfcc451 Compare August 24, 2023 19:10
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.

0 participants