diff options
author | ludovicm67 <ludovicmuller1@gmail.com> | 2020-02-12 23:09:45 +0100 |
---|---|---|
committer | ludovicm67 <ludovicmuller1@gmail.com> | 2020-02-12 23:09:45 +0100 |
commit | d0a6da286a28e79ae3bb75af41219c4cc4df20b0 (patch) | |
tree | c02a2641c78331a45af4623613136f4cdc51af17 /webui/codegen.yaml | |
parent | c2d18b3a9bec9933d2845ce3cfc6dd5b4f3ff348 (diff) | |
download | git-bug-d0a6da286a28e79ae3bb75af41219c4cc4df20b0.tar.gz |
webui: finish TypeScript conversion
Diffstat (limited to 'webui/codegen.yaml')
-rw-r--r-- | webui/codegen.yaml | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/webui/codegen.yaml b/webui/codegen.yaml index 1580632e..3cdb0517 100644 --- a/webui/codegen.yaml +++ b/webui/codegen.yaml @@ -2,22 +2,22 @@ schema: '../graphql/schema/*.graphql' overwrite: true documents: src/**/*.graphql generates: - ./src/fragmentTypes.js: + ./src/fragmentTypes.ts: plugins: - - fragment-matcher + - fragment-matcher config: module: es2015 ./src/gqlTypes.ts: plugins: - - typescript + - typescript ./src/schema.json: plugins: - - introspection + - introspection ./src/: plugins: - - add: '/* eslint-disable @typescript-eslint/no-unused-vars, import/order */' - - typescript-operations - - typescript-react-apollo + - add: '/* eslint-disable @typescript-eslint/no-unused-vars, import/order */' + - typescript-operations + - typescript-react-apollo preset: near-operation-file presetConfig: extension: .generated.tsx @@ -29,4 +29,4 @@ generates: hooks: afterAllFileWrite: - - prettier --write + - prettier --write |