huv1k / nextjs-auth-prisma

Full-stack boilerplate template.
https://nextjs-auth-prisma.huvik.dev
157 stars 9 forks source link

build(deps-dev): bump @graphql-codegen/cli from 2.16.5 to 3.1.0 #491

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps @graphql-codegen/cli from 2.16.5 to 3.1.0.

Changelog

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

3.1.0

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 }) => {

... (truncated)

Commits
  • f68909b chore(release): update monorepo packages versions (#6441)
  • 2418598 fix: bump graphql-tools versions (#6511)
  • 72044c1 fix: do not alter the indentation of documents loaded via graphql-config (#6494)
  • 39773f5 enhance(plugins): use getDocumentNodeFromSchema and other utilities from @​gra...
  • 440172c ESM support (#6102)
  • 5bf1e53 chore(release): update monorepo packages versions (#6404)
  • edd029e fix(graphql-modules-preset): do not parse SDL and use extendedSources… (#6403)
  • d4e0cf0 Upcoming Release Changes (#6398)
  • e8bc671 Fixes relative custom imports & empty plugins (#6231)
  • b0cb13d graphql-tools-update | gql-tag preset/plugin | drop node 10 support (#6267)
  • 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)
vercel[bot] commented 1 year ago

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

Name Status Preview Comments Updated
nextjs-auth-prisma ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Feb 22, 2023 at 8:29AM (UTC)
dependabot[bot] commented 1 year ago

Superseded by #493.