File tree 3 files changed +390
-44
lines changed
3 files changed +390
-44
lines changed Original file line number Diff line number Diff line change
1
+ overwrite : true
2
+ schema : " app/javascript/graphql/schema.graphql"
3
+ documents : " app/javascript/**/*.tsx"
4
+ generates :
5
+ app/javascript/graphql/types.tsx :
6
+ plugins :
7
+ - " typescript"
8
+ - " typescript-operations"
9
+ - " typescript-react-apollo"
Original file line number Diff line number Diff line change 19
19
},
20
20
"version" : " 0.1.0" ,
21
21
"devDependencies" : {
22
- "@graphql-codegen/cli" : " ^ 2.6.2" ,
22
+ "@graphql-codegen/cli" : " 2.6.2" ,
23
23
"@types/react" : " ^17.0.39" ,
24
- "webpack-dev-server" : " ^3"
24
+ "webpack-dev-server" : " ^3" ,
25
+ "@graphql-codegen/typescript" : " 2.4.5" ,
26
+ "@graphql-codegen/typescript-operations" : " 2.3.2" ,
27
+ "@graphql-codegen/typescript-react-apollo" : " 3.2.8"
28
+ },
29
+ "scripts" : {
30
+ "gql:codegen" : " graphql-codegen --config codegen.yml"
25
31
}
26
- }
32
+ }
You can’t perform that action at this time.
0 commit comments