Skip to content
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

[v2] lint fixes #5304

Merged
merged 1 commit into from
May 6, 2018
Merged

[v2] lint fixes #5304

merged 1 commit into from
May 6, 2018

Conversation

pieh
Copy link
Contributor

@pieh pieh commented May 6, 2018

No description provided.

@pieh pieh merged commit bb21d0f into gatsbyjs:v2 May 6, 2018
@pieh pieh deleted the v2-test-fixes branch May 6, 2018 19:33
KyleAMathews added a commit that referenced this pull request Jun 17, 2018
* Publish

 - [email protected]

* fix icon link

* Publish

 - [email protected]

* [v2] Update offline plugin so it doesn't cachebust JS files any more as well as anything in the static directory (#5299)

* Publish

 - [email protected]

* fix lint (#5304)

* [v2] Allow for plugins to override core prefetching behavior (#5320)

* Always fetch page resources if user mouseenters a link

* Allow plugins to stop core prefetching

* Misc small fixes

* When rendering bundle for generating HTML, target the current node version

* Sort matchPath pages last so more explicit matches win

* Misc

* Revert

* Remove stray console.log

* Publish

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

* Expose dataPaths on window for access by plugins (need to create API) (#5322)

* Publish

 - [email protected]

* [v2][tut. part 7] Rename boundActionCreators to actions (#5293)

* [v2][tut. part 4] typography peerDependencies (#5292)

* Remove this for now, as it's not currently being used (#5325)

* [v2] re-add tests for sass and less plugins + update using-sass example (#5223)

* update "using-sass" example

* [gatsby-plugin-sass] add tests

* [gatsby-plugin-less] update tests and README

* commit missing file

* add missing snapshot

* [v2] sourceType: 'unambigious' is a general babel config option, not for @babel/preset-env (#5336)

* [v2] sourceType: 'unambigious' is a general babel config option, not for @babel/preset-env

* Update snapshots

* Publish

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

* Adding deploy steps for Aerobatic (#4437)

* [v2] small refactor of api-runner-browser to fix loader test (#5343)

* small refactor of api-runner-browser to fix tests

* remove stray '$' and unneeded eslint-disable-next-line

* fix sass and less variants of css modules in build-html stage (#5340)

* [v2] fix gatsbygram build (#5356)

* Publish

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

* [v2] deleteNode signature (#5222)

* Change deleteNode signature to remove nodeId

* These tests were failing?

* Deprecate old deleteNode method signature

* Change touchNode to accept an object

* [v2] Initial commit of gatsby-plugin-guess-js & gatsby-source-wikipedia (#5358)

* Add gatsby-source-wikipedia

* Add gatsby-plugin-guess-js

* Only run guess code during builds as can error during development

* Set packages to alpha

* Add more keywords to gatsby-source-wikipedia

* Document plugins

* Publish

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

* Run bootstrap

* [gatsby-plugin-guess-js] fix a small README (#5361)

* Publish

 - [email protected]

* Fix www front page + small edits to tutorial

* Add start to part-8

* only look for files when looking for depracated APIs (#5374)

`glob.sync` returns files and directories by default.
It is not forbidden to name a directory `foo.js` and it would be returned by `glob`.
That's an issue because `fs.readFileSync(file)` will then fail with `EISDIR: illegal operation on a directory`.

This makes sure that `glob.sync` only returns files

* Lint (#5363)

* Fix the gatsbygram UI tests (#5362)

* Fix typo

* [v2] Make default browserslist more futureproof (#5114)

* [v2] Make default browserslist more futureproof

This is inspired by Jamie Kyle's blog post/issue in babel yesterday
on the problems of using "last 2 versions" with @babel/preset-env which
includes browsers which aren't receiving updates anymore so "last 2
versions" will always be building for them.

To quote his post:

>Using market share percentages as your baseline is much better than some arbitrary number of previous versions. If a browser is used by 0 people, then market percentages will reflect that.

* https://jamie.build/last-2-versions
* https://github.com/babel/babel/issues/7789

* Use recommended browser defaults

* Update index.md

Fixing Layout closing tag

* Update index.md (#5383)

Fixing rhythm export

* [v2] Pin babel (#5389)

* Pin babel version

* Update yarn.lock

* remove deprecated Tapable.plugin syntax (#5395)

* [V2] Docs - Import Link from gatsby. (#5390)

* pass pathContext to page component - it's deprecated, not removed (#5387)

* Use "you" instead of "we" where appropriate (#5418)

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

* [v2] Update Babel to 7.0.0-beta.47 (#5399)

* Update babel to 7.0.0-beta.46

* Update yarn.lock

* Fix ignore paths

* Add missing .babelrc files

* Add config for Gatsby package

* Fix Jest source compilation

* Update to beta 47

* Update yarn.lock

* Remove unused dependencies (#5401)

* [v2][tut. part 1] Use "you" instead of "we" where appropriate (#5420)

* [v2][tut. part 2] Use "you" instead of "we" where appropriate (#5421)

* [v2][tut. part 3] Use "you" instead of "we" where appropriate (#5422)

* [v2] Update ESLint-related dependencies (#5419)

* Update ESLint-related dependencies

Fixes #5411

* Remove duplicate dependency from gatsby/package.json

* [v2][tut. part 4] Use "you" instead of "we" where appropriate (#5428)

* [v2][tut. part 5] Use "you" instead of "we" where appropriate (#5429)

* [v2][tut. part 6] Use "you" instead of "we" where appropriate (#5430)

* [v2][tut. part 8] Use "you" instead of "we" where appropriate (#5431)

* [v2][tut. part 1] Bracket consistency (#5432)

* [v2][tut. part 2] Bracket consistency on code blocks + fix line number highlights (#5433)

* [gatsby-plugin-sharp] tests: mock async/queue to not actually run sharp sizing (#5426)

* Use pageContext

* Publish

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

* Publish

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

* Publish

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

* Add missing dev dependencies

* [v2][tut. part 3] Bracket consistency on code blocks (#5434)

* [v2][tut. part 4] Bracket consistency on code blocks (#5435)

* Publish

 - [email protected]

* Bump version of Gatsby for new build

* Publish

 - [email protected]

* [gatsby-remark-images] change gatsby-plugin-sharp version to next to avoid resolving version to outdated canary release (#5443)

* Publish

 - [email protected]

* [v2][www] Add global layout to pages and templates that don’t have it yet. (#5454)

* Added missing package

* Added global layout + fix little issues

* [v2][tut. pt. 4] No semi (#5449)

* [v2][tut. pt. 2] Single to backticks consistency (#5450)

* Run bootstrap (#5456)

* [v2] merge master into v2 (#5451)

* Use index within container

Confusing as to what is being asked. Later, the docs say to `import Container from "../components/container";`

* Pass through GTM environment params if present

Signed-off-by: Spencer Sanchez <[email protected]>

* Add abinavseelan.com to Showcase

* Add Dovetail (dovetailapp.com) to website examples

Thanks for creating Gatsby and for all of your hard work! We’ve enjoyed building our new marketing website with it.

* change link of `gatsby-advanced-blog` in docs

* Remove outdated contributing notes from gatsby-remark-prismjs

* Typo: Return to wrong file

I was doing the gatsby.js tutorial and I was running into one issue, the tutorial said to return to index.js, but it should be to my-files.js, I eventually figured out that this was probably just a typo, but for a long time I kept changing my index.js file and didn't understand what I was doing wrong, turns out I was editing the wrong file. For so far I have enjoyed gatsby.js, I want to use it for my personal portfolio.

* Fix distance between masthead and the icon (#5068)

On mobile, the masthead is overlapping with the Gatsby icon.

* Update CONTRIBUTING.md

* Update README.md

Per issue https://github.com/gatsbyjs/gatsby/issues/5073

* Add better-queue to dependencies

* Remove index.js for more consistent paths

* removing "a"

* pre-inferring data sanitazation (#5050)

* extractFieldExamples: omit not defined fields

this is especially helpful with ___NODE fields - plugins/users don't have to test if there are any values and be confident that empty ___NODE values or arrays will just be omitted and not error out during bootstrap

* sanitize field owner key when using createNodeField with name containing ___NODE

this fixes issue with inferring fieldOwners types - gatsby would try to link to not existing nodes

* Add getRenderer method (#5017)

* Add getRenderer method

Signed-off-by: slorber <[email protected]>

* upgrade example versions

Signed-off-by: slorber <[email protected]>

* change name to renderer

* Change name to replaceHydrateFunction

* document replaceHydrateFunction

* fix(gatsby): remove `.js` suffixes in require() to allow transpilation (#5087)

In earlier v1, one could write files such as `gatsby-config` in typescript and
use babel to transpile the file into js on the fly via
`babel-node --presets @babel/preset-typescript --extensions '.ts' gatsby
develop`. However, it's no longer possible in recent releases.

The reason is that the current implementation put a `.js` suffix on each
require(`gatsby-${env}.js`), which blocks `gatsby-{$env}` files being transpiled
from other languages via babel. The PR addresses this problem by removing the
unnecessary suffix and preserving the integrity.

Signed-off-by: Alvis HT Tang <[email protected]>

* Publish

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

* stylus plugin tests

Signed-off-by: Jan Winterfeld <[email protected]>

* add learnstorybook.com to showcase

* Bump yargs version to get help and version for free by default

* Update manifest extension to .webmanifest

Reason: https://sonarwhal.com/docs/user-guide/rules/rule-manifest-file-extension/

* Updated link to file

* team development workflows (#5084)

* team development workflows

* Small typos

* Revert "Small typos"

This reverts commit ee7bc36c2093ba550280330040f89d771c867b47.

* Revert "team development workflows"

This reverts commit a9e549853e826ef93a96c2b61da4d7fab0883ece.

* move doc to blog

* excerpt

* Publish

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

* Hyperlinks, optionality, and "easy" (#5154)

Added a few changes. This document needs to be reorganized eventually; I just want to add these notes in the fastest way possible now so I don't forget them.

* Add bartvanderwaerden.com to showcase (#5152)

* I guess I found the wrong word... (#5088)

I think line 308's `src/pages/my-files.js` is wrong.
It should be `src/pages/index.js` isn't it?

* Add two missing spaces (minor validation error) (#5150)

My previous commit missed adding a space after the backup blank `src=""` and `alt=""` attributes. This causes an HTML validation error when no `alt` value is supplied.

This commit simply adds those missing spaces (i.e. `src="" ` and `alt="" `) so there will always be a space between attributes.

* Adjust image processing example queries (#5158)

* adjust queries to not use id as way to select by filenames

this will stop working in gatsby v2

* add link to code

* Update KaTeX to 0.9.0 (#4712)

* Update KaTeX to 0.9.0

* Update snapshots

* DCO bye-bye (#5165)

* source-contentful: Add environment support (#5142)

* source-contentful: Add environment support

* fix lint

* fix default locale logix

* log error

* Update lock file

* Ulog the error

* Update package-lock.json

* revert lock changes, test shrinkwrap

* remove shrinkwrap, it's unused after all, add yarn resolutions

* cleanup debug console logs

* Link an example that uses gatsby-transformer-json (#5169)

* Publish

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

* Update RNW plugin and example (#5174)

* Update RNW example to use new plugin version

Signed-off-by: slorber <[email protected]>

* Update React in example

Signed-off-by: slorber <[email protected]>

* Enhance RNW example

Signed-off-by: slorber <[email protected]>

* Add link to online demo

Signed-off-by: slorber <[email protected]>

* Add screenshot

Signed-off-by: slorber <[email protected]>

* Update createRemoteFileNode documentation (#5171)

* Update createRemoteFileNode documentation

* Update README.md

* Fix replaceHydrateFunction doc (#5175)

* Fix replaceHydrateFunction doc

* Add spaces

* Update "how gatsby works" documentation (#243) (#5181)

* Add a note about CNAME file in `static`

* Fix typo in the .eslintrc file (#5173)

* added my site (#5172)

* Added rafael.do (#5199)

* Add Eviction Free NYC blog post and link to site (#5159)

* Add evictionfreenyc.org to showcase

* Add Eviction Free NYC blog post

* Fixing a typo

* Copy edits

* Self-contained images

* [Ready 4 Review] SQIP - Vectorized primitive image previews (#4205)

* first working version with Contentful assets only

* add readme

* respect width, height, aspect ratio, cropping, resize focus and background

* add support for gatsby-transformer-sharp

* integrate in gatsbygram

* avoid useless regeneration cus contentDigest changes

* proper way to get absolute path to ImageSharp nodes

* queue preview generation and cache results on disk

* upgrade to latest node-sqip to get rid of the GoLang dependency

* replace custom svg data uri function with package

* prepare images via sharp plugin and allow sharp transformations

* load cached svg properly from disk

* fix queue resolving to early

* set contentful images to 400px

* implement new sharp transformation awareness feature

* WIP - extract generation and write first pseudo test

* fix styling for gatsbygram post detail

* finalize unit tests for actual sqip implementation

* use 256px input image width to match sqip/primitive default

* add using-sqip example page

* some cleanup

* clean up example and enhance polaroid effect

* fix using-sqip dependency

* remove base64 since it was not implemented and is bad for compression

* remove sqip from gatsbygram example

* simplify tests

* Small change to trigger build

* Publish

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

* Add tutorial on creating a source plugin

* Format

* Add extensions to .eslintrc (#5206)

- Add .json or .yaml extension to .eslintrc files

```shell
$ cd ./packages
$ rename 's/.eslintrc/.eslintrc.yaml/' `find . -name .eslintrc`
$ cd ../
$ rename 's/.eslintrc/.eslintrc.json/' `find . -name .eslintrc`
```

- Tweak plopfile.js to add .json extension to examples to be generated

Signed-off-by: Masato Ohba <[email protected]>

* Add gatsby-starter-bulma-storybook to the starters list (#5208)

Signed-off-by: Gianni Valdambrini <[email protected]>

* fix: style and typo correction

- Minor style tweaks (e.g. unlinked "pixabay.com" => "Pixabay")
- Typo patrol
- De-British some of the language (my apologies to the letter U)

* Toodle-pip British u

* Adjust heading hierarchy

* Use relative urls for gatsbyjs.org links

* Pull last few sections up a level

* Minor edits and consistency tweaks

* Cleanup example for the createPages API (#5216)

* Update with @shannonbux's edits

* Additional header

* Bumps gatsby-plugin-mailchimp to 2.2.2 bc we updated its API to be more user friendly (#5215)

* Add YAML data file for site showcase (#5227)

* Publish

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

* Update to Gitlab pages deploy (#5243)

* Update to Gitlab pages deploy

Gitlab pages now include a Gatsby template for CI, which makes it a lot easier to add. Have updated the documentation to reflect this.

* Edit

* Update README.md (#5247)

Adding explanation about available option `offsetY` to solve issue #5061
Signed-off-by: Robin Cussol <[email protected]>

* [gatsby-source-contentful] Fix storing new sync token (#5252)

* Add https://emoji.tinder.com/ to showcase (#5257)

* Fix typo (#5241)

* Link to website in contributing.md (#5249)

* Publish

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

* Bump versions of packages that failed to publish earlier

* Publish

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

* Add top padding for tablet masthead (#5266)

* wordpress-source-plugin-tutorial (#5235)

* wordpress-source-plugin-tutorial

Not sure if I got all the code samples formatted correctly.

Still need to edit the index.js page so the <p> tags don't render!!

Then, need a screenshot of the final result without <p> tags!

* removed unnecessary backticks and corrected link to Part 7 of tutorial

* Make links relative

* Use graphql for syntax highlighting + minor copy edits

* Image Tutorial (#5236)

* Image Tutorial

Would be nice to add a screenshot of the finished result.

Eventually, a really cool image tutorial could include GIFs.

* Remove unneeded backticks around code

* Add example gif

* Fix image links

* added Gatsbygram link, fixed assumption spelling

* we --> you

* Added some more edits of my own

wasn't sure whether you wanted lines 153-155 to stay the same

* Changed back to previous lines 149-159

I accidentally deleted necessary stuff in my previous commit, so I'm just starting over

* Edited comments per Mike's suggestions

* Small tweaks

* Add site (#5268)

* readme: Add aQuICK QC landing page site

* readme: Kill old event specific page

* Quick fix for wordpress source plugin tutorial (#5276)

Fragments don't work on Graphiql

* Minor fix on wordpress source plugin tutorial (#5277)

removed typo

* Update wordpress-source-plugin-tutorial.md (#5278)

* add missing underscore to graphiql URL (#5275)

* add missing underscore to graphiql

* Update image-tutorial.md

* Update wordpress-source-plugin-tutorial.md (#5279)

* Update image-tutorial.md (#5281)

* Update source-plugin-tutorial.md (#5283)

* add missing .npmignore and .babelrc to sqip transformer (#5282)

* Publish

 - [email protected]

* Fix typos in source-plugin-tutorial (#5284)

* Add workshop-in-the-woods.com to the showcase (#5291)

* Update README.md (#5288)

* Update README.md

Missing curly bracket

* formatting

* Fix doc typo (#5294)

*  fix: chang the url of blog in readme :bug: (#5302)

* feat: :sparkles: add gatsby-new-blog plugin

* docs: update showcase :memo:

* flag importance of plugin order for prism-js vs embed-snippet (#5313)

If gatsby-remark-prism-js is declared before gatsby-remark-embed-snippet, the latter will not pick up the `embed:example.js` syntax because it is looking for an inline-code node and it will have been transformed into a p node by gatsby-remark-prism-js. This needs to be noted as this is far from obvious.

* Add manifest.webmanifest to staticFileGlobs (#5300)

Signed-off-by: Kaue Machado <[email protected]>

* Publish

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

* Fix post path comment (#5295)

* Fix post path

* Fix

* Expand docs for custom components (#5315)

* Expand docs for custom components

The docs for custom components only mention defining custom components in the markdown, but don't address one of the most useful aspects - that you can map generic markdown tags/elements to your own components. I've expanded the docs to point this out and added a simple example.

* Typo

* plugin-feed: Note feed xml file is production only (#5305)

Add note that the rss.xml feed is only generated in production.

* Fixing grammar around CSS Modules (#5286)

* Fix broken link to tutorial for building blog (#5273)

I don't know if it's the original article but at least it looks fairly similar

* added develop command options to use custom key and certs (#5056)

* added develop command options to use custom key and certs

* fixed typos in doc

* added condition to make sure both --key-file and --cert-file are present

* - passing https flag results in automatic https certs [devcert]
- --cert-file, --key-file, and --https flags can be used together for custom ssl
- if all flags needed for custom ssl are not present an error is displayed to the user
- if provided --cert-file and --key-file paths are not real files, node gives a rejection
- modified docs to express current behavior

* Add portfolio to the created with gatsby section (#5331)

* Documentation for images in page components #3380 (#4191)

* adding first draft

* adding info about fragments

* cleaning up language

* renaming file, this commit is for issue #3380

* technical edits on working with images in gatsby

* technical edits on working with images in gatsby

* punctuation and verb tense edits

* more punctuation and grammar

* commas

* Add new docs page to sidebar (#5339)

* New issue, feature and question template (#5274)

* Basic template for new issues

* updated issue template

* updated issue template

* Update ISSUE_TEMPLATE.md

* Update ISSUE_TEMPLATE.md

* changed bug report to the new GitHub issue template

* add feature request template

* question template

* fixed title of question and added emojis

* added RFC to question template

* Update bug_report.md

* Update feature_request.md

* Update question.md

* Typo

* Update custom-html.md (#5341)

* Update custom-html.md

grammar corrections

* Revert one change

* Actually revert that one change

* add plugin option examples (#5345)

add plugin option examples

* Remove workshop banner now that workshops have finished (#5338)

* Update url-loader (#5342)

* Update plugins.md

* [gatsby-source-contentful]: Add fallback locale support (#5328)

* Add fallback locale support

* Fix linting

* test: Fix test

* Publish

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

* [gatsby-source-wordpress] check if parent exists (#5373)

* [gatsby-source-filesystem] add fs error handling, bump got retry attemps count (#5375)

* [gatsby-source-filesystem] catch fs stream errors

* [gatsby-source-filesystem] bump got retries from default 2 to 5

* normalize reject payload

* Add context to query-runner error log (#5214)

* [www] Prevent image twitching in Chrome when hovering a blog index card (#5396)

* [gatsby-transformer-yaml] Update docs: GraphQL query mismatch (#5402)

GraphQL query references "value" when it should actually reference "character" as per the example output.

* [gatsby-transformer-json] Update docs: outdated Readme examples (#5403)

`{ internal: { type } }` exists but it would actually be "LettersJson" (according to my GraphiQL checks).
Seems better to just remove this, so it at least has parity with gatsby-transformer-yaml readme.

* Add "Six Reasons I Chose Gatsby" blog post (#5369)

* added  "Six Reasons I Chose Gatsby" blog post

* added site to showcase

* updated content based on review comments

* updated Gatsby links to be relative

* Fix for IE10 not loading scripts (#5404)

* Fix for IE10 not loading scripts

* Fixed duplicate declaration.

* Update example config for netlify-cms (#5405)

Added the public_folder attribute to make the assets accessible.

Also added the body field to the collection, so the html attribute of markdownRemark gets filled properly. Figuring out that the field has to be named "body" was a bit cumbersome.

https://www.netlifycms.org/docs/configuration-options/#fields

* Fix regression with prefix paths and gatsby-plugin-manifest (#5406)

as per https://github.com/gatsbyjs/gatsby/commit/69ca24750ecba8945a57f2c662cc5ca44964d76a#diff-079fdad4111264c646208511aa18a321 manifest.webmanifest should start with /

it just works (tm) when your site is flat, but when your pages are in sub directory and prefixed, its assumes your manifest files are in the subdirectory, not the root of your site (which might be prefixed).

Fixing reversion

* Remove old comment (#5407)

Code changed in #5404, this comment no longer relevant.

* Add gatsby-starter-modern (#5427)

* Publish

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

* Mention in building apps docs page that we use React Router under the hood (#5439)

* Add a how to add search to your website section (#5272)

* Add a how to add search to your website section

* Update adding-search.md

* Update doc-links.yaml

* Update adding-search.md

* Better restructuring

* Update doc-links.yaml

* Update adding-search.md

* Address Changes

* Rewrite docs

* Add the link before the links to stub articles

The ones ending with * are stubs

* Tidy up

* Grammar/punctuation edits and some wording edits

* Adding Headers

* Edits

* More headings

* Minor edits

* Update adding-search.md (#5448)

* regenerate yarn.lock

* temporarily disable stylus tests - need to update both tests and example sites to v2

* fix wrong conflict resolution

* [v2] update using-stylus example and re-add tests to stylus plugin (#5461)

* update stylus tests

* update using-stylus example

* specify eslint rule we want to disable

* format

* fix merge conflict remnant

* Removed unneeded imports causing no-unused-vars lint errors (#5463)

* Add stricter check for `Error:` and placeholder test (#5460)

* Publish

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

* [v2][www] Move layout to components folder + import Link from gatsby (#5472)

* Move layout to components folder and rename its import to be consistent

* Import Link from gatsby instead of gatsby-link

* Add preload links to end of headComponents list (#5490)

* Publish

 - [email protected]

* Don't infer types for plugin provided GQL types

* Update screenshot plugin for Gatsby v2 (#5502)

* Publish

 - [email protected]

* Simpler bundle and data loading (#5535)

* Publish

 - [email protected]

* [v2] [gatsby-plugin-offline] get exact filenames for js staticFileGlob (#5511)

* [gatsby-plugin-offline] extract exact filenames for js chunks for app and offline app shell

* format

* Don't inline webpack-runtime as this prevents the service worker from correctly updating to new version of the site (#5540)

* Publish

 - [email protected]
 - [email protected]

* [v2][www] Fix remaining lint errors (#5568)

* fix: `default-case` lint errors

* fix: `eqeqeq` lint error

* fix: `array-callback-return` lint error

* fix: `no-unused-vars` lint error

* fix: `alt-text` lint error

* Fix missing blog posts (#5539) (#5551)

Quick fix for: https://github.com/gatsbyjs/gatsby/issues/5348#issuecomment-391682881

* Add a valid entry point for the `gatsby` package (#5481)

* Fix outdated babel-code-frame import to use @babel/code-frame (#5585)

Fix #5584

Signed-off-by: Helder S Ribeiro <[email protected]>

* [v2] image processing example (#5589)

* Upgrade to use gatsby v2 and fix eslint warnings

* Fix up fonts on production build

* Add back `replaceComponentRenderer` API (#5600)

also fix bad merge on lifecycles

* Publish

 - [email protected]
 - [email protected]

* Update Contentful example site for Gatsby v2 (#5606)

* delete stray console.log

* Update babel to 7.0.0-beta.49

* Update yarn.lock

* [v2] responsive image types (#5250)

* Change image type names from resolutions to fixed

resolutions resolutions resolutions
fixed fixed fixed fixed fixed fixed

* Change image type names from sizes to fluid

sizes sizes sizes sizes
fluid fluid fluid fluid

* Continue renaming sizes to fluid

* eslint

* Include sizes as part of a fluid node

* Update snapshots

* Update resolver

* Remove references to responsiveResolution and responsiveSizes

* Rename GraphQL node types for gatsby-transformer-sharp

* Rename GraphQL node types for gatsby-source-contentful

* Update image-processing example

* fluid() should still return a sizes property

* Use unique type names

* Fix duplicate deprecation messages

* Publish

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

* [v2] mime dependencies (#5602)

* Recreate lockfile

* Update dependencies that depend on mime

* Move less to a peer dependency

* Move node-sass to a peer dependency

* Update lockfile

* Update README.md

* Include node-sass in the sass example site

* [v2][www] Abstracted sidebar to layout component (#5537)

* Abstracted sidebar to layout component

* Hide sidebar on mobile

* [v2] Bump gatsby-image version as #5250 is a breaking change for it (#5627)

* Publish

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

* [v2] Bump gatsby-image version as #5250 is a breaking change for it

* [v2][www] Move YAML link files to data (#5567)

* Move YAML link files to data

* Organize sidebar links to a subdirectory of data

* Publish

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

* v1.0.18-9

* v1.0.18-10

* v2.0.0-alpha.20

* revert one change from #5250, this one should use "sizes" (it doesn't use sharp transformer) (#5631)

* Publish

 - [email protected]

* [v2][www] Fix missing search sidebar for plugins/packages pages (#5550)

* Add react-instantsearch package required by plugins searchbar

* Add package searchbar to pages that require them

* Rename searchbar to plugin-searchbar

* Fix imports sidebar data

* Revert upgrade to babel-beta.49

* Publish

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

* Publish

 - [email protected]

* Fix a typo in Readme example (#5645)

* [v2][doc] v1 to v2 migration guide (WIP) (#5575)

* v1 to v2 migration guide doc start

* Add sidebar link to v2 migration guide

* Update README to show v1 to v2 migration guide

* Fix children type in README (#5687)

* Update redirects example for Gatsby v2 (#5681)

* [v2][gatsby-image] Deepen propTypes declaration (#5684)

* Add extensive prop types checking

* This works better and is easier to read

* Fix webp spelling

* [v2][source-contentful] Restore legacy sizes and resolutions fragments (#5678)

* [v2] Restore legacy sizes and resolutions fragments

* Reword TODO a little bit

* [v2] Update csv example (#5703)

* [v2] Update medium example (#5704)

* [v2] Update no-plugins example (#5705)

* Update no-plugins example

* update html.js to use all passed props

* format

* [v2] Update client only paths example (#5706)

* [v2] Update using-excel example (#5707)

* [WIP][v2] Edit tutorial to use emotion instead of glamorous (#5664)

* [v2] Edit tutorial part 4 to use emotion instead of glamorous

* Change heading to siteTitle as it makes more sense

* Change glamor to emotion + ran markdown formatter

* Move css inline

* part-six: change to emotion + run through format-markdown

* part-seven: add Layout to template + run format-markdown

* part-seven: add line highlight numbers to template changes

* part-seven: emotion + format-markdown + add line highlight numbers

* part-six: change sort syntax so it’s consistent with part-seven

* Remove mistakenly added line

* [v2][gatsby-transformer-sharp] restore legacy fragments (#5710)

* Publish

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

* [v2] Update Emotion example (#5715)

* Bump package versions

* Add react-helmet and its Gatsby plugin

* Migrate from custom html.js to react-helmet

* Edit styling method to showcase different Emotion APIs

* Add references to README

* Change gatsby-plugin-react-helmet version to next

* [v2] Update styled-components example (#5717)

* Bump package versions

* Add gatsby-plugin-react-helmet and gatsby-plugin-typography

* Add react react-dom babel-plugin-styled-components

* Remove outdated line (Gatsby hot reloads regardless of this line)

* Migrate from custom html.js to react-helmet

* Bump gatsby-plugin-typography version to next

* Flag the new example as version 2.0.0, up from 1.0.0

* Add references to README

* [v2] Migration guide updates (#5661)

* Remove yarn examples for consistency with other docs

* Add rename responsive image queries section

* Add postcss plugins section

* Remove checklist (moved to issue 3986)

* Add mixed CommonJS/ES6 section

* Link to Gatsby webpack docs

* Add node id section

* Add section: remove explicit polyfills

* Add section: Change modifyBabelrc to onCreateBabelConfig

* Add section: Change `modifyWebpackConfig` to `onCreateWebpackConfig`

* Add section:  CSS is inlined automatically

* Add introduction and small tweaks

* Correct line numbers

* Improve explanation around movement of libs to peerDependencies

* chore: minor capitalization tweak

* Add edit link

* Split peer dep updates into two sections

* Declarative headings

* Add table of contents

* Use neater Fragment syntax

* More detail on deprecation note

* Inline comments on code examples

* Add Jason's node ID query example

* Use markdown diff syntax for before / after examples

* Add 'in-progress' note about babel polyfills

* Add instructions on how to install Gatsby v2

* [gatsby] added TypeScript typings for StaticQuery component (#5666)

This should make StaticQuery calls not give out any type errors in
TypeScript. Types are intentionally made weak, as I couldn't figure out
how to correctly type any GraphQL calls here.

* [v2][gatsby-image][source-contentful] Fix sizes fields that were changed to fluid by mistake (#5714)

* Fix sizes field that was changed to fluid by mistake

* [gatsby-image] Fix sizes fields that were changed to fluid by mistake

* Update test snapshot

* [v2] compile cache dir (#5637)

* run cache-dir through babel

* fix gitignore

* watch cache-dir

* fix cache-dir linting and update json-store react lifecycle methods

* build rawfiles during watch

* Publish

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

* [v2] Correct inlined css upgrade guide (#5741)

v1's default html.js also inlined css https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby/cache-dir/default-html.js

The change is that with mini-css-extract-plugin, we have css splitting so we handle inlining css in core as it requires understanding webpack's stats object.

* [v2] fix build with pathPrefix (#5691)

* [v2] fix build with pathPrefix

* update test

* removed __PREFIX_PATHS__

* fix test

* update lock file

* address comments

* clean

* clean

* [v2] Update styleguide example (#5712)

* Update styleguide example for v2

* Replace boundActionCreators to actions

* Use pageContext

* Fix exports

* [v2] Update redux example (#5713)

* Update redux example for v2

* Remove html.js

* Use ES6 export

* [v2] Update Emotion + PrismJS example (#5720)

* Add required packages + upgrade their versions

* Refactor layout component to v2

* Migrate from custom html.js to react-helmet

* Add references to README

* Fix typo + remove semi

* Fix typo

* Fix lint errors + remove unused console.log

* Fix mixed up blog post content

* Show proper page titles

* remove word

* remove word

* Update page loading indicator example for Gatsby v2 (#5735)

* Update using css modules example for Gatsby v2 (#5736)

* [v2] Update plugin-typescript to use Babel (#5709)

* Update plugin-typescript to use Babel

* Fix code style

* Bump the version

* Update README

* Use npm for install instructions

* Add more cheese (#5751)

* Update using-styletron example for v2 (#5749)

* fix: page renderer behavior (#5759)

* [v2] Migration guide: shorten TOC links to just the hash (#5766)

* Simplify TOC links to just the hash

* Run it through format-markdown script

* Publish

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

* [v2] Don't allow unknown keys on node.internal object (#5770)

* [v2] Don't allow unknown fields on node.internal object

Validate against changes like https://github.com/gatsbyjs/gatsby/pull/5557

* Document the change

* Add script for adding new owners to our NPM packages (#5768)

* [v2] Update typescript example (#5711)

* Improve the TypeScript example

* Set up linting and type checking

Tweak tsconfig.json

* Remove extraneous package

* Update using-path-prefix example for v2 (#5752)

* [v2] Update using-remark-copy-linked-file example (#5755)

* Update using-remark-copy-linked-files example for v2

* Remove react-responsive-grid

refs gatsbyjs/gatsby-starter-blog#99

* Use Layout component

* [v2] Update Sitemap example (#5767)

* [v2] Update using-glamor example (#5757)

* Update packages

* Remove unused typography packages

* Add typography.js

* eslint

* [docgen] better error handling and update to v3 (#5604)

* better error handling and update to v3

* fix rdg version:

* update doc-handler

* Update package.json

* make test more robust

* fix test

* Update no-trailing-slashes example for v2 (#5781)

* Update simple-auth example for v2 (#5782)

* Link directly to edit page (#5792)

Closes #5791

* Update wording (#5795)

* [v2] export graphql package from gatsby (#5415)

* export graphql package from gatsby

* update after sqip plugin merge

* revert weird formatting changes

* fix graphql.js packaging

* note in Breaking Changes for plugin maintainers

* fix typo

* remove graphql-type-json from plugins deps

* update setFieldsOnGraphQLNodeType docs

* update yarn.lock

* Typo

* Minor edits

* update migration guide

* Add a word

* [v2] Use kebabHash() instead of _.kebabCase() (#5532)

* Add dep `kebab-hash` to `packages/gatsby`. #4637

* Replace `_.kebabCase()` with `kebabHash()`. #4637

* Add dep `kebab-hash` to `packages/gatsby`. #4637

* Replace `_.kebabCase()` with `kebabHash()`. #4637

In the `gatsby-plugin-netlify` package.

* Bump `kebab-hash` to `0.1.2`. #4637

* Update snapshots for new path ID format. #4637

* [v2] Clarify filenames and update `sizes` to `fluid` (#5809)

[v2] Clarify filenames and update `sizes` to `fluid`

* fix: upstream fixes (#5815)

* webpack hmr path responding appropriately to env GATSBY_WEBPACK_PUBLICPATH

* make linter happy

* added public path env option for webpack (#5527)

* Publish

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

* Publish

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

* Publish

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

* Publish

 - [email protected]

* [v2][www] add prismjs dependency (it was moved to peerDeps in gatsby-remark-prismjs) (#5844)

* [v2][www] add prismjs dependency (it was moved to peerDeps in gatsby-remark-prismjs)

* add prismjs in examples

* [v2] Use replacementComponent directly in page-renderer (#5812)

* Run replaced component generated by replaceComponentRenderer

* Use first result as replacementComponent

* [v2][using-remark] fix build (#5852)

* [v2] re-add eslintrc after master merge (#5856)

* [v2] Fix styling for remark example (#5857)

* Include gatsby-plugin-typography

* Lint

* Update lockfile

* [v2] cleanup MiniCssExtractPlugin from develop stage (#5837)

* [v2] Update using-jss example (#5832)

* Bump package versions

* Add react react-dom react-jss

* Flag v…
mwfrost pushed a commit to mwfrost/gatsby that referenced this pull request Apr 20, 2023
* Publish

 - [email protected]

* fix icon link

* Publish

 - [email protected]

* [v2] Update offline plugin so it doesn't cachebust JS files any more as well as anything in the static directory (#5299)

* Publish

 - [email protected]

* fix lint (#5304)

* [v2] Allow for plugins to override core prefetching behavior (#5320)

* Always fetch page resources if user mouseenters a link

* Allow plugins to stop core prefetching

* Misc small fixes

* When rendering bundle for generating HTML, target the current node version

* Sort matchPath pages last so more explicit matches win

* Misc

* Revert

* Remove stray console.log

* Publish

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

* Expose dataPaths on window for access by plugins (need to create API) (#5322)

* Publish

 - [email protected]

* [v2][tut. part 7] Rename boundActionCreators to actions (#5293)

* [v2][tut. part 4] typography peerDependencies (#5292)

* Remove this for now, as it's not currently being used (#5325)

* [v2] re-add tests for sass and less plugins + update using-sass example (#5223)

* update "using-sass" example

* [gatsby-plugin-sass] add tests

* [gatsby-plugin-less] update tests and README

* commit missing file

* add missing snapshot

* [v2] sourceType: 'unambigious' is a general babel config option, not for @babel/preset-env (#5336)

* [v2] sourceType: 'unambigious' is a general babel config option, not for @babel/preset-env

* Update snapshots

* Publish

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

* Adding deploy steps for Aerobatic (#4437)

* [v2] small refactor of api-runner-browser to fix loader test (#5343)

* small refactor of api-runner-browser to fix tests

* remove stray '$' and unneeded eslint-disable-next-line

* fix sass and less variants of css modules in build-html stage (#5340)

* [v2] fix gatsbygram build (#5356)

* Publish

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

* [v2] deleteNode signature (#5222)

* Change deleteNode signature to remove nodeId

* These tests were failing?

* Deprecate old deleteNode method signature

* Change touchNode to accept an object

* [v2] Initial commit of gatsby-plugin-guess-js & gatsby-source-wikipedia (#5358)

* Add gatsby-source-wikipedia

* Add gatsby-plugin-guess-js

* Only run guess code during builds as can error during development

* Set packages to alpha

* Add more keywords to gatsby-source-wikipedia

* Document plugins

* Publish

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

* Run bootstrap

* [gatsby-plugin-guess-js] fix a small README (#5361)

* Publish

 - [email protected]

* Fix www front page + small edits to tutorial

* Add start to part-8

* only look for files when looking for depracated APIs (#5374)

`glob.sync` returns files and directories by default.
It is not forbidden to name a directory `foo.js` and it would be returned by `glob`.
That's an issue because `fs.readFileSync(file)` will then fail with `EISDIR: illegal operation on a directory`.

This makes sure that `glob.sync` only returns files

* Lint (#5363)

* Fix the gatsbygram UI tests (#5362)

* Fix typo

* [v2] Make default browserslist more futureproof (#5114)

* [v2] Make default browserslist more futureproof

This is inspired by Jamie Kyle's blog post/issue in babel yesterday
on the problems of using "last 2 versions" with @babel/preset-env which
includes browsers which aren't receiving updates anymore so "last 2
versions" will always be building for them.

To quote his post:

>Using market share percentages as your baseline is much better than some arbitrary number of previous versions. If a browser is used by 0 people, then market percentages will reflect that.

* https://jamie.build/last-2-versions
* https://github.com/babel/babel/issues/7789

* Use recommended browser defaults

* Update index.md

Fixing Layout closing tag

* Update index.md (#5383)

Fixing rhythm export

* [v2] Pin babel (#5389)

* Pin babel version

* Update yarn.lock

* remove deprecated Tapable.plugin syntax (#5395)

* [V2] Docs - Import Link from gatsby. (#5390)

* pass pathContext to page component - it's deprecated, not removed (#5387)

* Use "you" instead of "we" where appropriate (#5418)

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

* [v2] Update Babel to 7.0.0-beta.47 (#5399)

* Update babel to 7.0.0-beta.46

* Update yarn.lock

* Fix ignore paths

* Add missing .babelrc files

* Add config for Gatsby package

* Fix Jest source compilation

* Update to beta 47

* Update yarn.lock

* Remove unused dependencies (#5401)

* [v2][tut. part 1] Use "you" instead of "we" where appropriate (#5420)

* [v2][tut. part 2] Use "you" instead of "we" where appropriate (#5421)

* [v2][tut. part 3] Use "you" instead of "we" where appropriate (#5422)

* [v2] Update ESLint-related dependencies (#5419)

* Update ESLint-related dependencies

Fixes #5411

* Remove duplicate dependency from gatsby/package.json

* [v2][tut. part 4] Use "you" instead of "we" where appropriate (#5428)

* [v2][tut. part 5] Use "you" instead of "we" where appropriate (#5429)

* [v2][tut. part 6] Use "you" instead of "we" where appropriate (#5430)

* [v2][tut. part 8] Use "you" instead of "we" where appropriate (#5431)

* [v2][tut. part 1] Bracket consistency (#5432)

* [v2][tut. part 2] Bracket consistency on code blocks + fix line number highlights (#5433)

* [gatsby-plugin-sharp] tests: mock async/queue to not actually run sharp sizing (#5426)

* Use pageContext

* Publish

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

* Publish

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

* Publish

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

* Add missing dev dependencies

* [v2][tut. part 3] Bracket consistency on code blocks (#5434)

* [v2][tut. part 4] Bracket consistency on code blocks (#5435)

* Publish

 - [email protected]

* Bump version of Gatsby for new build

* Publish

 - [email protected]

* [gatsby-remark-images] change gatsby-plugin-sharp version to next to avoid resolving version to outdated canary release (#5443)

* Publish

 - [email protected]

* [v2][www] Add global layout to pages and templates that don’t have it yet. (#5454)

* Added missing package

* Added global layout + fix little issues

* [v2][tut. pt. 4] No semi (#5449)

* [v2][tut. pt. 2] Single to backticks consistency (#5450)

* Run bootstrap (#5456)

* [v2] merge master into v2 (#5451)

* Use index within container

Confusing as to what is being asked. Later, the docs say to `import Container from "../components/container";`

* Pass through GTM environment params if present

Signed-off-by: Spencer Sanchez <[email protected]>

* Add abinavseelan.com to Showcase

* Add Dovetail (dovetailapp.com) to website examples

Thanks for creating Gatsby and for all of your hard work! We’ve enjoyed building our new marketing website with it.

* change link of `gatsby-advanced-blog` in docs

* Remove outdated contributing notes from gatsby-remark-prismjs

* Typo: Return to wrong file

I was doing the gatsby.js tutorial and I was running into one issue, the tutorial said to return to index.js, but it should be to my-files.js, I eventually figured out that this was probably just a typo, but for a long time I kept changing my index.js file and didn't understand what I was doing wrong, turns out I was editing the wrong file. For so far I have enjoyed gatsby.js, I want to use it for my personal portfolio.

* Fix distance between masthead and the icon (#5068)

On mobile, the masthead is overlapping with the Gatsby icon.

* Update CONTRIBUTING.md

* Update README.md

Per issue https://github.com/gatsbyjs/gatsby/issues/5073

* Add better-queue to dependencies

* Remove index.js for more consistent paths

* removing "a"

* pre-inferring data sanitazation (#5050)

* extractFieldExamples: omit not defined fields

this is especially helpful with ___NODE fields - plugins/users don't have to test if there are any values and be confident that empty ___NODE values or arrays will just be omitted and not error out during bootstrap

* sanitize field owner key when using createNodeField with name containing ___NODE

this fixes issue with inferring fieldOwners types - gatsby would try to link to not existing nodes

* Add getRenderer method (#5017)

* Add getRenderer method

Signed-off-by: slorber <[email protected]>

* upgrade example versions

Signed-off-by: slorber <[email protected]>

* change name to renderer

* Change name to replaceHydrateFunction

* document replaceHydrateFunction

* fix(gatsby): remove `.js` suffixes in require() to allow transpilation (#5087)

In earlier v1, one could write files such as `gatsby-config` in typescript and
use babel to transpile the file into js on the fly via
`babel-node --presets @babel/preset-typescript --extensions '.ts' gatsby
develop`. However, it's no longer possible in recent releases.

The reason is that the current implementation put a `.js` suffix on each
require(`gatsby-${env}.js`), which blocks `gatsby-{$env}` files being transpiled
from other languages via babel. The PR addresses this problem by removing the
unnecessary suffix and preserving the integrity.

Signed-off-by: Alvis HT Tang <[email protected]>

* Publish

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

* stylus plugin tests

Signed-off-by: Jan Winterfeld <[email protected]>

* add learnstorybook.com to showcase

* Bump yargs version to get help and version for free by default

* Update manifest extension to .webmanifest

Reason: https://sonarwhal.com/docs/user-guide/rules/rule-manifest-file-extension/

* Updated link to file

* team development workflows (#5084)

* team development workflows

* Small typos

* Revert "Small typos"

This reverts commit ee7bc36c2093ba550280330040f89d771c867b47.

* Revert "team development workflows"

This reverts commit a9e549853e826ef93a96c2b61da4d7fab0883ece.

* move doc to blog

* excerpt

* Publish

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

* Hyperlinks, optionality, and "easy" (#5154)

Added a few changes. This document needs to be reorganized eventually; I just want to add these notes in the fastest way possible now so I don't forget them.

* Add bartvanderwaerden.com to showcase (#5152)

* I guess I found the wrong word... (#5088)

I think line 308's `src/pages/my-files.js` is wrong.
It should be `src/pages/index.js` isn't it?

* Add two missing spaces (minor validation error) (#5150)

My previous commit missed adding a space after the backup blank `src=""` and `alt=""` attributes. This causes an HTML validation error when no `alt` value is supplied.

This commit simply adds those missing spaces (i.e. `src="" ` and `alt="" `) so there will always be a space between attributes.

* Adjust image processing example queries (#5158)

* adjust queries to not use id as way to select by filenames

this will stop working in gatsby v2

* add link to code

* Update KaTeX to 0.9.0 (#4712)

* Update KaTeX to 0.9.0

* Update snapshots

* DCO bye-bye (#5165)

* source-contentful: Add environment support (#5142)

* source-contentful: Add environment support

* fix lint

* fix default locale logix

* log error

* Update lock file

* Ulog the error

* Update package-lock.json

* revert lock changes, test shrinkwrap

* remove shrinkwrap, it's unused after all, add yarn resolutions

* cleanup debug console logs

* Link an example that uses gatsby-transformer-json (#5169)

* Publish

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

* Update RNW plugin and example (#5174)

* Update RNW example to use new plugin version

Signed-off-by: slorber <[email protected]>

* Update React in example

Signed-off-by: slorber <[email protected]>

* Enhance RNW example

Signed-off-by: slorber <[email protected]>

* Add link to online demo

Signed-off-by: slorber <[email protected]>

* Add screenshot

Signed-off-by: slorber <[email protected]>

* Update createRemoteFileNode documentation (#5171)

* Update createRemoteFileNode documentation

* Update README.md

* Fix replaceHydrateFunction doc (#5175)

* Fix replaceHydrateFunction doc

* Add spaces

* Update "how gatsby works" documentation (#243) (#5181)

* Add a note about CNAME file in `static`

* Fix typo in the .eslintrc file (#5173)

* added my site (#5172)

* Added rafael.do (#5199)

* Add Eviction Free NYC blog post and link to site (#5159)

* Add evictionfreenyc.org to showcase

* Add Eviction Free NYC blog post

* Fixing a typo

* Copy edits

* Self-contained images

* [Ready 4 Review] SQIP - Vectorized primitive image previews (#4205)

* first working version with Contentful assets only

* add readme

* respect width, height, aspect ratio, cropping, resize focus and background

* add support for gatsby-transformer-sharp

* integrate in gatsbygram

* avoid useless regeneration cus contentDigest changes

* proper way to get absolute path to ImageSharp nodes

* queue preview generation and cache results on disk

* upgrade to latest node-sqip to get rid of the GoLang dependency

* replace custom svg data uri function with package

* prepare images via sharp plugin and allow sharp transformations

* load cached svg properly from disk

* fix queue resolving to early

* set contentful images to 400px

* implement new sharp transformation awareness feature

* WIP - extract generation and write first pseudo test

* fix styling for gatsbygram post detail

* finalize unit tests for actual sqip implementation

* use 256px input image width to match sqip/primitive default

* add using-sqip example page

* some cleanup

* clean up example and enhance polaroid effect

* fix using-sqip dependency

* remove base64 since it was not implemented and is bad for compression

* remove sqip from gatsbygram example

* simplify tests

* Small change to trigger build

* Publish

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

* Add tutorial on creating a source plugin

* Format

* Add extensions to .eslintrc (#5206)

- Add .json or .yaml extension to .eslintrc files

```shell
$ cd ./packages
$ rename 's/.eslintrc/.eslintrc.yaml/' `find . -name .eslintrc`
$ cd ../
$ rename 's/.eslintrc/.eslintrc.json/' `find . -name .eslintrc`
```

- Tweak plopfile.js to add .json extension to examples to be generated

Signed-off-by: Masato Ohba <[email protected]>

* Add gatsby-starter-bulma-storybook to the starters list (#5208)

Signed-off-by: Gianni Valdambrini <[email protected]>

* fix: style and typo correction

- Minor style tweaks (e.g. unlinked "pixabay.com" => "Pixabay")
- Typo patrol
- De-British some of the language (my apologies to the letter U)

* Toodle-pip British u

* Adjust heading hierarchy

* Use relative urls for gatsbyjs.org links

* Pull last few sections up a level

* Minor edits and consistency tweaks

* Cleanup example for the createPages API (#5216)

* Update with @shannonbux's edits

* Additional header

* Bumps gatsby-plugin-mailchimp to 2.2.2 bc we updated its API to be more user friendly (#5215)

* Add YAML data file for site showcase (#5227)

* Publish

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

* Update to Gitlab pages deploy (#5243)

* Update to Gitlab pages deploy

Gitlab pages now include a Gatsby template for CI, which makes it a lot easier to add. Have updated the documentation to reflect this.

* Edit

* Update README.md (#5247)

Adding explanation about available option `offsetY` to solve issue #5061
Signed-off-by: Robin Cussol <[email protected]>

* [gatsby-source-contentful] Fix storing new sync token (#5252)

* Add https://emoji.tinder.com/ to showcase (#5257)

* Fix typo (#5241)

* Link to website in contributing.md (#5249)

* Publish

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

* Bump versions of packages that failed to publish earlier

* Publish

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

* Add top padding for tablet masthead (#5266)

* wordpress-source-plugin-tutorial (#5235)

* wordpress-source-plugin-tutorial

Not sure if I got all the code samples formatted correctly.

Still need to edit the index.js page so the <p> tags don't render!!

Then, need a screenshot of the final result without <p> tags!

* removed unnecessary backticks and corrected link to Part 7 of tutorial

* Make links relative

* Use graphql for syntax highlighting + minor copy edits

* Image Tutorial (#5236)

* Image Tutorial

Would be nice to add a screenshot of the finished result.

Eventually, a really cool image tutorial could include GIFs.

* Remove unneeded backticks around code

* Add example gif

* Fix image links

* added Gatsbygram link, fixed assumption spelling

* we --> you

* Added some more edits of my own

wasn't sure whether you wanted lines 153-155 to stay the same

* Changed back to previous lines 149-159

I accidentally deleted necessary stuff in my previous commit, so I'm just starting over

* Edited comments per Mike's suggestions

* Small tweaks

* Add site (#5268)

* readme: Add aQuICK QC landing page site

* readme: Kill old event specific page

* Quick fix for wordpress source plugin tutorial (#5276)

Fragments don't work on Graphiql

* Minor fix on wordpress source plugin tutorial (#5277)

removed typo

* Update wordpress-source-plugin-tutorial.md (#5278)

* add missing underscore to graphiql URL (#5275)

* add missing underscore to graphiql

* Update image-tutorial.md

* Update wordpress-source-plugin-tutorial.md (#5279)

* Update image-tutorial.md (#5281)

* Update source-plugin-tutorial.md (#5283)

* add missing .npmignore and .babelrc to sqip transformer (#5282)

* Publish

 - [email protected]

* Fix typos in source-plugin-tutorial (#5284)

* Add workshop-in-the-woods.com to the showcase (#5291)

* Update README.md (#5288)

* Update README.md

Missing curly bracket

* formatting

* Fix doc typo (#5294)

*  fix: chang the url of blog in readme :bug: (#5302)

* feat: :sparkles: add gatsby-new-blog plugin

* docs: update showcase :memo:

* flag importance of plugin order for prism-js vs embed-snippet (#5313)

If gatsby-remark-prism-js is declared before gatsby-remark-embed-snippet, the latter will not pick up the `embed:example.js` syntax because it is looking for an inline-code node and it will have been transformed into a p node by gatsby-remark-prism-js. This needs to be noted as this is far from obvious.

* Add manifest.webmanifest to staticFileGlobs (#5300)

Signed-off-by: Kaue Machado <[email protected]>

* Publish

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

* Fix post path comment (#5295)

* Fix post path

* Fix

* Expand docs for custom components (#5315)

* Expand docs for custom components

The docs for custom components only mention defining custom components in the markdown, but don't address one of the most useful aspects - that you can map generic markdown tags/elements to your own components. I've expanded the docs to point this out and added a simple example.

* Typo

* plugin-feed: Note feed xml file is production only (#5305)

Add note that the rss.xml feed is only generated in production.

* Fixing grammar around CSS Modules (#5286)

* Fix broken link to tutorial for building blog (#5273)

I don't know if it's the original article but at least it looks fairly similar

* added develop command options to use custom key and certs (#5056)

* added develop command options to use custom key and certs

* fixed typos in doc

* added condition to make sure both --key-file and --cert-file are present

* - passing https flag results in automatic https certs [devcert]
- --cert-file, --key-file, and --https flags can be used together for custom ssl
- if all flags needed for custom ssl are not present an error is displayed to the user
- if provided --cert-file and --key-file paths are not real files, node gives a rejection
- modified docs to express current behavior

* Add portfolio to the created with gatsby section (#5331)

* Documentation for images in page components #3380 (#4191)

* adding first draft

* adding info about fragments

* cleaning up language

* renaming file, this commit is for issue #3380

* technical edits on working with images in gatsby

* technical edits on working with images in gatsby

* punctuation and verb tense edits

* more punctuation and grammar

* commas

* Add new docs page to sidebar (#5339)

* New issue, feature and question template (#5274)

* Basic template for new issues

* updated issue template

* updated issue template

* Update ISSUE_TEMPLATE.md

* Update ISSUE_TEMPLATE.md

* changed bug report to the new GitHub issue template

* add feature request template

* question template

* fixed title of question and added emojis

* added RFC to question template

* Update bug_report.md

* Update feature_request.md

* Update question.md

* Typo

* Update custom-html.md (#5341)

* Update custom-html.md

grammar corrections

* Revert one change

* Actually revert that one change

* add plugin option examples (#5345)

add plugin option examples

* Remove workshop banner now that workshops have finished (#5338)

* Update url-loader (#5342)

* Update plugins.md

* [gatsby-source-contentful]: Add fallback locale support (#5328)

* Add fallback locale support

* Fix linting

* test: Fix test

* Publish

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

* [gatsby-source-wordpress] check if parent exists (#5373)

* [gatsby-source-filesystem] add fs error handling, bump got retry attemps count (#5375)

* [gatsby-source-filesystem] catch fs stream errors

* [gatsby-source-filesystem] bump got retries from default 2 to 5

* normalize reject payload

* Add context to query-runner error log (#5214)

* [www] Prevent image twitching in Chrome when hovering a blog index card (#5396)

* [gatsby-transformer-yaml] Update docs: GraphQL query mismatch (#5402)

GraphQL query references "value" when it should actually reference "character" as per the example output.

* [gatsby-transformer-json] Update docs: outdated Readme examples (#5403)

`{ internal: { type } }` exists but it would actually be "LettersJson" (according to my GraphiQL checks).
Seems better to just remove this, so it at least has parity with gatsby-transformer-yaml readme.

* Add "Six Reasons I Chose Gatsby" blog post (#5369)

* added  "Six Reasons I Chose Gatsby" blog post

* added site to showcase

* updated content based on review comments

* updated Gatsby links to be relative

* Fix for IE10 not loading scripts (#5404)

* Fix for IE10 not loading scripts

* Fixed duplicate declaration.

* Update example config for netlify-cms (#5405)

Added the public_folder attribute to make the assets accessible.

Also added the body field to the collection, so the html attribute of markdownRemark gets filled properly. Figuring out that the field has to be named "body" was a bit cumbersome.

https://www.netlifycms.org/docs/configuration-options/#fields

* Fix regression with prefix paths and gatsby-plugin-manifest (#5406)

as per https://github.com/gatsbyjs/gatsby/commit/69ca24750ecba8945a57f2c662cc5ca44964d76a#diff-079fdad4111264c646208511aa18a321 manifest.webmanifest should start with /

it just works (tm) when your site is flat, but when your pages are in sub directory and prefixed, its assumes your manifest files are in the subdirectory, not the root of your site (which might be prefixed).

Fixing reversion

* Remove old comment (#5407)

Code changed in #5404, this comment no longer relevant.

* Add gatsby-starter-modern (#5427)

* Publish

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

* Mention in building apps docs page that we use React Router under the hood (#5439)

* Add a how to add search to your website section (#5272)

* Add a how to add search to your website section

* Update adding-search.md

* Update doc-links.yaml

* Update adding-search.md

* Better restructuring

* Update doc-links.yaml

* Update adding-search.md

* Address Changes

* Rewrite docs

* Add the link before the links to stub articles

The ones ending with * are stubs

* Tidy up

* Grammar/punctuation edits and some wording edits

* Adding Headers

* Edits

* More headings

* Minor edits

* Update adding-search.md (#5448)

* regenerate yarn.lock

* temporarily disable stylus tests - need to update both tests and example sites to v2

* fix wrong conflict resolution

* [v2] update using-stylus example and re-add tests to stylus plugin (#5461)

* update stylus tests

* update using-stylus example

* specify eslint rule we want to disable

* format

* fix merge conflict remnant

* Removed unneeded imports causing no-unused-vars lint errors (#5463)

* Add stricter check for `Error:` and placeholder test (#5460)

* Publish

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

* [v2][www] Move layout to components folder + import Link from gatsby (#5472)

* Move layout to components folder and rename its import to be consistent

* Import Link from gatsby instead of gatsby-link

* Add preload links to end of headComponents list (#5490)

* Publish

 - [email protected]

* Don't infer types for plugin provided GQL types

* Update screenshot plugin for Gatsby v2 (#5502)

* Publish

 - [email protected]

* Simpler bundle and data loading (#5535)

* Publish

 - [email protected]

* [v2] [gatsby-plugin-offline] get exact filenames for js staticFileGlob (#5511)

* [gatsby-plugin-offline] extract exact filenames for js chunks for app and offline app shell

* format

* Don't inline webpack-runtime as this prevents the service worker from correctly updating to new version of the site (#5540)

* Publish

 - [email protected]
 - [email protected]

* [v2][www] Fix remaining lint errors (#5568)

* fix: `default-case` lint errors

* fix: `eqeqeq` lint error

* fix: `array-callback-return` lint error

* fix: `no-unused-vars` lint error

* fix: `alt-text` lint error

* Fix missing blog posts (#5539) (#5551)

Quick fix for: https://github.com/gatsbyjs/gatsby/issues/5348#issuecomment-391682881

* Add a valid entry point for the `gatsby` package (#5481)

* Fix outdated babel-code-frame import to use @babel/code-frame (#5585)

Fix #5584

Signed-off-by: Helder S Ribeiro <[email protected]>

* [v2] image processing example (#5589)

* Upgrade to use gatsby v2 and fix eslint warnings

* Fix up fonts on production build

* Add back `replaceComponentRenderer` API (#5600)

also fix bad merge on lifecycles

* Publish

 - [email protected]
 - [email protected]

* Update Contentful example site for Gatsby v2 (#5606)

* delete stray console.log

* Update babel to 7.0.0-beta.49

* Update yarn.lock

* [v2] responsive image types (#5250)

* Change image type names from resolutions to fixed

resolutions resolutions resolutions
fixed fixed fixed fixed fixed fixed

* Change image type names from sizes to fluid

sizes sizes sizes sizes
fluid fluid fluid fluid

* Continue renaming sizes to fluid

* eslint

* Include sizes as part of a fluid node

* Update snapshots

* Update resolver

* Remove references to responsiveResolution and responsiveSizes

* Rename GraphQL node types for gatsby-transformer-sharp

* Rename GraphQL node types for gatsby-source-contentful

* Update image-processing example

* fluid() should still return a sizes property

* Use unique type names

* Fix duplicate deprecation messages

* Publish

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

* [v2] mime dependencies (#5602)

* Recreate lockfile

* Update dependencies that depend on mime

* Move less to a peer dependency

* Move node-sass to a peer dependency

* Update lockfile

* Update README.md

* Include node-sass in the sass example site

* [v2][www] Abstracted sidebar to layout component (#5537)

* Abstracted sidebar to layout component

* Hide sidebar on mobile

* [v2] Bump gatsby-image version as #5250 is a breaking change for it (#5627)

* Publish

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

* [v2] Bump gatsby-image version as #5250 is a breaking change for it

* [v2][www] Move YAML link files to data (#5567)

* Move YAML link files to data

* Organize sidebar links to a subdirectory of data

* Publish

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

* v1.0.18-9

* v1.0.18-10

* v2.0.0-alpha.20

* revert one change from #5250, this one should use "sizes" (it doesn't use sharp transformer) (#5631)

* Publish

 - [email protected]

* [v2][www] Fix missing search sidebar for plugins/packages pages (#5550)

* Add react-instantsearch package required by plugins searchbar

* Add package searchbar to pages that require them

* Rename searchbar to plugin-searchbar

* Fix imports sidebar data

* Revert upgrade to babel-beta.49

* Publish

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

* Publish

 - [email protected]

* Fix a typo in Readme example (#5645)

* [v2][doc] v1 to v2 migration guide (WIP) (#5575)

* v1 to v2 migration guide doc start

* Add sidebar link to v2 migration guide

* Update README to show v1 to v2 migration guide

* Fix children type in README (#5687)

* Update redirects example for Gatsby v2 (#5681)

* [v2][gatsby-image] Deepen propTypes declaration (#5684)

* Add extensive prop types checking

* This works better and is easier to read

* Fix webp spelling

* [v2][source-contentful] Restore legacy sizes and resolutions fragments (#5678)

* [v2] Restore legacy sizes and resolutions fragments

* Reword TODO a little bit

* [v2] Update csv example (#5703)

* [v2] Update medium example (#5704)

* [v2] Update no-plugins example (#5705)

* Update no-plugins example

* update html.js to use all passed props

* format

* [v2] Update client only paths example (#5706)

* [v2] Update using-excel example (#5707)

* [WIP][v2] Edit tutorial to use emotion instead of glamorous (#5664)

* [v2] Edit tutorial part 4 to use emotion instead of glamorous

* Change heading to siteTitle as it makes more sense

* Change glamor to emotion + ran markdown formatter

* Move css inline

* part-six: change to emotion + run through format-markdown

* part-seven: add Layout to template + run format-markdown

* part-seven: add line highlight numbers to template changes

* part-seven: emotion + format-markdown + add line highlight numbers

* part-six: change sort syntax so it’s consistent with part-seven

* Remove mistakenly added line

* [v2][gatsby-transformer-sharp] restore legacy fragments (#5710)

* Publish

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

* [v2] Update Emotion example (#5715)

* Bump package versions

* Add react-helmet and its Gatsby plugin

* Migrate from custom html.js to react-helmet

* Edit styling method to showcase different Emotion APIs

* Add references to README

* Change gatsby-plugin-react-helmet version to next

* [v2] Update styled-components example (#5717)

* Bump package versions

* Add gatsby-plugin-react-helmet and gatsby-plugin-typography

* Add react react-dom babel-plugin-styled-components

* Remove outdated line (Gatsby hot reloads regardless of this line)

* Migrate from custom html.js to react-helmet

* Bump gatsby-plugin-typography version to next

* Flag the new example as version 2.0.0, up from 1.0.0

* Add references to README

* [v2] Migration guide updates (#5661)

* Remove yarn examples for consistency with other docs

* Add rename responsive image queries section

* Add postcss plugins section

* Remove checklist (moved to issue 3986)

* Add mixed CommonJS/ES6 section

* Link to Gatsby webpack docs

* Add node id section

* Add section: remove explicit polyfills

* Add section: Change modifyBabelrc to onCreateBabelConfig

* Add section: Change `modifyWebpackConfig` to `onCreateWebpackConfig`

* Add section:  CSS is inlined automatically

* Add introduction and small tweaks

* Correct line numbers

* Improve explanation around movement of libs to peerDependencies

* chore: minor capitalization tweak

* Add edit link

* Split peer dep updates into two sections

* Declarative headings

* Add table of contents

* Use neater Fragment syntax

* More detail on deprecation note

* Inline comments on code examples

* Add Jason's node ID query example

* Use markdown diff syntax for before / after examples

* Add 'in-progress' note about babel polyfills

* Add instructions on how to install Gatsby v2

* [gatsby] added TypeScript typings for StaticQuery component (#5666)

This should make StaticQuery calls not give out any type errors in
TypeScript. Types are intentionally made weak, as I couldn't figure out
how to correctly type any GraphQL calls here.

* [v2][gatsby-image][source-contentful] Fix sizes fields that were changed to fluid by mistake (#5714)

* Fix sizes field that was changed to fluid by mistake

* [gatsby-image] Fix sizes fields that were changed to fluid by mistake

* Update test snapshot

* [v2] compile cache dir (#5637)

* run cache-dir through babel

* fix gitignore

* watch cache-dir

* fix cache-dir linting and update json-store react lifecycle methods

* build rawfiles during watch

* Publish

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

* [v2] Correct inlined css upgrade guide (#5741)

v1's default html.js also inlined css https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby/cache-dir/default-html.js

The change is that with mini-css-extract-plugin, we have css splitting so we handle inlining css in core as it requires understanding webpack's stats object.

* [v2] fix build with pathPrefix (#5691)

* [v2] fix build with pathPrefix

* update test

* removed __PREFIX_PATHS__

* fix test

* update lock file

* address comments

* clean

* clean

* [v2] Update styleguide example (#5712)

* Update styleguide example for v2

* Replace boundActionCreators to actions

* Use pageContext

* Fix exports

* [v2] Update redux example (#5713)

* Update redux example for v2

* Remove html.js

* Use ES6 export

* [v2] Update Emotion + PrismJS example (#5720)

* Add required packages + upgrade their versions

* Refactor layout component to v2

* Migrate from custom html.js to react-helmet

* Add references to README

* Fix typo + remove semi

* Fix typo

* Fix lint errors + remove unused console.log

* Fix mixed up blog post content

* Show proper page titles

* remove word

* remove word

* Update page loading indicator example for Gatsby v2 (#5735)

* Update using css modules example for Gatsby v2 (#5736)

* [v2] Update plugin-typescript to use Babel (#5709)

* Update plugin-typescript to use Babel

* Fix code style

* Bump the version

* Update README

* Use npm for install instructions

* Add more cheese (#5751)

* Update using-styletron example for v2 (#5749)

* fix: page renderer behavior (#5759)

* [v2] Migration guide: shorten TOC links to just the hash (#5766)

* Simplify TOC links to just the hash

* Run it through format-markdown script

* Publish

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

* [v2] Don't allow unknown keys on node.internal object (#5770)

* [v2] Don't allow unknown fields on node.internal object

Validate against changes like https://github.com/gatsbyjs/gatsby/pull/5557

* Document the change

* Add script for adding new owners to our NPM packages (#5768)

* [v2] Update typescript example (#5711)

* Improve the TypeScript example

* Set up linting and type checking

Tweak tsconfig.json

* Remove extraneous package

* Update using-path-prefix example for v2 (#5752)

* [v2] Update using-remark-copy-linked-file example (#5755)

* Update using-remark-copy-linked-files example for v2

* Remove react-responsive-grid

refs gatsbyjs/gatsby-starter-blog#99

* Use Layout component

* [v2] Update Sitemap example (#5767)

* [v2] Update using-glamor example (#5757)

* Update packages

* Remove unused typography packages

* Add typography.js

* eslint

* [docgen] better error handling and update to v3 (#5604)

* better error handling and update to v3

* fix rdg version:

* update doc-handler

* Update package.json

* make test more robust

* fix test

* Update no-trailing-slashes example for v2 (#5781)

* Update simple-auth example for v2 (#5782)

* Link directly to edit page (#5792)

Closes #5791

* Update wording (#5795)

* [v2] export graphql package from gatsby (#5415)

* export graphql package from gatsby

* update after sqip plugin merge

* revert weird formatting changes

* fix graphql.js packaging

* note in Breaking Changes for plugin maintainers

* fix typo

* remove graphql-type-json from plugins deps

* update setFieldsOnGraphQLNodeType docs

* update yarn.lock

* Typo

* Minor edits

* update migration guide

* Add a word

* [v2] Use kebabHash() instead of _.kebabCase() (#5532)

* Add dep `kebab-hash` to `packages/gatsby`. #4637

* Replace `_.kebabCase()` with `kebabHash()`. #4637

* Add dep `kebab-hash` to `packages/gatsby`. #4637

* Replace `_.kebabCase()` with `kebabHash()`. #4637

In the `gatsby-plugin-netlify` package.

* Bump `kebab-hash` to `0.1.2`. #4637

* Update snapshots for new path ID format. #4637

* [v2] Clarify filenames and update `sizes` to `fluid` (#5809)

[v2] Clarify filenames and update `sizes` to `fluid`

* fix: upstream fixes (#5815)

* webpack hmr path responding appropriately to env GATSBY_WEBPACK_PUBLICPATH

* make linter happy

* added public path env option for webpack (#5527)

* Publish

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

* Publish

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

* Publish

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

* Publish

 - [email protected]

* [v2][www] add prismjs dependency (it was moved to peerDeps in gatsby-remark-prismjs) (#5844)

* [v2][www] add prismjs dependency (it was moved to peerDeps in gatsby-remark-prismjs)

* add prismjs in examples

* [v2] Use replacementComponent directly in page-renderer (#5812)

* Run replaced component generated by replaceComponentRenderer

* Use first result as replacementComponent

* [v2][using-remark] fix build (#5852)

* [v2] re-add eslintrc after master merge (#5856)

* [v2] Fix styling for remark example (#5857)

* Include gatsby-plugin-typography

* Lint

* Update lockfile

* [v2] cleanup MiniCssExtractPlugin from develop stage (#5837)

* [v2] Update using-jss example (#5832)

* Bump package versions

* Add react react-dom react-jss

* Flag v…
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant