@nuxtjs/sitemap
Advanced tools
Comparing version 0.1.1 to 0.1.2
@@ -5,2 +5,7 @@ # Change Log | ||
<a name="0.1.2"></a> | ||
## [0.1.2](https://github.com/nuxt-community/sitemap-module/compare/v0.1.1...v0.1.2) (2018-12-11) | ||
<a name="0.1.1"></a> | ||
@@ -7,0 +12,0 @@ ## [0.1.1](https://github.com/nuxt-community/sitemap-module/compare/v0.1.0...v0.1.1) (2018-04-16) |
{ | ||
"name": "@nuxtjs/sitemap", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "Automatically generate or serve dynamic sitemap.xml for Nuxt.js projects", | ||
@@ -25,4 +25,6 @@ "license": "MIT", | ||
"dev": "nuxt test/fixture", | ||
"generate": "nuxt generate test/fixture", | ||
"lint": "eslint src test", | ||
"test": "npm run lint && jest", | ||
"unit": "jest --maxWorkers=4", | ||
"test": "npm run lint && npm run unit", | ||
"release": "standard-version && git push --follow-tags && npm publish" | ||
@@ -39,7 +41,7 @@ }, | ||
"async-cache": "^1.1.0", | ||
"fs-extra": "^5.0.0", | ||
"fs-extra": "^7.0.1", | ||
"is-https": "^1.0.0", | ||
"lodash": "^4.17.5", | ||
"lodash": "^4.17.10", | ||
"minimatch": "^3.0.4", | ||
"sitemap": "^1.13.0" | ||
"sitemap": "^2.1.0" | ||
}, | ||
@@ -46,0 +48,0 @@ "devDependencies": { |
@@ -30,6 +30,6 @@ const { Minimatch } = require('minimatch') | ||
// sitemap.xml is written to static dir on generate mode | ||
const xmlGeneratePath = path.resolve(this.options.srcDir, path.join('static', options.path)) | ||
const xmlGeneratePath = path.resolve(this.options.srcDir, path.join(this.options.dir.static || 'static', options.path)) | ||
options.pathGzip = (options.gzip) ? `${options.path}.gz` : options.path | ||
const gzipGeneratePath = path.resolve(this.options.srcDir, path.join('static', options.pathGzip)) | ||
const gzipGeneratePath = path.resolve(this.options.srcDir, path.join(this.options.dir.static || 'static', options.pathGzip)) | ||
@@ -36,0 +36,0 @@ // Ensure no generated file exists |
15198
5
+ Addedfs-extra@7.0.1(transitive)
+ Addedsitemap@2.2.0(transitive)
+ Addedurl-join@4.0.1(transitive)
+ Addedxmlbuilder@10.1.1(transitive)
- Removedfs-extra@5.0.0(transitive)
- Removedsitemap@1.13.0(transitive)
- Removedunderscore@1.13.7(transitive)
- Removedurl-join@1.1.0(transitive)
Updatedfs-extra@^7.0.1
Updatedlodash@^4.17.10
Updatedsitemap@^2.1.0