-
Notifications
You must be signed in to change notification settings - Fork 10.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(gatsby): call predicate for the root ancestor in findRootNodeAncestor #25974
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gatsbot
bot
added
the
status: triage needed
Issue or pull request that need to be triaged and assigned to a reviewer
label
Jul 23, 2020
vladar
changed the title
fix(gatsby): call predicate for the root ancestor in findRootNodeAnce…
fix(gatsby): call predicate for the root ancestor in findRootNodeAncestor
Jul 23, 2020
vladar
added
status: needs core review
Currently awaiting review from Core team member
and removed
status: triage needed
Issue or pull request that need to be triaged and assigned to a reviewer
labels
Jul 23, 2020
Gatsby Cloud Build Report🎉 Your build was successful! See the Deploy preview here. Build Details🕐 Build time: 1m PerformanceLighthouse report
|
freiksenet
approved these changes
Jul 23, 2020
vladar
added
the
bot: merge on green
Gatsbot will merge these PRs automatically when all tests passes
label
Jul 23, 2020
KyleAMathews
pushed a commit
that referenced
this pull request
Jul 29, 2020
johno
added a commit
that referenced
this pull request
Aug 3, 2020
* feat(gatsby-recipes): Pass data retrieved from the resource to its children via context * chore(gatsby-recipes): Swap out Promise.all for a true queue * feat(gatsby-recipes): Implement a render loop for nested resources * Continue spiking out recipes gui * Hardcode the project root in a clear place for now * Join plan steps in order to create entire recipe plan at once + initial efforts on GUI * WIP * feat(gatsby-recipes): Implement a wait for input state when props are missing for a resource * chore(gatsby-recipes): Use an INVALID_PROP event for schema validation * feat(gatsby-recipes): Wrap intro and each step with components, add metadata * chore(gatsby-recipes): Spike out basic gui component for steps * feat(gatsby-recipes): Pass data retrieved from the resource to its children via context * chore(gatsby-recipes): Swap out Promise.all for a true queue * feat(gatsby-recipes): Implement a render loop for nested resources * Continue spiking out recipes gui * Hardcode the project root in a clear place for now * Join plan steps in order to create entire recipe plan at once + initial efforts on GUI * WIP * feat(gatsby-recipes): Implement a wait for input state when props are missing for a resource * chore(gatsby-recipes): Use an INVALID_PROP event for schema validation * feat(gatsby-recipes): Wrap intro and each step with components, add metadata * chore(gatsby-recipes): Spike out basic gui component for steps * Lots of styling changes * Put text & resources in same steps * Lots more styling tweaks * paragraphs had too much margin bottom * more style tweaks * feat(gatsby-recipes): Implement a wait for input state when props are missing for a resource Also adds the use of an INVALID_PROP event for schema validation. * chore(gatsby-recipes): Use MDX v2 canary for access to the JSX AST * feat(gatsby-recipes): Apply a UUID prop to all resources for input handling * checkin: Begin wiring up event for passing input data to server * fix(gatsby-recipes): Update step wrapping for MDX v2 * fix(gatsby-recipes): Get tests passing, add debugging output * Get applying working * PROGRESSSSS * feat(gatsby-recipes): Allow for inputs based on uuid to override props * Remove sleep * style tweaks * Add updater to input provider, spike out File form * feat(gatsby-recipes): Implement basic input functionality * feat(gatsby-recipes): Spike out a contentful space resource, use renderer for applying plan * feat(gatsby-recipes): Spike out contentful provider and basic rendering (#24655) * feat(gatsby-recipes): Spike out contentful provider and basic rendering * Update packages/gatsby-recipes/src/gui.js * WIP * More design tweaks * Style inline code * Update packages/gatsby-recipes/recipes/cypress.mdx Co-authored-by: Marcy Sutton <marcy@gatsbyjs.com> * Update packages/gatsby-recipes/recipes/cypress.mdx Co-authored-by: Marcy Sutton <marcy@gatsbyjs.com> * Update packages/gatsby-recipes/recipes/cypress.mdx Co-authored-by: Marcy Sutton <marcy@gatsbyjs.com> * feat(gatsby-recipes): fix MDX rendering for exports (#25133) * feat(gatsby-recipes): Handle exports, render MDX directly * Continue working towards proper exports * Continue implementing MDX renderer v2 * More MDX rendering hacking * Finish basic export handling * Small fixes Co-authored-by: John Otander <johnotander@gmail.com> * live updating is working more-or-less * Speedups & cleanups * Rename hook to match signature * Rename context * Add support for useResourceByKey * fix @babel/template not accepting integers as options * Only update resources when it's changed * make child Resource components work * rename useResourceByKey -> useResource * Implement ContentfulEntry resource * Add useProvider & ensure only apply resource once * Address some design feedback * Fix spacing for input forms * Fix spacing and size of step indicator * Flatten nested resources in display * Use input builtins from gatsby-interface * Add special file diff * Get things running again * Reload recipe session on changes - when the recipe file is updated - when the recipe api is restarted - when the browser is refreshed. * Update tests * Only emit updates when the state has actually changed * Fix building recipe component * update resolutions/dependencies * fix fetch dependency * moer fixes * Upgrade to Ink v3 & start migrating cli to showing all steps * Properly handle nested resources when rendering the plan (#25930) * Don't hardcode port * Ensure that nested resource get resourceName populated * feat(gatsby-recipes): Refactor CLI UI for new one-shot show plan (#25939) * feat(gatsby-recipes): Refactor CLI UI for new one-shot show plan * Restore experimental message + showing list of recipes to run * Add a --develop command for hot-reloading of recipes * Add --install command support * Remove unused code + old pre Ink v3 logging system * Cleanup + show step count * Remove console.log * add key * small fixes + add script to start dev server * Add dev instructions for running the recipes graphql server in the foreground * small fixes * @babel/standalone caches transforms unless you delete the require cache * fix linting problems * Extract shared code into common library * Checkin useInput beginning * Ensure that diff html isn't rendered by escaping * Update providers snapshots, looked like they weren't run with chalk turned off * Update other snapshots as well * Begin fixing some lint errors * Fix some more lint errors * Fix grabbing the right resource Co-authored-by: John Otander <johnotander@gmail.com> * move back to v2 for deploying for compatability with the regular CLI * Also do a compatability layer for <Box> * test * Add missing dependency * sad * Add rollup to bundle the cli app so we can use Ink v3 * Move packages packed by rollup to be dev dependencies as user won't need to download them * Remove console.logs * Remove logs * feat(gatsby-recipes): copy edits for some recipes (#26009) * Fix rendering li > p * Fix formatting of emotion recipe * Improve recipe * Name of key changed * Match keyed resources correctly in the install step + cleanups * Fix linting errors * fix margin * Surround inlineCode with back ticks so it looks like markdown * vendor ink-link as it's not upgraded to v3 yet * feat(gatsby-recipes) (#26085) * prettier file * Fix linting errors * feat(gatsby-recipes): fix recipes copy 2 (#26115) * feat(gatsby-recipes) * second half of copy edits donezo! * feat(gatsby-source-shopify): Add shopifyShop query (#25763) * Start moving gatsby-telemetry to typescript (#25812) * Fix camelCase * Start moving gatsby-telemetry to ts * Continue converting base to typescript * Debug transpilation issues * Debug transpilation issues * Fix telemetry tests * Add Changelog entry for merged PR #24306 * chore(gatsby-telemetry): Migrate is-truthy to TypeScript (#25884) * Detect vercel again after rebranding in gatsby-telemetry (#25883) * Detect vercel again after rebranding as per https://vercel.com/docs/v2/build-step * Add another Vercel NOW matcher * chore(gatsby-telemetry): Migrate flush to TypeScript (#25886) * feat(gatsby-source-shopify): set link from product variant to product (#25316) * fix: update www (#25874) Co-authored-by: Renovate Bot <bot@renovateapp.com> * docs(gatsby-internals): update page -> node dependency tracking (#25606) * docs(gatsby-internals): update page -> node dependency tracking * Apply suggestions from code review Co-authored-by: Aisha Blake <aisha@gatsbyjs.com> * remove surplus `and` from performance comma list (#25891) * fixed typo (#25896) * fix(gatsby): Support symlinks in static directories (#25894) * Added the link to 'MDX' (#25905) * Update localization-i18n.md (#25902) Some important links for **React-intl** had broken due to update in repo whose links were given. Added the correct links to it. * added a cookieflags option (#25907) Co-authored-by: Thijs van Diessen <thijs.vandiessen@incentro.com> * fix(readme): gatsby-source-shopify: unify variable names (#25882) * chore(showcase): Add MongoDB Developer Hub (#25892) * Add file names to code blocks (#25879) * enhancement(docs): dictionary.txt -> CodePen -> fix brand name (#25875) * feat(gatsby-admin): list all pages of site (#25744) * feat(gatsby-admin): plugin search (#25903) * Copy plugin search from www into admin * Move to Combobox search * Cleanup * TypeScript cleanup * add algolia types * Fix syntax * fix: Restore CLI port in use prompt feature (#25863) * fix: Restore CLI port in use prompt feature Seems like it got accidentally removed during a big PR? * fix: Ensure port var types are the same The CLI option and default value for `port` is a string, despite the TypeScript typing the arg to `number`. Unclear if `port` should be a `number` elsewhere, so checking for and converting to a number within the utility. * Fix/follow up 25863 (#25915) * fix: Restore CLI port in use prompt feature Seems like it got accidentally removed during a big PR? * fix: Ensure port var types are the same The CLI option and default value for `port` is a string, despite the TypeScript typing the arg to `number`. Unclear if `port` should be a `number` elsewhere, so checking for and converting to a number within the utility. * Force program.port to a number early Co-authored-by: polarathene <5098581+polarathene@users.noreply.github.com> * chore(release): Publish - babel-preset-gatsby@0.5.3 - gatsby-admin@0.1.97 - gatsby-cli@2.12.64 - gatsby-core-utils@1.3.13 - gatsby-page-utils@0.2.18 - gatsby-plugin-google-analytics@2.3.13 - gatsby-plugin-manifest@2.4.20 - gatsby-plugin-mdx@1.2.28 - gatsby-plugin-offline@3.2.20 - gatsby-plugin-page-creator@2.3.18 - gatsby-plugin-preload-fonts@1.2.18 - gatsby-plugin-sharp@2.6.21 - gatsby-recipes@0.1.54 - gatsby-remark-images@3.3.20 - gatsby-source-contentful@2.3.29 - gatsby-source-drupal@3.5.24 - gatsby-source-filesystem@2.3.21 - gatsby-source-shopify@3.2.23 - gatsby-source-wordpress@3.3.24 - gatsby-telemetry@1.3.21 - gatsby-transformer-remark@2.8.26 - gatsby-transformer-sqip@2.3.21 - gatsby@2.24.8 * Capture repositoryId from heroku (#25910) * Capture repositoryId from heroku * Add comments * fixed typo (#25912) * Update README.md (#25901) No need to link to `example.com` it's a sample domain. * Add __BASE_PATH__ definition to storybook config (#25643) * Add __BASE_PATH__ definition to storybook config * Globals need not be defined for Storybook Docs Update to Docs: Removes the need to declare the `__BASE_PATH__` and `__PATH_PREFIX__` in the Storybook config for Tests to work * fix(gatsby): don't place virtual modules in node_modules directory (#25720) * fix(gatsby): don't place virtual modules in node_modules directory * fix eslint rule Co-authored-by: Ward Peeters <ward@coding-tech.com> * chore(doc):Add guide to Deploy Gatsby to DigitalOcean droplet. (#24652) * Added doc for deploying to digitalocean droplet Added doc for deploying gatsby site to digitalocean droplet and configuring domain name with SSL. For issue #24549 . * Updated with deploying to digitalocean droplet doc Updated with deploying to digitalocean droplet doc to fix issue #24549. * Added missing code language flag to fix lint check Lint Check failed due to one code language flag was missing in one of the code snippet in the md file. Fixed that. * Updated grammar and styles as per code review Co-authored-by: Marcy Sutton <marcy@gatsbyjs.com> * Removed the line for brevity * Updated grammar change for line #11 as per code review * Ran prettier to format the code * Added step to install dependencies after cloning * Change case of node to Node as per suggestion. Co-authored-by: Marcy Sutton <marcy@gatsbyjs.com> * Changing optional to required for installing version of Node Gatsby required Node 10, so making the use of n package while installing the Node on digitalocean as a REQUIRED step. Co-authored-by: Marcy Sutton <marcy@gatsbyjs.com> * Adding suggested changes for better understanding. Co-authored-by: Marcy Sutton <marcy@gatsbyjs.com> * Adding the suggested changes. Using "Generate your Gatsby site for production" instead of "Build your gatsby site to generate static site for production" Co-authored-by: Marcy Sutton <marcy@gatsbyjs.com> * Making changes as per suggestion by moderator Making the docs style changes as suggested by moderator marcysutton Co-authored-by: Marcy Sutton <marcy@gatsbyjs.com> * Making changes as per suggestion Co-authored-by: Marcy Sutton <marcy@gatsbyjs.com> * Making changes as per the suggestion Co-authored-by: Marcy Sutton <marcy@gatsbyjs.com> * Update docs/docs/deploying-to-digitalocean-droplet.md Co-authored-by: Marcy Sutton <marcy@gatsbyjs.com> * Making changes as per the suggestion Adding path resemble line to make it easy for people to understand the path Co-authored-by: Marcy Sutton <marcy@gatsbyjs.com> * Adding changes as per the suggestion Co-authored-by: Marcy Sutton <marcy@gatsbyjs.com> * Making changes as per the suggestion Co-authored-by: Marcy Sutton <marcy@gatsbyjs.com> * Added snippet to get rid of permission denied Added snippet to get rid of permission denied while cloning the repository * Adding indentation as per linting rules * Ran prettier * Updating grammar as per suggested Co-authored-by: Marcy Sutton <marcy@gatsbyjs.com> * Added note to copy local repo path for future ref * Ran prettier to format the code Co-authored-by: Marcy Sutton <marcy@gatsbyjs.com> * Update migrating-from-v1-to-v2.md (#25832) * fix dictionary for digitalocean guide (#25936) * fix(docs): show where `getNodesByType` comes from (#25344) * show where getNodesByType comes from * indicate the code is an example per PR feedback Co-authored-by: Marcy Sutton <marcy@gatsbyjs.com> Co-authored-by: Marcy Sutton <marcy@gatsbyjs.com> * chore(docs): Changes to "Setting Up Your Local Dev Environment" doc (#25721) * chore(gatsby): add log to gatsby develop if Admin is enabled (#25943) * feat(gatsby): Defer node mutation during querying (#25479) * Move bootstrap into machine * Add parent span and query extraction * Add rebuildSchemaWithSitePage * Use values from context * Remove logs * Add redirectListener * Changes from review * Log child state transitions * Add state machine for query running * Changes from review * Changes from review * Switch to reporter * Use assertStore * Remove unused action * Remove unusued config * Remove unusued config * Add gql runner reset * Handle node mutation queuing and batching in state machine * Use new pagedata utils * Use develop queue * New xstate syntax * Work-around xstate bug * Track first run * Track first run * Disable --quiet in e2e * Don't defer node mutation if we're outside the state machine * Re-quieten e2e * Listen for query file changes * Lint * Handle webhook * Changes from review * Fix typings * Changes from review * Typefix * feat(gatsby): Move final parts into develop state machine (#25716) * Move remaining parts into state machine * Move top level state machine into state machines dir * Add machine ids * Add missing imports * Resolve api promises * Remove unused action * Move logging into helper * Changes from review * Manually save db * Add comments * Remove first run from query running * Refactor into separate data layer machines * Fix condition Co-authored-by: gatsbybot <mathews.kyle+gatsbybot@gmail.com> * chore(release): Publish - gatsby-admin@0.1.98 - gatsby-cli@2.12.65 - gatsby-recipes@0.1.55 - gatsby-source-contentful@2.3.30 - gatsby-source-drupal@3.5.25 - gatsby-source-filesystem@2.3.22 - gatsby-source-shopify@3.2.24 - gatsby-source-wordpress@3.3.25 - gatsby-telemetry@1.3.22 - gatsby@2.24.9 * fix(docs): Fix broken mdx (#25946) * chore(gatsby-admin): build in postbuild of gatsby instead of prepublish (#25940) * Move admin to postbuild of gatsby * Remove prepublish gatsby-admin build * Dont run tests in .cache * Ignore _tests_ in .cache * Use local copy of Gatsby to build gatsby-admin * perf(gatsby-source-contentful): speed up resolving of huge spaces (#25954) closes #25464 * docs: use hello-world starter in quick start guide instead of default starter (#25914) * Small tweak to see if we can reduce errors driven by the default starter using and its dependency on sharp. * chore: format * Reverted working directory name A change to address feedback about changing the name to preserve continuity with current manual recipes. Co-authored-by: gatsbybot <mathews.kyle+gatsbybot@gmail.com> * chore(docs): Fix RFC typo (#25970) * chore(gatsby-admin): cleanup stale artifacts pre build (#25972) * Handle webpack in state machine (#25815) Co-authored-by: gatsbybot <mathews.kyle+gatsbybot@gmail.com> * chore(release): Publish - gatsby-admin@0.1.99 - gatsby-source-contentful@2.3.31 - gatsby@2.24.10 * fix(gatsby-admin): show error messages in the interface (#25944) * docs(gatsby-admin): more detailed architecture explanation (#25941) * Write more detailed Admin architecture docs * Add section on production deployment to gatsby-admin docs * Absolute URLs so they work on npm etc. * Fix pronouns and wording * Clean up some more * Tighten up language around production deployment Co-authored-by: Brent Jackson <jxnblk@gmail.com> * Update packages/gatsby-admin/README.md Co-authored-by: Brent Jackson <jxnblk@gmail.com> Co-authored-by: Brent Jackson <jxnblk@gmail.com> * fix(gatsby): call predicate for the root ancestor in findRootNodeAncestor (#25974) * fix(gatsby-admin): small design tweaks (#25971) * feat(gatsby): Add internal types export (#25921) * Handle webpack in state machine * Add internal export * feat(plugin-manifest): support SVG favicon (#25276) Co-authored-by: Yogi <me@yogi.codes> * maintenance(www) remove unused dependencies (#25463) Co-authored-by: Aisha Blake <aisha@gatsbyjs.com> * Update contributor-swag.md (#25980) Based on a recent increase in the volume of requests, I'm updating how people can request their free Gatsby swag for contributions that aren't made on GitHub. * feat(gatsby-source-filesystem): improve wrong url rejection message (#25965) * feat(gatsby-source-filesystem: improve wrong url rejection message The existing message made tracing down a bug from within the new WP source plugin harder than necessary. Old message: `wrong url: ${url}` Updated message: `url passed to createRemoteFileNode is either missing or not a proper web uri: ${url}` * chore: format * update rejects test to match new message Co-authored-by: gatsbybot <mathews.kyle+gatsbybot@gmail.com> * Also detect VERCEL_BUILDER should Vercel one day use it as per the docs (#25926) * fix(babel-preset-gatsby): enable transformer-regenerator (#25983) * fix(docs): bash to shell (#25958) * change bash to shell * dont change text file code language * chore: add tests to static-query filepaths (#25978) * chore: add tests to static-query filepaths * fix windows paths * chore(release): Publish - babel-preset-gatsby@0.5.4 - gatsby-admin@0.1.100 - gatsby-cli@2.12.66 - gatsby-core-utils@1.3.14 - gatsby-page-utils@0.2.19 - gatsby-plugin-manifest@2.4.21 - gatsby-plugin-mdx@1.2.29 - gatsby-plugin-offline@3.2.21 - gatsby-plugin-page-creator@2.3.19 - gatsby-plugin-preload-fonts@1.2.19 - gatsby-plugin-sharp@2.6.22 - gatsby-recipes@0.1.56 - gatsby-remark-images@3.3.21 - gatsby-source-contentful@2.3.32 - gatsby-source-drupal@3.5.26 - gatsby-source-filesystem@2.3.23 - gatsby-source-shopify@3.2.25 - gatsby-source-wordpress@3.3.26 - gatsby-telemetry@1.3.23 - gatsby-transformer-remark@2.8.27 - gatsby-transformer-sqip@2.3.22 - gatsby@2.24.11 * highlighted plugins (#25998) * Revert "perf(gatsby-plugin-mdx): drop another babel step during sourcing" (#26002) This reverts commit 6d0c791. * fix: Enable CLI integration tests (#25997) * [docs][glossary] add new entry for client-side rendering (#25984) * add new glossary entry for client-side routing * update text to address rendering vs. routing * Add link to page, rather than anchor Co-authored-by: Hashim Warren <hashim@gatsbyjs.com> * fix: do not augment plugin-options (#26006) * fix(gatsby-recipes) Fix docs for name in NPMPackage * fix: update www (#26043) Co-authored-by: Renovate Bot <bot@renovateapp.com> * Added extra markup (#26030) * Added extra markup I found some js code which was not highlighted so I wrapped it in js code block, secondly, I added the link to reach/router as it was confusing if its react/router or reach/router * added the link to reach/router * Update glossary.md * chore(showcase): Add leanier.com site (#26016) * Add support for cache refresh via GraphiQL (#25960) * Add cache refresh button * Formatting * Explicit return type * www: Remove sw (#26054) * Docs: Add a warning about static queries (#25929) * feat(gatsby): Add top-level error handling to state machine (#25995) * chore: Update stale yarn.lock (#26068) * tests(gatsby): Add unit tests for develop state machine (#26051) * feat(gatsby): Add top-level error handling to state machine * Add initial tests * Add tests for top-level machine * Test error handling * Add post-bootstrap to tests * chore(showcase): Add johnkavanagh.co.uk (#25747) * chore(showcase): Minor changes Showcase Tatjana Volbeke Portfolio (#25613) * fix(gatsby): Defer node mutation in more APIs (#26067) * chore(release): Publish - gatsby-admin@0.1.101 - gatsby-cli@2.12.67 - gatsby-graphiql-explorer@0.4.12 - gatsby-plugin-mdx@1.2.30 - gatsby-plugin-sharp@2.6.23 - gatsby-recipes@0.1.57 - gatsby-remark-copy-linked-files@2.3.12 - gatsby-remark-images-contentful@2.3.12 - gatsby-remark-images@3.3.22 - gatsby-remark-responsive-iframe@2.4.12 - gatsby-source-contentful@2.3.33 - gatsby-transformer-sqip@2.3.23 - gatsby@2.24.12 * chore(showcase): add Julien Karst website (#25682) Co-authored-by: Obinna Ekwuno <obinnacodes@gmail.com> * chore(showcase): BRIKL & TRUE STORY in showcase (#25631) * chore(showcase): BRIKL & TRUE STORY in showcase * chore(showcase): run prettier sites.yml Co-authored-by: Obinna Ekwuno <obinnacodes@gmail.com> * chore(blog): Add i18n theme blog post (#26065) * add blog post * fix linting * put head in code tag lol * chore(showcase): add Château de Morey 🏰 (#25683) Co-authored-by: Obinna Ekwuno <obinnacodes@gmail.com> * chore(showcase): meetup.com (#25792) Co-authored-by: Obinna Ekwuno <obinnacodes@gmail.com> * chore(gatsby): fix typegen for publishing (#26078) * chore(gatsby): add typescript as dev dependency * chore(gatsby): run typegen after rimraf * fix(gatsby): Delete babel and terser cache dirs (#26053) * Delete babel and terser cache dirs * Clean up yarn lock * fix yarn.lock (?) * verbose gatsby-dev * chore(gatsby): add typescript as dev dependency * Update e2e-test.sh * chore(gatsby): run typegen after rimraf Co-authored-by: Michal Piechowiak <misiek.piechowiak@gmail.com> Co-authored-by: gatsbybot <mathews.kyle+gatsbybot@gmail.com> * fix(gatsby): Load static query results from its own Db (#26077) * Load static query results from its own Db * Keep StaticQueryContext because it is public API * Switch to an Object for static query results from a Map * Move getStaticQueryResults to private API * chore(release): Publish - gatsby-admin@0.1.102 - gatsby@2.24.13 * fix(gatsby-image): add required check for one of fluid or fixed (#25371) * Do not crash the page if the image component is invoked without parameters * added a warning if missing fluid and fixed props * had swapped a condition * doing destructuring in function parameter list * now with functioning tree-shaking * updating function doc: returns undefined, not null * switching to proptypes for validation * Update packages/gatsby-image/src/index.js Co-authored-by: Andreas Ehrencrona <andreas@scholarsapp.com> Co-authored-by: Ward Peeters <ward@coding-tech.com> * fix(gatsby): Load resources in ProdPageRenderer (#26092) * Load resources in ProdPageRenderer * Add simple unit tests * chore(release): Publish - gatsby-admin@0.1.103 - gatsby-image@2.4.14 - gatsby@2.24.14 * Update gatsby in www * Add plugincreator to API (#26101) * Add plugincreator to API * fix capitlization Co-authored-by: Laurie Barth <laurie@LauriesrkLaptop.fios-router.home> * chore(showcase): Add Devnet (#25952) Co-authored-by: Obinna Ekwuno <obinnacodes@gmail.com> * Add pluagin source for page (#26104) Co-authored-by: Laurie Barth <laurie@LauriesrkLaptop.fios-router.home> * fix(gatsby-source-contentful): support height parameter for srcset (#25776) * Calculate fixed image width if necessary * Calculate fixed image width if necessary * Revert snapshot test changes * Bring back new test * Update snapshot * chore(docs): Add author Colby Fayock (#26109) * adding Colby Fayock author avatar and bio * Update author.yaml adding new line at end of file * pretier * Use commonmark option to better handle list parsing * revert fixpack changes to root package.json * Squashed commit of the following: commit 33aff39 Author: Kyle Mathews <mathews.kyle@gmail.com> Date: Thu Jul 30 13:09:59 2020 -0700 Update index.md * Actually fix lint error * Fix test * more fixing tests * Only log when DEBUG=true * Remove --quiet to see errors * Add rollup * resolve conflicts * remove testing code * Make yarn.lock file valid * WORK PLEASE * Add yoga-layout-prebuilt as explicit dependency to make rollup + yarn 2.0 happy * Add node-fetch as dependency * Update packages/gatsby-recipes/src/graphql-server/server.js Co-authored-by: Peter van der Zee <209817+pvdz@users.noreply.github.com> * Use string matching for NPMPackage versions * Add missing string matcher * Fix lint error * Add missing normalize.css dep Co-authored-by: John Otander <johnotander@gmail.com> Co-authored-by: Marcy Sutton <marcy@gatsbyjs.com> Co-authored-by: shannonbux <32467162+shannonbux@users.noreply.github.com> Co-authored-by: Paul Scanlon <pauliescanlon@gmail.com> Co-authored-by: Jarmo Isotalo <jamo@isotalo.fi> Co-authored-by: Blaine Kasten <blainekasten@gmail.com> Co-authored-by: Johnny Zabala <jzabala.s@gmail.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: Michal Piechowiak <misiek.piechowiak@gmail.com> Co-authored-by: Aisha Blake <aisha@gatsbyjs.com> Co-authored-by: Michael Murphy <mikeymurph77@gmail.com> Co-authored-by: Dawood Sadiq <dawoodsadiq171@gmail.com> Co-authored-by: James Brooks <52410024+jabrks@users.noreply.github.com> Co-authored-by: Haseeb Khan <haseebasif97@gmail.com> Co-authored-by: Ankit Ghosh <33004850+kaknut@users.noreply.github.com> Co-authored-by: Thijs <thijsvandiessen@users.noreply.github.com> Co-authored-by: Thijs van Diessen <thijs.vandiessen@incentro.com> Co-authored-by: Muescha <184316+muescha@users.noreply.github.com> Co-authored-by: Jordan Stapinski <jordan.stapinski@mongodb.com> Co-authored-by: Max Stoiber <contact@mxstbr.com> Co-authored-by: Brennan Kinney <5098581+polarathene@users.noreply.github.com> Co-authored-by: Nabeel Valley <36758308+nabeelvalley@users.noreply.github.com> Co-authored-by: Ward Peeters <ward@coding-tech.com> Co-authored-by: Vatsal Mistry <mistryvatsal11@gmail.com> Co-authored-by: Jack <jpwww@protonmail.com> Co-authored-by: Kurt Tomlinson <kurttomlinson@gmail.com> Co-authored-by: Lennart <lekoarts@gmail.com> Co-authored-by: Matt Kane <matt@gatsbyjs.com> Co-authored-by: gatsbybot <mathews.kyle+gatsbybot@gmail.com> Co-authored-by: Benedikt Rötsch <axe312ger@users.noreply.github.com> Co-authored-by: Joel Smith <jsumnersmith@gmail.com> Co-authored-by: Brent Jackson <jxnblk@gmail.com> Co-authored-by: Vladimir Razuvaev <vladimir.razuvaev@gmail.com> Co-authored-by: Alex Moon <moonmeister@users.noreply.github.com> Co-authored-by: Yogi <me@yogi.codes> Co-authored-by: Nat Alison <1278991+tesseralis@users.noreply.github.com> Co-authored-by: Laci-Texter <46265213+Laci-Texter@users.noreply.github.com> Co-authored-by: Tyler Barnes <tylerdbarnes@gmail.com> Co-authored-by: LB <laurie@gatsbyjs.com> Co-authored-by: Hashim Warren <hashim@gatsbyjs.com> Co-authored-by: anubhavmeet <57403244+anubhavmeet@users.noreply.github.com> Co-authored-by: Dan Kirkham <herecy@live.co.uk> Co-authored-by: Sidhartha Chatterjee <me@sidharthachatterjee.com> Co-authored-by: John Kavanagh <mail@johnkavanagh.co.uk> Co-authored-by: Julius <jlsvaicius@users.noreply.github.com> Co-authored-by: Julien Karst <JulienKode@users.noreply.github.com> Co-authored-by: Obinna Ekwuno <obinnacodes@gmail.com> Co-authored-by: Tobias Meixner <MeixnerTobias@users.noreply.github.com> Co-authored-by: Andy Stanberry <astanberry@meetup.com> Co-authored-by: Andreas Ehrencrona <andreas.ehrencrona@velik.it> Co-authored-by: Andreas Ehrencrona <andreas@scholarsapp.com> Co-authored-by: Laurie Barth <laurie@LauriesrkLaptop.fios-router.home> Co-authored-by: Marin Matošević <7361552+Marin-Matosevic@users.noreply.github.com> Co-authored-by: Sean Baines <mrseanbaines@gmail.com> Co-authored-by: Colby Fayock <colbyfayock@users.noreply.github.com> Co-authored-by: Peter van der Zee <209817+pvdz@users.noreply.github.com>
blainekasten
added a commit
that referenced
this pull request
Aug 6, 2020
* feat(gatsby-recipes): Pass data retrieved from the resource to its children via context * chore(gatsby-recipes): Swap out Promise.all for a true queue * feat(gatsby-recipes): Implement a render loop for nested resources * Continue spiking out recipes gui * Hardcode the project root in a clear place for now * Join plan steps in order to create entire recipe plan at once + initial efforts on GUI * WIP * feat(gatsby-recipes): Implement a wait for input state when props are missing for a resource * chore(gatsby-recipes): Use an INVALID_PROP event for schema validation * feat(gatsby-recipes): Wrap intro and each step with components, add metadata * chore(gatsby-recipes): Spike out basic gui component for steps * feat(gatsby-recipes): Pass data retrieved from the resource to its children via context * chore(gatsby-recipes): Swap out Promise.all for a true queue * feat(gatsby-recipes): Implement a render loop for nested resources * Continue spiking out recipes gui * Hardcode the project root in a clear place for now * Join plan steps in order to create entire recipe plan at once + initial efforts on GUI * WIP * feat(gatsby-recipes): Implement a wait for input state when props are missing for a resource * chore(gatsby-recipes): Use an INVALID_PROP event for schema validation * feat(gatsby-recipes): Wrap intro and each step with components, add metadata * chore(gatsby-recipes): Spike out basic gui component for steps * Lots of styling changes * Put text & resources in same steps * Lots more styling tweaks * paragraphs had too much margin bottom * more style tweaks * feat(gatsby-recipes): Implement a wait for input state when props are missing for a resource Also adds the use of an INVALID_PROP event for schema validation. * chore(gatsby-recipes): Use MDX v2 canary for access to the JSX AST * feat(gatsby-recipes): Apply a UUID prop to all resources for input handling * checkin: Begin wiring up event for passing input data to server * fix(gatsby-recipes): Update step wrapping for MDX v2 * fix(gatsby-recipes): Get tests passing, add debugging output * Get applying working * PROGRESSSSS * feat(gatsby-recipes): Allow for inputs based on uuid to override props * Remove sleep * style tweaks * Add updater to input provider, spike out File form * feat(gatsby-recipes): Implement basic input functionality * feat(gatsby-recipes): Spike out a contentful space resource, use renderer for applying plan * feat(gatsby-recipes): Spike out contentful provider and basic rendering (#24655) * feat(gatsby-recipes): Spike out contentful provider and basic rendering * Update packages/gatsby-recipes/src/gui.js * WIP * More design tweaks * Style inline code * Update packages/gatsby-recipes/recipes/cypress.mdx Co-authored-by: Marcy Sutton <marcy@gatsbyjs.com> * Update packages/gatsby-recipes/recipes/cypress.mdx Co-authored-by: Marcy Sutton <marcy@gatsbyjs.com> * Update packages/gatsby-recipes/recipes/cypress.mdx Co-authored-by: Marcy Sutton <marcy@gatsbyjs.com> * feat(gatsby-recipes): fix MDX rendering for exports (#25133) * feat(gatsby-recipes): Handle exports, render MDX directly * Continue working towards proper exports * Continue implementing MDX renderer v2 * More MDX rendering hacking * Finish basic export handling * Small fixes Co-authored-by: John Otander <johnotander@gmail.com> * live updating is working more-or-less * Speedups & cleanups * Rename hook to match signature * Rename context * Add support for useResourceByKey * fix @babel/template not accepting integers as options * Only update resources when it's changed * make child Resource components work * rename useResourceByKey -> useResource * Implement ContentfulEntry resource * Add useProvider & ensure only apply resource once * Address some design feedback * Fix spacing for input forms * Fix spacing and size of step indicator * Flatten nested resources in display * Use input builtins from gatsby-interface * Add special file diff * Get things running again * Reload recipe session on changes - when the recipe file is updated - when the recipe api is restarted - when the browser is refreshed. * Update tests * Only emit updates when the state has actually changed * Fix building recipe component * update resolutions/dependencies * fix fetch dependency * moer fixes * Upgrade to Ink v3 & start migrating cli to showing all steps * Properly handle nested resources when rendering the plan (#25930) * Don't hardcode port * Ensure that nested resource get resourceName populated * feat(gatsby-recipes): Refactor CLI UI for new one-shot show plan (#25939) * feat(gatsby-recipes): Refactor CLI UI for new one-shot show plan * Restore experimental message + showing list of recipes to run * Add a --develop command for hot-reloading of recipes * Add --install command support * Remove unused code + old pre Ink v3 logging system * Cleanup + show step count * Remove console.log * add key * small fixes + add script to start dev server * Add dev instructions for running the recipes graphql server in the foreground * small fixes * @babel/standalone caches transforms unless you delete the require cache * fix linting problems * Extract shared code into common library * Checkin useInput beginning * Ensure that diff html isn't rendered by escaping * Update providers snapshots, looked like they weren't run with chalk turned off * Update other snapshots as well * Begin fixing some lint errors * Fix some more lint errors * Fix grabbing the right resource Co-authored-by: John Otander <johnotander@gmail.com> * move back to v2 for deploying for compatability with the regular CLI * Also do a compatability layer for <Box> * test * Add missing dependency * sad * Add rollup to bundle the cli app so we can use Ink v3 * Move packages packed by rollup to be dev dependencies as user won't need to download them * Remove console.logs * Remove logs * feat(gatsby-recipes): copy edits for some recipes (#26009) * Fix rendering li > p * Fix formatting of emotion recipe * Improve recipe * Name of key changed * Match keyed resources correctly in the install step + cleanups * Fix linting errors * fix margin * Surround inlineCode with back ticks so it looks like markdown * vendor ink-link as it's not upgraded to v3 yet * feat(gatsby-recipes) (#26085) * prettier file * Fix linting errors * feat(gatsby-recipes): fix recipes copy 2 (#26115) * feat(gatsby-recipes) * second half of copy edits donezo! * feat(gatsby-source-shopify): Add shopifyShop query (#25763) * Start moving gatsby-telemetry to typescript (#25812) * Fix camelCase * Start moving gatsby-telemetry to ts * Continue converting base to typescript * Debug transpilation issues * Debug transpilation issues * Fix telemetry tests * Add Changelog entry for merged PR #24306 * chore(gatsby-telemetry): Migrate is-truthy to TypeScript (#25884) * Detect vercel again after rebranding in gatsby-telemetry (#25883) * Detect vercel again after rebranding as per https://vercel.com/docs/v2/build-step * Add another Vercel NOW matcher * chore(gatsby-telemetry): Migrate flush to TypeScript (#25886) * feat(gatsby-source-shopify): set link from product variant to product (#25316) * fix: update www (#25874) Co-authored-by: Renovate Bot <bot@renovateapp.com> * docs(gatsby-internals): update page -> node dependency tracking (#25606) * docs(gatsby-internals): update page -> node dependency tracking * Apply suggestions from code review Co-authored-by: Aisha Blake <aisha@gatsbyjs.com> * remove surplus `and` from performance comma list (#25891) * fixed typo (#25896) * fix(gatsby): Support symlinks in static directories (#25894) * Added the link to 'MDX' (#25905) * Update localization-i18n.md (#25902) Some important links for **React-intl** had broken due to update in repo whose links were given. Added the correct links to it. * added a cookieflags option (#25907) Co-authored-by: Thijs van Diessen <thijs.vandiessen@incentro.com> * fix(readme): gatsby-source-shopify: unify variable names (#25882) * chore(showcase): Add MongoDB Developer Hub (#25892) * Add file names to code blocks (#25879) * enhancement(docs): dictionary.txt -> CodePen -> fix brand name (#25875) * feat(gatsby-admin): list all pages of site (#25744) * feat(gatsby-admin): plugin search (#25903) * Copy plugin search from www into admin * Move to Combobox search * Cleanup * TypeScript cleanup * add algolia types * Fix syntax * fix: Restore CLI port in use prompt feature (#25863) * fix: Restore CLI port in use prompt feature Seems like it got accidentally removed during a big PR? * fix: Ensure port var types are the same The CLI option and default value for `port` is a string, despite the TypeScript typing the arg to `number`. Unclear if `port` should be a `number` elsewhere, so checking for and converting to a number within the utility. * Fix/follow up 25863 (#25915) * fix: Restore CLI port in use prompt feature Seems like it got accidentally removed during a big PR? * fix: Ensure port var types are the same The CLI option and default value for `port` is a string, despite the TypeScript typing the arg to `number`. Unclear if `port` should be a `number` elsewhere, so checking for and converting to a number within the utility. * Force program.port to a number early Co-authored-by: polarathene <5098581+polarathene@users.noreply.github.com> * chore(release): Publish - babel-preset-gatsby@0.5.3 - gatsby-admin@0.1.97 - gatsby-cli@2.12.64 - gatsby-core-utils@1.3.13 - gatsby-page-utils@0.2.18 - gatsby-plugin-google-analytics@2.3.13 - gatsby-plugin-manifest@2.4.20 - gatsby-plugin-mdx@1.2.28 - gatsby-plugin-offline@3.2.20 - gatsby-plugin-page-creator@2.3.18 - gatsby-plugin-preload-fonts@1.2.18 - gatsby-plugin-sharp@2.6.21 - gatsby-recipes@0.1.54 - gatsby-remark-images@3.3.20 - gatsby-source-contentful@2.3.29 - gatsby-source-drupal@3.5.24 - gatsby-source-filesystem@2.3.21 - gatsby-source-shopify@3.2.23 - gatsby-source-wordpress@3.3.24 - gatsby-telemetry@1.3.21 - gatsby-transformer-remark@2.8.26 - gatsby-transformer-sqip@2.3.21 - gatsby@2.24.8 * Capture repositoryId from heroku (#25910) * Capture repositoryId from heroku * Add comments * fixed typo (#25912) * Update README.md (#25901) No need to link to `example.com` it's a sample domain. * Add __BASE_PATH__ definition to storybook config (#25643) * Add __BASE_PATH__ definition to storybook config * Globals need not be defined for Storybook Docs Update to Docs: Removes the need to declare the `__BASE_PATH__` and `__PATH_PREFIX__` in the Storybook config for Tests to work * fix(gatsby): don't place virtual modules in node_modules directory (#25720) * fix(gatsby): don't place virtual modules in node_modules directory * fix eslint rule Co-authored-by: Ward Peeters <ward@coding-tech.com> * chore(doc):Add guide to Deploy Gatsby to DigitalOcean droplet. (#24652) * Added doc for deploying to digitalocean droplet Added doc for deploying gatsby site to digitalocean droplet and configuring domain name with SSL. For issue #24549 . * Updated with deploying to digitalocean droplet doc Updated with deploying to digitalocean droplet doc to fix issue #24549. * Added missing code language flag to fix lint check Lint Check failed due to one code language flag was missing in one of the code snippet in the md file. Fixed that. * Updated grammar and styles as per code review Co-authored-by: Marcy Sutton <marcy@gatsbyjs.com> * Removed the line for brevity * Updated grammar change for line #11 as per code review * Ran prettier to format the code * Added step to install dependencies after cloning * Change case of node to Node as per suggestion. Co-authored-by: Marcy Sutton <marcy@gatsbyjs.com> * Changing optional to required for installing version of Node Gatsby required Node 10, so making the use of n package while installing the Node on digitalocean as a REQUIRED step. Co-authored-by: Marcy Sutton <marcy@gatsbyjs.com> * Adding suggested changes for better understanding. Co-authored-by: Marcy Sutton <marcy@gatsbyjs.com> * Adding the suggested changes. Using "Generate your Gatsby site for production" instead of "Build your gatsby site to generate static site for production" Co-authored-by: Marcy Sutton <marcy@gatsbyjs.com> * Making changes as per suggestion by moderator Making the docs style changes as suggested by moderator marcysutton Co-authored-by: Marcy Sutton <marcy@gatsbyjs.com> * Making changes as per suggestion Co-authored-by: Marcy Sutton <marcy@gatsbyjs.com> * Making changes as per the suggestion Co-authored-by: Marcy Sutton <marcy@gatsbyjs.com> * Update docs/docs/deploying-to-digitalocean-droplet.md Co-authored-by: Marcy Sutton <marcy@gatsbyjs.com> * Making changes as per the suggestion Adding path resemble line to make it easy for people to understand the path Co-authored-by: Marcy Sutton <marcy@gatsbyjs.com> * Adding changes as per the suggestion Co-authored-by: Marcy Sutton <marcy@gatsbyjs.com> * Making changes as per the suggestion Co-authored-by: Marcy Sutton <marcy@gatsbyjs.com> * Added snippet to get rid of permission denied Added snippet to get rid of permission denied while cloning the repository * Adding indentation as per linting rules * Ran prettier * Updating grammar as per suggested Co-authored-by: Marcy Sutton <marcy@gatsbyjs.com> * Added note to copy local repo path for future ref * Ran prettier to format the code Co-authored-by: Marcy Sutton <marcy@gatsbyjs.com> * Update migrating-from-v1-to-v2.md (#25832) * fix dictionary for digitalocean guide (#25936) * fix(docs): show where `getNodesByType` comes from (#25344) * show where getNodesByType comes from * indicate the code is an example per PR feedback Co-authored-by: Marcy Sutton <marcy@gatsbyjs.com> Co-authored-by: Marcy Sutton <marcy@gatsbyjs.com> * chore(docs): Changes to "Setting Up Your Local Dev Environment" doc (#25721) * chore(gatsby): add log to gatsby develop if Admin is enabled (#25943) * feat(gatsby): Defer node mutation during querying (#25479) * Move bootstrap into machine * Add parent span and query extraction * Add rebuildSchemaWithSitePage * Use values from context * Remove logs * Add redirectListener * Changes from review * Log child state transitions * Add state machine for query running * Changes from review * Changes from review * Switch to reporter * Use assertStore * Remove unused action * Remove unusued config * Remove unusued config * Add gql runner reset * Handle node mutation queuing and batching in state machine * Use new pagedata utils * Use develop queue * New xstate syntax * Work-around xstate bug * Track first run * Track first run * Disable --quiet in e2e * Don't defer node mutation if we're outside the state machine * Re-quieten e2e * Listen for query file changes * Lint * Handle webhook * Changes from review * Fix typings * Changes from review * Typefix * feat(gatsby): Move final parts into develop state machine (#25716) * Move remaining parts into state machine * Move top level state machine into state machines dir * Add machine ids * Add missing imports * Resolve api promises * Remove unused action * Move logging into helper * Changes from review * Manually save db * Add comments * Remove first run from query running * Refactor into separate data layer machines * Fix condition Co-authored-by: gatsbybot <mathews.kyle+gatsbybot@gmail.com> * chore(release): Publish - gatsby-admin@0.1.98 - gatsby-cli@2.12.65 - gatsby-recipes@0.1.55 - gatsby-source-contentful@2.3.30 - gatsby-source-drupal@3.5.25 - gatsby-source-filesystem@2.3.22 - gatsby-source-shopify@3.2.24 - gatsby-source-wordpress@3.3.25 - gatsby-telemetry@1.3.22 - gatsby@2.24.9 * fix(docs): Fix broken mdx (#25946) * chore(gatsby-admin): build in postbuild of gatsby instead of prepublish (#25940) * Move admin to postbuild of gatsby * Remove prepublish gatsby-admin build * Dont run tests in .cache * Ignore _tests_ in .cache * Use local copy of Gatsby to build gatsby-admin * perf(gatsby-source-contentful): speed up resolving of huge spaces (#25954) closes #25464 * docs: use hello-world starter in quick start guide instead of default starter (#25914) * Small tweak to see if we can reduce errors driven by the default starter using and its dependency on sharp. * chore: format * Reverted working directory name A change to address feedback about changing the name to preserve continuity with current manual recipes. Co-authored-by: gatsbybot <mathews.kyle+gatsbybot@gmail.com> * chore(docs): Fix RFC typo (#25970) * chore(gatsby-admin): cleanup stale artifacts pre build (#25972) * Handle webpack in state machine (#25815) Co-authored-by: gatsbybot <mathews.kyle+gatsbybot@gmail.com> * chore(release): Publish - gatsby-admin@0.1.99 - gatsby-source-contentful@2.3.31 - gatsby@2.24.10 * fix(gatsby-admin): show error messages in the interface (#25944) * docs(gatsby-admin): more detailed architecture explanation (#25941) * Write more detailed Admin architecture docs * Add section on production deployment to gatsby-admin docs * Absolute URLs so they work on npm etc. * Fix pronouns and wording * Clean up some more * Tighten up language around production deployment Co-authored-by: Brent Jackson <jxnblk@gmail.com> * Update packages/gatsby-admin/README.md Co-authored-by: Brent Jackson <jxnblk@gmail.com> Co-authored-by: Brent Jackson <jxnblk@gmail.com> * fix(gatsby): call predicate for the root ancestor in findRootNodeAncestor (#25974) * fix(gatsby-admin): small design tweaks (#25971) * feat(gatsby): Add internal types export (#25921) * Handle webpack in state machine * Add internal export * feat(plugin-manifest): support SVG favicon (#25276) Co-authored-by: Yogi <me@yogi.codes> * maintenance(www) remove unused dependencies (#25463) Co-authored-by: Aisha Blake <aisha@gatsbyjs.com> * Update contributor-swag.md (#25980) Based on a recent increase in the volume of requests, I'm updating how people can request their free Gatsby swag for contributions that aren't made on GitHub. * feat(gatsby-source-filesystem): improve wrong url rejection message (#25965) * feat(gatsby-source-filesystem: improve wrong url rejection message The existing message made tracing down a bug from within the new WP source plugin harder than necessary. Old message: `wrong url: ${url}` Updated message: `url passed to createRemoteFileNode is either missing or not a proper web uri: ${url}` * chore: format * update rejects test to match new message Co-authored-by: gatsbybot <mathews.kyle+gatsbybot@gmail.com> * Also detect VERCEL_BUILDER should Vercel one day use it as per the docs (#25926) * fix(babel-preset-gatsby): enable transformer-regenerator (#25983) * fix(docs): bash to shell (#25958) * change bash to shell * dont change text file code language * chore: add tests to static-query filepaths (#25978) * chore: add tests to static-query filepaths * fix windows paths * chore(release): Publish - babel-preset-gatsby@0.5.4 - gatsby-admin@0.1.100 - gatsby-cli@2.12.66 - gatsby-core-utils@1.3.14 - gatsby-page-utils@0.2.19 - gatsby-plugin-manifest@2.4.21 - gatsby-plugin-mdx@1.2.29 - gatsby-plugin-offline@3.2.21 - gatsby-plugin-page-creator@2.3.19 - gatsby-plugin-preload-fonts@1.2.19 - gatsby-plugin-sharp@2.6.22 - gatsby-recipes@0.1.56 - gatsby-remark-images@3.3.21 - gatsby-source-contentful@2.3.32 - gatsby-source-drupal@3.5.26 - gatsby-source-filesystem@2.3.23 - gatsby-source-shopify@3.2.25 - gatsby-source-wordpress@3.3.26 - gatsby-telemetry@1.3.23 - gatsby-transformer-remark@2.8.27 - gatsby-transformer-sqip@2.3.22 - gatsby@2.24.11 * highlighted plugins (#25998) * Revert "perf(gatsby-plugin-mdx): drop another babel step during sourcing" (#26002) This reverts commit 6d0c791. * fix: Enable CLI integration tests (#25997) * [docs][glossary] add new entry for client-side rendering (#25984) * add new glossary entry for client-side routing * update text to address rendering vs. routing * Add link to page, rather than anchor Co-authored-by: Hashim Warren <hashim@gatsbyjs.com> * fix: do not augment plugin-options (#26006) * fix(gatsby-recipes) Fix docs for name in NPMPackage * fix: update www (#26043) Co-authored-by: Renovate Bot <bot@renovateapp.com> * Added extra markup (#26030) * Added extra markup I found some js code which was not highlighted so I wrapped it in js code block, secondly, I added the link to reach/router as it was confusing if its react/router or reach/router * added the link to reach/router * Update glossary.md * chore(showcase): Add leanier.com site (#26016) * Add support for cache refresh via GraphiQL (#25960) * Add cache refresh button * Formatting * Explicit return type * www: Remove sw (#26054) * Docs: Add a warning about static queries (#25929) * feat(gatsby): Add top-level error handling to state machine (#25995) * chore: Update stale yarn.lock (#26068) * tests(gatsby): Add unit tests for develop state machine (#26051) * feat(gatsby): Add top-level error handling to state machine * Add initial tests * Add tests for top-level machine * Test error handling * Add post-bootstrap to tests * chore(showcase): Add johnkavanagh.co.uk (#25747) * chore(showcase): Minor changes Showcase Tatjana Volbeke Portfolio (#25613) * fix(gatsby): Defer node mutation in more APIs (#26067) * chore(release): Publish - gatsby-admin@0.1.101 - gatsby-cli@2.12.67 - gatsby-graphiql-explorer@0.4.12 - gatsby-plugin-mdx@1.2.30 - gatsby-plugin-sharp@2.6.23 - gatsby-recipes@0.1.57 - gatsby-remark-copy-linked-files@2.3.12 - gatsby-remark-images-contentful@2.3.12 - gatsby-remark-images@3.3.22 - gatsby-remark-responsive-iframe@2.4.12 - gatsby-source-contentful@2.3.33 - gatsby-transformer-sqip@2.3.23 - gatsby@2.24.12 * chore(showcase): add Julien Karst website (#25682) Co-authored-by: Obinna Ekwuno <obinnacodes@gmail.com> * chore(showcase): BRIKL & TRUE STORY in showcase (#25631) * chore(showcase): BRIKL & TRUE STORY in showcase * chore(showcase): run prettier sites.yml Co-authored-by: Obinna Ekwuno <obinnacodes@gmail.com> * chore(blog): Add i18n theme blog post (#26065) * add blog post * fix linting * put head in code tag lol * chore(showcase): add Château de Morey 🏰 (#25683) Co-authored-by: Obinna Ekwuno <obinnacodes@gmail.com> * chore(showcase): meetup.com (#25792) Co-authored-by: Obinna Ekwuno <obinnacodes@gmail.com> * chore(gatsby): fix typegen for publishing (#26078) * chore(gatsby): add typescript as dev dependency * chore(gatsby): run typegen after rimraf * fix(gatsby): Delete babel and terser cache dirs (#26053) * Delete babel and terser cache dirs * Clean up yarn lock * fix yarn.lock (?) * verbose gatsby-dev * chore(gatsby): add typescript as dev dependency * Update e2e-test.sh * chore(gatsby): run typegen after rimraf Co-authored-by: Michal Piechowiak <misiek.piechowiak@gmail.com> Co-authored-by: gatsbybot <mathews.kyle+gatsbybot@gmail.com> * fix(gatsby): Load static query results from its own Db (#26077) * Load static query results from its own Db * Keep StaticQueryContext because it is public API * Switch to an Object for static query results from a Map * Move getStaticQueryResults to private API * chore(release): Publish - gatsby-admin@0.1.102 - gatsby@2.24.13 * fix(gatsby-image): add required check for one of fluid or fixed (#25371) * Do not crash the page if the image component is invoked without parameters * added a warning if missing fluid and fixed props * had swapped a condition * doing destructuring in function parameter list * now with functioning tree-shaking * updating function doc: returns undefined, not null * switching to proptypes for validation * Update packages/gatsby-image/src/index.js Co-authored-by: Andreas Ehrencrona <andreas@scholarsapp.com> Co-authored-by: Ward Peeters <ward@coding-tech.com> * fix(gatsby): Load resources in ProdPageRenderer (#26092) * Load resources in ProdPageRenderer * Add simple unit tests * chore(release): Publish - gatsby-admin@0.1.103 - gatsby-image@2.4.14 - gatsby@2.24.14 * Update gatsby in www * Add plugincreator to API (#26101) * Add plugincreator to API * fix capitlization Co-authored-by: Laurie Barth <laurie@LauriesrkLaptop.fios-router.home> * chore(showcase): Add Devnet (#25952) Co-authored-by: Obinna Ekwuno <obinnacodes@gmail.com> * Add pluagin source for page (#26104) Co-authored-by: Laurie Barth <laurie@LauriesrkLaptop.fios-router.home> * fix(gatsby-source-contentful): support height parameter for srcset (#25776) * Calculate fixed image width if necessary * Calculate fixed image width if necessary * Revert snapshot test changes * Bring back new test * Update snapshot * chore(docs): Add author Colby Fayock (#26109) * adding Colby Fayock author avatar and bio * Update author.yaml adding new line at end of file * pretier * Use commonmark option to better handle list parsing * revert fixpack changes to root package.json * Squashed commit of the following: commit 33aff39 Author: Kyle Mathews <mathews.kyle@gmail.com> Date: Thu Jul 30 13:09:59 2020 -0700 Update index.md * Actually fix lint error * Fix test * more fixing tests * Only log when DEBUG=true * Remove --quiet to see errors * Add rollup * resolve conflicts * remove testing code * Make yarn.lock file valid * WORK PLEASE * Add yoga-layout-prebuilt as explicit dependency to make rollup + yarn 2.0 happy * Add node-fetch as dependency * Update packages/gatsby-recipes/src/graphql-server/server.js Co-authored-by: Peter van der Zee <209817+pvdz@users.noreply.github.com> * Use string matching for NPMPackage versions * Add missing string matcher * Fix lint error * Add missing normalize.css dep Co-authored-by: John Otander <johnotander@gmail.com> Co-authored-by: Marcy Sutton <marcy@gatsbyjs.com> Co-authored-by: shannonbux <32467162+shannonbux@users.noreply.github.com> Co-authored-by: Paul Scanlon <pauliescanlon@gmail.com> Co-authored-by: Jarmo Isotalo <jamo@isotalo.fi> Co-authored-by: Blaine Kasten <blainekasten@gmail.com> Co-authored-by: Johnny Zabala <jzabala.s@gmail.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: Michal Piechowiak <misiek.piechowiak@gmail.com> Co-authored-by: Aisha Blake <aisha@gatsbyjs.com> Co-authored-by: Michael Murphy <mikeymurph77@gmail.com> Co-authored-by: Dawood Sadiq <dawoodsadiq171@gmail.com> Co-authored-by: James Brooks <52410024+jabrks@users.noreply.github.com> Co-authored-by: Haseeb Khan <haseebasif97@gmail.com> Co-authored-by: Ankit Ghosh <33004850+kaknut@users.noreply.github.com> Co-authored-by: Thijs <thijsvandiessen@users.noreply.github.com> Co-authored-by: Thijs van Diessen <thijs.vandiessen@incentro.com> Co-authored-by: Muescha <184316+muescha@users.noreply.github.com> Co-authored-by: Jordan Stapinski <jordan.stapinski@mongodb.com> Co-authored-by: Max Stoiber <contact@mxstbr.com> Co-authored-by: Brennan Kinney <5098581+polarathene@users.noreply.github.com> Co-authored-by: Nabeel Valley <36758308+nabeelvalley@users.noreply.github.com> Co-authored-by: Ward Peeters <ward@coding-tech.com> Co-authored-by: Vatsal Mistry <mistryvatsal11@gmail.com> Co-authored-by: Jack <jpwww@protonmail.com> Co-authored-by: Kurt Tomlinson <kurttomlinson@gmail.com> Co-authored-by: Lennart <lekoarts@gmail.com> Co-authored-by: Matt Kane <matt@gatsbyjs.com> Co-authored-by: gatsbybot <mathews.kyle+gatsbybot@gmail.com> Co-authored-by: Benedikt Rötsch <axe312ger@users.noreply.github.com> Co-authored-by: Joel Smith <jsumnersmith@gmail.com> Co-authored-by: Brent Jackson <jxnblk@gmail.com> Co-authored-by: Vladimir Razuvaev <vladimir.razuvaev@gmail.com> Co-authored-by: Alex Moon <moonmeister@users.noreply.github.com> Co-authored-by: Yogi <me@yogi.codes> Co-authored-by: Nat Alison <1278991+tesseralis@users.noreply.github.com> Co-authored-by: Laci-Texter <46265213+Laci-Texter@users.noreply.github.com> Co-authored-by: Tyler Barnes <tylerdbarnes@gmail.com> Co-authored-by: LB <laurie@gatsbyjs.com> Co-authored-by: Hashim Warren <hashim@gatsbyjs.com> Co-authored-by: anubhavmeet <57403244+anubhavmeet@users.noreply.github.com> Co-authored-by: Dan Kirkham <herecy@live.co.uk> Co-authored-by: Sidhartha Chatterjee <me@sidharthachatterjee.com> Co-authored-by: John Kavanagh <mail@johnkavanagh.co.uk> Co-authored-by: Julius <jlsvaicius@users.noreply.github.com> Co-authored-by: Julien Karst <JulienKode@users.noreply.github.com> Co-authored-by: Obinna Ekwuno <obinnacodes@gmail.com> Co-authored-by: Tobias Meixner <MeixnerTobias@users.noreply.github.com> Co-authored-by: Andy Stanberry <astanberry@meetup.com> Co-authored-by: Andreas Ehrencrona <andreas.ehrencrona@velik.it> Co-authored-by: Andreas Ehrencrona <andreas@scholarsapp.com> Co-authored-by: Laurie Barth <laurie@LauriesrkLaptop.fios-router.home> Co-authored-by: Marin Matošević <7361552+Marin-Matosevic@users.noreply.github.com> Co-authored-by: Sean Baines <mrseanbaines@gmail.com> Co-authored-by: Colby Fayock <colbyfayock@users.noreply.github.com> Co-authored-by: Peter van der Zee <209817+pvdz@users.noreply.github.com>
pragmaticpat
pushed a commit
to pragmaticpat/gatsby
that referenced
this pull request
Apr 28, 2022
* feat(gatsby-recipes): Pass data retrieved from the resource to its children via context * chore(gatsby-recipes): Swap out Promise.all for a true queue * feat(gatsby-recipes): Implement a render loop for nested resources * Continue spiking out recipes gui * Hardcode the project root in a clear place for now * Join plan steps in order to create entire recipe plan at once + initial efforts on GUI * WIP * feat(gatsby-recipes): Implement a wait for input state when props are missing for a resource * chore(gatsby-recipes): Use an INVALID_PROP event for schema validation * feat(gatsby-recipes): Wrap intro and each step with components, add metadata * chore(gatsby-recipes): Spike out basic gui component for steps * feat(gatsby-recipes): Pass data retrieved from the resource to its children via context * chore(gatsby-recipes): Swap out Promise.all for a true queue * feat(gatsby-recipes): Implement a render loop for nested resources * Continue spiking out recipes gui * Hardcode the project root in a clear place for now * Join plan steps in order to create entire recipe plan at once + initial efforts on GUI * WIP * feat(gatsby-recipes): Implement a wait for input state when props are missing for a resource * chore(gatsby-recipes): Use an INVALID_PROP event for schema validation * feat(gatsby-recipes): Wrap intro and each step with components, add metadata * chore(gatsby-recipes): Spike out basic gui component for steps * Lots of styling changes * Put text & resources in same steps * Lots more styling tweaks * paragraphs had too much margin bottom * more style tweaks * feat(gatsby-recipes): Implement a wait for input state when props are missing for a resource Also adds the use of an INVALID_PROP event for schema validation. * chore(gatsby-recipes): Use MDX v2 canary for access to the JSX AST * feat(gatsby-recipes): Apply a UUID prop to all resources for input handling * checkin: Begin wiring up event for passing input data to server * fix(gatsby-recipes): Update step wrapping for MDX v2 * fix(gatsby-recipes): Get tests passing, add debugging output * Get applying working * PROGRESSSSS * feat(gatsby-recipes): Allow for inputs based on uuid to override props * Remove sleep * style tweaks * Add updater to input provider, spike out File form * feat(gatsby-recipes): Implement basic input functionality * feat(gatsby-recipes): Spike out a contentful space resource, use renderer for applying plan * feat(gatsby-recipes): Spike out contentful provider and basic rendering (gatsbyjs#24655) * feat(gatsby-recipes): Spike out contentful provider and basic rendering * Update packages/gatsby-recipes/src/gui.js * WIP * More design tweaks * Style inline code * Update packages/gatsby-recipes/recipes/cypress.mdx Co-authored-by: Marcy Sutton <marcy@gatsbyjs.com> * Update packages/gatsby-recipes/recipes/cypress.mdx Co-authored-by: Marcy Sutton <marcy@gatsbyjs.com> * Update packages/gatsby-recipes/recipes/cypress.mdx Co-authored-by: Marcy Sutton <marcy@gatsbyjs.com> * feat(gatsby-recipes): fix MDX rendering for exports (gatsbyjs#25133) * feat(gatsby-recipes): Handle exports, render MDX directly * Continue working towards proper exports * Continue implementing MDX renderer v2 * More MDX rendering hacking * Finish basic export handling * Small fixes Co-authored-by: John Otander <johnotander@gmail.com> * live updating is working more-or-less * Speedups & cleanups * Rename hook to match signature * Rename context * Add support for useResourceByKey * fix @babel/template not accepting integers as options * Only update resources when it's changed * make child Resource components work * rename useResourceByKey -> useResource * Implement ContentfulEntry resource * Add useProvider & ensure only apply resource once * Address some design feedback * Fix spacing for input forms * Fix spacing and size of step indicator * Flatten nested resources in display * Use input builtins from gatsby-interface * Add special file diff * Get things running again * Reload recipe session on changes - when the recipe file is updated - when the recipe api is restarted - when the browser is refreshed. * Update tests * Only emit updates when the state has actually changed * Fix building recipe component * update resolutions/dependencies * fix fetch dependency * moer fixes * Upgrade to Ink v3 & start migrating cli to showing all steps * Properly handle nested resources when rendering the plan (gatsbyjs#25930) * Don't hardcode port * Ensure that nested resource get resourceName populated * feat(gatsby-recipes): Refactor CLI UI for new one-shot show plan (gatsbyjs#25939) * feat(gatsby-recipes): Refactor CLI UI for new one-shot show plan * Restore experimental message + showing list of recipes to run * Add a --develop command for hot-reloading of recipes * Add --install command support * Remove unused code + old pre Ink v3 logging system * Cleanup + show step count * Remove console.log * add key * small fixes + add script to start dev server * Add dev instructions for running the recipes graphql server in the foreground * small fixes * @babel/standalone caches transforms unless you delete the require cache * fix linting problems * Extract shared code into common library * Checkin useInput beginning * Ensure that diff html isn't rendered by escaping * Update providers snapshots, looked like they weren't run with chalk turned off * Update other snapshots as well * Begin fixing some lint errors * Fix some more lint errors * Fix grabbing the right resource Co-authored-by: John Otander <johnotander@gmail.com> * move back to v2 for deploying for compatability with the regular CLI * Also do a compatability layer for <Box> * test * Add missing dependency * sad * Add rollup to bundle the cli app so we can use Ink v3 * Move packages packed by rollup to be dev dependencies as user won't need to download them * Remove console.logs * Remove logs * feat(gatsby-recipes): copy edits for some recipes (gatsbyjs#26009) * Fix rendering li > p * Fix formatting of emotion recipe * Improve recipe * Name of key changed * Match keyed resources correctly in the install step + cleanups * Fix linting errors * fix margin * Surround inlineCode with back ticks so it looks like markdown * vendor ink-link as it's not upgraded to v3 yet * feat(gatsby-recipes) (gatsbyjs#26085) * prettier file * Fix linting errors * feat(gatsby-recipes): fix recipes copy 2 (gatsbyjs#26115) * feat(gatsby-recipes) * second half of copy edits donezo! * feat(gatsby-source-shopify): Add shopifyShop query (gatsbyjs#25763) * Start moving gatsby-telemetry to typescript (gatsbyjs#25812) * Fix camelCase * Start moving gatsby-telemetry to ts * Continue converting base to typescript * Debug transpilation issues * Debug transpilation issues * Fix telemetry tests * Add Changelog entry for merged PR gatsbyjs#24306 * chore(gatsby-telemetry): Migrate is-truthy to TypeScript (gatsbyjs#25884) * Detect vercel again after rebranding in gatsby-telemetry (gatsbyjs#25883) * Detect vercel again after rebranding as per https://vercel.com/docs/v2/build-step * Add another Vercel NOW matcher * chore(gatsby-telemetry): Migrate flush to TypeScript (gatsbyjs#25886) * feat(gatsby-source-shopify): set link from product variant to product (gatsbyjs#25316) * fix: update www (gatsbyjs#25874) Co-authored-by: Renovate Bot <bot@renovateapp.com> * docs(gatsby-internals): update page -> node dependency tracking (gatsbyjs#25606) * docs(gatsby-internals): update page -> node dependency tracking * Apply suggestions from code review Co-authored-by: Aisha Blake <aisha@gatsbyjs.com> * remove surplus `and` from performance comma list (gatsbyjs#25891) * fixed typo (gatsbyjs#25896) * fix(gatsby): Support symlinks in static directories (gatsbyjs#25894) * Added the link to 'MDX' (gatsbyjs#25905) * Update localization-i18n.md (gatsbyjs#25902) Some important links for **React-intl** had broken due to update in repo whose links were given. Added the correct links to it. * added a cookieflags option (gatsbyjs#25907) Co-authored-by: Thijs van Diessen <thijs.vandiessen@incentro.com> * fix(readme): gatsby-source-shopify: unify variable names (gatsbyjs#25882) * chore(showcase): Add MongoDB Developer Hub (gatsbyjs#25892) * Add file names to code blocks (gatsbyjs#25879) * enhancement(docs): dictionary.txt -> CodePen -> fix brand name (gatsbyjs#25875) * feat(gatsby-admin): list all pages of site (gatsbyjs#25744) * feat(gatsby-admin): plugin search (gatsbyjs#25903) * Copy plugin search from www into admin * Move to Combobox search * Cleanup * TypeScript cleanup * add algolia types * Fix syntax * fix: Restore CLI port in use prompt feature (gatsbyjs#25863) * fix: Restore CLI port in use prompt feature Seems like it got accidentally removed during a big PR? * fix: Ensure port var types are the same The CLI option and default value for `port` is a string, despite the TypeScript typing the arg to `number`. Unclear if `port` should be a `number` elsewhere, so checking for and converting to a number within the utility. * Fix/follow up 25863 (gatsbyjs#25915) * fix: Restore CLI port in use prompt feature Seems like it got accidentally removed during a big PR? * fix: Ensure port var types are the same The CLI option and default value for `port` is a string, despite the TypeScript typing the arg to `number`. Unclear if `port` should be a `number` elsewhere, so checking for and converting to a number within the utility. * Force program.port to a number early Co-authored-by: polarathene <5098581+polarathene@users.noreply.github.com> * chore(release): Publish - babel-preset-gatsby@0.5.3 - gatsby-admin@0.1.97 - gatsby-cli@2.12.64 - gatsby-core-utils@1.3.13 - gatsby-page-utils@0.2.18 - gatsby-plugin-google-analytics@2.3.13 - gatsby-plugin-manifest@2.4.20 - gatsby-plugin-mdx@1.2.28 - gatsby-plugin-offline@3.2.20 - gatsby-plugin-page-creator@2.3.18 - gatsby-plugin-preload-fonts@1.2.18 - gatsby-plugin-sharp@2.6.21 - gatsby-recipes@0.1.54 - gatsby-remark-images@3.3.20 - gatsby-source-contentful@2.3.29 - gatsby-source-drupal@3.5.24 - gatsby-source-filesystem@2.3.21 - gatsby-source-shopify@3.2.23 - gatsby-source-wordpress@3.3.24 - gatsby-telemetry@1.3.21 - gatsby-transformer-remark@2.8.26 - gatsby-transformer-sqip@2.3.21 - gatsby@2.24.8 * Capture repositoryId from heroku (gatsbyjs#25910) * Capture repositoryId from heroku * Add comments * fixed typo (gatsbyjs#25912) * Update README.md (gatsbyjs#25901) No need to link to `example.com` it's a sample domain. * Add __BASE_PATH__ definition to storybook config (gatsbyjs#25643) * Add __BASE_PATH__ definition to storybook config * Globals need not be defined for Storybook Docs Update to Docs: Removes the need to declare the `__BASE_PATH__` and `__PATH_PREFIX__` in the Storybook config for Tests to work * fix(gatsby): don't place virtual modules in node_modules directory (gatsbyjs#25720) * fix(gatsby): don't place virtual modules in node_modules directory * fix eslint rule Co-authored-by: Ward Peeters <ward@coding-tech.com> * chore(doc):Add guide to Deploy Gatsby to DigitalOcean droplet. (gatsbyjs#24652) * Added doc for deploying to digitalocean droplet Added doc for deploying gatsby site to digitalocean droplet and configuring domain name with SSL. For issue gatsbyjs#24549 . * Updated with deploying to digitalocean droplet doc Updated with deploying to digitalocean droplet doc to fix issue gatsbyjs#24549. * Added missing code language flag to fix lint check Lint Check failed due to one code language flag was missing in one of the code snippet in the md file. Fixed that. * Updated grammar and styles as per code review Co-authored-by: Marcy Sutton <marcy@gatsbyjs.com> * Removed the line for brevity * Updated grammar change for line gatsbyjs#11 as per code review * Ran prettier to format the code * Added step to install dependencies after cloning * Change case of node to Node as per suggestion. Co-authored-by: Marcy Sutton <marcy@gatsbyjs.com> * Changing optional to required for installing version of Node Gatsby required Node 10, so making the use of n package while installing the Node on digitalocean as a REQUIRED step. Co-authored-by: Marcy Sutton <marcy@gatsbyjs.com> * Adding suggested changes for better understanding. Co-authored-by: Marcy Sutton <marcy@gatsbyjs.com> * Adding the suggested changes. Using "Generate your Gatsby site for production" instead of "Build your gatsby site to generate static site for production" Co-authored-by: Marcy Sutton <marcy@gatsbyjs.com> * Making changes as per suggestion by moderator Making the docs style changes as suggested by moderator marcysutton Co-authored-by: Marcy Sutton <marcy@gatsbyjs.com> * Making changes as per suggestion Co-authored-by: Marcy Sutton <marcy@gatsbyjs.com> * Making changes as per the suggestion Co-authored-by: Marcy Sutton <marcy@gatsbyjs.com> * Update docs/docs/deploying-to-digitalocean-droplet.md Co-authored-by: Marcy Sutton <marcy@gatsbyjs.com> * Making changes as per the suggestion Adding path resemble line to make it easy for people to understand the path Co-authored-by: Marcy Sutton <marcy@gatsbyjs.com> * Adding changes as per the suggestion Co-authored-by: Marcy Sutton <marcy@gatsbyjs.com> * Making changes as per the suggestion Co-authored-by: Marcy Sutton <marcy@gatsbyjs.com> * Added snippet to get rid of permission denied Added snippet to get rid of permission denied while cloning the repository * Adding indentation as per linting rules * Ran prettier * Updating grammar as per suggested Co-authored-by: Marcy Sutton <marcy@gatsbyjs.com> * Added note to copy local repo path for future ref * Ran prettier to format the code Co-authored-by: Marcy Sutton <marcy@gatsbyjs.com> * Update migrating-from-v1-to-v2.md (gatsbyjs#25832) * fix dictionary for digitalocean guide (gatsbyjs#25936) * fix(docs): show where `getNodesByType` comes from (gatsbyjs#25344) * show where getNodesByType comes from * indicate the code is an example per PR feedback Co-authored-by: Marcy Sutton <marcy@gatsbyjs.com> Co-authored-by: Marcy Sutton <marcy@gatsbyjs.com> * chore(docs): Changes to "Setting Up Your Local Dev Environment" doc (gatsbyjs#25721) * chore(gatsby): add log to gatsby develop if Admin is enabled (gatsbyjs#25943) * feat(gatsby): Defer node mutation during querying (gatsbyjs#25479) * Move bootstrap into machine * Add parent span and query extraction * Add rebuildSchemaWithSitePage * Use values from context * Remove logs * Add redirectListener * Changes from review * Log child state transitions * Add state machine for query running * Changes from review * Changes from review * Switch to reporter * Use assertStore * Remove unused action * Remove unusued config * Remove unusued config * Add gql runner reset * Handle node mutation queuing and batching in state machine * Use new pagedata utils * Use develop queue * New xstate syntax * Work-around xstate bug * Track first run * Track first run * Disable --quiet in e2e * Don't defer node mutation if we're outside the state machine * Re-quieten e2e * Listen for query file changes * Lint * Handle webhook * Changes from review * Fix typings * Changes from review * Typefix * feat(gatsby): Move final parts into develop state machine (gatsbyjs#25716) * Move remaining parts into state machine * Move top level state machine into state machines dir * Add machine ids * Add missing imports * Resolve api promises * Remove unused action * Move logging into helper * Changes from review * Manually save db * Add comments * Remove first run from query running * Refactor into separate data layer machines * Fix condition Co-authored-by: gatsbybot <mathews.kyle+gatsbybot@gmail.com> * chore(release): Publish - gatsby-admin@0.1.98 - gatsby-cli@2.12.65 - gatsby-recipes@0.1.55 - gatsby-source-contentful@2.3.30 - gatsby-source-drupal@3.5.25 - gatsby-source-filesystem@2.3.22 - gatsby-source-shopify@3.2.24 - gatsby-source-wordpress@3.3.25 - gatsby-telemetry@1.3.22 - gatsby@2.24.9 * fix(docs): Fix broken mdx (gatsbyjs#25946) * chore(gatsby-admin): build in postbuild of gatsby instead of prepublish (gatsbyjs#25940) * Move admin to postbuild of gatsby * Remove prepublish gatsby-admin build * Dont run tests in .cache * Ignore _tests_ in .cache * Use local copy of Gatsby to build gatsby-admin * perf(gatsby-source-contentful): speed up resolving of huge spaces (gatsbyjs#25954) closes gatsbyjs#25464 * docs: use hello-world starter in quick start guide instead of default starter (gatsbyjs#25914) * Small tweak to see if we can reduce errors driven by the default starter using and its dependency on sharp. * chore: format * Reverted working directory name A change to address feedback about changing the name to preserve continuity with current manual recipes. Co-authored-by: gatsbybot <mathews.kyle+gatsbybot@gmail.com> * chore(docs): Fix RFC typo (gatsbyjs#25970) * chore(gatsby-admin): cleanup stale artifacts pre build (gatsbyjs#25972) * Handle webpack in state machine (gatsbyjs#25815) Co-authored-by: gatsbybot <mathews.kyle+gatsbybot@gmail.com> * chore(release): Publish - gatsby-admin@0.1.99 - gatsby-source-contentful@2.3.31 - gatsby@2.24.10 * fix(gatsby-admin): show error messages in the interface (gatsbyjs#25944) * docs(gatsby-admin): more detailed architecture explanation (gatsbyjs#25941) * Write more detailed Admin architecture docs * Add section on production deployment to gatsby-admin docs * Absolute URLs so they work on npm etc. * Fix pronouns and wording * Clean up some more * Tighten up language around production deployment Co-authored-by: Brent Jackson <jxnblk@gmail.com> * Update packages/gatsby-admin/README.md Co-authored-by: Brent Jackson <jxnblk@gmail.com> Co-authored-by: Brent Jackson <jxnblk@gmail.com> * fix(gatsby): call predicate for the root ancestor in findRootNodeAncestor (gatsbyjs#25974) * fix(gatsby-admin): small design tweaks (gatsbyjs#25971) * feat(gatsby): Add internal types export (gatsbyjs#25921) * Handle webpack in state machine * Add internal export * feat(plugin-manifest): support SVG favicon (gatsbyjs#25276) Co-authored-by: Yogi <me@yogi.codes> * maintenance(www) remove unused dependencies (gatsbyjs#25463) Co-authored-by: Aisha Blake <aisha@gatsbyjs.com> * Update contributor-swag.md (gatsbyjs#25980) Based on a recent increase in the volume of requests, I'm updating how people can request their free Gatsby swag for contributions that aren't made on GitHub. * feat(gatsby-source-filesystem): improve wrong url rejection message (gatsbyjs#25965) * feat(gatsby-source-filesystem: improve wrong url rejection message The existing message made tracing down a bug from within the new WP source plugin harder than necessary. Old message: `wrong url: ${url}` Updated message: `url passed to createRemoteFileNode is either missing or not a proper web uri: ${url}` * chore: format * update rejects test to match new message Co-authored-by: gatsbybot <mathews.kyle+gatsbybot@gmail.com> * Also detect VERCEL_BUILDER should Vercel one day use it as per the docs (gatsbyjs#25926) * fix(babel-preset-gatsby): enable transformer-regenerator (gatsbyjs#25983) * fix(docs): bash to shell (gatsbyjs#25958) * change bash to shell * dont change text file code language * chore: add tests to static-query filepaths (gatsbyjs#25978) * chore: add tests to static-query filepaths * fix windows paths * chore(release): Publish - babel-preset-gatsby@0.5.4 - gatsby-admin@0.1.100 - gatsby-cli@2.12.66 - gatsby-core-utils@1.3.14 - gatsby-page-utils@0.2.19 - gatsby-plugin-manifest@2.4.21 - gatsby-plugin-mdx@1.2.29 - gatsby-plugin-offline@3.2.21 - gatsby-plugin-page-creator@2.3.19 - gatsby-plugin-preload-fonts@1.2.19 - gatsby-plugin-sharp@2.6.22 - gatsby-recipes@0.1.56 - gatsby-remark-images@3.3.21 - gatsby-source-contentful@2.3.32 - gatsby-source-drupal@3.5.26 - gatsby-source-filesystem@2.3.23 - gatsby-source-shopify@3.2.25 - gatsby-source-wordpress@3.3.26 - gatsby-telemetry@1.3.23 - gatsby-transformer-remark@2.8.27 - gatsby-transformer-sqip@2.3.22 - gatsby@2.24.11 * highlighted plugins (gatsbyjs#25998) * Revert "perf(gatsby-plugin-mdx): drop another babel step during sourcing" (gatsbyjs#26002) This reverts commit 6d0c791. * fix: Enable CLI integration tests (gatsbyjs#25997) * [docs][glossary] add new entry for client-side rendering (gatsbyjs#25984) * add new glossary entry for client-side routing * update text to address rendering vs. routing * Add link to page, rather than anchor Co-authored-by: Hashim Warren <hashim@gatsbyjs.com> * fix: do not augment plugin-options (gatsbyjs#26006) * fix(gatsby-recipes) Fix docs for name in NPMPackage * fix: update www (gatsbyjs#26043) Co-authored-by: Renovate Bot <bot@renovateapp.com> * Added extra markup (gatsbyjs#26030) * Added extra markup I found some js code which was not highlighted so I wrapped it in js code block, secondly, I added the link to reach/router as it was confusing if its react/router or reach/router * added the link to reach/router * Update glossary.md * chore(showcase): Add leanier.com site (gatsbyjs#26016) * Add support for cache refresh via GraphiQL (gatsbyjs#25960) * Add cache refresh button * Formatting * Explicit return type * www: Remove sw (gatsbyjs#26054) * Docs: Add a warning about static queries (gatsbyjs#25929) * feat(gatsby): Add top-level error handling to state machine (gatsbyjs#25995) * chore: Update stale yarn.lock (gatsbyjs#26068) * tests(gatsby): Add unit tests for develop state machine (gatsbyjs#26051) * feat(gatsby): Add top-level error handling to state machine * Add initial tests * Add tests for top-level machine * Test error handling * Add post-bootstrap to tests * chore(showcase): Add johnkavanagh.co.uk (gatsbyjs#25747) * chore(showcase): Minor changes Showcase Tatjana Volbeke Portfolio (gatsbyjs#25613) * fix(gatsby): Defer node mutation in more APIs (gatsbyjs#26067) * chore(release): Publish - gatsby-admin@0.1.101 - gatsby-cli@2.12.67 - gatsby-graphiql-explorer@0.4.12 - gatsby-plugin-mdx@1.2.30 - gatsby-plugin-sharp@2.6.23 - gatsby-recipes@0.1.57 - gatsby-remark-copy-linked-files@2.3.12 - gatsby-remark-images-contentful@2.3.12 - gatsby-remark-images@3.3.22 - gatsby-remark-responsive-iframe@2.4.12 - gatsby-source-contentful@2.3.33 - gatsby-transformer-sqip@2.3.23 - gatsby@2.24.12 * chore(showcase): add Julien Karst website (gatsbyjs#25682) Co-authored-by: Obinna Ekwuno <obinnacodes@gmail.com> * chore(showcase): BRIKL & TRUE STORY in showcase (gatsbyjs#25631) * chore(showcase): BRIKL & TRUE STORY in showcase * chore(showcase): run prettier sites.yml Co-authored-by: Obinna Ekwuno <obinnacodes@gmail.com> * chore(blog): Add i18n theme blog post (gatsbyjs#26065) * add blog post * fix linting * put head in code tag lol * chore(showcase): add Château de Morey 🏰 (gatsbyjs#25683) Co-authored-by: Obinna Ekwuno <obinnacodes@gmail.com> * chore(showcase): meetup.com (gatsbyjs#25792) Co-authored-by: Obinna Ekwuno <obinnacodes@gmail.com> * chore(gatsby): fix typegen for publishing (gatsbyjs#26078) * chore(gatsby): add typescript as dev dependency * chore(gatsby): run typegen after rimraf * fix(gatsby): Delete babel and terser cache dirs (gatsbyjs#26053) * Delete babel and terser cache dirs * Clean up yarn lock * fix yarn.lock (?) * verbose gatsby-dev * chore(gatsby): add typescript as dev dependency * Update e2e-test.sh * chore(gatsby): run typegen after rimraf Co-authored-by: Michal Piechowiak <misiek.piechowiak@gmail.com> Co-authored-by: gatsbybot <mathews.kyle+gatsbybot@gmail.com> * fix(gatsby): Load static query results from its own Db (gatsbyjs#26077) * Load static query results from its own Db * Keep StaticQueryContext because it is public API * Switch to an Object for static query results from a Map * Move getStaticQueryResults to private API * chore(release): Publish - gatsby-admin@0.1.102 - gatsby@2.24.13 * fix(gatsby-image): add required check for one of fluid or fixed (gatsbyjs#25371) * Do not crash the page if the image component is invoked without parameters * added a warning if missing fluid and fixed props * had swapped a condition * doing destructuring in function parameter list * now with functioning tree-shaking * updating function doc: returns undefined, not null * switching to proptypes for validation * Update packages/gatsby-image/src/index.js Co-authored-by: Andreas Ehrencrona <andreas@scholarsapp.com> Co-authored-by: Ward Peeters <ward@coding-tech.com> * fix(gatsby): Load resources in ProdPageRenderer (gatsbyjs#26092) * Load resources in ProdPageRenderer * Add simple unit tests * chore(release): Publish - gatsby-admin@0.1.103 - gatsby-image@2.4.14 - gatsby@2.24.14 * Update gatsby in www * Add plugincreator to API (gatsbyjs#26101) * Add plugincreator to API * fix capitlization Co-authored-by: Laurie Barth <laurie@LauriesrkLaptop.fios-router.home> * chore(showcase): Add Devnet (gatsbyjs#25952) Co-authored-by: Obinna Ekwuno <obinnacodes@gmail.com> * Add pluagin source for page (gatsbyjs#26104) Co-authored-by: Laurie Barth <laurie@LauriesrkLaptop.fios-router.home> * fix(gatsby-source-contentful): support height parameter for srcset (gatsbyjs#25776) * Calculate fixed image width if necessary * Calculate fixed image width if necessary * Revert snapshot test changes * Bring back new test * Update snapshot * chore(docs): Add author Colby Fayock (gatsbyjs#26109) * adding Colby Fayock author avatar and bio * Update author.yaml adding new line at end of file * pretier * Use commonmark option to better handle list parsing * revert fixpack changes to root package.json * Squashed commit of the following: commit 33aff39 Author: Kyle Mathews <mathews.kyle@gmail.com> Date: Thu Jul 30 13:09:59 2020 -0700 Update index.md * Actually fix lint error * Fix test * more fixing tests * Only log when DEBUG=true * Remove --quiet to see errors * Add rollup * resolve conflicts * remove testing code * Make yarn.lock file valid * WORK PLEASE * Add yoga-layout-prebuilt as explicit dependency to make rollup + yarn 2.0 happy * Add node-fetch as dependency * Update packages/gatsby-recipes/src/graphql-server/server.js Co-authored-by: Peter van der Zee <209817+pvdz@users.noreply.github.com> * Use string matching for NPMPackage versions * Add missing string matcher * Fix lint error * Add missing normalize.css dep Co-authored-by: John Otander <johnotander@gmail.com> Co-authored-by: Marcy Sutton <marcy@gatsbyjs.com> Co-authored-by: shannonbux <32467162+shannonbux@users.noreply.github.com> Co-authored-by: Paul Scanlon <pauliescanlon@gmail.com> Co-authored-by: Jarmo Isotalo <jamo@isotalo.fi> Co-authored-by: Blaine Kasten <blainekasten@gmail.com> Co-authored-by: Johnny Zabala <jzabala.s@gmail.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: Michal Piechowiak <misiek.piechowiak@gmail.com> Co-authored-by: Aisha Blake <aisha@gatsbyjs.com> Co-authored-by: Michael Murphy <mikeymurph77@gmail.com> Co-authored-by: Dawood Sadiq <dawoodsadiq171@gmail.com> Co-authored-by: James Brooks <52410024+jabrks@users.noreply.github.com> Co-authored-by: Haseeb Khan <haseebasif97@gmail.com> Co-authored-by: Ankit Ghosh <33004850+kaknut@users.noreply.github.com> Co-authored-by: Thijs <thijsvandiessen@users.noreply.github.com> Co-authored-by: Thijs van Diessen <thijs.vandiessen@incentro.com> Co-authored-by: Muescha <184316+muescha@users.noreply.github.com> Co-authored-by: Jordan Stapinski <jordan.stapinski@mongodb.com> Co-authored-by: Max Stoiber <contact@mxstbr.com> Co-authored-by: Brennan Kinney <5098581+polarathene@users.noreply.github.com> Co-authored-by: Nabeel Valley <36758308+nabeelvalley@users.noreply.github.com> Co-authored-by: Ward Peeters <ward@coding-tech.com> Co-authored-by: Vatsal Mistry <mistryvatsal11@gmail.com> Co-authored-by: Jack <jpwww@protonmail.com> Co-authored-by: Kurt Tomlinson <kurttomlinson@gmail.com> Co-authored-by: Lennart <lekoarts@gmail.com> Co-authored-by: Matt Kane <matt@gatsbyjs.com> Co-authored-by: gatsbybot <mathews.kyle+gatsbybot@gmail.com> Co-authored-by: Benedikt Rötsch <axe312ger@users.noreply.github.com> Co-authored-by: Joel Smith <jsumnersmith@gmail.com> Co-authored-by: Brent Jackson <jxnblk@gmail.com> Co-authored-by: Vladimir Razuvaev <vladimir.razuvaev@gmail.com> Co-authored-by: Alex Moon <moonmeister@users.noreply.github.com> Co-authored-by: Yogi <me@yogi.codes> Co-authored-by: Nat Alison <1278991+tesseralis@users.noreply.github.com> Co-authored-by: Laci-Texter <46265213+Laci-Texter@users.noreply.github.com> Co-authored-by: Tyler Barnes <tylerdbarnes@gmail.com> Co-authored-by: LB <laurie@gatsbyjs.com> Co-authored-by: Hashim Warren <hashim@gatsbyjs.com> Co-authored-by: anubhavmeet <57403244+anubhavmeet@users.noreply.github.com> Co-authored-by: Dan Kirkham <herecy@live.co.uk> Co-authored-by: Sidhartha Chatterjee <me@sidharthachatterjee.com> Co-authored-by: John Kavanagh <mail@johnkavanagh.co.uk> Co-authored-by: Julius <jlsvaicius@users.noreply.github.com> Co-authored-by: Julien Karst <JulienKode@users.noreply.github.com> Co-authored-by: Obinna Ekwuno <obinnacodes@gmail.com> Co-authored-by: Tobias Meixner <MeixnerTobias@users.noreply.github.com> Co-authored-by: Andy Stanberry <astanberry@meetup.com> Co-authored-by: Andreas Ehrencrona <andreas.ehrencrona@velik.it> Co-authored-by: Andreas Ehrencrona <andreas@scholarsapp.com> Co-authored-by: Laurie Barth <laurie@LauriesrkLaptop.fios-router.home> Co-authored-by: Marin Matošević <7361552+Marin-Matosevic@users.noreply.github.com> Co-authored-by: Sean Baines <mrseanbaines@gmail.com> Co-authored-by: Colby Fayock <colbyfayock@users.noreply.github.com> Co-authored-by: Peter van der Zee <209817+pvdz@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
bot: merge on green
Gatsbot will merge these PRs automatically when all tests passes
status: needs core review
Currently awaiting review from Core team member
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR fixes a bug we've discovered via
gatsby-plugin-mdx
here:gatsby/packages/gatsby-plugin-mdx/gatsby/source-nodes.js
Lines 141 to 144 in ce0ec31
The issue is that the
nodeWithContext
can be of any type here, not justFile
due to howfindRootNodeAncestor
is implemented (it doesn't check against the predicate for the top-most node).