0.4.0 • Published 5 months ago

@wezom/graphql-codegen-configurator v0.4.0

Weekly downloads
-
License
BSD 3-Clause Lice...
Repository
github
Last release
5 months ago

@wezom/graphql-codegen-configurator

NPM version badge NPM license badge CI Test and Build

Preset generator from GraphQL operations to Typescript code for the @graphql-codegen

Coverage

StatementsBranchesFunctionsLines
StatementsBranchesFunctionsLines

Usage example

Create codegen.ts file in your project root directory and add the following code with your own source paths:

// codegen.ts
import { SplitEnumsConfigurator } from '@wezom/graphql-codegen-configurator';

const configurator = new SplitEnumsConfigurator({
	schema: 'src/gql/schema.graphql',
	outputDir: './src/gql/__generated__',
	documents: ['src/**/*.tsx', 'src/**/*.ts'],
});

export default configurator.create();
0.4.0

5 months ago

0.2.0

5 months ago

0.1.1

9 months ago

0.1.0

9 months ago

0.0.2

9 months ago

0.0.1

9 months ago