Skip to content

feat: mark plugins as optional#8893

Merged
n1ru4l merged 2 commits intomasterfrom
feat-optional-plugins
Feb 15, 2023
Merged

feat: mark plugins as optional#8893
n1ru4l merged 2 commits intomasterfrom
feat-optional-plugins

Conversation

@n1ru4l
Copy link
Copy Markdown
Collaborator

@n1ru4l n1ru4l commented Feb 3, 2023

import { CodegenConfig } from '@graphql-codegen/cli';
const config: CodegenConfig = {
  schema: 'https://swapi-graphql.netlify.app/.netlify/functions/index',
  documents: ['src/**/*.tsx', '!src/gql/**/*'],
  generates: {
    './src/gql/': {
      preset: 'client',
-     plugins: [],
    },
  },
};

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Feb 3, 2023

🦋 Changeset detected

Latest commit: e5b8a15

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 6 packages
Name Type
@graphql-codegen/cli Minor
@graphql-codegen/client-preset Minor
@graphql-codegen/gql-tag-operations-preset Minor
@graphql-codegen/plugin-helpers Minor
@graphql-cli/codegen Patch
babel-optimized Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Feb 3, 2023

🚀 Snapshot Release (alpha)

The latest changes of this PR are available as alpha on npm (based on the declared changesets):

Package Version Info
@graphql-cli/codegen 3.0.1-alpha-20230215074613-e5b8a15b0 npm ↗︎ unpkg ↗︎
@graphql-codegen/cli 3.1.0-alpha-20230215074613-e5b8a15b0 npm ↗︎ unpkg ↗︎
@graphql-codegen/core 3.0.1-alpha-20230215074613-e5b8a15b0 npm ↗︎ unpkg ↗︎
@graphql-codegen/add 4.0.1-alpha-20230215074613-e5b8a15b0 npm ↗︎ unpkg ↗︎
@graphql-codegen/fragment-matcher 4.0.1-alpha-20230215074613-e5b8a15b0 npm ↗︎ unpkg ↗︎
@graphql-codegen/introspection 3.0.1-alpha-20230215074613-e5b8a15b0 npm ↗︎ unpkg ↗︎
@graphql-codegen/schema-ast 3.0.1-alpha-20230215074613-e5b8a15b0 npm ↗︎ unpkg ↗︎
@graphql-codegen/visitor-plugin-common 3.0.1-alpha-20230215074613-e5b8a15b0 npm ↗︎ unpkg ↗︎
@graphql-codegen/typescript-document-nodes 3.0.1-alpha-20230215074613-e5b8a15b0 npm ↗︎ unpkg ↗︎
@graphql-codegen/gql-tag-operations 2.0.1-alpha-20230215074613-e5b8a15b0 npm ↗︎ unpkg ↗︎
@graphql-codegen/typescript-operations 3.0.1-alpha-20230215074613-e5b8a15b0 npm ↗︎ unpkg ↗︎
@graphql-codegen/typescript-resolvers 3.0.1-alpha-20230215074613-e5b8a15b0 npm ↗︎ unpkg ↗︎
@graphql-codegen/typed-document-node 3.0.1-alpha-20230215074613-e5b8a15b0 npm ↗︎ unpkg ↗︎
@graphql-codegen/typescript 3.0.1-alpha-20230215074613-e5b8a15b0 npm ↗︎ unpkg ↗︎
@graphql-codegen/client-preset 2.1.0-alpha-20230215074613-e5b8a15b0 npm ↗︎ unpkg ↗︎
@graphql-codegen/gql-tag-operations-preset 2.1.0-alpha-20230215074613-e5b8a15b0 npm ↗︎ unpkg ↗︎
@graphql-codegen/graphql-modules-preset 3.0.1-alpha-20230215074613-e5b8a15b0 npm ↗︎ unpkg ↗︎
@graphql-codegen/testing 2.0.1-alpha-20230215074613-e5b8a15b0 npm ↗︎ unpkg ↗︎
@graphql-codegen/plugin-helpers 4.1.0-alpha-20230215074613-e5b8a15b0 npm ↗︎ unpkg ↗︎

@n1ru4l n1ru4l requested review from dotansimha and saihaj February 3, 2023 13:15
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Feb 3, 2023

🚀 Website Preview

The latest changes to the website are available as preview in: https://83a8e44d.graphql-code-generator.pages.dev

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.

2 participants