Skip to content

Commit

Permalink
feat(Gatsby Recipes): Initial release (#22709)
Browse files Browse the repository at this point in the history
* Initial commit

Co-authored-by: John Otander <[email protected]>

* Cleanups

* more cleanup

* Add missing remark-stringify dep (#22721)

* WIP

* WIP

* update TODOs

* Prettier + enable Ink's experimental mode

* Don't need this anymore

* Support running local recipes e.g. gatsby recipes ./text.mdx

* prettier again

* Make config slightly more robust (#22743)

* Add support for devDependencies in NPMPackage resource

Also when DEBUG=true – log the recipes server output to recipe-server.log

* Move package to new prop name

* Update todos

* add TODO

* recipes: Improve providers (#22764)

* Don't overwrite files by default

* Handle object style plugin config

* Handle object style plugin config

* Update todo

* Use fs-extra, improve plugin config tests

* Fix file check

* Remove overwrite logic, this will be part of the plan step

* Improve recipes providers (#22783)

* Don't overwrite files by default

* Handle object style plugin config

* Handle object style plugin config

* Update todo

* Use fs-extra, improve plugin config tests

* Fix file check

* Remove overwrite logic, this will be part of the plan step

* Queue operations and prompt user for each step

* Remove unused graphql code

* Return a plan for next step and reveal in ui

* Begin using plan data for rendering

Co-authored-by: John Otander <[email protected]>

* Support rendering more markdown

* Support more markdown tags

* Tweak providers, add more thorough tests

* Clean up file after plan test

* recipes: Add initial package json resource (#22805)

* Copy recipes on change

* improve stylings for h2/h3

* Refactor to use xstate

* Update TODOs

* Improve parsing to handle basic template strings

* Improve parsing to handle basic template strings

* Chore(Recipes): Add recipes machine tests (#22823)

* Add tests for recipe machine & some refactorings

* Lint fixes

* Cleanup

* feat(recipes): Add resource schema/validation support (#22830)

* Add tests for recipe machine & some refactorings

* Lint fixes

* Cleanup

* Add start to e2e resource test example + resource schema + resource validation

* Add e2e resource test helper & improve File resource code for it

* fix(recipes): Don't duplicate plugin configuration by default (#22861)

Also moves gatsby plugin provider to new structure for
resources.

* feat(recipes): Generate graphql schema from resources (#22864)

* Add destroy cleanup verification

* Update package json to use new provider structure

* Update tests and port package json to new structure

* feat(recipes): Generate graphql schema from resources

* feat(recipes): Create connection types for resources (#22876)

* Find the root directory of the Node.js project/npm package and use that as the base for File resources

* Fix

* update tests

* Write e2e tests for npm package scripts & add validate/all implementations

* Fix recipes (#22885)

* Log errors happening in startup

* import joi -> import @hapi/joi

* Support for object values

* Fix some more recipes (#22889)

* Log errors happening in startup

* import joi -> import @hapi/joi

* Support for object values

* Fix serial/batch/parallel

* resource => resourceDefinition

* Fix more recipes stuff (#22891)

* Log errors happening in startup

* import joi -> import @hapi/joi

* Support for object values

* Fix serial/batch/parallel

* resource => resourceDefinition

* Add ids to allNPMScript

* Fix snapshot

* Add allNPMPackageJson

* Fix typo

* feat(recipes): Implement shadowable files for themes (#22909)

* feat(recipes): iterate on recipe design (#22911)

* Squashed master

commit 5859bdbd5b34b8758e35959e8da96db1eb7b70cc
Author: Pascal Jean-Francois <[email protected]>
Date:   Tue Apr 7 23:38:19 2020 +0300

    Recipe google analytics (#22648)

    * Update deploying-your-site.md

    * Added link from recipes page

    * chore: format

    * Update docs/docs/recipes/deploying-your-site.md

    Co-Authored-By: LB <[email protected]>

    * Update docs/docs/recipes/deploying-your-site.md

    Co-Authored-By: LB <[email protected]>

    * Update docs/docs/recipes/deploying-your-site.md

    Co-Authored-By: LB <[email protected]>

    * Update docs/docs/recipes/deploying-your-site.md

    Co-Authored-By: LB <[email protected]>

    * Update docs/docs/recipes/deploying-your-site.md

    Co-Authored-By: LB <[email protected]>

    * Update docs/docs/recipes/deploying-your-site.md

    Co-Authored-By: LB <[email protected]>

    * Update docs/docs/recipes/deploying-your-site.md

    Co-Authored-By: LB <[email protected]>

    * Update docs/docs/recipes/deploying-your-site.md

    Co-Authored-By: LB <[email protected]>

    * Update docs/docs/recipes/deploying-your-site.md

    Co-Authored-By: LB <[email protected]>

    * Update docs/docs/recipes/deploying-your-site.md

    Co-Authored-By: LB <[email protected]>

    * Update docs/docs/recipes/deploying-your-site.md

    Co-Authored-By: LB <[email protected]>

    * Update docs/docs/recipes/deploying-your-site.md

    Co-Authored-By: LB <[email protected]>

    * Update docs/docs/recipes/deploying-your-site.md

    Co-Authored-By: LB <[email protected]>

    * Update docs/docs/recipes/deploying-your-site.md

    Co-Authored-By: LB <[email protected]>

    * Update docs/docs/recipes/deploying-your-site.md

    Co-Authored-By: LB <[email protected]>

    * Update docs/docs/recipes/deploying-your-site.md

    Co-Authored-By: LB <[email protected]>

    * Update docs/docs/recipes/deploying-your-site.md

    Co-Authored-By: LB <[email protected]>

    * Update docs/docs/recipes/deploying-your-site.md

    Co-Authored-By: LB <[email protected]>

    * Update deploying-your-site.md

    * chore: format

    * Minor formatting, finishing step

    Co-authored-by: gatsbybot <[email protected]>
    Co-authored-by: LB <[email protected]>
    Co-authored-by: Laurie Barth <[email protected]>

commit cc6dbf65f0f3c3052c922383f2f7f772f6cd3f12
Author: Peter van der Zee <[email protected]>
Date:   Tue Apr 7 22:22:56 2020 +0200

    chore(release): Publish

     - [email protected]
     - [email protected]
     - [email protected]
     - [email protected]
     - [email protected]

commit cd120ae95de4f17a94b3002235d25cda812a219f
Author: Peter van der Zee <[email protected]>
Date:   Tue Apr 7 22:16:06 2020 +0200

    fix(gatsby-plugin-mdx): pass on proper `modules` option value to babel (#22903)

commit ff500c4f0ecff53223001769a35f128cb09878d1
Author: Michael <[email protected]>
Date:   Tue Apr 7 22:09:26 2020 +0200

    fix brand name (#22901)

commit 45b4ddefccd696523b0efbba89db324230bd48eb
Author: Michael <[email protected]>
Date:   Tue Apr 7 22:08:59 2020 +0200

    fix brand name (#22902)

commit ff48b22dc12fd29bbb401306f24856e55c2b7a81
Author: Michael <[email protected]>
Date:   Tue Apr 7 22:05:20 2020 +0200

    fix toc (#22895)

commit 60445cbc301e94aab01d9d60ac121abc406020d8
Author: LB <[email protected]>
Date:   Tue Apr 7 15:54:18 2020 -0400

    Update blogs with Gatsby Days info (#22900)

    Co-authored-by: Laurie Barth <[email protected]>

commit a171827f2e18b1cf3bb162a4df9eea570aa4b944
Author: Michelle Gienow <[email protected]>
Date:   Tue Apr 7 14:55:52 2020 -0400

    Fix Gatsby Days Virtual date

    Gatsby Days Virtual date has changed since publication, adjust text to reflect this.

commit f95cd06bb8454ae3a9dd746f6e4fa3f12bdc3717
Author: Brad Garropy <[email protected]>
Date:   Tue Apr 7 11:22:06 2020 -0500

    update seo example to use location and static query hooks. (#22772)

commit 0c480233824f85ef4ac1c02bb31329c997b538d3
Author: B4Le <[email protected]>
Date:   Tue Apr 7 23:10:41 2020 +0700

    [Docs] adding additional parameter for Install the Visual Studio 2015 Build Tools (#22653)

commit 16f9b40a44ecbf2f3210dcaad76bd09c8cba8780
Author: Aisha Blake <[email protected]>
Date:   Tue Apr 7 12:02:49 2020 -0400

    chore(docs): Add Snipcart reference guide (#22628)

    * Draft beginning and end

    * Tweak Snipcart intro

    * Finish draft

    * chore: format

    * HTML to JSX highlighting and label

    * Apply suggestions from code review

    Co-Authored-By: Obinna Ekwuno  <[email protected]>

    * Add explanation for where to put product code

    * chore: format

    * Apply suggestions from code review

    Co-Authored-By: LB <[email protected]>

    * Update docs/docs/adding-a-shopping-cart-with-snipcart.md

    * Update docs/docs/adding-a-shopping-cart-with-snipcart.md

    Co-Authored-By: LB <[email protected]>

    Co-authored-by: gatsbybot <[email protected]>
    Co-authored-by: Ekwuno Obinna <[email protected]>
    Co-authored-by: LB <[email protected]>

commit 16984877481579a3aab739a42d90a3bf122175d6
Author: Vladimir Razuvaev <[email protected]>
Date:   Tue Apr 7 22:54:45 2020 +0700

    chore(benchmarks): Add ability to fix broken images for contentful sites (#22882)

    * chore(benchmarks): Add ability to fix broken images for contentful sites

    * fix: added missing await

    * fix: removed accidental console.log

commit f19c4d7691d9e8e2c81575c4b10feecab27ba511
Author: Andrew Zeller <[email protected]>
Date:   Tue Apr 7 06:14:56 2020 -0700

    docs: add Gatsby Cloud documentation (#22708)

    * Add Gatsby Cloud documentation

    * Fix typo in Gatsby Cloud doc

    * Apply suggestions from code review

    Co-Authored-By: LB <[email protected]>

    * Add sub-bullets to breakup long steps

    * Revise CMS integrations bullet

    * alter some formatting

    * Update docs/docs/deploying-to-gatsby-cloud.md

    Co-authored-by: LB <[email protected]>
    Co-authored-by: Laurie Barth <[email protected]>

commit 2d147d3863a4e21f1de2b492f935502f70e16c46
Author: Michelle Gienow <[email protected]>
Date:   Tue Apr 7 09:06:21 2020 -0400

    Add Gatsby Days LA video blog number 6 (#22871)

    * Add Gatsby Days LA video blog number 6

    * chore: format

    Co-authored-by: gatsbybot <[email protected]>

commit 80c453e288164260d472beff1b37548b5afe4f15
Author: Florian Gyger <[email protected]>
Date:   Tue Apr 7 14:31:05 2020 +0200

    fix(gatsby-image): apply IE polyfill styles to placeholder images too (#22863)

    * apply IE polyfill styles to placeholder images too

    * fixed formatting

commit c16eaa25ea95addda5215d5c36324db7340d053c
Author: Marcy Sutton <[email protected]>
Date:   Tue Apr 7 05:12:03 2020 -0700

    update contributing doc (#22874)

commit 30397f3625328f666ddeb05affae5ca134ef4f86
Author: Mikhail Novikov <[email protected]>
Date:   Tue Apr 7 12:24:33 2020 +0300

    chore(release): Publish

     - [email protected]
     - [email protected]
     - [email protected]
     - [email protected]
     - [email protected]
     - [email protected]

commit cb9692f6dfc65a5c0229b93aea992aaf2eac26fa
Author: Mikhail Novikov <[email protected]>
Date:   Tue Apr 7 11:59:50 2020 +0300

    Use v8 serialize for context (#22851)

commit 5c1d4a4f084bcf6123ef4d67ebe4f14940f39f07
Author: Michelle Gienow <[email protected]>
Date:   Mon Apr 6 19:59:09 2020 -0400

    Add Gatsby Days LA video blog 5 (#22870)

    * Add Gatsby Days LA video blog 5

    * chore: format

    Co-authored-by: gatsbybot <[email protected]>

commit 8ef405bfdc8b3b9186ddb8631d50d260885df531
Author: LB <[email protected]>
Date:   Mon Apr 6 17:06:13 2020 -0400

    Improve README for twitter plugin (#22786)

    * Improve README for twitter plugin

    * Update packages/gatsby-plugin-twitter/README.md

    Co-Authored-By: Aisha Blake <[email protected]>

    * Update packages/gatsby-plugin-twitter/README.md

    Co-Authored-By: Aisha Blake <[email protected]>

    * Update packages/gatsby-plugin-twitter/README.md

    Co-Authored-By: Aisha Blake <[email protected]>

    Co-authored-by: Laurie Barth <[email protected]>
    Co-authored-by: Aisha Blake <[email protected]>

commit 87842fa994cc70111807b8b55b97128a58d51084
Author: LB <[email protected]>
Date:   Mon Apr 6 17:05:44 2020 -0400

    Add Cloud to Lighthouse Page (#22687)

    * Add Cloud to Lighthouse Page

    * Update docs/docs/audit-with-lighthouse.md

    Co-Authored-By: Aisha Blake <[email protected]>

    * Update docs/docs/audit-with-lighthouse.md

    Co-Authored-By: Aisha Blake <[email protected]>

    Co-authored-by: Laurie Barth <[email protected]>
    Co-authored-by: Aisha Blake <[email protected]>

commit b0c564f21ff5cfb7e420dd970cdeb3dddeb0b3bf
Author: Michelle Gienow <[email protected]>
Date:   Mon Apr 6 16:53:45 2020 -0400

    Update index.md (#22866)

commit 24bc3eacccc19705283209ab76333991d15574bd
Author: LB <[email protected]>
Date:   Mon Apr 6 16:38:53 2020 -0400

    Address inconsistency with gatsby-remark-images (#22666)

    Co-authored-by: Laurie Barth <[email protected]>

commit e24d333bedb6171fb0945366ba172538b26065a1
Author: Rohit Gohri <[email protected]>
Date:   Tue Apr 7 00:59:06 2020 +0530

    Fix transition-link installation docs link (#22865)

commit 25c38abf798916da6ecf00b0ef0b5163cc94014e
Author: Demetrio Alvarez <[email protected]>
Date:   Mon Apr 6 21:02:17 2020 +0200

    docs: fix references to undefined data variable (#22820)

commit 9e4a2bbd4b3800cf4666a062ef97649b3bac6481
Author: Michelle Gienow <[email protected]>
Date:   Mon Apr 6 13:58:58 2020 -0400

    Blog gatsby days LA video 4 (#22793)

    * Add Gatsby Days LA 2020 Video Blog 3

    * Create video blog post #4

    * chore: format

    * move file, change name

    Co-authored-by: gatsbybot <[email protected]>
    Co-authored-by: Laurie Barth <[email protected]>

commit a801a5d54ae5cb15e0eb5e59cc7ad63c71baf818
Author: Michelle Gienow <[email protected]>
Date:   Mon Apr 6 13:03:12 2020 -0400

    Blog virtual gatsby days cfp (#22796)

    * Add Laci Texter author avatar

    * Add Laci Texter to author.yaml

    * Create text for Virtual Gatsby Days CFP blog post

    * Update CFP text

    * chore: format

    Co-authored-by: gatsbybot <[email protected]>
    Co-authored-by: LB <[email protected]>

commit 6009c0a2063cd7ac1330de746fa4e71b55dcbab6
Author: Brad Garropy <[email protected]>
Date:   Mon Apr 6 11:04:48 2020 -0500

    🏠 showcase bradgarropy.com (#22775)

    Co-authored-by: Kyle Gill <[email protected]>

commit da61143a0b095efb5a538a0636da1c05542d6f80
Author: Miloš Dželetović <[email protected]>
Date:   Mon Apr 6 18:01:13 2020 +0200

    chore(starters): gatsby-ts-tw-styled-eslint-starter (#22835)

    * Add gatsby-ts-tw-styled-eslint-starter to starters.yml

    * Update starters.yml

    Co-authored-by: Kyle Gill <[email protected]>

commit 0c77a622bfe6bb38eefdb3e673e39a79b4ba5a27
Author: Tiffany Brown <[email protected]>
Date:   Mon Apr 6 08:58:35 2020 -0700

    Add docs/hydration entry. (#22767)

    - Update glossary.md, doc-links.yaml with links to new article.

commit 2bee16e6e587e011ec586f4c09f7d589d91a87e7
Author: Martin Makarský <[email protected]>
Date:   Mon Apr 6 17:54:36 2020 +0200

    chore(starters): add gatsby-starter-kontent-lumen (#22850)

    * chore(starters): add gatsby-starter-kontent-lumen

    * remove invalidated categories

    Co-authored-by: gatsbybot <[email protected]>
    Co-authored-by: Kyle Gill <[email protected]>

commit 8d01f2ac901992148453434fe60c3fda30b2b1fa
Author: Wojciech Kałużny <[email protected]>
Date:   Mon Apr 6 17:44:54 2020 +0200

    Added mrkaluzny.com (#22836)

    * Added mrkaluzny.com

    Added new site to showcase

    * update invalid tag

    * prettier doc formatting

    Co-authored-by: Kyle Gill <[email protected]>

commit 036c3da86ed9f52ce9154e7c95dcbcd8421bd12c
Author: caitlinthefirst <[email protected]>
Date:   Mon Apr 6 11:27:33 2020 -0400

    community event page update (#22800)

    * community event page update

    Updating to clarify that community support is currently suspended.

    * chore: format

    Co-authored-by: gatsbybot <[email protected]>

commit 9fb521a292d453146640f18437e13367c5a5cb5c
Author: caitlinthefirst <[email protected]>
Date:   Mon Apr 6 11:05:13 2020 -0400

    Update "organize a community event" page (#22801)

    * Update "organize a community event" page

    Update to clarify that the program is on hold due to COVID-19.

    * chore: format

    Co-authored-by: gatsbybot <[email protected]>

commit 9b635cbde5003f8762f1c2c8fe983786fb9a3a90
Author: Akshit Kr Nagpal <[email protected]>
Date:   Mon Apr 6 20:24:07 2020 +0530

    feat(www): Add Community Plugin Badge (#21847)

    * Add Community Plugin Badge

    * Add Community Icon for plugins search body

commit 4e1dc8a6368534ed6ebafa6705fe388e3935a680
Author: Rizwan Jamal ⚡️ <[email protected]>
Date:   Mon Apr 6 19:27:23 2020 +0500

    fix: fix grammar issues with formatting (#22808)

commit 16793b313b44a7772b09e7051925630845ba2252
Author: Kevin Miller <[email protected]>
Date:   Mon Apr 6 10:26:43 2020 -0400

    chore(docs): Add site The COVID Tracking Project (#22828)

    Co-authored-by: LB <[email protected]>

commit 6e4cc15a61759bdeca2460e63d561c5226c15040
Author: Chris Opperwall <[email protected]>
Date:   Mon Apr 6 07:22:04 2020 -0700

    docs: use PageQuery in gatsby image example snippet (#22815)

    This updates the example snippets on the /docs/using-gatsby-image
    documentation page to use PageQueries instead of StaticQueries, because
    the example snippets have a src/pages/index.js filename.

    The hope is that since the snippet filenames are in the pages directory,
    it's more consistent with other documentation to use PageQueries when
    in a src/pages/*.js file instead of a StaticQuery, which from the
    documentation appears to be used in places like src/components/*.js.

commit a9085a3f3161b760775cdaf8d2d846825b3f4f48
Author: Barry McGee <[email protected]>
Date:   Mon Apr 6 15:11:01 2020 +0100

    Update broken link in sourcing-from-graphcms.md (#22827)

commit e1b854e5056060da09a9feaa476597975cf3a264
Author: Vladimir Razuvaev <[email protected]>
Date:   Mon Apr 6 17:49:44 2020 +0700

    chore(release): Publish

     - [email protected]

commit ad945ec8a8428ed4a53614e2e646ca5a68c79d82
Author: Vladimir Razuvaev <[email protected]>
Date:   Mon Apr 6 17:41:42 2020 +0700

    fix(gatsby-source-graphql): Convert ts to plain js until better times (#22848)

commit 22b30333fd2fd5bb25f0fd402c313e3fd3e1874e
Author: T Thiyagaraj <[email protected]>
Date:   Mon Apr 6 16:01:21 2020 +0530

    chore(docs): Update formatting (#22845)

    * Fix formatting, add commas

    * chore: format

    Co-authored-by: gatsbybot <[email protected]>

commit 6d3545321c6cd6efcfc22477fb22bc2105fa6602
Author: Masoud <[email protected]>
Date:   Sun Apr 5 17:31:49 2020 -0600

    Added covid19.thegauntlet.ca to sites.yml (#22839)

    Co-authored-by: gatsbybot <[email protected]>

commit aa550f49a711b103dd4370f493e5ecf6a52354c1
Author: mike w <[email protected]>
Date:   Sun Apr 5 19:31:38 2020 -0400

    chore(starters): add gatsby-starter-basic-bootstrap (#22837)

    Nothing earth-shattering here, simply a starter with  *just* react-bootstrap and sass
    support. Many other existing starters bring a lot of additional bells and whistles.

    Co-authored-by: gatsbybot <[email protected]>

commit 2132f18e6a2559f1bc533e197c2d8551a552fc17
Author: ritesh-zestard <[email protected]>
Date:   Mon Apr 6 04:59:55 2020 +0530

    Update Zestard.com site for showcase (#22787)

    * update zestard site for showcase

    * chore: format

    Co-authored-by: gatsbybot <[email protected]>

commit ac7869b63c8d606fd53591e7400ac56a47ecb9fc
Author: Sergey Monin <[email protected]>
Date:   Mon Apr 6 03:29:40 2020 +0400

    Update sites.yml, add ocius.com.au (#22362)

    Co-authored-by: Kyle Mathews <[email protected]>
    Co-authored-by: gatsbybot <[email protected]>

commit 25f2276332df83ac068ba198693c9fd99816d24d
Author: Kostas Vrouvas <[email protected]>
Date:   Mon Apr 6 02:26:38 2020 +0300

    Update sites.yml (#22769)

    add kosvrouvas.com

    Co-authored-by: gatsbybot <[email protected]>

commit b0c2b11bbee741c1bbf2ab99b8849dee443cc841
Author: Gagandeep Singh <[email protected]>
Date:   Mon Apr 6 04:54:19 2020 +0530

    chore(starters): add gatsby-starter-22boxes-uno (#22756)

    * Gatsby starter added: Uno

    * git url updated

    Co-authored-by: Gagandeep Singh <[email protected]>

commit d4e3368e00c918323822a1fb9bcb9cccb0857a37
Author: SONGMINSEOK <[email protected]>
Date:   Mon Apr 6 08:23:46 2020 +0900

    chore(starters): add gatsby-starter-song (#22712)

    * chore(starters): add gatsby-starter-song

    * chore(starters): typo error modify

    * chore(starters): typo modify

    * Guildlines
    Correct by referring to the guidelines

    * Error update

    * error: Decompress bug

    * package.json downgrade

commit 30b5f86ececce9634a26b01589960c64320df7a5
Author: Robin Métral <[email protected]>
Date:   Mon Apr 6 01:23:02 2020 +0200

    chore(starters): update gatsby-theme-oss (#22698)

    * chore(starters): update gatsby-theme-oss

    The starter was redesigned and extended into a Gatsby Theme.
    https://github.com/robinmetral/gatsby-theme-oss

    * chore(starters): switch gatsby-starter-oss to starter repo

    The theme's repo at robinmetral/gatsby-theme-oss is not a valid starter although the tree contains one, because it cannot be installed with the gatsby-cli using gatsby new.

    To solve this, the starter is now being auto-published on robinmetral/gatsby-starter-oss.

commit ca8088b0d2ab73e5a7339d44e695d3acd6ddb6a0
Author: arnorhs <[email protected]>
Date:   Sun Apr 5 23:22:22 2020 +0000

    Adding www.kosmosandkaos.is to the sites.yml file (#22371)

    * Adding www.kosmosandkaos.is to the site showcase

    * Update sites.yml

    * Update sites.yml

    * Update sites.yml

commit 644372e69b63824be5ed46a3cf745c84d7003119
Author: Masatoshi Nishiguchi <[email protected]>
Date:   Sun Apr 5 19:20:35 2020 -0400

    Add hanarecafe.com to the Showcase (#22790)

commit 3af9ec0c9a81196a3054be336633d8adae024d9f
Author: Nicholas Duffy <[email protected]>
Date:   Sat Apr 4 15:30:50 2020 -0600

    Update benchmark willit version to * (#22824)

commit 7508565d15be38ae4f57bf53d77c017021bdf812
Author: Michal Piechowiak <[email protected]>
Date:   Sat Apr 4 20:47:56 2020 +0200

    chore(release): Publish

     - [email protected]
     - [email protected]
     - [email protected]
     - [email protected]
     - [email protected]
     - [email protected]
     - [email protected]

commit 156d8316dfbc5796877b471b02127e4657a57a45
Author: nikoladev <[email protected]>
Date:   Sat Apr 4 20:42:31 2020 +0200

    chore(monorepo): bump decompress in yarn.lock (#22797)

    https://www.npmjs.com/advisories/1217

commit 7a8f01626641f2ffa970032d42ec875d1479c177
Author: nikoladev <[email protected]>
Date:   Sat Apr 4 20:25:02 2020 +0200

    fix(dependencies): bump potrace version (#22803)

    * fix minimist vulnerability

    https://www.npmjs.com/advisories/1179

    * update extract-zip

commit 7b083a6812da8405d2b521e3676e4e57f888bf71
Author: Michal Piechowiak <[email protected]>
Date:   Sat Apr 4 19:26:11 2020 +0200

    chore(starters): bump dependencies (#22819)

commit 9d256d4a96ab5f5ed8ba5f4a4eda24410f328c75
Author: Nicholas Duffy <[email protected]>
Date:   Fri Apr 3 16:41:17 2020 -0600

    Fix incorrect benchmark working directory (#22807)

commit 82b1fdae85db583c09d9b7b2203512ab36d7e33b
Author: Michelle Gienow <[email protected]>
Date:   Fri Apr 3 16:53:51 2020 -0400

    Blog case study commonwealth aten (#22802)

    * Upload author avatar Debra Combs

    * Add Debra Combs to authors.yaml

    * Create Commonwealth Aten case study text index.md

    * Add redesigned scorecard screenshot

    * chore: format

    Co-authored-by: gatsbybot <[email protected]>

commit 2bb39c191631961ff80f0cbf31cec5881f19eb17
Author: Yuki Takemoto <[email protected]>
Date:   Sat Apr 4 05:39:49 2020 +0900

    docs: add missing quote (#22771)

    Co-authored-by: gatsbybot <[email protected]>

commit 948e0933dc69a621eeaf188f1821c338c4256d99
Author: Hashim Warren <[email protected]>
Date:   Fri Apr 3 15:45:39 2020 -0400

    (blog) 100days challenge 14 (#22799)

    * Add use themes blog post

    * chore: format

    * Fix typos

    Co-authored-by: gatsbybot <[email protected]>

commit 5bc03719320d02da27d154fe4df7a30ec1c6289f
Author: Moni <[email protected]>
Date:   Fri Apr 3 15:05:04 2020 -0400

    doc: fix grammer (#22791)

commit 25e404fd7be6467d8e52359ca45ad148514ac4a2
Author: Michal Piechowiak <[email protected]>
Date:   Fri Apr 3 16:38:23 2020 +0200

    chore(release): Publish

     - [email protected]

commit 3aa090ecaae7cda8b6d45b7ed2f1a1e86ca604f8
Author: Nicholas Duffy <[email protected]>
Date:   Fri Apr 3 08:29:36 2020 -0600

    chore(benchmarks): Add BENCHMARK_ prefix to benchmark env variables (#22779)

    * Add BENCHMARK_ prefix to benchmark env variables

    * Update example envs with BENCHMARK prefix

    * Update Contentful envs in setup

commit ec4e286a8ec93ca0fc5bc412e26cdfb478eb2071
Author: Nicholas Capo <[email protected]>
Date:   Fri Apr 3 09:28:18 2020 -0500

    ci: add mdx benchmark to cronjob, adjust content source in remark benchmarks to differentiate mdx and remark (#22780)

    * chore(circleci): Change BENCHMARK_CONTENT_SOURCE MDX to MARKDOWN

    * We will soon be running an actual MDX benchmark so correct these

    * chore(benchmarks): Fixup and integrate mdx

    * Enable in CircleCI

commit b5b41a081af264864db87742aa7f0e06f87f14e1
Author: Nicholas Duffy <[email protected]>
Date:   Fri Apr 3 08:21:05 2020 -0600

    fix(gatsby-plugin-benchmark-reporting): Update pageCount to use NUM_PAGES (#22766)

    * Update pageCount to use NUM_PAGES

    * parseInt for NUM_PAGES environment

commit c6552a227a54f338346b82a10ad5f1097dec3b5a
Author: Nicholas Duffy <[email protected]>
Date:   Fri Apr 3 08:08:38 2020 -0600

    chore(benchmarks): Add .nvmrc to new benchmarks (#22760)

commit 4210f46f97a5d93e385776deccb39c20146710a9
Author: Eyas <[email protected]>
Date:   Fri Apr 3 08:06:53 2020 -0400

    chore: Upgrade and consolidate @types/react (#22710)

    We used to only inherit it transitively via @types/prop-types, but a lot
    of typings actually need it.

    This will helps us pull the latest @type/reach__router package, which
    (only implicitly, unfortuately) depends on more recent react types than
    the ones we have.

    For example, helps in #22563.

commit 805b745a15d38b14550312cdb4e1a99be2313bef
Author: Mikhail Novikov <[email protected]>
Date:   Fri Apr 3 12:03:15 2020 +0300

    chore(release): Publish

     - [email protected]
     - [email protected]
     - [email protected]
     - [email protected]
     - [email protected]

commit a7281c220802e0baf02441b97e421a7f4dde0345
Author: Mikhail Novikov <[email protected]>
Date:   Fri Apr 3 11:58:36 2020 +0300

    fix(gatsby): Fix OOM from telemetry storing too much (#22752)

commit 5b35accd289c4da6fc7ee515ba654ee3985f90f0
Author: Arthur <[email protected]>
Date:   Thu Apr 2 19:42:17 2020 -0700

    chore(gatsby) Migrate joi schema to Typescript (#22738)

    * Migrate joi schema to Typescript

    * Add joi schema for gatsby-cli's structured-errors as well

    * Fixes unit-test

    * Use types from redux/types - they seem to be newer than types in gatsby/index.d.ts

    * consolidate structured errors types into types file to be imported by others

    * force rebuild

    Co-authored-by: madalynrose <[email protected]>

commit 9bc20261ea4cd1d6a5a354cdaed7a7aebe2026ae
Author: Blaine Kasten <[email protected]>
Date:   Thu Apr 2 21:35:31 2020 -0500

    chore(release): Publish

     - [email protected]
     - [email protected]
     - [email protected]
     - [email protected]
     - [email protected]
     - [email protected]
     - [email protected]

commit 14b96052edc1e653a71e78e9262962f8aef5eb9a
Author: Michal Piechowiak <[email protected]>
Date:   Fri Apr 3 04:34:17 2020 +0200

    fix(gatsby-link): drop custom innerRef typing and reuse one from @reach/router (#22770)

commit 480a9280c6fc27bb1b3f0d408067820acc30b840
Author: Blaine Kasten <[email protected]>
Date:   Thu Apr 2 21:26:14 2020 -0500

    chore(gatsby-cli): Add tests for `gatsby repl` (#22740)

commit 11617945991e30ab896aafd387fe908a0f8af627
Author: Alejandro Ñáñez Ortiz <[email protected]>
Date:   Thu Apr 2 21:25:25 2020 -0500

    Update README.md (#22781)

    The API referenced in the examples is no longer available. Here's the correct one.

commit ab9cc63ef596c876514537d1b64d1362a8aa6f38
Author: Aziz Abbas <[email protected]>
Date:   Thu Apr 2 11:24:11 2020 -0700

    chore(starters): add gatsby-starter-builder (#22692)

    * chore(starters): add gatsby-starter-builder

    * address feedback

commit 81f09f866d8e342ff6a93a9b7acb506bd2bbfeb5
Author: Boris Kirov <[email protected]>
Date:   Thu Apr 2 19:41:33 2020 +0200

    Added Fluiditype (#22686)

    * Added Fluiditype

    Adding a site build with Gatsby, which is about fluid typography

    * Update sites.yml

    * Update docs/sites.yml

    Co-authored-by: gatsbybot <[email protected]>
    Co-authored-by: Kyle Mathews <[email protected]>
    Co-authored-by: LB <[email protected]>

commit 4eedfaf082588db42ee5fdbd9eb0c7b7febc6477
Author: Michelle Gienow <[email protected]>
Date:   Thu Apr 2 12:22:16 2020 -0400

    Add blog post with Gatsby LA video 2 - Dustin Schau (#22736)

    * Create index.md

    * Create video preview

    * Change branch name

    Nomenclature is now by author rather than video sequence

    * Update index.md

    * chore: format

    Co-authored-by: gatsbybot <[email protected]>

commit 62cba610751d1a82831ec7e2346325b00d7d20ed
Author: Nicholas Duffy <[email protected]>
Date:   Thu Apr 2 08:38:22 2020 -0600

    Fix DatoCMS benchmarks (#22761)

    * Fix DatoCMS benchmarks

    * Update double quotes to backticks

commit a6f5dc3466d398acf81203ea8dab94bf36407186
Author: Mukul Rathi <[email protected]>
Date:   Thu Apr 2 14:33:47 2020 +0100

    chore(starters): add  gatsby-starter-reason-blog (#22690)

    Co-authored-by: gatsbybot <[email protected]>

commit b37eda084ee62bcea5bd28e6ab36ae6553a1069f
Author: Michael <[email protected]>
Date:   Thu Apr 2 14:37:36 2020 +0200

    remove local domain (#22729)

    Co-authored-by: gatsbybot <[email protected]>

commit aafef8d235f2b88648046e36699be20258360920
Author: Michael <[email protected]>
Date:   Thu Apr 2 14:20:00 2020 +0200

    remove local domain (#22732)

commit cfd2384ee9249772f5af96b38f0466dc1ab35257
Author: Georges Haidar <[email protected]>
Date:   Thu Apr 2 08:25:05 2020 +0100

    fix(gatsby-source-contentful): use request url for base64 image cache key (#22745)

    * fix(gatsby-source-contentful): use request url for base64 image cache key

    * Apply suggestions from code review

    Co-authored-by: Ward Peeters <[email protected]>

commit 6c4a97998183226f9b6615ac2a0637651b4db12c
Author: Kyle Mathews <[email protected]>
Date:   Wed Apr 1 16:02:23 2020 -0700

    Add blog post for community Q&A (#22737)

commit 231c7ef16db9e5845e013d9dad54ad42c76b9971
Author: Blaine Kasten <[email protected]>
Date:   Wed Apr 1 17:17:46 2020 -0500

    chore(gatsby-cli): use `gatsby clean` in tests to test `gatsby clean` (#22739)

    * chore(gatsby-cli): use `gatsby clean` in tests to test `gatsby clean`

    * cleanup

commit 18b1bbc31dc5bf86464394baa1c2d12b6a10291c
Author: Michelle Gienow <[email protected]>
Date:   Wed Apr 1 16:58:49 2020 -0400

    Fix typo (#22727)

commit ad6bc16d6cfb57155ca04b0420c26e9f72d1607a
Author: Vladimir Razuvaev <[email protected]>
Date:   Thu Apr 2 03:00:27 2020 +0700

    fix(gatsby): Support grouping by reserved keywords (#22603)

commit 040afea56df9b49838e18b5f6f23f716906817ab
Author: Michael <[email protected]>
Date:   Wed Apr 1 19:54:17 2020 +0200

    remove local domain (#22723)

commit 1aac0ff45a58539185921121faff75cebd7af79a
Author: Michal Piechowiak <[email protected]>
Date:   Wed Apr 1 19:04:38 2020 +0200

    docs: clarification about `.cache` and `public` persistance when using GATSBY_EXPERIMENTAL_PAGE_BUILD_ON_DATA_CHANGES (#22720)

commit b1be097a6afa86c1311b97440b38b5671a3f553b
Author: Vladimir Razuvaev <[email protected]>
Date:   Wed Apr 1 22:50:42 2020 +0700

    chore(release): Publish

     - [email protected]
     - [email protected]
     - [email protected]
     - [email protected]
     - [email protected]
     - [email protected]
     - [email protected]

commit 7a4db4bf5d7de548195a9952f562d75763201f20
Author: Camilo Bravo <[email protected]>
Date:   Wed Apr 1 11:32:52 2020 -0400

    fix(gatsby-plugin-google-gtag): OutboundLink Forward Ref (#22705)

    * gatsby-plugin-google-gtag OutboundLink Forward Ref

    update gatsby-plugin-google-gtag OutboundLink component to forward ref onto DOM element.

    * fix typo

    * linting fix

    * remove semi clons

commit d5894c10d4474d297c7b8a13780b2a9e1d803264
Author: Lane Parton <[email protected]>
Date:   Wed Apr 1 10:19:35 2020 -0400

    [docs]Docs/Blog Frontmatter Documentation (#22604)

    * Update docs-and-blog-components.md

    * Update docs-and-blog-components.md

    * Update docs/contributing/docs-and-blog-components.md

    Co-Authored-By: LB <[email protected]>

    * Update docs-and-blog-components.md

    Co-authored-by: LB <[email protected]>
    Co-authored-by: gatsbybot <[email protected]>

commit 8b96f950b22d3688d8e2a800109fd4ae902917e9
Author: Peter van der Zee <[email protected]>
Date:   Wed Apr 1 15:10:42 2020 +0200

    chore(gatsby): create single filter cache key generator (#22716)

    * chore(gatsby): create single filter cache key generator

    * Add comment about future proofing

commit 372d127258953b783efd5c67a44d0a53281bb91d
Author: Blaine Kasten <[email protected]>
Date:   Tue Mar 31 21:59:21 2020 -0500

    chore(gatsby-cli): Add integration tests for `gatsby develop` (#22699)

    * chore(gatsby-cli): Add integration tests for `gatsby develop`

    * cant use the `lsof` command in CI :(

    * 30s wait

    * disable assertions

* add todo

* feat(recipes): Show recap of operations & show diff for changes to files (#22953)

* feat(recipes): Show recap of completed operations & diff of proposed changes to files

* Use better diff algorithm + diff by line not word as that's more normal

* Fix merge barf

* Remove file that came in from bad merge

* update todos

* Validate resources & improve file diffing (#22986)

* Improve diffing & just run all resource operations serially

* feat(recipes): Import recipes from urls and begin moving parsing to the server (#22987)

* Update todo

* feat(recipes): Move recipe parsing to the server

Also adds experimental support for url imports
and recipes from urls.

* Fix command

* update todos

* Add support for file content on remote URLs

* Add some basic docs & new emotion recipe

* Small updates to README

* small fixes

* fix

* More todos

* Cleanup comments

* Add to docs about how to upgrade gatsby-cli

* feat(recipes): Implement basic gitignore provider (#23003)

* Begin implementing gitignore

* feat(recipes): Implement basic gitignore provider

* Move to jest-diff for faster diffing & more control

* Update snapshots & use default jest-diff export as that handles any type of JS value"

* Chalk thinks it shouldn't output color in a child process — fix that

* tweak TODOs

* update todos

* update todos

* Move mdx source for recipes to their own directory

* Add Sass recipe

* Add recipe for setting up local gatsby-theme-blog

* Add todo around bundling

* feat(recipes): Eliminate new lines from markdown (#23064)

* feat(recipes): Implement shadow file resource and test it (#23063)

* feat(recipes): Implement shadow file resource and test it

* Call ensureFile in file resource

* Use path.sep for cross-platform support

* Update snapshots for jest-diff

* update todos

* Update README.md

* feat(recipes): detect if port is used and use a different one (#23076)

* feat(recipes): detect if port is used and use a different one

* Check task done

* pass graphqlPort to client

* feat(recipes): Tell people recipes is experimental & point them to the umbrella issue (#23079)

* Update todo

* feat(recipes): Use the package manager client the user specifies in their Gatsby config (#23083)

* feat(recipes): Use the package manager client the user specifies in their Gatsby config

* use actual package manager

* feat(recipes): Improve error handling and validation for MDX files and structure (#23085)

* feat(recipes): Validate the presence of an introduction step

* feat(recipes): Improve error handling and validation

* chore(recipes): test File resouces with remote file content (#23084)

* update todos

* Update todos

* feat(Recipes): Show list of recipes when one isn't passed in (#23086)

* feat(Recipes): Show list of recipes when one isn't passed in

* Fixes to recipes + styling tweaks

* Update packages/gatsby/src/recipes/README.md

Co-Authored-By: John Otander <[email protected]>

* make broken example actually broken

Co-authored-by: John Otander <[email protected]>

* update todos & add layout recipe to list"

* feat(recipes): Move recipes to a standalone package (#23108)

* feat(recipes): Move recipes to a standalone package

* Update prettier-git-hook.mdx

Co-authored-by: Kyle Mathews <[email protected]>

* Prettier color

* feat(recipes): Format gatsby-config changes with Prettier (#23112)

* Prettier color

* feat(recipes): Format gatsby-config changes with Prettier

* Bigger changes (#23078)

* Bigger changes

I switched the order so a person can experience the example first, then see how it was written, and then try writing their own

* update

based on @jxnblk 's suggestion thx!

* Restructuring of install instructions and headers

* Add cd command

* formatting

* a couple small nits (#23117)

Do these make sense @laurieontech?

Co-authored-by: Laurie Barth <[email protected]>
Co-authored-by: Kyle Mathews <[email protected]>

* feat(recipes): Add more recipes (#23119)

* Add Typescript recipe

* remove old duplicate

* Add Styled Components Recipe

* More bottom margin

* Add Cypress recipe

* Add recipe for animated page transitions

* Update packages/gatsby-recipes/recipes/cypress.mdx

Co-Authored-By: Dustin Schau <[email protected]>

* Update packages/gatsby-recipes/recipes/cypress.mdx

Co-Authored-By: Dustin Schau <[email protected]>

Co-authored-by: Dustin Schau <[email protected]>

* Fix name of <GatsbyShadowFile> and document it

* feat(recipes): Bundle react libraries into the cli (#23122)

* Begin bundling cli with react using webpack

* Use proper imports for gql things

* Mark proper libraries for bundling the cli

* Format

* Fix linting errors

* Fix more linting

* update snapshots

* Squashed commit of the following:

commit d29585b77cde186eeb3cd2a297effba34a56fa8b
Author: Nat Alison <[email protected]>
Date:   Tue Apr 14 16:08:02 2020 -0700

    Fix translated aria-label for expand buttons (#23113)

commit 6d4c664eb5e8044a20099330d0315ea06318f7ff
Author: Michelle Gienow <[email protected]>
Date:   Tue Apr 14 15:56:23 2020 -0400

    blog post urging Gatsby community members to meet virtually, not in p… (#23111)

    * blog post urging Gatsby community members to meet virtually, not in person, until pandemic ends

    * add bold bullet points

    * Add bold bullet points

    * chore: format

    Co-authored-by: gatsbybot <[email protected]>

commit 7a686ede986142518d2601350b9236704664975f
Author: Vladimir Razuvaev <[email protected]>
Date:   Wed Apr 15 01:28:05 2020 +0700

    chore(release): Publish

     - [email protected]

commit c7b0f703add9b676fa9cacd3f9063c9e21fea555
Author: Kamil Kisiela <[email protected]>
Date:   Tue Apr 14 20:09:53 2020 +0200

    chore(gatsby-source-graphql): Use GraphQL Tools again (#23103)

    * Use GraphQL Tools again

    GraphQL Tools Fork was merged into GraphQL Tools v5

    * Update packages/gatsby-source-graphql/src/__tests__/gatsby-node.js

    Co-Authored-By: Vladimir Razuvaev <[email protected]>

    Co-authored-by: Vladimir Razuvaev <[email protected]>

commit 89567674c3e91f356cbf318883a0217ae7f4c220
Author: Michael <[email protected]>
Date:   Tue Apr 14 18:09:33 2020 +0200

    fix(blog): MagMutual - brand names (#23072)

    * fix brand names

    * apply https

commit c803288120a7f800083301c0ed0d0f8463bced9a
Author: Michael <[email protected]>
Date:   Tue Apr 14 17:36:53 2020 +0200

    fix(docs): security in Gatsby - remove domain from internal links (#23100)

    * fix local links

    * fix remove local domain

commit e9c89310106e45557682366ae9f7133a6d652a74
Author: Michael <[email protected]>
Date:   Tue Apr 14 16:40:46 2020 +0200

    fix format (#23073)

commit b9e931a9f469323bb999129474d1df07983be7bf
Author: Vladimir Razuvaev <[email protected]>
Date:   Tue Apr 14 21:01:19 2020 +0700

    chore(gatsby): Test sift filtering on date instances (skipped for now) (#23096)

commit 900f31c127461d93d0025fd5972af10f74982bf1
Author: LB <[email protected]>
Date:   Tue Apr 14 09:58:45 2020 -0400

    Remove upcoming events (#23080)

    * Remove upcoming events

    * skip test

    * between the two of us we'll get this right, skip another test

    Co-authored-by: Laurie Barth <[email protected]>

commit 85e3580c695260c1322e03a13bf1fd8783e3806e
Author: Peter van der Zee <[email protected]>
Date:   Tue Apr 14 15:07:30 2020 +0200

    chore(release): Publish

     - [email protected]
     - [email protected]
     - [email protected]
     - [email protected]

commit d9bf48aa4beacd67a41ec255a1d96956afbc3652
Author: Mikhail Novikov <[email protected]>
Date:   Tue Apr 14 15:17:07 2020 +0300

    Revert "fix(gatsby): Set a timeout of 15 seconds on queries" (#23095)

    This reverts commit 1e81c76be653cadda933a7ed2e4ca0ca2d8742de.

commit f864e88c74ecda1a2a59f308d98cf53c5421b8b9
Author: Andrew Fairlie <[email protected]>
Date:   Tue Apr 14 13:09:36 2020 +0100

    Add The Cares Family to Showcase (#23043)

    * Add The Cares Family to Showcase

    * Fix extra space on sites.yml

    * Remove incompatible categories

    Co-authored-by: LB <[email protected]>

commit fd57224888a9ab1e92bc0cbe786665cbf9ca6ead
Author: Peter van der Zee <[email protected]>
Date:   Tue Apr 14 13:49:24 2020 +0200

    perf(gatsby): Support `lte` for indexed fast filters (#22932)

    * Rename function to better fit what it returns

    * Use `filterCacheKey` more consistently

    * Consistency around `nodesPerValue`

    * Fix the name and typing of array of sets of nodes

    * Fix typing, fix perf bug

    The typing of the array of caches was incorrect (see previous commit too).

    The sort, affected in this commit, was sorting by `.length`, but the value is a `Set` so the intention was to sort by `.size` since its `.length` will always be `undefined`. This won't change semantics, just meant that the sort didn't do anything, leading to a sub-optimal performance.

    * Extend the `FilterCache` type to support op-specific meta data

    * Replace wild usage of `FilterType`

    * Refactor some old comments / naming to be consistent with current code / types

    * Suggested changes

    Followup commits suggested by @vladar in https://github.com/gatsbyjs/gatsby/pull/22742

    * Enable `lte` for fast filters

    * Mandatory lint/type fix commit

    * And the loki commit

    * Enable/disable query and eleeMatch ops in one place

    * Fix tests, fix lte binary search lookup

    * Support `null` properly and handle not found binary search case

    The binary search should not return an arbitrary node, but rather a signal value (`undefined` in this case) that it failed somehow. It shouldn't, but who knows.

    The `null` case was a bit more work because it affects typign and all kinds of weird comparing edge cases. There's also a distinction between how `eq` treats `null` target values versus how `lte` treats them. So I had to encode them differently in the cache. Hence the type update.

    * Sigh, this is why I had to introduce that type in the first place

    * Forgot to remove an argument from followup work

    * Apply suggestions

commit 65cfc811f7774e47d8e0e2b5379b939cd964d67e
Author: Michael <[email protected]>
Date:   Tue Apr 14 13:47:24 2020 +0200

    fix brand names (#23075)

commit 408240b0a309abe2b4f1042f4adc324f18091b5f
Author: Michael <[email protected]>
Date:   Tue Apr 14 13:46:27 2020 +0200

    fix code block language (#23074)

commit b8a9b607ee97f25408bb1e509bb0f410ddeec2b8
Author: LekoArts <[email protected]>
Date:   Tue Apr 14 13:25:05 2020 +0200

    chore(release): Publish

     - [email protected]

commit 843cf3aee014debdc7eaf59009aa75e33025befd
Author: Akash Arora <[email protected]>
Date:   Tue Apr 14 16:51:45 2020 +0530

    fix(gatsby-plugin-fullstory): Updated to Edge URL + Add Update… (#23089)

    * Updated to Edge URL + Add Updated JS Code

    Refer to issue #23088

    * update snapshots

    Co-authored-by: LekoArts <[email protected]>

commit d32baaea10d036c09a36f1efcbfdfd3098561723
Author: Ward Peeters <[email protected]>
Date:   Tue Apr 14 08:55:10 2020 +0200

    chore(release): Publish

     - [email protected]
     - [email protected]
     - [email protected]
     - [email protected]
     - [email protected]
     - [email protected]

commit 64627e700bafd03c17b435784ca87425ae1455a1
Author: Tyler Barnes <[email protected]>
Date:   Mon Apr 13 14:01:10 2020 -0700

    chore(benchmarks): upgrade wordpress benchmark (#23065)

    * upgrade to latest and remove unneeded packages

    * bump wp source version

commit 36cb89057ee774ddff103ed7967742e51ab0a9a4
Author: LB <[email protected]>
Date:   Mon Apr 13 16:23:07 2020 -0400

    Make a note about duplicate behavior in theme authoring (#23055)

    Co-authored-by: Laurie Barth <[email protected]>

commit b969dc4c93842040a9e68e05fe0f666bdb4b2751
Author: Nat Alison <[email protected]>
Date:   Mon Apr 13 13:20:07 2020 -0700

    docs: Docs sync behavior (#23022)

    * try a few languages to check perf

    * Add section on the sync behavior

    * Update docs/contributing/translation/sync-guide.md

    Co-Authored-By: Aisha Blake <[email protected]>

    * Update docs/contributing/translation/sync-guide.md

    Co-Authored-By: Aisha Blake <[email protected]>

    * Update docs/contributing/translation/sync-guide.md

    Co-Authored-By: Aisha Blake <[email protected]>

    * Update i18n.js

    * chore: format

    Co-authored-by: Aisha Blake <[email protected]>
    Co-authored-by: gatsbybot <[email protected]>

commit 4983d2067473b2bbff32742095f2dba2fff9662f
Author: Nat Alison <[email protected]>
Date:   Mon Apr 13 12:33:34 2020 -0700

    Fix mobile nav bar text (#23069)

commit 63b9dd67d421d6e64f5f74574d23d2628d0d41c9
Author: Michael <[email protected]>
Date:   Mon Apr 13 20:56:35 2020 +0200

    fix code block language (#23070)

commit 0ede4c8ad14f33ffab1d4aa14c502b16eb1a6260
Author: Michael <[email protected]>
Date:   Mon Apr 13 20:56:05 2020 +0200

    fix casing in Image Captions (#23068)

commit b67891a50ba37309d99c84f7cc92ead7fd56f358
Author: Michael <[email protected]>
Date:   Mon Apr 13 20:24:22 2020 +0200

    fix links (#23066)

commit 13d3898a18faa43bc306a6cc0618e9e432b9a7b6
Author: Michael <[email protected]>
Date:   Mon Apr 13 20:20:06 2020 +0200

    fix brand names (#23067)

commit bd5ca8e42fcfa5a6f41ecc9bbd71845076d676dd
Author: João Pedro Schmitz <[email protected]>
Date:   Mon Apr 13 15:03:35 2020 -0300

    chore(starters): add gatsby-starter-ts (#22954)

    Co-authored-by: Kyle Gill <[email protected]>

commit a367a8885ff4b3c1cfa89111a3639fb107bacaaf
Author: Masoud <[email protected]>
Date:   Mon Apr 13 12:03:01 2020 -0600

    chore(sites): add whilenext.com (#22883)

    Co-authored-by: Kyle Gill <[email protected]>

commit 6f909b1f8b5818df4168b1628cc51cb47abd413f
Author: Amadeus <[email protected]>
Date:   Mon Apr 13 20:02:14 2020 +0200

    chore(starters): add gatsby-custom-tailwind (#22858)

    Co-authored-by: Kyle Gill <[email protected]>

commit a63b42ba8b1203a9ad8367bcc3951063b4dc402c
Author: SaimirKapaj <[email protected]>
Date:   Mon Apr 13 19:59:14 2020 +0200

    chore(starters): add gatsby-redux-toolkit-typescript-starter (#22788)

    * Add starter to starter list

    * fixed formatting

    Co-authored-by: Saimir Kapaj <[email protected]>
    Co-authored-by: Kyle Gill <[email protected]>

commit 41f1cc5e70ad61184a1acee2a3cbec234c486ce6
Author: Michelle Gienow <[email protected]>
Date:   Mon Apr 13 12:01:11 2020 -0400

    Add Virtual Gatsby Days registration blog post (#23060)

    * Add Virtual Gatsby Days registration blog post

    * Fix image path

    * Update index.md

commit 74114a4103748b74733a900b9a9e492d9699c56b
Author: Alejandro Ñáñez Ortiz <[email protected]>
Date:   Mon Apr 13 10:58:32 2020 -0500

    Update tailwind-css.md (#23028)

    CSS-in-JS section was referring to `Styled Components`, but in reality, it was using `Emotion`. I updated the documentation to reflect that.

    Co-authored-by: gatsbybot <[email protected]>

commit f9929bee7bb2642ebff4824aa295e3e44322bcf2
Author: Michelle Gienow <[email protected]>
Date:   Mon Apr 13 11:32:22 2020 -0400

    Update tagging (#23056)

commit 66a1b7f443d7d2067163528693344f686ba6ed71
Author: Blaine Kasten <[email protected]>
Date:   Mon Apr 13 09:11:46 2020 -0500

    fix(gatsby-cli): Fix console methods incorrectly handling falsy values (#23021)

    * fix(gatsby-cli): Fix console.* methods incorectly handling falsy values

    * handle more situations

commit 854241bb467d49adac8160fc594b7ff347fcf398
Author: caitlinthefirst <[email protected]>
Date:   Mon Apr 13 09:51:23 2020 -0400

    fix-typo

commit 8d4c96dcd648772dff22f51425e59a5b30f849c7
Author: Andrew Louis <[email protected]>
Date:   Mon Apr 13 09:20:16 2020 -0400

    Adds duetocovid19.com to sites.yml (#23048)

    * Adds duetocovid19.com to sites.yml

    * chore: format

    Co-authored-by: gatsbybot <[email protected]>

commit ddde4f9848ac49822faa5b4c4223c1efe7c8a233
Author: Jeremy Le François <[email protected]>
Date:   Mon Apr 13 14:01:07 2020 +0100

    chore(docs): fix e-commerce showcase link (#23053)

    Access the page in question: https://www.gatsbyjs.org/docs/building-an-e-commerce-site/

commit 1cef9296a37ad1badfab487fc8ad60cb42138690
Author: Jongwoo Han <[email protected]>
Date:   Mon Apr 13 21:52:56 2020 +0900

    chore(starters): update gatsby-starter-typescript (#23042)

commit 34defce9ac13240282be95587b570826932536fe
Author: Rolwin Reevan Monteiro <[email protected]>
Date:   Mon Apr 13 18:15:57 2020 +0530

    Update starters.yml (#22960)

commit cb224bb49f4a3cffa758da62ede0f720b94af52d
Author: Blaine Kasten <[email protected]>
Date:   Mon Apr 13 07:17:01 2020 -0500

    chore(scripts): Add conversion metrics to typecheck command (#23025)

commit 21d0e5b52121b2516eb97667d185e50796ec7e7b
Author: Tyler Barnes <[email protected]>
Date:   Sun Apr 12 13:02:04 2020 -0700

    chore(wordpress-benchmark): upgrade to latest packages and rem… (#23046)

commit 8493de86e4a4dd780afc8d289eaf723c52c6de61
Author: Vladimir Razuvaev <[email protected]>
Date:   Sun Apr 12 22:23:48 2020 +0700

    fix(gatsby): call schema rebuild manually on __refresh (#23009)

    * fix(gatsby): call schema rebuild manually on __refresh

    * Avoid collisions between schema hot reloader and __refresh

commit df870aba0888b1885309151ed473be70a1f0245f
Author: Nicholas Duffy <[email protected]>
Date:   Sun Apr 12 08:05:54 2020 -0600

    chore(circleci): Remove benchmark configuration (#23034)

commit 1e81c76be653cadda933a7ed2e4ca0ca2d8742de
Author: Kyle Mathews <[email protected]>
Date:   Sun Apr 12 08:03:49 2020 -0600

    fix(gatsby): Set a timeout of 15 seconds on queries (#23036)

    Query resolvers can hang indefinitely right now which can be confusing to debug as there's no indication of what's happening.

    With a timeout set, eventually the hanging query will fail with an error like this which should help people figure out where to investigate

commit 94267be6c11fd23db4a6a881b2964f0045d4725a
Author: Peteris Bikis <[email protected]>
Date:   Sat Apr 11 16:02:30 2020 +0100

    fix: Ensure component order is deterministic (#22965)

    * Ensure component order is deterministic

    Ensure component order - and therefore hash - is deterministic when writing out .cache/async-requires.js

    * Add test for getComponents

commit cff1d7f35c0cb81fa192336eee046cb83550af12
Author: Alex Moon <[email protected]>
Date:   Sat Apr 11 23:01:39 2020 +0800

    fix(plugin-sitemap): missing data in query results (#22843)

    * fix: #22703 missing data in serialize funciton

    * fix: revert a couple changes for url resolution to not change and get whole query

    * refactor: move otherData spread to top so site is overritten by propper url if needed

    * test: add test to confirm non standard data is passed

commit eacffd99e1306603761b594329719ea2db91733d
Author: Peter van der Zee <[email protected]>
Date:   Sat Apr 11 14:36:40 2020 +0200

    chore(release): Publish

     - [email protected]
     - [email protected]
     - [email protected]
     - [email protected]
     - [email protected]

commit 96f8d4b28c47e6833a057e1bcce41ceb5e54ca45
Author: Peter van der Zee <[email protected]>
Date:   Sat Apr 11 14:33:10 2020 +0200

    fix(gatsby): Use `moveSync` over `renameSync` to fix cross mount cases (#23029)

commit 2fcb978c3b294660c55e912e6146b2c9e79b0e31
Author: Nat Alison <[email protected]>
Date:   Fri Apr 10 14:32:25 2020 -0700

    Set the script to run at Friday 6pm PST (#23017)

commit 17d7ba23c985283af35af935f7a2897678364914
Author: Nat Alison <[email protected]>
Date:   Fri Apr 10 14:17:29 2020 -0700

    update time

commit eb660bd3b0186839365fc4382bec564bd7d96469
Author: Nat Alison <[email protected]>
Date:   Fri Apr 10 14:10:11 2020 -0700

    Add label to the sync PR even if no conflicts (#23014)

commit 1cc34980a557d83db2480d635d2fbdcd89098953
Author: Nat Alison <[email protected]>
Date:   Fri Apr 10 14:06:50 2020 -0700

    test run-all (#23016)

commit f27bcadda1ab41ed012d1e0802217b2969fbe69f
Author: Shane Thomas <[email protected]>
Date:   Fri Apr 10 15:54:29 2020 -0500

    docs: Update spelling error in 2020-04-05 blog post (#23015)

commit 17d5f5d2bfab3a944dc0d0466140cd13eea9b12d
Author: Michelle Gienow <[email protected]>
Date:   Fri Apr 10 16:47:20 2020 -0400

    Add blog post Agility CMS upgrades to Gatsby with author avatar (#22985)

    * Add blog post Agility CMS upgrades to Gatsby with author avatar

    * chore: format

    * Fix indent on Joel Varty newly added author ID

    * fix syntax that was making MDX choke

    Co-authored-by: gatsbybot <[email protected]>
    Co-authored-by: Laurie Barth <[email protected]>

commit 109b905dd02c36177d537078663c5408828564e7
Author: Dan Bovey <[email protected]>
Date:   Fri Apr 10 21:34:56 2020 +0100

    feat(remark-embed-snippet): embed specific lines (#21907)

    * feat(remark-embed-snippet): embed specific lines

    * refactor(remark-embed-snippet): util file names

    * fix(remark-embed-snippet): language of snippet

    * feat(remark-embed-snippet): parse numeric range

    Co-authored-by: gatsbybot <[email protected]>

commit 0b0f5f3fb9e38d12cf45911f18b615652044d23d
Author: Nat Alison <[email protected]>
Date:   Fri Apr 10 13:25:26 2020 -0700

    update weekly sync script (#23008)

commit 5ca794d80468c702b53eba6d071fd4755d862142
Author: Ashutosh Hathidara <[email protected]>
Date:   Sat Apr 11 01:41:24 2020 +0530

    Added doc for absolute import from gatsby eslint rules or other tools (#22750)

    * Added doc for absolute import from gatsby eslint rules or other tools

    * Added doc for absolute import from gatsby eslint rules or other tools

    * Prettier

    * Prettier

    * Added new section for importing non-webpack tools

    * Update docs/docs/add-custom-webpack-config.md

    Co-Authored-By: LB <[email protected]>

    * Update docs/docs/add-custom-webpack-config.md

    Co-Authored-By: LB <[email protected]>

    * Update docs/docs/add-custom-webpack-config.md

    Co-Authored-By: LB <[email protected]>

    * Prettier run

    * Undone other changes

    Co-authored-by: LB <[email protected]>

commit 1bfd02291250aafb1b49ddbc04c48b312a297d3e
Author: Michelle Gienow <[email protected]>
Date:   Fri Apr 10 15:52:10 2020 -0400

    Update index.md (#23007)

commit 250611abdb9905411281d4444265b57cbd129978
Author: John Bampton <[email protected]>
Date:   Sat Apr 11 05:29:44 2020 +1000

    chore(docs): 🧹 Remove whitespace from Markdown link (#23001)

commit 45d2a629f794f3325b4b7abf5af3b4aa1ea5d014
Author: IMRAN KHAN <[email protected]>
Date:   Sat Apr 11 00:46:16 2020 +0530

    Update sites.yml (#22881)

commit 3ac14e86d96190e6a28e1b2ad458bc6a1161d94a
Author: Blaine Kasten <[email protected]>
Date:   Fri Apr 10 12:51:09 2020 -0500

    chore(release): Publish

     - [email protected]
     - [email protected]
     - [email protected]
     - [email protected]
     - [email protected]
     - [email protected]
     - [email protected]

commit be85f2e51515582cef4dd140cd263b6c61c3a7e1
Author: Blaine Kasten <[email protected]>
Date:   Fri Apr 10 12:50:10 2020 -0500

    fix(gatsby-cli): Address an issue that caused empty logs to print undefined (#23000)

    * fix(gatsby-cli): Address an issue that caused empty logs to print undefined

    * fix lint

commit ec806717db88d22e83679221dff83e2d85f98c49
Author: Kirill Vasiltsov <[email protected]>
Date:   Fri Apr 10 21:23:09 2020 +0900

    fix(gatsby-plugin-mdx): Truncate non-latin language excerpts correctly (#22638)

    * Truncate option for non-latin languages

    * Add mention of truncate to docs

commit 84a37d2ce1c5043ffcd6c817cc2467ed710c5790
Author: Phumrapee Limpianchop <[email protected]>
Date:   Fri Apr 10 18:47:17 2020 +0700

    chore(gatsby): properly typed return types of replaceHydrateFunction (#22854)

    * feat: properly typed return types of replaceHydrateFunction

    * refactor: use renderer type in react-dom instead of manually define

commit ed2762fbfb1c18c5c25b3ae386b9654a22b36a8d
Author: Steven Occhipinti <[email protected]>
Date:   Fri Apr 10 21:30:48 2020 +1000

    fix(gatsby-plugin-react-helmet): allow the use of `react-helmet@6` (#22993)

    Adjusts peerDependencies constraint. No code changes needed

commit 93b821342f386333ab3fbd2982e227026fa529e0
Author: Vladimir Razuvaev <[email protected]>
Date:   Fri Apr 10 18:04:05 2020 +0700

    chore(release): Publish

     - [email protected]
     - [email protected]
     - [email protected]
     - [email protected]
     - [email protected]
     - [email protected]
     - [email protected]

commit f4da7560553457ce0c23050c1a05e3a67a843544
Author: Nicholas Capo <[email protected]>
Date:   Fri Apr 10 03:34:42 2020 -0500

    Benchmarks tune circleci (#22872)

    * circleci: Set GATSBY_CPU_COUNT on benchmarks to get them to run

    * Without this they (e.g. MDX) fail with ENOMEM

    * circleci: Remove incorrect second npm install

    * A second npm install would invalidate the second WARM_START build
      numbers

    * benchmarks/source-wordpress: Standardize dotenv configs

    Co-authored-by: Peter van der Zee <[email protected]>

commit 5a2c0cf110f19c00cab4a588cd8998b06fb8e957
Author: Nicholas Duffy <[email protected]>
Date:   Fri Apr 10 00:59:38 2020 -0600

    chore: Add benchmarks and environment variables for CMS sources (#22893)

    * Add Contenful and DatoCMS benchmarks

    * Update WordPress environment loading

    * Update CircleCI environment variable loading

    * Add WordPress benchmarks

    * Split set environment variables into separate command

commit ccaf075ba7c454cdbf0bd131ad6b4df2fdebdbc2
Author: Kyle Mathews <[email protected]>
Date:   Thu Apr 9 22:55:35 2020 -0700

    Update gatsby-config.js (#22992)

    Add empty plugin array

commit 1272037a30cb3a88cf85b64bcea7e8cd9dd4853c
Author: 1natsu <[email protected]>
Date:   Fri Apr 10 13:11:06 2020 +0900

    chore(gatsby): Migrate redux/actions/types and  redux/actions/restricted to TypeScript (#22297)

    * chore: restricted.js to TypeScript

    * fix: require to import statement

    * chore: enhance payload types

    Co-authored-by: Blaine Kasten <blainekast…
  • Loading branch information
7 people authored Apr 16, 2020
1 parent b3343ab commit c59a421
Show file tree
Hide file tree
Showing 92 changed files with 7,569 additions and 28 deletions.
1 change: 1 addition & 0 deletions CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,5 @@
/themes/ @gatsbyjs/themes-core
/packages/gatsby-plugin-mdx/ @gatsbyjs/themes-core
/packages/gatsby/src/bootstrap/load-themes @gatsbyjs/themes-core
/packages/gatsby-recipes/ @gatsbyjs/themes-core
/packages/gatsby/src/internal-plugins/webpack-theme-component-shadowing/ @gatsbyjs/themes-core
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ In the last post, I covered setting up [WordPress for use with Gatsby](/blog/201

I have set up a WordPress site for you to use with the plugins mentioned in the last post as well as some dummy content to use. If you're curious, my favorite lorem generator is [Fillerama](http://fillerama.io/) which offers random content from Futurama, Monty Python, Star Wars, and more. This is where the content came from.

https://giphy.com/gifs/french-week-sDcfxFDozb3bO
https://giphy.com/gifs/movie-funny-HfJdu4HABDU3e

## Gatsby.js starter

Expand Down
2 changes: 0 additions & 2 deletions docs/blog/2019-08-14-strivectin-case-study/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,6 @@ We confidently ship code to production many times per day. At the time of writin

StriVectin’s hosting costs have gone from \$2,000/month to just a few dollars per day. The servers will be decommissioned very soon.

https://giphy.com/gifs/DC4g3SGNJpC

Feature development and maintenance is much simpler. The codebase was around 20,000 files on Magento and went down to around 300.

## Final Thoughts
Expand Down
4 changes: 3 additions & 1 deletion docs/blog/2019-11-14-announcing-gatsby-cloud/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ title: "Announcing Gatsby Cloud"
date: 2019-11-14
author: "Kyle Mathews"
excerpt: "I'm excited to announce that we're launching our commercial platform, Gatsby Cloud, which will provide a growing suite of tools for web creators"
tags: ["gatsby-inc"]
tags: ["gatsby-inc", "releases", "gatsby-cloud"]
---

---

We're excited to announce the launch of [Gatsby Cloud](https://www.gatsbyjs.com/): a commercial platform of stable, trusted tools that enable web creators to build better websites.
Expand Down
9 changes: 0 additions & 9 deletions docs/starters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4544,15 +4544,6 @@
- Based on the official Gatsby starter blog
- Uses TailwindCSS
- Uses PostCSS
- url: https://gatsby-starter-hello-world-with-header-and-footer.netlify.com/
repo: https://github.com/lgnov/gatsby-starter-hello-world-with-header-and-footer
description: Gatsby starter with a responsive barebones header and footer layout
tags:
- Styling:CSS-in-JS
features:
- Navbar and footer components with only minimal CSS that make responsiveness works
- Works in any device screen
- Easily kicking off your project with writing CSS right away
- url: https://gatsby-minimalist-starter.netlify.com/
repo: https://github.com/dylanesque/Gatsby-Minimalist-Starter
description: A minimalist, general-purpose Gatsby starter
Expand Down
13 changes: 13 additions & 0 deletions packages/gatsby-cli/src/create-cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,19 @@ function buildLocalCommands(cli, isLocalSite) {
return cmd(args)
}),
})
cli.command({
command: `recipes`,
desc: `Run a recipe`,
handler: handlerP(
getCommandHandler(`recipes`, (args, cmd) => {
cmd(args)
// Return an empty promise to prevent handlerP from exiting early.
// The recipe command shouldn't ever exit until the user directly
// kills it so this is fine.
return new Promise(resolve => {})
})
),
})
}

function isLocalGatsbySite() {
Expand Down
209 changes: 209 additions & 0 deletions packages/gatsby-recipes/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,209 @@
# Gatsby Recipes

Gatsby Recipes is framework for automating common Gatsby tasks. Recipes are MDX
files which, when run by our interpretor, perform common actions like installing
NPM packages, installing plugins, creating pages, etc.

It's designed to be extensible so new capabilities can be added which allow
Recipes to automate more things.

We chose MDX to allow for a literate programming style of writing recipes which
enables us to port our dozens of recipes from
https://www.gatsbyjs.org/docs/recipes/ as well as in the future, entire
tutorials.

[Read more about Recipes on the RFC](https://github.com/gatsbyjs/gatsby/pull/22610)

There's an umbrella issue for testing / using Recipes during its incubation stage.

Follow the issue for updates!

https://github.com/gatsbyjs/gatsby/issues/22991

## Recipe setup

Upgrade the global gatsby-cli package to the latest with recipes.

```shell
npm install -g gatsby-cli@latest
```

To confirm that this worked, run `gatsby --help` in your terminal. The output should show the recipes command.

### Running an example recipe

Now you can test out recipes! Start with a recipe for installing `emotion` by following these steps:

1. Create a new Hello World Gatsby site:

```shell
gatsby new try-emotion https://github.com/gatsbyjs/gatsby-starter-hello-world
```

1. Navigate into that project directory:

```shell
cd try-emotion
```

1. Now you can run the `emotion` recipe with this command:

```shell
gatsby recipes emotion
```

![Terminal showing "gatsby recipes emotion" output](https://user-images.githubusercontent.com/1424573/79452177-f3362f00-7fa4-11ea-903a-e28472bf95b6.png)

You can see a list of other recipes to run by running `gatsby recipes`

![Terminal showing recipes list](https://user-images.githubusercontent.com/1424573/79452254-14971b00-7fa5-11ea-9bdf-021c341afb10.png)

## Developing Recipes

### An example MDX recipe

Here's how you would write the `gatsby recipes emotion` recipe you just ran:

```mdx
# Setup Gatsby with Emotion

[Emotion](https://emotion.sh/) is a powerful CSS-in-JS library that supports both inline CSS styles and styled components. You can use each styling feature individually or together in the same file.

<!-- use three dashes to separate steps of the recipe -->

---

Install necessary NPM packages

<!-- refer to the API in this doc to see what APIs are available, like `NPMPackage` -->

<NPMPackage name="gatsby-plugin-emotion" />
<NPMPackage name="@emotion/core" />
<NPMPackage name="@emotion/styled" />

---

Install the Emotion plugin in gatsby-config.js

<GatsbyPlugin name="gatsby-plugin-emotion" />

---

Sweet, now it's ready to go.

Let's also write out an example page you can use to play
with Emotion.

<File
path="src/pages/emotion-example.js"
content="https://gist.githubusercontent.com/KyleAMathews/323bacd551df46e8e7b6146cbf827d0b/raw/5c60f168f30c505cff1ff2433e69dabe27ae9738/sample-emotion.js"
/>

---

Read more about Emotion on the official Emotion docs site:

https://emotion.sh/docs/introduction
```

### How to run recipes

You can run built-in recipes, ones you write locally, and ones people have posted online.

To run a local recipe, make sure to start the path to the recipe with a period like `gatsby recipes ./my-cool-recipe.mdx`

To run a remote recipe, just paste in the path to the recipe e.g. `gatsby recipes https://example.com/sweet-recipe.mdx`

### Recipe API

#### `<GatsbyPlugin>`

Installs a Gatsby Plugin in the site's `gatsby-config.js`.

Soon will support options.

```jsx
<GatsbyPlugin name="gatsby-plugin-emotion" />
```

##### props

- **name** name of the plugin

#### `<GatsbyShadowFile>`

<GatsbyShadowFile theme="gatsby-theme-blog" path="src/components/seo.js" />

##### props

- **theme** the name of the theme (or plugin) which provides the file you'd like to shadow
- **path** the path to the file within the theme. E.g. the example file above lives at `node_modules/gatsby-theme-blog/src/components/seo.js`

#### `<NPMPackage>`

`<NPMPackage name="lodash" version="latest" />`

##### props

- **name**: name of the package(s) to install. Takes a string or an array of strings.
- **version**: defaults to latest
- **dependencyType**: defaults to `production`. Other options include `development`

#### `<NPMScript>`

`<NPMScript name="test" command="jest" />`

##### props

- **name:** name of the command
- **command** the command that's run when the script is called

#### `<File>`

<File path="test.md" content="https://raw.githubusercontent.com/KyleAMathews/test-recipes/master/gatsby-recipe-jest.mdx" />

##### props

- **path** path to the file that should be created. The path is local to the root of the Node.js project (where the package.json is)
- **content** URL to the content that should be written to the path. Eventually we'll support directly putting content here after some fixees to MDX.

> Note that this content is stored in a [GitHub gist](https://gist.github.com/). When linking to a gist you'll want to click on the "Raw" button and copy the URL from that page.
## FAQ / common issues

### Q) My recipe is combining steps instead of running them seperately!

We use the `---` break syntax from Markdown to separate steps.

One quirk with it is for it to work, it must have an empty line above it.

So this will work:

```mdx
# Recipes

---

a step

<File src="something.txt" content="something" />
```

But this won't

```mdx
# Recipes

---

a step

<File src="something.txt" content="something" />
```

### Q) What kind of recipe should I write?

If you’d like to write a recipe, there are two great places to get an idea:

- Think of a task that took you more time than other tasks in the last Gatsby site you built. Is there a way to automate any part of that task?
- Look at this list of recipes in the Gatsby docs. Many of these can be partially or fully automated through creating a recipe `mdx` file. https://www.gatsbyjs.org/docs/recipes/
7 changes: 7 additions & 0 deletions packages/gatsby-recipes/babel.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
// This being a babel.config.js file instead of a .babelrc file allows the
// packages in `internal-plugins` to be compiled with the rest of the source.
// Ref: https://github.com/babel/babel/pull/7358

const configPath = require(`path`).join(__dirname, `..`, `..`, `.babelrc.js`)

module.exports = require(configPath)
1 change: 1 addition & 0 deletions packages/gatsby-recipes/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
// noop
101 changes: 101 additions & 0 deletions packages/gatsby-recipes/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
{
"name": "gatsby-recipes",
"description": "Core functionality for Gatsby Recipes",
"version": "0.0.5",
"author": "Kyle Mathews <[email protected]>",
"bugs": {
"url": "https://github.com/gatsbyjs/gatsby/issues"
},
"dependencies": {
"@babel/core": "^7.8.7",
"@babel/standalone": "^7.9.5",
"@hapi/joi": "^15.1.1",
"@mdx-js/mdx": "^1.5.8",
"@mdx-js/react": "^1.5.8",
"@mdx-js/runtime": "^1.5.8",
"acorn": "^7.1.1",
"acorn-jsx": "^5.2.0",
"babel-core": "7.0.0-bridge.0",
"babel-eslint": "^10.1.0",
"babel-loader": "^8.0.6",
"babel-plugin-add-module-exports": "^0.3.3",
"babel-plugin-dynamic-import-node": "^2.3.0",
"babel-plugin-remove-graphql-queries": "^2.8.1",
"babel-preset-gatsby": "^0.3.1",
"detect-port": "^1.3.0",
"event-source-polyfill": "^1.0.12",
"execa": "^4.0.0",
"express": "^4.17.1",
"express-graphql": "^0.9.0",
"fs-extra": "^8.1.0",
"gatsby-telemetry": "^1.2.3",
"gatsby-core-utils": "^1.1.1",
"glob": "^7.1.6",
"graphql": "^14.6.0",
"graphql-subscriptions": "^1.1.0",
"graphql-type-json": "^0.3.1",
"html-tag-names": "^1.1.5",
"humanize-list": "^1.0.1",
"ink-box": "^1.0.0",
"ink-link": "^1.0.0",
"ink-select-input": "^3.1.2",
"import-jsx": "^4.0.0",
"is-blank": "^2.1.0",
"is-newline": "^1.0.0",
"is-relative": "^1.0.0",
"is-string": "^1.0.5",
"is-url": "^1.2.4",
"jest-diff": "^25.3.0",
"mkdirp": "^0.5.1",
"pkg-dir": "^4.2.0",
"prettier": "^2.0.4",
"remark-stringify": "^8.0.0",
"single-trailing-newline": "^1.0.0",
"style-to-object": "^0.3.0",
"subscriptions-transport-ws": "^0.9.16",
"svg-tag-names": "^2.0.1",
"unist-util-remove": "^2.0.0",
"unist-util-visit": "^2.0.2",
"url-loader": "^1.1.2",
"urql": "^1.9.5",
"ws": "^7.2.3",
"xstate": "^4.8.0"
},
"devDependencies": {
"@babel/cli": "^7.8.4",
"babel-preset-gatsby-package": "^0.3.1",
"react": "^16.12.0",
"react-dom": "^16.12.0",
"rimraf": "^3.0.2"
},
"homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-recipes#readme",
"keywords": [
"gatsby",
"gatsby-recipes",
"mdx"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/gatsbyjs/gatsby.git",
"directory": "packages/gatsby-recipes"
},
"resolutions": {
"graphql": "^14.6.0"
},
"jest": {
"testPathIgnorePatterns": [
"/.cache/",
"dist"
],
"testEnvironment": "node"
},
"scripts": {
"build": "babel src --out-dir dist --ignore \"**/__tests__\" --extensions \".ts,.js,.tsx\"",
"build:watch": "npm run build -- --watch",
"prepare": "npm run build",
"watch": "npm run build:watch",
"test": "jest",
"test:watch": "jest --watch"
}
}
Loading

0 comments on commit c59a421

Please sign in to comment.