@n1ru4l/graphql-codegen-relay-optimizer-plugin
TypeScript icon, indicating that this package has built-in type declarations

5.0.0 • Public • Published

@n1ru4l/graphql-codegen-relay-optimizer-plugin CircleCI

Description

GraphQL Codegen Plugin for bringing the benefits of Relay to GraphQL Codegen.

Current List of Features

Install Instructions npm

yarn add -D -E @n1ru4l/graphql-codegen-relay-optimizer-plugin

Usage Instructions

codegen.yml

overwrite: true
schema: schema.graphql
generates:
  src/generated-types.tsx:
    documents: "src/documents/**/*.graphql"
    config:
      skipDocumentsValidation: true
    plugins:
      - "@n1ru4l/graphql-codegen-relay-optimizer-plugin"
      - "typescript"
      - "typescript-operations"
      - "typescript-react-apollo"

Package Sidebar

Install

npm i @n1ru4l/graphql-codegen-relay-optimizer-plugin

Weekly Downloads

514

Version

5.0.0

License

MIT

Unpacked Size

13.2 kB

Total Files

11

Last publish

Collaborators

  • n1ru4l