Commit Graph
409 Commits
Author SHA1 Message Date
GatsbyJS Botandgatsbybot 25a732354d Add blog post about commitment to equity and how we are going to do i… (#24934)
* Add blog post about commitment to equity and how we are going to do it at Gatsby

* Update Bianca name/title with quotes

* Update author.yaml

* Re-re-re adjust frontmatter

* remove dashes in excerpt text

* delete and re-enter frontmatter

* chore: format

Co-authored-by: gatsbybot <mathews.kyle+gatsbybot@gmail.com>
2020-06-11 21:08:18 +00:00
GatsbyJS Botandondrejch 77a7ed3ae0 feat(benchmarks): add Kontent benchmark (#24605)
* add kontent benchmark

* prefix environment variables

* get random article title

Co-authored-by: ondrejch <ondrejch@kentico.com>
2020-06-11 19:25:29 +00:00
GatsbyJS BotandKyle Gill 50b7e80ca6 chore(starters): Updated starter URLs due to DNS changes and Github Repo Urls (#24831)
Co-authored-by: Kyle Gill <kylerobertgill@gmail.com>
2020-06-11 19:07:13 +00:00
GatsbyJS Bot dbb80b9066 fix: links zeit to vercel (#24786) 2020-06-10 22:43:17 +00:00
GatsbyJS Bot fa562d99fb fix(docs): next.js github links (zeit to vercel) (#24785) 2020-06-10 22:40:39 +00:00
GatsbyJS Bot aff949af51 remove local domain, brand names, typos (#24824) 2020-06-10 22:38:41 +00:00
6db9e95505 Docs - Lighthouse audits (#24783)
* updating content and screenshots

* Fix linting

Co-authored-by: gatsbybot <mathews.kyle+gatsbybot@gmail.com>
Co-authored-by: Marcy Sutton <marcy@gatsbyjs.com>
2020-06-10 22:31:22 +00:00
GatsbyJS Bot 94d3a6700f Update index.md (#24657) 2020-06-10 22:31:05 +00:00
GatsbyJS Bot 28ee119785 chore(docs): mention async/await syntax in Gatsby Node APIs docs (#24752) 2020-06-10 22:17:54 +00:00
6d63ee534d feat(recipes): add gitlab-ci-cd recipe to cli list (#24501)
* feat(recipes): add gitlab-ci-cd recipe to cli list

* Update packages/gatsby-recipes/src/cli.js

Co-authored-by: Muescha <184316+muescha@users.noreply.github.com>

Co-authored-by: Muescha <184316+muescha@users.noreply.github.com>
Co-authored-by: gatsbybot <mathews.kyle+gatsbybot@gmail.com>
2020-06-10 20:56:19 +00:00
GatsbyJS Bot 03256bf731 chore(docs): Standardize word website (#24728) 2020-06-10 19:21:41 +00:00
GatsbyJS Bot 646a3864f6 chore(release): Publish
- babel-plugin-remove-graphql-queries@2.9.5
 - babel-preset-gatsby-package@0.4.4
 - babel-preset-gatsby@0.4.9
 - gatsby-admin@0.1.67
 - gatsby-cli@2.12.45
 - gatsby-codemods@1.3.4
 - gatsby-core-utils@1.3.5
 - gatsby-cypress@0.4.4
 - gatsby-dev-cli@2.7.9
 - gatsby-graphiql-explorer@0.4.5
 - gatsby-image@2.4.7
 - gatsby-link@2.4.6
 - gatsby-page-utils@0.2.9
 - gatsby-plugin-benchmark-reporting@0.2.7
 - gatsby-plugin-canonical-urls@2.3.4
 - gatsby-plugin-catch-links@2.3.5
 - gatsby-plugin-coffeescript@2.3.4
 - gatsby-plugin-create-client-paths@2.3.4
 - gatsby-plugin-cxs@2.3.4
 - gatsby-plugin-emotion@4.3.4
 - gatsby-plugin-facebook-analytics@2.4.4
 - gatsby-plugin-feed@2.5.5
 - gatsby-plugin-flow@1.3.5
 - gatsby-plugin-fullstory@2.3.5
 - gatsby-plugin-glamor@2.3.4
 - gatsby-plugin-google-analytics@2.3.4
 - gatsby-plugin-google-gtag@2.1.4
 - gatsby-plugin-google-tagmanager@2.3.5
 - gatsby-plugin-guess-js@1.3.5
 - gatsby-plugin-jss@2.3.4
 - gatsby-plugin-layout@1.3.4
 - gatsby-plugin-less@3.2.4
 - gatsby-plugin-lodash@3.3.4
 - gatsby-plugin-manifest@2.4.11
 - gatsby-plugin-mdx@1.2.15
 - gatsby-plugin-netlify-cms@4.3.5
 - gatsby-plugin-netlify@2.3.5
 - gatsby-plugin-nprogress@2.3.4
 - gatsby-plugin-offline@3.2.9
 - gatsby-plugin-page-creator@2.3.9
 - gatsby-plugin-postcss@2.3.4
 - gatsby-plugin-preact@4.0.3
 - gatsby-plugin-preload-fonts@1.2.10
 - gatsby-plugin-react-css-modules@2.3.4
 - gatsby-plugin-react-helmet@3.3.4
 - gatsby-plugin-remove-trailing-slashes@2.3.5
 - gatsby-plugin-sass@2.3.4
 - gatsby-plugin-sharp@2.6.11
 - gatsby-plugin-sitemap@2.4.5
 - gatsby-plugin-styled-components@3.3.4
 - gatsby-plugin-styled-jsx@3.3.4
 - gatsby-plugin-styletron@5.0.3
 - gatsby-plugin-stylus@2.3.4
 - gatsby-plugin-subfont@2.2.5
 - gatsby-plugin-twitter@2.3.4
 - gatsby-plugin-typescript@2.4.6
 - gatsby-plugin-typography@2.5.4
 - gatsby-react-router-scroll@3.0.3
 - gatsby-recipes@0.1.39
 - gatsby-remark-autolink-headers@2.3.5
 - gatsby-remark-code-repls@3.2.4
 - gatsby-remark-copy-linked-files@2.3.5
 - gatsby-remark-custom-blocks@2.3.4
 - gatsby-remark-embed-snippet@4.3.5
 - gatsby-remark-graphviz@1.3.4
 - gatsby-remark-images-contentful@2.3.5
 - gatsby-remark-images@3.3.10
 - gatsby-remark-katex@3.3.4
 - gatsby-remark-prismjs@3.5.4
 - gatsby-remark-responsive-iframe@2.4.5
 - gatsby-remark-smartypants@2.3.4
 - gatsby-source-contentful@2.3.15
 - gatsby-source-drupal@3.5.12
 - gatsby-source-faker@2.3.4
 - gatsby-source-filesystem@2.3.11
 - gatsby-source-graphql@2.5.4
 - gatsby-source-hacker-news@2.4.4
 - gatsby-source-lever@2.3.5
 - gatsby-source-medium@2.3.4
 - gatsby-source-mongodb@2.3.4
 - gatsby-source-npm-package-search@2.3.6
 - gatsby-source-shopify@3.2.11
 - gatsby-source-wikipedia@2.3.5
 - gatsby-source-wordpress@3.3.11
 - gatsby-telemetry@1.3.11
 - gatsby-theme-blog-core@1.5.42
 - gatsby-theme-blog@1.6.42
 - gatsby-theme-notes@1.3.68
 - gatsby-theme-ui-preset@0.0.57
 - gatsby-transformer-asciidoc@1.3.4
 - gatsby-transformer-csv@2.3.4
 - gatsby-transformer-documentationjs@4.3.4
 - gatsby-transformer-excel@2.4.4
 - gatsby-transformer-hjson@2.4.4
 - gatsby-transformer-javascript-frontmatter@2.3.5
 - gatsby-transformer-javascript-static-exports@2.4.4
 - gatsby-transformer-json@2.4.5
 - gatsby-transformer-pdf@1.3.5
 - gatsby-transformer-react-docgen@5.2.5
 - gatsby-transformer-remark@2.8.15
 - gatsby-transformer-screenshot@2.3.9
 - gatsby-transformer-sharp@2.5.5
 - gatsby-transformer-sqip@2.3.11
 - gatsby-transformer-toml@2.4.5
 - gatsby-transformer-xml@2.3.4
 - gatsby-transformer-yaml@2.4.4
 - gatsby@2.23.3
2020-06-09 09:28:08 +00:00
GatsbyJS Bot 6af39491e0 chore(gatsby): replace regex with Array.includes (#24843) 2020-06-09 09:17:06 +00:00
GatsbyJS Bot 85364d9baf chore(www): convert badge component to theme-ui (#24817)
* convert badge component to theme-ui

* cleaned up the badge component

* cleanup
2020-06-08 16:15:41 +00:00
3778e4337f fix(docs): Info about required schemas in plugin (#24520)
* fix info about required schemas in plugin

* fix typo

* Update docs/docs/sourcing-from-prismic.md

Add suggestion

Co-authored-by: Marcy Sutton <marcy@gatsbyjs.com>

* chore: format

Co-authored-by: Marcy Sutton <marcy@gatsbyjs.com>
Co-authored-by: gatsbybot <mathews.kyle+gatsbybot@gmail.com>
2020-06-08 16:07:28 +00:00
GatsbyJS Bot 44e9e99618 fix(gatsby): Fix issue where inline static query in page gets added to page data (#24805)
* Fix issue where inline static query in page results in page data result

* Set query to empty String when the query is static

* Simplify

* Fix
2020-06-05 13:15:02 +00:00
GatsbyJS Bot d71b399e00 fix(babel-plugin-remove-graphql-queries): Strip ignored characters from query text for better caching and deduping (#24807)
* Strip ignored characters from query text for better caching and deduping

* Update snapshots
2020-06-05 13:00:31 +00:00
GatsbyJS Bot 064153600c chore(release): Publish
- gatsby-admin@0.1.65
 - gatsby-cli@2.12.44
 - gatsby-recipes@0.1.38
 - gatsby-theme-blog-core@1.5.40
 - gatsby-theme-blog@1.6.40
 - gatsby-theme-notes@1.3.66
 - gatsby-theme-ui-preset@0.0.55
 - gatsby@2.23.1
2020-06-05 11:16:28 +00:00
GatsbyJS Bot 5c2ebc60f6 Gatsby Admin UI cleanup (#24610)
* Add meta tags and cleanup admin button ui

* Fix react-helmet import

* Render plugin description if there is one

* Better install input with more states

* Add window.confirm to uninstall button

* Fix typescript

* Fix input label association & installing any npm package

* Remove extraneous console.log
2020-06-05 11:03:34 +00:00
GatsbyJS Botandgatsbybot 70028eb9f3 Add form-name hidden field for Netlify Forms (#24548)
It appears that Gatsby strips the form name from the form submission. By adding the hidden field you can restore the name and don't run into submission issues.
Example code from -> https://codebushi.com/form-handling-gatsby-netlify/
Other have run into this issue at -> https://github.com/gatsbyjs/gatsby/issues/12040

Co-authored-by: gatsbybot <mathews.kyle+gatsbybot@gmail.com>
2020-06-05 00:11:04 +00:00
GatsbyJS Bot f2841bc81a chore(starters): add gatsby-starter-woo (#24747) 2020-06-04 22:16:22 +00:00
GatsbyJS Bot 97605df575 fix(gatsby): add connection data dependency on concrete types when abstract type is queried (#24754)
* fix(gatsby): add connection data dependency on concrete types when abstract type is queried

* refactor: store original createPageDependencyActionCreator and add class method instead of inline shenanigans

* test: add some unit tests for `createPageDependency` method on node model

* test: add case for data-tracking "integration" test
2020-06-04 08:57:15 +00:00
GatsbyJS Bot e9327a9a82 style(starter): lint with Prettier (#24765) 2020-06-04 08:46:30 +00:00
GatsbyJS Bot a2fceb938b chore(release): Publish
- gatsby-admin@0.1.61
 - gatsby-theme-blog-core@1.5.36
 - gatsby-theme-blog@1.6.36
 - gatsby-theme-notes@1.3.62
 - gatsby-theme-ui-preset@0.0.51
 - gatsby@2.22.20
2020-06-03 18:48:07 +00:00
GatsbyJS Bot ba8c1bfcb8 fix(gatsby): bind develop-proxy server to host specified by user (#24761) 2020-06-03 18:28:53 +00:00
GatsbyJS Bot d41ebea23b chore(docs): Fix typographical error (#24729) 2020-06-03 14:12:01 +00:00
GatsbyJS Bot de1f3d3849 fixing some 404 links (#24716) 2020-06-03 13:47:08 +00:00
GatsbyJS BotandFlorian Kissling fb947c973b fix(www): layout for /guidelines/design-tokens + convert to theme-ui (#24569)
* converted guidelines containers from styled-system to theme-ui

* CopyColumn sticky styling fixed for responsive

* fixed the linting issue by converting double quotes to backtick

* guidelines design token page responsive layout fixed

* ContentColumn width changed for mobile

* used Flex from theme-ui instead of styled

* used the Box component from theme-ui inside Layout

* updated the breakpoints

* tweaking

* updated sections with no right padding

* styling updates

* created separate component for <td> with verticalAlignment of top

* added overflowX to the parent div of table on mobile

* fixed the lint error

* moved raw css to sx in containers

* fix: "Font Weights" token column value

`fontWeights[body]` -> `fontWeights.body`

* feat: add "px" column to "Font Sizes" table

Co-authored-by: Florian Kissling <florian.kissling@gmail.com>
2020-06-03 13:24:16 +00:00
GatsbyJS Bot 8d01fc0419 chore(release): Publish
- gatsby-admin@0.1.59
 - gatsby-cli@2.12.43
 - gatsby-link@2.4.5
 - gatsby-recipes@0.1.37
 - gatsby-theme-blog-core@1.5.34
 - gatsby-theme-blog@1.6.34
 - gatsby-theme-notes@1.3.60
 - gatsby-theme-ui-preset@0.0.49
 - gatsby@2.22.18
2020-06-03 11:49:28 +00:00
GatsbyJS Botandgatsbybot eba3a19cf1 fix(gatsby-link): Fail gracefully on empty to prop (#24745)
Co-authored-by: gatsbybot <mathews.kyle+gatsbybot@gmail.com>
2020-06-03 11:45:01 +00:00
GatsbyJS Bot a002d4b6af chore(www): Don't panic on missing showcase entry (#24741) 2020-06-03 10:49:35 +00:00
GatsbyJS BotandSidhartha Chatterjee d7be6313fe chore(gatsby): Switch query running to use services (#24708)
* chore(gatsby): Switch query running to use services

* Fix typings

* Early return for empty queries

* Remove filesDirty

* Pass in graphqlRunner to services

* Pass in graphqlRunner into runPageQueries

* Pass in program to runStaticQueries and runPageQueries in develop

* Panic on missing store

* Remove unused props from context type

Co-authored-by: Sidhartha Chatterjee <me@sidharthachatterjee.com>
2020-06-03 09:46:18 +00:00
GatsbyJS Bot e9e8cb225f perf(gatsby): be more conservative in when to sort (#24609) 2020-06-03 08:19:54 +00:00
GatsbyJS Bot 0ab8e1cec1 chore(blog): 🔒 Fix missing HTTPS on gatsbyjs.com links (#24732) 2020-06-03 06:05:16 +00:00
GatsbyJS Bot b1f32f5242 chore(starters): add gatsby-starter-simple (#24628) 2020-06-03 01:05:55 +00:00
GatsbyJS Bot a91d328761 chore(gatsby): Fix spelling in .eslintrc.js (#24711) 2020-06-02 20:44:50 +00:00
GatsbyJS Bot 6865292d56 chore(blog): Fix brand name for WordPress (#24710) 2020-06-02 20:42:14 +00:00
GatsbyJS Bot 6b6892dc90 change Gitlab to GitLab (#24362) 2020-06-02 20:20:58 +00:00
GatsbyJS Bot 024ef197bc missing point (#24363) 2020-06-02 20:18:02 +00:00
GatsbyJS Bot 1fe3500fb4 chore(showcase): Add nagarjun.co to showcase (#24688)
## Description

This adds my personal site (nagarjun.co) to the showcase.

## Documentation

N/A

## Related issues

N/A
2020-06-02 16:49:41 +00:00
GatsbyJS Botandondrejch 6c0f901caf Update links redirects on Kontent sourcing guide (#24714)
Co-authored-by: ondrejch <ondrejch@kentico.com>
2020-06-02 16:32:15 +00:00
GatsbyJS Bot 81df617014 perf(gatsby): drop severe scaling regression caused by analytics (#24709)
* perf(gatsby): drop severe scaling regression caused by analytics

Regression introduced in https://github.com/gatsbyjs/gatsby/pull/22851

The problem seems to be that these calls to `v8.serialize` trigger the gc to start a full hold-the-world mark-and-sweep step sooner. In a benchmark of 150k files, the step would trigger almost always after between 100k and 110k queries had run, and it would pause the process for 60+ seconds.

Example benchmark results from before and after that PR:

```
info bootstrap finished - 86.758 s
success Building production JavaScript and CSS bundles - 9.404s
success run queries - 205.676s - 150002/150002 729.31/s
success Building static HTML for pages - 142.800s - 150002/150002 1050.44/s
info Done building in 451.33 sec
```

```
info bootstrap finished - 85.933 s
success Building production JavaScript and CSS bundles - 8.335s
success run queries - 84.795s - 150002/150002 1769.00/s
success Building static HTML for pages - 141.000s - 150002/150002 1063.84/s
info Done building in 320.158 sec
```

This is very consistent behavior. We looked at the change and agreed that the best was to just drop this measurement since it was for the sake of analytics and a non-vital metric to record. We'd rather have the perf than the metric.

Numbers for the fix, same benchmark, first on current master and then on this PR:

```
info bootstrap finished - 79.788s
success Building production JavaScript and CSS bundles - 9.635s
success run queries - 201.542s - 150002/150002 744.27/s
success Building static HTML for pages - 141.535s - 150002/150002 1059.82/s
info Done building in 440.766 sec
```

```
info bootstrap finished - 80.751s
success Building production JavaScript and CSS bundles - 9.570s
success run queries - 87.162s - 150002/150002 1720.95/s
success Building static HTML for pages - 142.609s - 150002/150002 1051.84/s
info Done building in 319.151 sec
```

nice!

* And drop the import
2020-06-02 13:12:46 +00:00
GatsbyJS BotandMichal Piechowiak 203f5182e5 chore(gatsby): Migrate reducers/index to TypeScript (#23877)
* Change file extension from JS to TS

* Change reducer config export to ES6 module

* Change imports and exports to ES6 modules

* Change reducers import on redux index to use ES6 modules

* Update reducers imports and exports

* Comment unused codes

* Update merge conflicts

* Update nodesReducer module name

* Update last-action state type

* Fix merge conflicts

* Revert api test snapshot

* ops, actually fix merge conflicts

Co-authored-by: Michal Piechowiak <misiek.piechowiak@gmail.com>
2020-06-02 12:32:39 +00:00
GatsbyJS BotandRenovate Bot c20fa02cea fix: update starters and examples (#24434)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-02 10:00:35 +00:00
GatsbyJS Bot 2a58b4026e remove vulnerable http-proxy version from lockfile (#24344) 2020-05-22 13:33:29 +00:00
GatsbyJS Bot 8b84876f9b chore(typobot): Add ESLint to typobot ignore list (#24213) 2020-05-19 10:47:24 +00:00
GatsbyJS BotandRenovate Bot 239a591305 chore: update packages (#24196)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-05-19 10:35:13 +00:00
GatsbyJS BotandRenovate Bot c21d3e0c31 fix: update starters and examples (#24199)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-05-19 10:34:48 +00:00
GatsbyJS BotandRenovate Bot 3f647673e9 Update starters and examples (#24182)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-05-18 16:15:02 +00:00
GatsbyJS Bot 99cbd3df7a fix(www): update zeit to vercel links (#24044) 2020-05-13 12:04:39 +00:00