File tree Expand file tree Collapse file tree 4 files changed +749
-98
lines changed Expand file tree Collapse file tree 4 files changed +749
-98
lines changed Original file line number Diff line number Diff line change @@ -71,3 +71,6 @@ yarn-error.log
71
71
72
72
# Swap files
73
73
* .swp
74
+
75
+ # Codegen stuff
76
+ src /__generated__ /
Original file line number Diff line number Diff line change @@ -115,5 +115,11 @@ module.exports = {
115
115
] ,
116
116
} ,
117
117
} ,
118
+ {
119
+ resolve : "gatsby-plugin-typegen" ,
120
+ options : {
121
+ outputPath : "src/__generated__/gatsby-types.d.ts" ,
122
+ } ,
123
+ } ,
118
124
] ,
119
125
}
Original file line number Diff line number Diff line change 11
11
"clean" : " gatsby clean" ,
12
12
"test" : " echo \" Write tests! -> https://gatsby.dev/unit-testing\" && exit 1"
13
13
},
14
+ "resolutions" : {
15
+ "graphql" : " 15.5.2"
16
+ },
14
17
"dependencies" : {
15
18
"@graphql-tools/schema" : " 8.2.0" ,
16
19
"@weknow/gatsby-remark-twitter" : " 0.2.3" ,
23
26
"gatsby-plugin-google-analytics" : " 3.13.0" ,
24
27
"gatsby-plugin-less" : " 5.13.0" ,
25
28
"gatsby-plugin-react-helmet" : " 4.13.0" ,
29
+ "gatsby-plugin-typegen" : " ^2.2.4" ,
26
30
"gatsby-plugin-webfonts" : " 2.1.1" ,
27
31
"gatsby-source-filesystem" : " 3.13.0" ,
28
32
"gatsby-transformer-remark" : " 4.10.0" ,
You can’t perform that action at this time.
0 commit comments