Skip to content

Commit

Permalink
- add gatsby-plugin-netlify
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonbahl committed Nov 14, 2020
1 parent e14a927 commit bde59ee
Show file tree
Hide file tree
Showing 4 changed files with 101 additions and 3 deletions.
1 change: 1 addition & 0 deletions gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ module.exports = {
plugins: [
'gatsby-plugin-react-helmet',
'gatsby-plugin-sitemap',
'gatsby-plugin-netlify',
{
resolve: 'gatsby-plugin-html-attributes',
options: {
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
"gatsby-plugin-html-attributes": "^1.0.5",
"gatsby-plugin-hubspot": "^1.3.4",
"gatsby-plugin-manifest": "^2.5.1",
"gatsby-plugin-netlify": "^2.5.0",
"gatsby-plugin-react-helmet": "^3.3.14",
"gatsby-plugin-react-svg": "^3.0.0",
"gatsby-plugin-sharp": "^2.6.38",
Expand Down
50 changes: 50 additions & 0 deletions static/_redirects
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
/guides/contributing /docs/contributing/
/getting-started/install-and-activate/ /docs/quick-start/
/guides/about-wpgraphql/ /
/guides/the-graphql-query-language/ /docs/beginner-guides/intro-to-graphql/
/getting-started/plugins/ /docs/plugins/
/getting-started/comments/ /docs/comments/
/getting-started/menus/ /docs/menus/
/guides/contributing/ /docs/contributing/
/getting-started/themes/ /docs/themes/
/getting-started/users/ /docs/users/
/getting-started/custom-taxonomies/ /docs/custom-taxonomies/
/getting-started/custom-post-types/ /docs/custom-post-types/
/getting-started/categories-and-tags/ /docs/categories-and-tags/
/getting-started/custom-fields-and-meta/ /functions/register_graphql_field/
/guides/connections/ /docs/connections/
/extending/hooks-and-filters/ /developer-reference/
/getting-started/intro-to-graphql/ /docs/beginner-guides/intro-to-graphql/
/getting-started/interacting-with-wpgraphql/ /docs/posts-and-pages/
/getting-started/posts/ /docs/posts-and-pages/
/guides/deferred-resolvers/ /docs/performance/
/getting-started/pages/ /docs/posts-and-pages/
/guides/relay-spec/ /docs/connections/
/guides/query-batching/ /docs/performance/
/guides/upgrading/ /docs/upgrading/
/guides/authentication-and-authorization/ /docs/authentication-and-authorization/
/guides/testing/ /docs/testing/
/guides/debugging/ /docs/debugging/
/guides/anatomy-of-a-graphql-request/ /docs/wpgraphql-request-lifecycle/
/getting-started/settings/ /docs/settings/
/guides/authentication-and-authorization /docs/authentication-and-authorization/
/extending/connections/ /docs/connections/
/extending/interfaces/ /docs/interfaces/
/guides/relay-spec /docs/connections/
/extending/types/ /functions/register_graphql_object_type/
/docs/getting-started/intro-to-graphql/ /docs/intro-to-graphql/
/getting-started/intro-to-graphql /docs/beginner-guides/intro-to-graphql/
/extensions/wpgraphql-dad-jokes/ /extenstion-plugins/wpgraphql-dad-jokes/
/extending/resolvers/ /docs/graphql-resolvers/
/extensions/wpgraphql-extensions/ /extensions/
/extending/mutations/ /functions/register_graphql_mutation/
/docs/guides/authentication-and-authorization /docs/authentication-and-authorization/
/extending/fields/ /functions/register_graphql_field/
/extending/fields /functions/register_graphql_field/
/guides/connections /docs/connections/
/docs/ /docs/introduction/
/docs/advanced-guides/authentication/ /docs/authentication-and-authorization/
/community-and-support/ /community/
/contact/ /community/
/find-an-expert/ /community/
/about/ /
52 changes: 49 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4386,7 +4386,7 @@ [email protected], chalk@^1.0.0, chalk@^1.1.3:
strip-ansi "^3.0.0"
supports-color "^2.0.0"

chalk@^2.0.0, chalk@^2.1.0, chalk@^2.4.1, chalk@^2.4.2:
chalk@^2.0, chalk@^2.0.0, chalk@^2.1.0, chalk@^2.4.1, chalk@^2.4.2:
version "2.4.2"
resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424"
integrity sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==
Expand Down Expand Up @@ -7481,6 +7481,17 @@ gatsby-plugin-manifest@^2.5.1:
semver "^7.3.2"
sharp "^0.25.4"

gatsby-plugin-netlify@^2.5.0:
version "2.5.0"
resolved "https://registry.yarnpkg.com/gatsby-plugin-netlify/-/gatsby-plugin-netlify-2.5.0.tgz#341c79ef90532e2df8ddf78e9430a2ffa9df2b1e"
integrity sha512-q9BCiHV7GR/C6SkVoZoKYfvQZlrJ992v6i4exW1AiF6YbSTvV/sAfZhufq9SzKuOgW5BDRE0Af7y0KXvEUu6fQ==
dependencies:
"@babel/runtime" "^7.11.2"
fs-extra "^8.1.0"
kebab-hash "^0.1.2"
lodash "^4.17.20"
webpack-assets-manifest "^3.1.1"

gatsby-plugin-page-creator@^2.3.34:
version "2.3.34"
resolved "https://registry.yarnpkg.com/gatsby-plugin-page-creator/-/gatsby-plugin-page-creator-2.3.34.tgz#4b76a63e3c68d0b8b4901cd778dff37d29f3813b"
Expand Down Expand Up @@ -9747,6 +9758,13 @@ junk@^3.1.0:
resolved "https://registry.yarnpkg.com/junk/-/junk-3.1.0.tgz#31499098d902b7e98c5d9b9c80f43457a88abfa1"
integrity sha512-pBxcB3LFc8QVgdggvZWyeys+hnrNWg4OcZIU/1X59k5jQdLBlCsYGRQaz234SqoRLTCgMH00fY0xRJH+F9METQ==

kebab-hash@^0.1.2:
version "0.1.2"
resolved "https://registry.yarnpkg.com/kebab-hash/-/kebab-hash-0.1.2.tgz#dfb7949ba34d8e70114ea7d83e266e5e2a4abaac"
integrity sha512-BTZpq3xgISmQmAVzkISy4eUutsUA7s4IEFlCwOBJjvSFOwyR7I+fza+tBc/rzYWK/NrmFHjfU1IhO3lu29Ib/w==
dependencies:
lodash.kebabcase "^4.1.1"

[email protected]:
version "3.0.0"
resolved "https://registry.yarnpkg.com/keyv/-/keyv-3.0.0.tgz#44923ba39e68b12a7cec7df6c3268c031f2ef373"
Expand Down Expand Up @@ -9983,6 +10001,21 @@ lodash.foreach@^4.5.0:
resolved "https://registry.yarnpkg.com/lodash.foreach/-/lodash.foreach-4.5.0.tgz#1a6a35eace401280c7f06dddec35165ab27e3e53"
integrity sha1-Gmo16s5AEoDH8G3d7DUWWrJ+PlM=

lodash.get@^4.0:
version "4.4.2"
resolved "https://registry.yarnpkg.com/lodash.get/-/lodash.get-4.4.2.tgz#2d177f652fa31e939b4438d5341499dfa3825e99"
integrity sha1-LRd/ZS+jHpObRDjVNBSZ36OCXpk=

lodash.has@^4.0:
version "4.5.2"
resolved "https://registry.yarnpkg.com/lodash.has/-/lodash.has-4.5.2.tgz#d19f4dc1095058cccbe2b0cdf4ee0fe4aa37c862"
integrity sha1-0Z9NwQlQWMzL4rDN9O4P5Ko3yGI=

lodash.kebabcase@^4.1.1:
version "4.1.1"
resolved "https://registry.yarnpkg.com/lodash.kebabcase/-/lodash.kebabcase-4.1.1.tgz#8489b1cb0d29ff88195cceca448ff6d6cc295c36"
integrity sha1-hImxyw0p/4gZXM7KRI/21swpXDY=

lodash.map@^4.6.0:
version "4.6.0"
resolved "https://registry.yarnpkg.com/lodash.map/-/lodash.map-4.6.0.tgz#771ec7839e3473d9c4cde28b19394c3562f4f6d3"
Expand Down Expand Up @@ -10522,7 +10555,7 @@ mkdirp-classic@^0.5.2, mkdirp-classic@^0.5.3:
resolved "https://registry.yarnpkg.com/mkdirp-classic/-/mkdirp-classic-0.5.3.tgz#fa10c9115cc6d8865be221ba47ee9bed78601113"
integrity sha512-gKLcREMhtuZRwRAfqP3RFW+TK4JqApVBtOIftVgjuABpAtpxhPGaDcfvbhNvD0B8iD1oUr/txX35NjcaY6Ns/A==

mkdirp@^0.5.1, mkdirp@^0.5.3, mkdirp@^0.5.5, mkdirp@~0.5.1:
mkdirp@^0.5, mkdirp@^0.5.1, mkdirp@^0.5.3, mkdirp@^0.5.5, mkdirp@~0.5.1:
version "0.5.5"
resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.5.tgz#d91cefd62d1436ca0f41620e251288d420099def"
integrity sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ==
Expand Down Expand Up @@ -15472,6 +15505,19 @@ wbuf@^1.1.0, wbuf@^1.7.3:
dependencies:
minimalistic-assert "^1.0.0"

webpack-assets-manifest@^3.1.1:
version "3.1.1"
resolved "https://registry.yarnpkg.com/webpack-assets-manifest/-/webpack-assets-manifest-3.1.1.tgz#39bbc3bf2ee57fcd8ba07cda51c9ba4a3c6ae1de"
integrity sha512-JV9V2QKc5wEWQptdIjvXDUL1ucbPLH2f27toAY3SNdGZp+xSaStAgpoMcvMZmqtFrBc9a5pTS1058vxyMPOzRQ==
dependencies:
chalk "^2.0"
lodash.get "^4.0"
lodash.has "^4.0"
mkdirp "^0.5"
schema-utils "^1.0.0"
tapable "^1.0.0"
webpack-sources "^1.0.0"

webpack-dev-middleware@^3.7.2:
version "3.7.2"
resolved "https://registry.yarnpkg.com/webpack-dev-middleware/-/webpack-dev-middleware-3.7.2.tgz#0019c3db716e3fa5cecbf64f2ab88a74bab331f3"
Expand Down Expand Up @@ -15547,7 +15593,7 @@ webpack-merge@^4.2.2:
dependencies:
lodash "^4.17.15"

webpack-sources@^1.1.0, webpack-sources@^1.4.0, webpack-sources@^1.4.1, webpack-sources@^1.4.3:
webpack-sources@^1.0.0, webpack-sources@^1.1.0, webpack-sources@^1.4.0, webpack-sources@^1.4.1, webpack-sources@^1.4.3:
version "1.4.3"
resolved "https://registry.yarnpkg.com/webpack-sources/-/webpack-sources-1.4.3.tgz#eedd8ec0b928fbf1cbfe994e22d2d890f330a933"
integrity sha512-lgTS3Xhv1lCOKo7SA5TjKXMjpSM4sBjNV5+q2bqesbSPs5FjGmU6jjtBSkX9b4qW87vDIsCIlUPOEhbZrMdjeQ==
Expand Down

0 comments on commit bde59ee

Please sign in to comment.