@nuxtjs/sitemap 6.0.0-beta.4 → 6.0.0-beta.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +71 -71
- package/dist/client/200.html +8 -8
- package/dist/client/404.html +8 -8
- package/dist/client/_nuxt/B4DWL2mZ.js +31 -0
- package/dist/client/_nuxt/{BqAMNMnf.js → BZ79J8qB.js} +1 -1
- package/dist/client/_nuxt/{NwQCJuIJ.js → CuTZavWI.js} +1 -1
- package/dist/client/_nuxt/builds/latest.json +1 -1
- package/dist/client/_nuxt/builds/meta/aef3b819-54d1-4880-9596-b6a2a227db48.json +1 -0
- package/dist/client/_nuxt/{entry.C6cM9MEY.css → entry.wneNJFvK.css} +1 -1
- package/dist/client/_nuxt/error-404.BAR-Dz9D.css +1 -0
- package/dist/client/_nuxt/error-500.CcP-UbTX.css +1 -0
- package/dist/client/index.html +8 -8
- package/dist/module.d.mts +2 -4
- package/dist/module.d.ts +2 -4
- package/dist/module.json +1 -1
- package/dist/module.mjs +33 -28
- package/dist/runtime/nitro/sitemap/builder/sitemap.js +12 -11
- package/dist/runtime/nitro/sitemap/nitro.js +2 -1
- package/dist/runtime/nitro/sitemap/urlset/normalise.js +4 -1
- package/dist/runtime/nitro/sitemap/urlset/sources.js +3 -1
- package/dist/runtime/nitro/tsconfig.json +3 -3
- package/dist/runtime/types.d.ts +24 -4
- package/dist/types.d.mts +1 -11
- package/dist/types.d.ts +1 -11
- package/package.json +10 -10
- package/dist/client/_nuxt/builds/meta/88407df5-4a0e-4841-8e00-133ac2590793.json +0 -1
- package/dist/client/_nuxt/error-404.BjUZiARo.css +0 -1
- package/dist/client/_nuxt/error-500.CQd8P6J5.css +0 -1
- package/dist/client/_nuxt/vPsaSUqs.js +0 -31
package/README.md
CHANGED
|
@@ -1,71 +1,71 @@
|
|
|
1
|
-
<h1 align='center'>@nuxtjs/sitemap</h1>
|
|
2
|
-
|
|
3
|
-
<p align="center">
|
|
4
|
-
<a href='https://github.com/nuxt-modules/sitemap/actions/workflows/test.yml'>
|
|
5
|
-
</a>
|
|
6
|
-
<a href="https://www.npmjs.com/package/@nuxtjs/sitemap" target="__blank"><img src="https://img.shields.io/npm/v/@nuxtjs/sitemap?style=flat&colorA=002438&colorB=28CF8D" alt="NPM version"></a>
|
|
7
|
-
<a href="https://www.npmjs.com/package/@nuxtjs/sitemap" target="__blank"><img alt="NPM Downloads" src="https://img.shields.io/npm/dm/@nuxtjs/sitemap?flat&colorA=002438&colorB=28CF8D"></a>
|
|
8
|
-
<a href="https://github.com/nuxt-modules/sitemap" target="__blank"><img alt="GitHub stars" src="https://img.shields.io/github/stars/nuxt-modules/sitemap?flat&colorA=002438&colorB=28CF8D"></a>
|
|
9
|
-
</p>
|
|
10
|
-
|
|
11
|
-
<p align="center">
|
|
12
|
-
Powerfully flexible XML Sitemaps that integrate seamlessly, for Nuxt. Previously <i>nuxt-simple-sitemap</i>.
|
|
13
|
-
</p>
|
|
14
|
-
|
|
15
|
-
<p align="center">
|
|
16
|
-
<table>
|
|
17
|
-
<tbody>
|
|
18
|
-
<td align="center">
|
|
19
|
-
<img width="800" height="0" /><br>
|
|
20
|
-
<i>Status:</i> <a href="https://github.com/nuxt-modules/sitemap/releases/tag/v5.0.0">v5 Released 🎉</a></b> <br>
|
|
21
|
-
<sup> Please report any issues 🐛</sup><br>
|
|
22
|
-
<sub>Made possible by my <a href="https://github.com/sponsors/harlan-zw">Sponsor Program 💖</a><br> Follow me <a href="https://twitter.com/harlan_zw">@harlan_zw</a> 🐦 • Join <a href="https://discord.gg/275MBUBvgP">Discord</a> for help</sub><br>
|
|
23
|
-
<img width="800" height="0" />
|
|
24
|
-
</td>
|
|
25
|
-
</tbody>
|
|
26
|
-
</table>
|
|
27
|
-
</p>
|
|
28
|
-
|
|
29
|
-
## Features
|
|
30
|
-
|
|
31
|
-
- 🌴 Single `/sitemap.xml` or multiple `/posts-sitemap.xml`, `/pages-sitemap.xml`
|
|
32
|
-
- 📊 Fetch your sitemap URLs from anywhere
|
|
33
|
-
- 😌 Automatic `lastmod`, image discovery and best practice sitemaps
|
|
34
|
-
- 🔄 SWR caching, route rules support
|
|
35
|
-
- 🎨 Debug using the Nuxt DevTools integration or the XML Stylesheet
|
|
36
|
-
- 🤝 Integrates seamlessly with [Nuxt I18n](https://github.com/nuxt-modules/i18n) and [Nuxt Content](https://github.com/nuxt/content)
|
|
37
|
-
|
|
38
|
-
## Installation
|
|
39
|
-
|
|
40
|
-
💡 Need a complete SEO solution for Nuxt? Check out [Nuxt SEO](https://nuxtseo.com).
|
|
41
|
-
|
|
42
|
-
💡 Using Nuxt 2? Use the [nuxt-community/sitemap-module](https://github.com/nuxt-community/sitemap-module) docs.
|
|
43
|
-
|
|
44
|
-
Install `@nuxtjs/sitemap` dependency to your project:
|
|
45
|
-
|
|
46
|
-
```bash
|
|
47
|
-
npx nuxi@latest module add sitemap
|
|
48
|
-
```
|
|
49
|
-
|
|
50
|
-
# Documentation
|
|
51
|
-
|
|
52
|
-
[📖 Read the full documentation](https://nuxtseo.com/sitemap) for more information.
|
|
53
|
-
|
|
54
|
-
### StackBlitz Demos / Reproductions
|
|
55
|
-
|
|
56
|
-
- [Dynamic URLs](https://stackblitz.com/edit/nuxt-starter-dyraxc?file=server%2Fapi%2F_sitemap-urls.ts)
|
|
57
|
-
- [i18n](https://stackblitz.com/edit/nuxt-starter-jwuie4?file=app.vue)
|
|
58
|
-
- [Manual Chunking](https://stackblitz.com/edit/nuxt-starter-umyso3?file=nuxt.config.ts)
|
|
59
|
-
- [Nuxt Content Document Driven](https://stackblitz.com/edit/nuxt-starter-a5qk3s?file=nuxt.config.ts)
|
|
60
|
-
|
|
61
|
-
## Sponsors
|
|
62
|
-
|
|
63
|
-
<p align="center">
|
|
64
|
-
<a href="https://raw.githubusercontent.com/harlan-zw/static/main/sponsors.svg">
|
|
65
|
-
<img src='https://raw.githubusercontent.com/harlan-zw/static/main/sponsors.svg'/>
|
|
66
|
-
</a>
|
|
67
|
-
</p>
|
|
68
|
-
|
|
69
|
-
## License
|
|
70
|
-
|
|
71
|
-
MIT License © 2022-PRESENT [Harlan Wilton](https://github.com/harlan-zw)
|
|
1
|
+
<h1 align='center'>@nuxtjs/sitemap</h1>
|
|
2
|
+
|
|
3
|
+
<p align="center">
|
|
4
|
+
<a href='https://github.com/nuxt-modules/sitemap/actions/workflows/test.yml'>
|
|
5
|
+
</a>
|
|
6
|
+
<a href="https://www.npmjs.com/package/@nuxtjs/sitemap" target="__blank"><img src="https://img.shields.io/npm/v/@nuxtjs/sitemap?style=flat&colorA=002438&colorB=28CF8D" alt="NPM version"></a>
|
|
7
|
+
<a href="https://www.npmjs.com/package/@nuxtjs/sitemap" target="__blank"><img alt="NPM Downloads" src="https://img.shields.io/npm/dm/@nuxtjs/sitemap?flat&colorA=002438&colorB=28CF8D"></a>
|
|
8
|
+
<a href="https://github.com/nuxt-modules/sitemap" target="__blank"><img alt="GitHub stars" src="https://img.shields.io/github/stars/nuxt-modules/sitemap?flat&colorA=002438&colorB=28CF8D"></a>
|
|
9
|
+
</p>
|
|
10
|
+
|
|
11
|
+
<p align="center">
|
|
12
|
+
Powerfully flexible XML Sitemaps that integrate seamlessly, for Nuxt. Previously <i>nuxt-simple-sitemap</i>.
|
|
13
|
+
</p>
|
|
14
|
+
|
|
15
|
+
<p align="center">
|
|
16
|
+
<table>
|
|
17
|
+
<tbody>
|
|
18
|
+
<td align="center">
|
|
19
|
+
<img width="800" height="0" /><br>
|
|
20
|
+
<i>Status:</i> <a href="https://github.com/nuxt-modules/sitemap/releases/tag/v5.0.0">v5 Released 🎉</a></b> <br>
|
|
21
|
+
<sup> Please report any issues 🐛</sup><br>
|
|
22
|
+
<sub>Made possible by my <a href="https://github.com/sponsors/harlan-zw">Sponsor Program 💖</a><br> Follow me <a href="https://twitter.com/harlan_zw">@harlan_zw</a> 🐦 • Join <a href="https://discord.gg/275MBUBvgP">Discord</a> for help</sub><br>
|
|
23
|
+
<img width="800" height="0" />
|
|
24
|
+
</td>
|
|
25
|
+
</tbody>
|
|
26
|
+
</table>
|
|
27
|
+
</p>
|
|
28
|
+
|
|
29
|
+
## Features
|
|
30
|
+
|
|
31
|
+
- 🌴 Single `/sitemap.xml` or multiple `/posts-sitemap.xml`, `/pages-sitemap.xml`
|
|
32
|
+
- 📊 Fetch your sitemap URLs from anywhere
|
|
33
|
+
- 😌 Automatic `lastmod`, image discovery and best practice sitemaps
|
|
34
|
+
- 🔄 SWR caching, route rules support
|
|
35
|
+
- 🎨 Debug using the Nuxt DevTools integration or the XML Stylesheet
|
|
36
|
+
- 🤝 Integrates seamlessly with [Nuxt I18n](https://github.com/nuxt-modules/i18n) and [Nuxt Content](https://github.com/nuxt/content)
|
|
37
|
+
|
|
38
|
+
## Installation
|
|
39
|
+
|
|
40
|
+
💡 Need a complete SEO solution for Nuxt? Check out [Nuxt SEO](https://nuxtseo.com).
|
|
41
|
+
|
|
42
|
+
💡 Using Nuxt 2? Use the [nuxt-community/sitemap-module](https://github.com/nuxt-community/sitemap-module) docs.
|
|
43
|
+
|
|
44
|
+
Install `@nuxtjs/sitemap` dependency to your project:
|
|
45
|
+
|
|
46
|
+
```bash
|
|
47
|
+
npx nuxi@latest module add sitemap
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
# Documentation
|
|
51
|
+
|
|
52
|
+
[📖 Read the full documentation](https://nuxtseo.com/sitemap) for more information.
|
|
53
|
+
|
|
54
|
+
### StackBlitz Demos / Reproductions
|
|
55
|
+
|
|
56
|
+
- [Dynamic URLs](https://stackblitz.com/edit/nuxt-starter-dyraxc?file=server%2Fapi%2F_sitemap-urls.ts)
|
|
57
|
+
- [i18n](https://stackblitz.com/edit/nuxt-starter-jwuie4?file=app.vue)
|
|
58
|
+
- [Manual Chunking](https://stackblitz.com/edit/nuxt-starter-umyso3?file=nuxt.config.ts)
|
|
59
|
+
- [Nuxt Content Document Driven](https://stackblitz.com/edit/nuxt-starter-a5qk3s?file=nuxt.config.ts)
|
|
60
|
+
|
|
61
|
+
## Sponsors
|
|
62
|
+
|
|
63
|
+
<p align="center">
|
|
64
|
+
<a href="https://raw.githubusercontent.com/harlan-zw/static/main/sponsors.svg">
|
|
65
|
+
<img src='https://raw.githubusercontent.com/harlan-zw/static/main/sponsors.svg'/>
|
|
66
|
+
</a>
|
|
67
|
+
</p>
|
|
68
|
+
|
|
69
|
+
## License
|
|
70
|
+
|
|
71
|
+
MIT License © 2022-PRESENT [Harlan Wilton](https://github.com/harlan-zw)
|
package/dist/client/200.html
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<!DOCTYPE html><html data-capo=""><head><meta charset="utf-8">
|
|
2
2
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
3
|
-
<link rel="stylesheet" href="/__sitemap__/devtools/_nuxt/entry.
|
|
4
|
-
<link rel="modulepreload" as="script" crossorigin href="/__sitemap__/devtools/_nuxt/
|
|
3
|
+
<link rel="stylesheet" href="/__sitemap__/devtools/_nuxt/entry.wneNJFvK.css">
|
|
4
|
+
<link rel="modulepreload" as="script" crossorigin href="/__sitemap__/devtools/_nuxt/B4DWL2mZ.js">
|
|
5
5
|
<link rel="prefetch" as="script" crossorigin href="/__sitemap__/devtools/_nuxt/DXFkqnOI.js">
|
|
6
6
|
<link rel="prefetch" as="script" crossorigin href="/__sitemap__/devtools/_nuxt/BigF1UXR.js">
|
|
7
7
|
<link rel="prefetch" as="script" crossorigin href="/__sitemap__/devtools/_nuxt/CowR2XfX.js">
|
|
@@ -265,9 +265,9 @@
|
|
|
265
265
|
<link rel="prefetch" as="script" crossorigin href="/__sitemap__/devtools/_nuxt/Crs1WKlG.js">
|
|
266
266
|
<link rel="prefetch" as="script" crossorigin href="/__sitemap__/devtools/_nuxt/BLmvGqlk.js">
|
|
267
267
|
<link rel="prefetch" as="script" crossorigin href="/__sitemap__/devtools/_nuxt/BYelj_cE.js">
|
|
268
|
-
<link rel="prefetch" as="style" href="/__sitemap__/devtools/_nuxt/error-404.
|
|
269
|
-
<link rel="prefetch" as="script" crossorigin href="/__sitemap__/devtools/_nuxt/
|
|
270
|
-
<link rel="prefetch" as="style" href="/__sitemap__/devtools/_nuxt/error-500.
|
|
271
|
-
<link rel="prefetch" as="script" crossorigin href="/__sitemap__/devtools/_nuxt/
|
|
272
|
-
<script type="module" src="/__sitemap__/devtools/_nuxt/
|
|
273
|
-
<script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/__sitemap__/devtools",buildId:"
|
|
268
|
+
<link rel="prefetch" as="style" href="/__sitemap__/devtools/_nuxt/error-404.BAR-Dz9D.css">
|
|
269
|
+
<link rel="prefetch" as="script" crossorigin href="/__sitemap__/devtools/_nuxt/CuTZavWI.js">
|
|
270
|
+
<link rel="prefetch" as="style" href="/__sitemap__/devtools/_nuxt/error-500.CcP-UbTX.css">
|
|
271
|
+
<link rel="prefetch" as="script" crossorigin href="/__sitemap__/devtools/_nuxt/BZ79J8qB.js">
|
|
272
|
+
<script type="module" src="/__sitemap__/devtools/_nuxt/B4DWL2mZ.js" crossorigin></script></head><body><div id="__nuxt"></div><div id="teleports"></div><script type="application/json" data-nuxt-data="nuxt-app" data-ssr="false" id="__NUXT_DATA__">[{"serverRendered":1},false]</script>
|
|
273
|
+
<script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/__sitemap__/devtools",buildId:"aef3b819-54d1-4880-9596-b6a2a227db48",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script></body></html>
|
package/dist/client/404.html
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<!DOCTYPE html><html data-capo=""><head><meta charset="utf-8">
|
|
2
2
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
3
|
-
<link rel="stylesheet" href="/__sitemap__/devtools/_nuxt/entry.
|
|
4
|
-
<link rel="modulepreload" as="script" crossorigin href="/__sitemap__/devtools/_nuxt/
|
|
3
|
+
<link rel="stylesheet" href="/__sitemap__/devtools/_nuxt/entry.wneNJFvK.css">
|
|
4
|
+
<link rel="modulepreload" as="script" crossorigin href="/__sitemap__/devtools/_nuxt/B4DWL2mZ.js">
|
|
5
5
|
<link rel="prefetch" as="script" crossorigin href="/__sitemap__/devtools/_nuxt/DXFkqnOI.js">
|
|
6
6
|
<link rel="prefetch" as="script" crossorigin href="/__sitemap__/devtools/_nuxt/BigF1UXR.js">
|
|
7
7
|
<link rel="prefetch" as="script" crossorigin href="/__sitemap__/devtools/_nuxt/CowR2XfX.js">
|
|
@@ -265,9 +265,9 @@
|
|
|
265
265
|
<link rel="prefetch" as="script" crossorigin href="/__sitemap__/devtools/_nuxt/Crs1WKlG.js">
|
|
266
266
|
<link rel="prefetch" as="script" crossorigin href="/__sitemap__/devtools/_nuxt/BLmvGqlk.js">
|
|
267
267
|
<link rel="prefetch" as="script" crossorigin href="/__sitemap__/devtools/_nuxt/BYelj_cE.js">
|
|
268
|
-
<link rel="prefetch" as="style" href="/__sitemap__/devtools/_nuxt/error-404.
|
|
269
|
-
<link rel="prefetch" as="script" crossorigin href="/__sitemap__/devtools/_nuxt/
|
|
270
|
-
<link rel="prefetch" as="style" href="/__sitemap__/devtools/_nuxt/error-500.
|
|
271
|
-
<link rel="prefetch" as="script" crossorigin href="/__sitemap__/devtools/_nuxt/
|
|
272
|
-
<script type="module" src="/__sitemap__/devtools/_nuxt/
|
|
273
|
-
<script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/__sitemap__/devtools",buildId:"
|
|
268
|
+
<link rel="prefetch" as="style" href="/__sitemap__/devtools/_nuxt/error-404.BAR-Dz9D.css">
|
|
269
|
+
<link rel="prefetch" as="script" crossorigin href="/__sitemap__/devtools/_nuxt/CuTZavWI.js">
|
|
270
|
+
<link rel="prefetch" as="style" href="/__sitemap__/devtools/_nuxt/error-500.CcP-UbTX.css">
|
|
271
|
+
<link rel="prefetch" as="script" crossorigin href="/__sitemap__/devtools/_nuxt/BZ79J8qB.js">
|
|
272
|
+
<script type="module" src="/__sitemap__/devtools/_nuxt/B4DWL2mZ.js" crossorigin></script></head><body><div id="__nuxt"></div><div id="teleports"></div><script type="application/json" data-nuxt-data="nuxt-app" data-ssr="false" id="__NUXT_DATA__">[{"serverRendered":1},false]</script>
|
|
273
|
+
<script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/__sitemap__/devtools",buildId:"aef3b819-54d1-4880-9596-b6a2a227db48",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script></body></html>
|