parent
0a5d2e2c84
commit
4fa7238999
@ -0,0 +1,20 @@ |
||||
import { CodegenConfig } from '@graphql-codegen/cli'; |
||||
|
||||
const config: CodegenConfig = { |
||||
schema: 'https://docs.github.com/public/schema.docs.graphql', |
||||
// this assumes that all your source files are in a top-level `src/` directory - you might need to adjust this to your file structure
|
||||
documents: ['src/**/*.{ts,tsx}'], |
||||
generates: { |
||||
'./libs/remix-ui/git/src/types/': { |
||||
preset: 'client', |
||||
plugins: [], |
||||
presetConfig: { |
||||
gqlTagName: 'gql', |
||||
} |
||||
} |
||||
}, |
||||
overwrite: true, |
||||
ignoreNoDocuments: true, |
||||
}; |
||||
|
||||
export default config; |
Loading…
Reference in new issue