File tree Expand file tree Collapse file tree 4 files changed +2373
-48
lines changed
Expand file tree Collapse file tree 4 files changed +2373
-48
lines changed Original file line number Diff line number Diff line change 55/.pnp
66.pnp.js
77
8+ # generated files
9+ /src /__generated__
10+
811# testing
912/coverage
1013
Original file line number Diff line number Diff line change 1+ overwrite : true
2+ schema : http://localhost:3000/
3+ generates :
4+ src/__generated__/gateway.ts :
5+ plugins :
6+ - typescript
Original file line number Diff line number Diff line change 1010 "@types/node" : " ^12.0.0" ,
1111 "@types/react" : " ^17.0.0" ,
1212 "@types/react-dom" : " ^17.0.0" ,
13+ "graphql" : " ^16.0.1" ,
1314 "react" : " ^17.0.2" ,
1415 "react-dom" : " ^17.0.2" ,
1516 "react-scripts" : " 4.0.3" ,
1617 "typescript" : " ^4.1.2" ,
1718 "web-vitals" : " ^1.0.1"
1819 },
1920 "scripts" : {
21+ "generate:types" : " graphql-codegen --config codegen.yml" ,
2022 "start" : " react-scripts start" ,
2123 "build" : " react-scripts build" ,
2224 "test" : " react-scripts test" ,
3941 " last 1 firefox version" ,
4042 " last 1 safari version"
4143 ]
44+ },
45+ "devDependencies" : {
46+ "@graphql-codegen/cli" : " ^2.2.2" ,
47+ "@graphql-codegen/typescript" : " ^2.3.0"
4248 }
4349}
You can’t perform that action at this time.
0 commit comments