chore(gatsby): Switch query running to use services (#24708)

* chore(gatsby): Switch query running to use services

* Fix typings

* Early return for empty queries

* Remove filesDirty

* Pass in graphqlRunner to services

* Pass in graphqlRunner into runPageQueries

* Pass in program to runStaticQueries and runPageQueries in develop

* Panic on missing store

* Remove unused props from context type

Co-authored-by: Sidhartha Chatterjee <me@sidharthachatterjee.com>
This commit is contained in:
GatsbyJS Bot
2020-06-03 09:46:18 +00:00
co-authored by Sidhartha Chatterjee
parent e9e8cb225f
commit d7be6313fe
+6 -1
View File
@@ -1898,7 +1898,12 @@
dependencies:
"@types/node" "*"
"@types/node@*", "@types/node@^8.5.7":
"@types/node@*":
version "14.0.6"
resolved "https://registry.yarnpkg.com/@types/node/-/node-14.0.6.tgz#f9e178b2da31a4b0ec60b64649e244c31ce18daf"
integrity sha512-FbNmu4F67d3oZMWBV6Y4MaPER+0EpE9eIYf2yaHhCWovc1dlXCZkqGX4NLHfVVr6umt20TNBdRzrNJIzIKfdbw==
"@types/node@^8.5.7":
version "8.10.61"
resolved "https://registry.yarnpkg.com/@types/node/-/node-8.10.61.tgz#d299136ce54bcaf1abaa4a487f9e4bedf6b0d393"
integrity sha512-l+zSbvT8TPRaCxL1l9cwHCb0tSqGAGcjPJFItGGYat5oCTiq1uQQKYg5m7AF1mgnEBzFXGLJ2LRmNjtreRX76Q==