mirror of
https://github.com/MichaelMure/git-bug.git
synced 2024-12-14 08:45:30 +03:00
32 lines
605 B
YAML
32 lines
605 B
YAML
schema: '../graphql/schema/*.graphql'
|
|
overwrite: true
|
|
documents: src/**/*.graphql
|
|
generates:
|
|
./src/fragmentTypes.js:
|
|
plugins:
|
|
- fragment-matcher
|
|
config:
|
|
module: es2015
|
|
./src/gqlTypes.ts:
|
|
plugins:
|
|
- typescript
|
|
./src/:
|
|
plugins:
|
|
- typescript-operations
|
|
- typescript-react-apollo
|
|
preset: near-operation-file
|
|
presetConfig:
|
|
extension: .generated.tsx
|
|
baseTypesPath: gqlTypes.ts
|
|
config:
|
|
withComponent: false
|
|
withHOC: false
|
|
withHooks: true
|
|
|
|
config:
|
|
documentMode: documentNode
|
|
|
|
hooks:
|
|
afterOneFileWrite:
|
|
- prettier --write
|