14 lines
349 B
YAML
14 lines
349 B
YAML
|
overwrite: true
|
||
|
schema: "src/generated/schema.json"
|
||
|
documents: "src/**/*.graphql"
|
||
|
generates:
|
||
|
src/generated/graphql.tsx:
|
||
|
hooks:
|
||
|
afterOneFileWrite:
|
||
|
- yarn run eslint --fix src/generated/graphql.tsx
|
||
|
plugins:
|
||
|
- "typescript"
|
||
|
- "typescript-operations"
|
||
|
- "typescript-react-apollo"
|
||
|
config:
|
||
|
withHooks: true
|