From 277ce800fc8c82141c832513e7a7a5ab354f49a3 Mon Sep 17 00:00:00 2001 From: GatsbyJS Bot Date: Fri, 19 Jun 2020 12:45:11 +0000 Subject: [PATCH] refactor(gatsby): change bootstrap to use services (#24816) * Add typings for action arrays and thunks * Switch back to non-null assertion * Add comment * Refactor bootstrap into services * Use separate gql runner for bootstrap * Import reporter typings * Switch to new bootstrap * Fix imports * Add create pages * Add extract queries * Fix typings * Rebuild schema with sitepage * Rename context vars * Fix types * Update packages/gatsby/src/services/source-nodes.ts More descriptive name Co-authored-by: Ward Peeters * Changes from review * Bikeshed the function name * Better unhandled rejection handling * Update packages/gatsby/src/services/initialize.ts Co-authored-by: Peter van der Zee <209817+pvdz@users.noreply.github.com> * Changes from review * Format Co-authored-by: Ward Peeters Co-authored-by: Peter van der Zee <209817+pvdz@users.noreply.github.com> --- yarn.lock | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/yarn.lock b/yarn.lock index 97afcfc..d539c49 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1884,7 +1884,12 @@ dependencies: "@types/node" "*" -"@types/node@*", "@types/node@^8.5.7": +"@types/node@*": + version "14.0.13" + resolved "https://registry.yarnpkg.com/@types/node/-/node-14.0.13.tgz#ee1128e881b874c371374c1f72201893616417c9" + integrity sha512-rouEWBImiRaSJsVA+ITTFM6ZxibuAlTuNOCyxVbwreu6k6+ujs7DfnU9o+PShFhET78pMBl3eH+AGSI5eOTkPA== + +"@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==