From ec972f23be62338c5f90527bf8f03117a7f48d5e Mon Sep 17 00:00:00 2001 From: Stuart Taylor Date: Wed, 18 Apr 2018 10:37:31 +0100 Subject: [PATCH] Add site map plugin --- gatsby-config.js | 3 ++- package.json | 1 + yarn.lock | 23 +++++++++++++++++++++++ 3 files changed, 26 insertions(+), 1 deletion(-) diff --git a/gatsby-config.js b/gatsby-config.js index 67ee3ca8..58812fb9 100644 --- a/gatsby-config.js +++ b/gatsby-config.js @@ -36,6 +36,7 @@ module.exports = { options: { fonts: ['Lato:400,400i,700'] } - } + }, + 'gatsby-plugin-sitemap' ] }; diff --git a/package.json b/package.json index 4ea2df90..ff3bb999 100644 --- a/package.json +++ b/package.json @@ -20,6 +20,7 @@ "gatsby-plugin-google-fonts": "^0.0.4", "gatsby-plugin-react-helmet": "^2.0.8", "gatsby-plugin-react-next": "^1.0.11", + "gatsby-plugin-sitemap": "^1.2.21", "gatsby-source-filesystem": "^1.5.29", "gatsby-source-mongodb": "^1.5.19", "gatsby-transformer-json": "^1.0.16", diff --git a/yarn.lock b/yarn.lock index bdfdf641..3f903181 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4083,6 +4083,14 @@ gatsby-plugin-react-next@^1.0.11: react "^16.0.0" react-dom "^16.0.0" +gatsby-plugin-sitemap@^1.2.21: + version "1.2.21" + resolved "https://registry.yarnpkg.com/gatsby-plugin-sitemap/-/gatsby-plugin-sitemap-1.2.21.tgz#f3503a7c6f3e848b2b58427aaaf6b22da57a243a" + dependencies: + babel-runtime "^6.26.0" + minimatch "^3.0.4" + sitemap "^1.12.0" + gatsby-react-router-scroll@^1.0.14: version "1.0.14" resolved "https://registry.yarnpkg.com/gatsby-react-router-scroll/-/gatsby-react-router-scroll-1.0.14.tgz#7e3b59c2266772030c6bfeaa8914c71dd3c12c59" @@ -9587,6 +9595,13 @@ sinon@^4.5.0: supports-color "^5.1.0" type-detect "^4.0.5" +sitemap@^1.12.0: + version "1.13.0" + resolved "https://registry.yarnpkg.com/sitemap/-/sitemap-1.13.0.tgz#569cbe2180202926a62a266cd3de09c9ceb43f83" + dependencies: + underscore "^1.7.0" + url-join "^1.1.0" + slash@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/slash/-/slash-1.0.0.tgz#c41f2f6c39fc16d1cd17ad4b5d896114ae470d55" @@ -10463,6 +10478,10 @@ underscore.string@^3.3.4: sprintf-js "^1.0.3" util-deprecate "^1.0.2" +underscore@^1.7.0: + version "1.8.3" + resolved "https://registry.yarnpkg.com/underscore/-/underscore-1.8.3.tgz#4f3fb53b106e6097fcf9cb4109f2a5e9bdfa5022" + underscore@~1.4.4: version "1.4.4" resolved "https://registry.yarnpkg.com/underscore/-/underscore-1.4.4.tgz#61a6a32010622afa07963bf325203cf12239d604" @@ -10644,6 +10663,10 @@ urix@^0.1.0: version "0.1.0" resolved "https://registry.yarnpkg.com/urix/-/urix-0.1.0.tgz#da937f7a62e21fec1fd18d49b35c2935067a6c72" +url-join@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/url-join/-/url-join-1.1.0.tgz#741c6c2f4596c4830d6718460920d0c92202dc78" + url-loader@^0.5.7: version "0.5.9" resolved "https://registry.yarnpkg.com/url-loader/-/url-loader-0.5.9.tgz#cc8fea82c7b906e7777019250869e569e995c295"