mirror of
https://github.com/datahub-project/datahub.git
synced 2025-07-23 17:39:59 +00:00
25 lines
644 B
YAML
25 lines
644 B
YAML
overwrite: true
|
|
schema: './datahub-frontend.graphql' # TEMPORARY: This should live in `../datahub-frontend/`
|
|
config:
|
|
scalars:
|
|
Long: number
|
|
documents:
|
|
- 'src/**/*.graphql'
|
|
generates:
|
|
src/types.generated.ts:
|
|
plugins:
|
|
- 'typescript'
|
|
src/:
|
|
preset: near-operation-file
|
|
presetConfig:
|
|
extension: '.generated.ts'
|
|
baseTypesPath: types.generated.ts
|
|
plugins:
|
|
- 'typescript-operations'
|
|
- 'typescript-react-apollo'
|
|
- add:
|
|
content: '/* eslint-disable */'
|
|
hooks:
|
|
afterAllFileWrite:
|
|
- prettier --write
|