svelte-sitemap 4.0.3 → 4.0.4
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 +0 -8
- package/const.d.ts +1 -1
- package/dto/global.interface.d.ts +1 -1
- package/helpers/config.js +1 -1
- package/helpers/global.helper.js +1 -1
- package/package.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -11,7 +11,6 @@
|
|
|
11
11
|
- ➡️ Designed for SvelteKit `adapter-static` with `prerender` option (SSG)
|
|
12
12
|
- 🔷 TypeScript, JavaScript, CLI and **Vite plugin** version
|
|
13
13
|
- 🔧 Useful [options](#%EF%B8%8F-options) for customizing your sitemap
|
|
14
|
-
- 📡 [Ping](#-ping-google-search-console) Google Search Console after deploy
|
|
15
14
|
- 🗂️ Support for [sitemap index](https://developers.google.com/search/docs/crawling-indexing/sitemaps/large-sitemaps) for large sites (50K+ pages)
|
|
16
15
|
- ▲ 🟠 Works with [Vercel](#-vercel-adapter) and [Cloudflare](#-cloudflare-adapter) adapters and more...
|
|
17
16
|
|
|
@@ -206,13 +205,6 @@ const config: OptionsSvelteSitemap = {
|
|
|
206
205
|
|
|
207
206
|
---
|
|
208
207
|
|
|
209
|
-
### 📡 Ping Google Search Console
|
|
210
|
-
|
|
211
|
-
Every time you deploy a new version, you can inform Google that there's a new update.
|
|
212
|
-
See this [discussion](https://github.com/bartholomej/svelte-sitemap/issues/23) with very useful tips.
|
|
213
|
-
|
|
214
|
-
---
|
|
215
|
-
|
|
216
208
|
### ▲ Vercel adapter
|
|
217
209
|
|
|
218
210
|
If you're using `adapter-vercel`, the output directory is different from the default `build/`:
|
package/const.d.ts
CHANGED
|
@@ -8,5 +8,5 @@ declare const INTEGRATION_METHODS: {
|
|
|
8
8
|
};
|
|
9
9
|
type IntegrationMethod = (typeof INTEGRATION_METHODS)[keyof typeof INTEGRATION_METHODS];
|
|
10
10
|
//#endregion
|
|
11
|
-
export { CHANGE_FREQ, IntegrationMethod };
|
|
11
|
+
export { CHANGE_FREQ, INTEGRATION_METHODS, IntegrationMethod };
|
|
12
12
|
//# sourceMappingURL=const.d.ts.map
|
|
@@ -80,5 +80,5 @@ interface PagesJson {
|
|
|
80
80
|
*/
|
|
81
81
|
type ChangeFreq = (typeof CHANGE_FREQ)[number];
|
|
82
82
|
//#endregion
|
|
83
|
-
export { Arguments, ChangeFreq, Options, OptionsSvelteSitemap, PagesJson };
|
|
83
|
+
export { Arguments, ChangeFreq, type IntegrationMethod, Options, OptionsSvelteSitemap, PagesJson };
|
|
84
84
|
//# sourceMappingURL=global.interface.d.ts.map
|
package/helpers/config.js
CHANGED
|
@@ -27,6 +27,6 @@ const withDefaultConfig = (config) => {
|
|
|
27
27
|
return updateConfig(defaultConfig, config);
|
|
28
28
|
};
|
|
29
29
|
//#endregion
|
|
30
|
-
export { defaultConfig, loadConfig, withDefaultConfig };
|
|
30
|
+
export { defaultConfig, loadConfig, updateConfig, withDefaultConfig };
|
|
31
31
|
|
|
32
32
|
//# sourceMappingURL=config.js.map
|
package/helpers/global.helper.js
CHANGED
|
@@ -134,6 +134,6 @@ const addAttribution = (sitemap, options) => {
|
|
|
134
134
|
if (options?.attribution !== false) sitemap.com(` This file was automatically generated by https://github.com/bartholomej/svelte-sitemap v${version} `);
|
|
135
135
|
};
|
|
136
136
|
//#endregion
|
|
137
|
-
export { prepareData, writeSitemap };
|
|
137
|
+
export { checkPrerenderRoutes, detectErrors, prepareData, removeHtml, writeSitemap };
|
|
138
138
|
|
|
139
139
|
//# sourceMappingURL=global.helper.js.map
|
package/package.js
CHANGED