From 65aeddd717b8d6ca4f558f929a63bfef5fcb3678 Mon Sep 17 00:00:00 2001 From: Liyas Thomas Date: Wed, 2 Oct 2019 10:24:33 +0530 Subject: [PATCH] :package: Added sitemap --- nuxt.config.js | 3 +- package-lock.json | 83 +++++++++++++++++++++++++++++++++++++++++++++++ package.json | 1 + 3 files changed, 86 insertions(+), 1 deletion(-) diff --git a/nuxt.config.js b/nuxt.config.js index 473f6ad14..5358d571c 100644 --- a/nuxt.config.js +++ b/nuxt.config.js @@ -216,7 +216,8 @@ export default { ['@nuxtjs/pwa'], ['@nuxtjs/axios'], ['@nuxtjs/toast'], - ['@nuxtjs/google-analytics'] + ['@nuxtjs/google-analytics'], + ['@nuxtjs/sitemap'] ], pwa: { manifest: { diff --git a/package-lock.json b/package-lock.json index 830758cd4..28be7668f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1289,6 +1289,20 @@ } } }, + "@nuxtjs/sitemap": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@nuxtjs/sitemap/-/sitemap-2.0.0.tgz", + "integrity": "sha512-Vt3CMqIJSYrI2P8gRHnpdLQz/t0+hCZU8S2jwHiN+M4Is6plP7AHe3sUSdpYMB5Hyc4XxlAkgEdg5QuRjjearQ==", + "requires": { + "async-cache": "^1.1.0", + "consola": "^2.10.1", + "fs-extra": "^8.1.0", + "is-https": "^1.0.0", + "lodash.unionby": "^4.8.0", + "minimatch": "^3.0.4", + "sitemap": "^4.1.1" + } + }, "@nuxtjs/toast": { "version": "3.2.1", "resolved": "https://registry.npmjs.org/@nuxtjs/toast/-/toast-3.2.1.tgz", @@ -1307,11 +1321,24 @@ "stack-trace": "0.0.10" } }, + "@types/node": { + "version": "12.7.9", + "resolved": "https://registry.npmjs.org/@types/node/-/node-12.7.9.tgz", + "integrity": "sha512-P57oKTJ/vYivL2BCfxCC5tQjlS8qW31pbOL6qt99Yrjm95YdHgNZwjrTTjMBh+C2/y6PXIX4oz253+jUzxKKfQ==" + }, "@types/q": { "version": "1.5.2", "resolved": "https://registry.npmjs.org/@types/q/-/q-1.5.2.tgz", "integrity": "sha512-ce5d3q03Ex0sy4R14722Rmt6MT07Ua+k4FwDfdcToYJcMKNtRVQvJ6JCAPdAmAnbRb6CsX6aYb9m96NGod9uTw==" }, + "@types/sax": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/@types/sax/-/sax-1.2.0.tgz", + "integrity": "sha512-D8ef/GGUjiHuUOiXV6tkJw6Zq2Sm8vcBScJSvj+monDI5YncJ6M3oNIXR7EtmWPVqJw0jsZF2ARN/X5gvGmQSA==", + "requires": { + "@types/node": "*" + } + }, "@vue/babel-helper-vue-jsx-merge-props": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/@vue/babel-helper-vue-jsx-merge-props/-/babel-helper-vue-jsx-merge-props-1.0.0.tgz", @@ -1767,6 +1794,11 @@ } } }, + "arg": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/arg/-/arg-4.1.1.tgz", + "integrity": "sha512-SlmP3fEA88MBv0PypnXZ8ZfJhwmDeIE3SP71j37AiXQBXYosPV0x6uISAaHYSlSVhmHOVkomen0tbGk6Anlebw==" + }, "argparse": { "version": "1.0.10", "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", @@ -1860,6 +1892,30 @@ "resolved": "https://registry.npmjs.org/assign-symbols/-/assign-symbols-1.0.0.tgz", "integrity": "sha1-WWZ/QfrdTyDMvCu5a41Pf3jsA2c=" }, + "async-cache": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/async-cache/-/async-cache-1.1.0.tgz", + "integrity": "sha1-SppaidBl7F2OUlS9nulrp2xTK1o=", + "requires": { + "lru-cache": "^4.0.0" + }, + "dependencies": { + "lru-cache": { + "version": "4.1.5", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-4.1.5.tgz", + "integrity": "sha512-sWZlbEP2OsHNkXrMl5GYk/jKk70MBng6UU4YI/qGDYbgf6YbP4EvmqISbXCoJiRKs+1bSpFHVgQxvJ17F2li5g==", + "requires": { + "pseudomap": "^1.0.2", + "yallist": "^2.1.2" + } + }, + "yallist": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-2.1.2.tgz", + "integrity": "sha1-HBH5IY8HYImkfdUS+TxmmaaoHVI=" + } + } + }, "async-each": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/async-each/-/async-each-1.0.3.tgz", @@ -5135,6 +5191,11 @@ "is-extglob": "^2.1.1" } }, + "is-https": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-https/-/is-https-1.0.0.tgz", + "integrity": "sha512-1adLLwZT9XEXjzhQhZxd75uxf0l+xI9uTSFaZeSESjL3E1eXSPpO+u5RcgqtzeZ1KCaNvtEwZSTO2P4U5erVqQ==" + }, "is-number": { "version": "7.0.0", "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", @@ -5494,6 +5555,11 @@ "lodash._reinterpolate": "^3.0.0" } }, + "lodash.unionby": { + "version": "4.8.0", + "resolved": "https://registry.npmjs.org/lodash.unionby/-/lodash.unionby-4.8.0.tgz", + "integrity": "sha1-iD8Jj/ePVkpye3UI4JzdU5c0u4M=" + }, "lodash.uniq": { "version": "4.5.0", "resolved": "https://registry.npmjs.org/lodash.uniq/-/lodash.uniq-4.5.0.tgz", @@ -8430,6 +8496,18 @@ } } }, + "sitemap": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/sitemap/-/sitemap-4.1.1.tgz", + "integrity": "sha512-+8yd66IxyIFEMFkFpVoPuoPwBvdiL7Ap/HS5YD7igqO4phkyTPFIprCAE9NMHehAY5ZGN3MkAze4lDrOAX3sVQ==", + "requires": { + "@types/node": "^12.0.2", + "@types/sax": "^1.2.0", + "arg": "^4.1.1", + "sax": "^1.2.4", + "xmlbuilder": "^13.0.0" + } + }, "snapdragon": { "version": "0.8.2", "resolved": "https://registry.npmjs.org/snapdragon/-/snapdragon-0.8.2.tgz", @@ -10683,6 +10761,11 @@ "async-limiter": "~1.0.0" } }, + "xmlbuilder": { + "version": "13.0.2", + "resolved": "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-13.0.2.tgz", + "integrity": "sha512-Eux0i2QdDYKbdbA6AM6xE4m6ZTZr4G4xF9kahI2ukSEMCzwce2eX9WlTI5J3s+NU7hpasFsr8hWIONae7LluAQ==" + }, "xtend": { "version": "4.0.2", "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz", diff --git a/package.json b/package.json index 0b4031675..11027f76e 100644 --- a/package.json +++ b/package.json @@ -17,6 +17,7 @@ "@nuxtjs/axios": "^5.6.0", "@nuxtjs/google-analytics": "^2.2.0", "@nuxtjs/pwa": "^3.0.0-beta.19", + "@nuxtjs/sitemap": "^2.0.0", "@nuxtjs/toast": "^3.2.1", "highlight.js": "^9.15.10", "nuxt": "^2.9.2",