Skip to content

tj-pre-commit/graphql-codegen-hook

Repository files navigation

Node.js CI

graphql-codegen-hook

pre-commit hook for graphql-code-generator

As a pre-commit hook

See pre-commit for instructions

Sample .pre-commit-config.yaml

-   repo: https://github.com/tj-pre-commit/graphql-codegen-hook
    rev: v1.0.0
    hooks:
      - id: graphql-codegen-hook
        stages: [commit]
        args: ['--config', 'codegen.yml']