Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: mark plugins as optional #8893

Merged
merged 2 commits into from
Feb 15, 2023
Merged

feat: mark plugins as optional #8893

merged 2 commits into from
Feb 15, 2023

Conversation

n1ru4l
Copy link
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

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
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 ↗︎

@github-actions
Copy link
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