From c9f1271838ebcad9912aa40dff6f937941e0ab5f Mon Sep 17 00:00:00 2001 From: Tuan Nguyen Date: Tue, 18 Aug 2020 17:37:33 +1000 Subject: [PATCH] add sitemap --- gatsby-config.js | 1 + package-lock.json | 45 ++++++++++++++++++++++++++++++++++++++++++++- package.json | 1 + 3 files changed, 46 insertions(+), 1 deletion(-) diff --git a/gatsby-config.js b/gatsby-config.js index 108681e..c5bce0e 100644 --- a/gatsby-config.js +++ b/gatsby-config.js @@ -171,5 +171,6 @@ module.exports = { trackingId: 'UA-129291894-4', }, }, + `gatsby-plugin-sitemap`, ], }; diff --git a/package-lock.json b/package-lock.json index 89e8087..c538aae 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10199,7 +10199,8 @@ }, "dot-prop": { "version": "4.2.0", - "resolved": "", + "resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-4.2.0.tgz", + "integrity": "sha512-tUMXrxlExSW6U2EXiiKGSBVdYgtV8qlHL+C10TsW4PURY/ic+eaysnSkwB4kA/mBlCyy/IKDJ+Lc3wbWeaXtuQ==", "requires": { "is-obj": "^1.0.0" } @@ -11228,6 +11229,26 @@ } } }, + "gatsby-plugin-sitemap": { + "version": "2.4.11", + "resolved": "https://registry.npmjs.org/gatsby-plugin-sitemap/-/gatsby-plugin-sitemap-2.4.11.tgz", + "integrity": "sha512-OX8Jry3t6iPqWoo/WDo0DTmaKuIPa0RDrd/fFeS5DYGyclpIVnAK1fr92X2222ZtdRwn6NLd5c+RpNrjxDvJDA==", + "dev": true, + "requires": { + "@babel/runtime": "^7.10.3", + "minimatch": "^3.0.4", + "pify": "^3.0.0", + "sitemap": "^1.13.0" + }, + "dependencies": { + "pify": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", + "integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=", + "dev": true + } + } + }, "gatsby-plugin-typescript": { "version": "2.4.16", "resolved": "https://registry.npmjs.org/gatsby-plugin-typescript/-/gatsby-plugin-typescript-2.4.16.tgz", @@ -22245,6 +22266,16 @@ "resolved": "https://registry.npmjs.org/sisteransi/-/sisteransi-1.0.5.tgz", "integrity": "sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==" }, + "sitemap": { + "version": "1.13.0", + "resolved": "https://registry.npmjs.org/sitemap/-/sitemap-1.13.0.tgz", + "integrity": "sha1-Vpy+IYAgKSamKiZs094Jyc60P4M=", + "dev": true, + "requires": { + "underscore": "^1.7.0", + "url-join": "^1.1.0" + } + }, "slash": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", @@ -24645,6 +24676,12 @@ "resolved": "https://registry.npmjs.org/unc-path-regex/-/unc-path-regex-0.1.2.tgz", "integrity": "sha1-5z3T17DXxe2G+6xrCufYxqadUPo=" }, + "underscore": { + "version": "1.10.2", + "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.10.2.tgz", + "integrity": "sha512-N4P+Q/BuyuEKFJ43B9gYuOj4TQUHXX+j2FqguVOpjkssLUUrnJofCcBccJSCoeturDoZU6GorDTHSvUDlSQbTg==", + "dev": true + }, "underscore.string": { "version": "3.3.5", "resolved": "https://registry.npmjs.org/underscore.string/-/underscore.string-3.3.5.tgz", @@ -25347,6 +25384,12 @@ } } }, + "url-join": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/url-join/-/url-join-1.1.0.tgz", + "integrity": "sha1-dBxsL0WWxIMNZxhGCSDQySIC3Hg=", + "dev": true + }, "url-loader": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/url-loader/-/url-loader-1.1.2.tgz", diff --git a/package.json b/package.json index 51fe1d4..04a7868 100644 --- a/package.json +++ b/package.json @@ -64,6 +64,7 @@ "gatsby-plugin-postcss": "^2.3.11", "gatsby-plugin-prefetch-google-fonts": "^1.4.3", "gatsby-plugin-react-helmet": "^3.3.10", + "gatsby-plugin-sitemap": "^2.4.11", "gatsby-remark-copy-linked-files": "^2.3.12", "gatsby-remark-external-links": "0.0.4", "gatsby-remark-images": "^3.3.25",