Skip to content

Commit 6aedb9c

Browse files
committed
refactor: update to latest codegen/cli and best practices
1 parent dd67458 commit 6aedb9c

6 files changed

+8056
-16
lines changed

codegen.ts

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import { CodegenConfig } from "@graphql-codegen/cli";
2+
3+
const config: CodegenConfig = {
4+
schema: "schema.graphql",
5+
documents: "document.graphql",
6+
generates: {
7+
"types.ts": { plugins: ["typescript", "typescript-operations"] },
8+
},
9+
};
10+
11+
export default config;

codegen.yml

-7
This file was deleted.

0 commit comments

Comments
 (0)