@nuxtjs/sitemap 6.0.0-beta.2 → 6.0.0-beta.3

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.
Files changed (32) hide show
  1. package/README.md +71 -71
  2. package/dist/client/200.html +12 -12
  3. package/dist/client/404.html +12 -12
  4. package/dist/client/_nuxt/BLmvGqlk.js +1 -0
  5. package/dist/client/_nuxt/BSzd7kav.js +1 -0
  6. package/dist/client/_nuxt/BYelj_cE.js +1 -0
  7. package/dist/client/_nuxt/{CuOLCh11.js → BqAMNMnf.js} +1 -1
  8. package/dist/client/_nuxt/Crs1WKlG.js +1 -0
  9. package/dist/client/_nuxt/NwQCJuIJ.js +1 -0
  10. package/dist/client/_nuxt/builds/latest.json +1 -1
  11. package/dist/client/_nuxt/builds/meta/b8c557ad-dbc3-41dd-803c-e68d118730bb.json +1 -0
  12. package/dist/client/_nuxt/{entry.BnSVD-Km.css → entry.C6cM9MEY.css} +1 -1
  13. package/dist/client/_nuxt/error-404.BjUZiARo.css +1 -0
  14. package/dist/client/_nuxt/error-500.CQd8P6J5.css +1 -0
  15. package/dist/client/_nuxt/vPsaSUqs.js +31 -0
  16. package/dist/client/index.html +12 -12
  17. package/dist/module.d.mts +1 -355
  18. package/dist/module.d.ts +1 -355
  19. package/dist/module.json +1 -1
  20. package/dist/module.mjs +14 -105
  21. package/dist/runtime/nitro/sitemap/builder/xml.js +1 -0
  22. package/dist/runtime/nitro/tsconfig.json +3 -3
  23. package/package.json +3 -4
  24. package/dist/client/_nuxt/BHqu4VKd.js +0 -1
  25. package/dist/client/_nuxt/Dd6f7Z5P.js +0 -1
  26. package/dist/client/_nuxt/EQHFthT6.js +0 -1
  27. package/dist/client/_nuxt/NrGJGX17.js +0 -1
  28. package/dist/client/_nuxt/USEQoosB.js +0 -31
  29. package/dist/client/_nuxt/builds/meta/99e0fea3-c4e8-45fe-88b0-f49b86d00f5b.json +0 -1
  30. package/dist/client/_nuxt/d42HzezM.js +0 -1
  31. package/dist/client/_nuxt/error-404.BOXiSWAJ.css +0 -1
  32. package/dist/client/_nuxt/error-500.DmKlUOlN.css +0 -1
package/dist/module.d.ts CHANGED
@@ -1,359 +1,5 @@
1
1
  import * as _nuxt_schema from '@nuxt/schema';
2
- import { FetchOptions } from 'ofetch';
3
-
4
- interface ModuleOptions$1 extends SitemapDefinition {
5
- /**
6
- * Whether the sitemap.xml should be generated.
7
- *
8
- * @default true
9
- */
10
- enabled: boolean;
11
- /**
12
- * Enables debug logs and a debug endpoint.
13
- *
14
- * @default false
15
- */
16
- debug: boolean;
17
- /**
18
- * Minify the sitemap xml
19
- *
20
- * @default false
21
- */
22
- minify: boolean;
23
- /**
24
- * Should lastmod be automatically added to the sitemap.
25
- *
26
- * Warning: This may not be following best practices for sitemaps.
27
- *
28
- * @see https://nuxtseo.com/sitemap/guides/best-practices.
29
- * @default false
30
- */
31
- autoLastmod: boolean;
32
- /**
33
- * Should pages be automatically added to the sitemap.
34
- *
35
- * @default true
36
- * @deprecated If set to false, use `excludeAppSources: ['pages', 'route-rules', 'prerender']` instead. Otherwise, remove this.
37
- */
38
- inferStaticPagesAsRoutes: boolean;
39
- /**
40
- * Sources to exclude from the sitemap.
41
- */
42
- excludeAppSources: true | (AppSourceContext[]);
43
- /**
44
- * Multiple sitemap support for large sites.
45
- *
46
- * @default false
47
- */
48
- sitemaps?: boolean | MultiSitemapsInput;
49
- /**
50
- * The path prefix for the sitemaps.
51
- *
52
- * @default /__sitemap__/
53
- */
54
- sitemapsPathPrefix: string;
55
- /**
56
- * Sitemaps to append to the sitemap index.
57
- *
58
- * This will only do anything when using multiple sitemaps.
59
- */
60
- appendSitemaps?: (string | SitemapIndexEntry)[];
61
- /**
62
- * Path to the xsl that styles sitemap.xml.
63
- *
64
- * Set to `false` to disable styling.
65
- *
66
- * @default /__sitemap__/style.xsl
67
- */
68
- xsl: string | false;
69
- /**
70
- * Toggle the tips displayed in the xsl.
71
- *
72
- * @default true
73
- */
74
- xslTips: boolean;
75
- /**
76
- * Customised the columns displayed in the xsl.
77
- *
78
- * @default [{ label: 'URL', width: '50%', select: 'string' }, { label: 'Last Modified', width: '25%', select: 'lastmod' }, { label: 'Change Frequency', width: '25%', select: 'changefreq' }]
79
- */
80
- xslColumns?: {
81
- label: string;
82
- width: `${string}%`;
83
- select?: string;
84
- }[];
85
- /**
86
- * When prerendering, should images be automatically be discovered and added to the sitemap.
87
- *
88
- * @default true
89
- */
90
- discoverImages: boolean;
91
- /**
92
- * When prerendering, should videos be automatically be discovered and added to the sitemap.
93
- *
94
- * @default true
95
- */
96
- discoverVideos: boolean;
97
- /**
98
- * When chunking the sitemaps into multiple files, how many entries should each file contain.
99
- *
100
- * Set to `false` to disabling chunking completely.
101
- *
102
- * @default 1000
103
- */
104
- defaultSitemapsChunkSize: number | false;
105
- /**
106
- * Modify the cache behavior.
107
- *
108
- * Passing a boolean will enable or disable the runtime cache with the default options.
109
- *
110
- * Providing a record will allow you to configure the runtime cache fully.
111
- *
112
- * @default true
113
- * @see https://nitro.unjs.io/guide/storage#mountpoints
114
- * @example { driver: 'redis', host: 'localhost', port: 6379, password: 'password' }
115
- */
116
- runtimeCacheStorage: boolean | (Record<string, any> & {
117
- driver: string;
118
- });
119
- /**
120
- * Automatically add alternative links to the sitemap based on a prefix list.
121
- * Is used by @nuxtjs/i18n to automatically add alternative links to the sitemap.
122
- */
123
- autoI18n?: boolean | AutoI18nConfig;
124
- /**
125
- * Enable when your nuxt/content files match your pages. This will automatically add sitemap content to the sitemap.
126
- *
127
- * This is similar behavior to using `nuxt/content` with `documentDriven: true`.
128
- */
129
- strictNuxtContentPaths: boolean;
130
- /**
131
- * Should the sitemap.xml display credits for the module.
132
- *
133
- * @default true
134
- */
135
- credits: boolean;
136
- /**
137
- * How long, in milliseconds, should the sitemap be cached for.
138
- *
139
- * @default 1 hour
140
- *
141
- * @deprecated use cacheMaxAgeSeconds
142
- */
143
- cacheTtl?: number | false;
144
- /**
145
- * How long, in seconds, should the sitemap be cached for.
146
- *
147
- * @default 600
148
- */
149
- cacheMaxAgeSeconds: number | false;
150
- /**
151
- * Should the entries be sorted by loc.
152
- *
153
- * @default true
154
- */
155
- sortEntries: boolean;
156
- /**
157
- * Warm up the sitemap route(s) cache when Nitro starts.
158
- *
159
- * May be implemented by default in a future minor version.
160
- *
161
- * @experimental Will be enabled by default in v5 (if stable)
162
- */
163
- experimentalWarmUp?: boolean;
164
- /**
165
- * Send the Sitemap as a compressed stream supporting gzip, brolti, etc.
166
- *
167
- * @experimental Will be enabled by default in v5 (if stable)
168
- */
169
- experimentalCompression?: boolean;
170
- }
171
- interface IndexSitemapRemotes {
172
- index?: (string | SitemapIndexEntry)[];
173
- }
174
- interface MultiSitemapEntry {
175
- [key: string]: Partial<SitemapDefinition>;
176
- }
177
- type MultiSitemapsInput = Partial<MultiSitemapEntry> & Partial<IndexSitemapRemotes>;
178
- type MaybeFunction<T> = T | (() => T);
179
- type MaybePromise<T> = T | Promise<T>;
180
- type SitemapUrlInput = SitemapUrl | string;
181
- interface SitemapSourceBase {
182
- context: {
183
- name: string;
184
- description?: string;
185
- tips?: string[];
186
- };
187
- fetch?: string | [string, FetchOptions];
188
- urls?: SitemapUrlInput[];
189
- sourceType?: 'app' | 'user';
190
- }
191
- interface SitemapSourceResolved extends Omit<SitemapSourceBase, 'urls'> {
192
- urls: SitemapUrlInput[];
193
- error?: any;
194
- timeTakenMs?: number;
195
- }
196
- type AppSourceContext = 'nuxt:pages' | 'nuxt:prerender' | 'nuxt:route-rules' | '@nuxtjs/i18n:pages' | '@nuxt/content:document-driven';
197
- type SitemapSourceInput = string | [string, FetchOptions] | SitemapSourceBase | SitemapSourceResolved;
198
- interface NormalisedLocale {
199
- code: string;
200
- iso?: string;
201
- domain?: string;
202
- }
203
- type NormalisedLocales = NormalisedLocale[];
204
- interface AutoI18nConfig {
205
- differentDomains?: boolean;
206
- locales: NormalisedLocales;
207
- defaultLocale: string;
208
- strategy: 'prefix' | 'prefix_except_default' | 'prefix_and_default' | 'no_prefix';
209
- }
210
- interface SitemapIndexEntry {
211
- sitemap: string;
212
- lastmod?: string;
213
- /**
214
- * @internal
215
- */
216
- _sitemapName?: string;
217
- }
218
- type FilterInput = (string | RegExp | {
219
- regex: string;
220
- });
221
- interface SitemapDefinition {
222
- /**
223
- * A collection include patterns for filtering which URLs end up in the sitemap.
224
- */
225
- include?: FilterInput[];
226
- /**
227
- * A collection exclude patterns for filtering which URLs end up in the sitemap.
228
- */
229
- exclude?: FilterInput[];
230
- /**
231
- * Should the sitemap be generated using global sources.
232
- *
233
- * This is enabled by default when using a single sitemap. Otherwise, it will be opt-in.
234
- */
235
- includeAppSources?: boolean;
236
- /**
237
- * The root sitemap name.
238
- * Only works when multiple sitemaps option `sitemaps` isn't used.
239
- *
240
- * @default `sitemap.xml`
241
- */
242
- sitemapName: string;
243
- /**
244
- * A resolvable collection of URLs to include in the sitemap.
245
- *
246
- * Will be resolved when the sitemap is generated.
247
- */
248
- urls?: MaybeFunction<MaybePromise<SitemapUrlInput[]>>;
249
- /**
250
- * Default options for all URLs in the sitemap.
251
- */
252
- defaults?: Omit<SitemapUrl, 'loc'>;
253
- /**
254
- * Additional sources of URLs to include in the sitemap.
255
- */
256
- sources?: SitemapSourceInput[];
257
- /**
258
- * The endpoint to fetch dynamic URLs from.
259
- *
260
- * @deprecated use `sources`
261
- */
262
- dynamicUrlsApiEndpoint?: string | false;
263
- /**
264
- * @internal
265
- */
266
- _route?: string;
267
- }
268
- type Changefreq = 'always' | 'hourly' | 'daily' | 'weekly' | 'monthly' | 'yearly' | 'never';
269
- interface SitemapUrl {
270
- loc: string;
271
- lastmod?: string | Date;
272
- changefreq?: Changefreq;
273
- priority?: 0 | 0.1 | 0.2 | 0.3 | 0.4 | 0.5 | 0.6 | 0.7 | 0.8 | 0.9 | 1;
274
- alternatives?: Array<AlternativeEntry>;
275
- news?: GoogleNewsEntry;
276
- images?: Array<ImageEntry>;
277
- videos?: Array<VideoEntry>;
278
- _i18nTransform?: boolean;
279
- _sitemap?: string;
280
- /**
281
- * @deprecated use `loc`
282
- */
283
- url?: string;
284
- }
285
- interface AlternativeEntry {
286
- hreflang: string;
287
- href: string | URL;
288
- }
289
- interface GoogleNewsEntry {
290
- /**
291
- * The title of the news article.
292
- * @example "Companies A, B in Merger Talks"
293
- */
294
- title: string;
295
- /**
296
- * The article publication date in W3C format. Specify the original date and time when the article was first
297
- * published on your site. Don't specify the time when you added the article to your sitemap.
298
- * @example "2008-12-23"
299
- */
300
- publication_date: Date | string;
301
- publication: {
302
- /**
303
- * The <news:name> tag is the name of the news publication.
304
- * It must exactly match the name as it appears on your articles on news.google.com, omitting anything in parentheses.
305
- * @example "The Example Times"
306
- */
307
- name: string;
308
- /**
309
- * The <news:language> tag is the language of your publication. Use an ISO 639 language code (two or three letters).
310
- * @example en
311
- */
312
- language: string;
313
- };
314
- }
315
- interface ImageEntry {
316
- loc: string | URL;
317
- caption?: string;
318
- geoLocation?: string;
319
- title?: string;
320
- license?: string | URL;
321
- }
322
- interface VideoEntry {
323
- title: string;
324
- thumbnail_loc: string | URL;
325
- description: string;
326
- content_loc?: string | URL;
327
- player_loc?: string | URL;
328
- duration?: number;
329
- expiration_date?: Date | string;
330
- rating?: number;
331
- view_count?: number;
332
- publication_date?: Date | string;
333
- family_friendly?: 'yes' | 'no' | boolean;
334
- restriction?: Restriction;
335
- platform?: Platform;
336
- price?: ({
337
- price?: number | string;
338
- currency?: string;
339
- type?: 'rent' | 'purchase' | 'package' | 'subscription';
340
- })[];
341
- requires_subscription?: 'yes' | 'no' | boolean;
342
- uploader?: {
343
- uploader: string;
344
- info?: string | URL;
345
- };
346
- live?: 'yes' | 'no' | boolean;
347
- tag?: string | string[];
348
- }
349
- interface Restriction {
350
- relationship: 'allow' | 'deny';
351
- restriction: string;
352
- }
353
- interface Platform {
354
- relationship: 'allow' | 'deny';
355
- platform: string;
356
- }
2
+ import { ModuleOptions as ModuleOptions$1 } from '../dist/runtime/types.js';
357
3
 
358
4
  interface ModuleOptions extends ModuleOptions$1 {
359
5
  }
package/dist/module.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "bridge": false
6
6
  },
7
7
  "configKey": "sitemap",
8
- "version": "6.0.0-beta.1",
8
+ "version": "6.0.0-beta.2",
9
9
  "builder": {
10
10
  "@nuxt/module-builder": "0.8.3",
11
11
  "unbuild": "2.0.0"
package/dist/module.mjs CHANGED
@@ -1,81 +1,18 @@
1
- import { useNuxt, loadNuxtModuleInstance, createResolver, addTemplate, extendPages, defineNuxtModule, useLogger, hasNuxtModule, getNuxtModuleVersion, hasNuxtModuleCompatibility, addServerImports, addServerPlugin, addServerHandler, findPath, addPrerenderRoutes } from '@nuxt/kit';
2
- import { withLeadingSlash, parseURL, withHttps, withBase, joinURL, withoutLeadingSlash, withoutTrailingSlash } from 'ufo';
1
+ import { useNuxt, loadNuxtModuleInstance, createResolver, addTemplate, extendPages, tryUseNuxt, defineNuxtModule, useLogger, hasNuxtModule, getNuxtModuleVersion, hasNuxtModuleCompatibility, addServerImports, addServerPlugin, addServerHandler, findPath, addPrerenderRoutes } from '@nuxt/kit';
2
+ import { withHttps, withBase, parseURL, joinURL, withoutLeadingSlash, withoutTrailingSlash, withLeadingSlash } from 'ufo';
3
3
  import { assertSiteConfig, installNuxtSiteConfig } from 'nuxt-site-config-kit';
4
- import { createDefu, defu } from 'defu';
4
+ import { defu } from 'defu';
5
5
  import { readPackageJSON } from 'pkg-types';
6
6
  import { statSync, existsSync } from 'node:fs';
7
7
  import { extname, relative, dirname } from 'pathe';
8
- import { toRouteMatcher, createRouter } from 'radix3';
9
- import { createConsola } from 'consola';
8
+ import { createPathFilter, splitForLocales, mergeOnKey } from '../dist/runtime/utils-pure.js';
10
9
  import { provider, env } from 'std-env';
11
10
  import { mkdir, writeFile } from 'node:fs/promises';
12
11
  import { join } from 'node:path';
13
12
  import chalk from 'chalk';
14
13
  import { build } from 'nitropack';
15
14
  import { withSiteUrl } from 'nuxt-site-config-kit/urls';
16
-
17
- createConsola({
18
- defaults: {
19
- tag: "@nuxt/sitemap"
20
- }
21
- });
22
- const merger = createDefu((obj, key, value) => {
23
- if (Array.isArray(obj[key]) && Array.isArray(value))
24
- obj[key] = Array.from(/* @__PURE__ */ new Set([...obj[key], ...value]));
25
- return obj[key];
26
- });
27
- function mergeOnKey(arr, key) {
28
- const res = {};
29
- arr.forEach((item) => {
30
- const k = item[key];
31
- res[k] = merger(item, res[k] || {});
32
- });
33
- return Object.values(res);
34
- }
35
- function splitForLocales(path, locales) {
36
- const prefix = withLeadingSlash(path).split("/")[1];
37
- if (locales.includes(prefix))
38
- return [prefix, path.replace(`/${prefix}`, "")];
39
- return [null, path];
40
- }
41
- function createPathFilter(options = {}) {
42
- const urlFilter = createFilter(options);
43
- return (loc) => {
44
- let path = loc;
45
- try {
46
- path = parseURL(loc).pathname;
47
- } catch {
48
- return false;
49
- }
50
- return urlFilter(path);
51
- };
52
- }
53
- function createFilter(options = {}) {
54
- const include = options.include || [];
55
- const exclude = options.exclude || [];
56
- if (include.length === 0 && exclude.length === 0)
57
- return () => true;
58
- return function(path) {
59
- for (const v of [{ rules: exclude, result: false }, { rules: include, result: true }]) {
60
- const regexRules = v.rules.filter((r) => r instanceof RegExp);
61
- if (regexRules.some((r) => r.test(path)))
62
- return v.result;
63
- const stringRules = v.rules.filter((r) => typeof r === "string");
64
- if (stringRules.length > 0) {
65
- const routes = {};
66
- for (const r of stringRules) {
67
- if (r === path)
68
- return v.result;
69
- routes[r] = true;
70
- }
71
- const routeRulesMatcher = toRouteMatcher(createRouter({ routes, strictTrailingSlash: false }));
72
- if (routeRulesMatcher.matchAll(path).length > 0)
73
- return Boolean(v.result);
74
- }
75
- }
76
- return include.length === 0;
77
- };
78
- }
15
+ import { normaliseDate } from '../dist/runtime/nitro/sitemap/urlset/normalise.js';
79
16
 
80
17
  async function resolveUrls(urls, ctx) {
81
18
  if (typeof urls === "function")
@@ -294,6 +231,7 @@ function detectTarget(options = {}) {
294
231
  return options?.static ? autodetectableStaticProviders[provider] : autodetectableProviders[provider];
295
232
  }
296
233
  function resolveNitroPreset(nitroConfig) {
234
+ nitroConfig = nitroConfig || tryUseNuxt()?.options?.nitro;
297
235
  if (provider === "stackblitz")
298
236
  return "stackblitz";
299
237
  let preset;
@@ -546,38 +484,6 @@ function setupDevToolsUI(options, resolve, nuxt = useNuxt()) {
546
484
  });
547
485
  }
548
486
 
549
- const IS_VALID_W3C_DATE = [
550
- /(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))/,
551
- /^\d{4}-[01]\d-[0-3]\d$/,
552
- /^\d{4}-[01]\d$/,
553
- /^\d{4}$/
554
- ];
555
- function isValidW3CDate(d) {
556
- return IS_VALID_W3C_DATE.some((r) => r.test(d));
557
- }
558
- function normaliseDate(d) {
559
- if (typeof d === "string") {
560
- if (d.includes("T")) {
561
- const t = d.split("T")[1];
562
- if (!t.includes("+") && !t.includes("-") && !t.includes("Z")) {
563
- d += "Z";
564
- }
565
- }
566
- if (!isValidW3CDate(d))
567
- return false;
568
- d = new Date(d);
569
- d.setMilliseconds(0);
570
- if (Number.isNaN(d.getTime()))
571
- return false;
572
- }
573
- const z = (n) => `0${n}`.slice(-2);
574
- const date = `${d.getUTCFullYear()}-${z(d.getUTCMonth() + 1)}-${z(d.getUTCDate())}`;
575
- if (d.getUTCHours() > 0 || d.getUTCMinutes() > 0 || d.getUTCSeconds() > 0) {
576
- return `${date}T${z(d.getUTCHours())}:${z(d.getUTCMinutes())}:${z(d.getUTCSeconds())}Z`;
577
- }
578
- return date;
579
- }
580
-
581
487
  function splitPathForI18nLocales(path, autoI18n) {
582
488
  const locales = autoI18n.strategy === "prefix_except_default" ? autoI18n.locales.filter((l) => l.code !== autoI18n.defaultLocale) : autoI18n.locales;
583
489
  if (typeof path !== "string" || path.startsWith("/_"))
@@ -591,12 +497,12 @@ function splitPathForI18nLocales(path, autoI18n) {
591
497
  ...locales.map((l) => `/${l.code}${path}`)
592
498
  ];
593
499
  }
594
- function getExcludedLocalesFromI18nConfig(nuxtI18nConfig) {
500
+ function getOnlyLocalesFromI18nConfig(nuxtI18nConfig) {
595
501
  const onlyLocales = nuxtI18nConfig?.bundle?.onlyLocales;
596
502
  if (!onlyLocales)
597
503
  return [];
598
- const excludedLocales = typeof onlyLocales === "string" ? [onlyLocales] : onlyLocales;
599
- return excludedLocales;
504
+ const includedLocales = typeof onlyLocales === "string" ? [onlyLocales] : onlyLocales;
505
+ return includedLocales;
600
506
  }
601
507
  function generatePathForI18nPages(ctx) {
602
508
  const { localeCode, pageLocales, nuxtI18nConfig, forcedStrategy, normalisedLocales } = ctx;
@@ -741,8 +647,11 @@ const module = defineNuxtModule({
741
647
  if (!await hasNuxtModuleCompatibility("@nuxtjs/i18n", ">=8"))
742
648
  logger.warn(`You are using @nuxtjs/i18n v${i18nVersion}. For the best compatibility, please upgrade to @nuxtjs/i18n v8.0.0 or higher.`);
743
649
  nuxtI18nConfig = await getNuxtModuleOptions("@nuxtjs/i18n") || {};
744
- const excludedLocales = getExcludedLocalesFromI18nConfig(nuxtI18nConfig);
745
- normalisedLocales = mergeOnKey((nuxtI18nConfig.locales || []).map((locale) => typeof locale === "string" ? { code: locale } : locale), "code").filter((locale) => !excludedLocales.includes(locale.code));
650
+ normalisedLocales = mergeOnKey((nuxtI18nConfig.locales || []).map((locale) => typeof locale === "string" ? { code: locale } : locale), "code");
651
+ const onlyLocales = getOnlyLocalesFromI18nConfig(nuxtI18nConfig);
652
+ if (onlyLocales.length) {
653
+ normalisedLocales = normalisedLocales.filter((locale) => onlyLocales.includes(locale.code));
654
+ }
746
655
  usingI18nPages = !!Object.keys(nuxtI18nConfig.pages || {}).length;
747
656
  if (usingI18nPages && !hasDisabledAutoI18n) {
748
657
  const i18nPagesSources = {
@@ -4,6 +4,7 @@ function resolveKey(k) {
4
4
  return "image";
5
5
  case "videos":
6
6
  return "video";
7
+ // news & others?
7
8
  case "news":
8
9
  return "news";
9
10
  default:
@@ -1,3 +1,3 @@
1
- {
2
- "extends": "../../../.nuxt/tsconfig.server.json"
3
- }
1
+ {
2
+ "extends": "../../../.nuxt/tsconfig.server.json"
3
+ }
package/package.json CHANGED
@@ -1,8 +1,7 @@
1
1
  {
2
2
  "name": "@nuxtjs/sitemap",
3
3
  "type": "module",
4
- "version": "6.0.0-beta.2",
5
- "packageManager": "pnpm@9.5.0",
4
+ "version": "6.0.0-beta.3",
6
5
  "description": "Powerfully flexible XML Sitemaps that integrate seamlessly, for Nuxt.",
7
6
  "author": {
8
7
  "name": "Harlan Wilton",
@@ -35,7 +34,7 @@
35
34
  "dist"
36
35
  ],
37
36
  "dependencies": {
38
- "@nuxt/devtools-kit": "^1.3.9",
37
+ "@nuxt/devtools-kit": "^1.3.14",
39
38
  "@nuxt/kit": "^3.12.4",
40
39
  "chalk": "^5.3.0",
41
40
  "defu": "^6.1.4",
@@ -53,7 +52,7 @@
53
52
  },
54
53
  "devDependencies": {
55
54
  "@nuxt/content": "^2.13.2",
56
- "@nuxt/eslint-config": "^0.5.0",
55
+ "@nuxt/eslint-config": "^0.5.1",
57
56
  "@nuxt/module-builder": "0.8.3",
58
57
  "@nuxt/test-utils": "^3.14.1",
59
58
  "@nuxt/ui": "^2.18.4",
@@ -1 +0,0 @@
1
- var e=Object.freeze({colors:{"activityBar.activeBorder":"#4d9375","activityBar.background":"#000","activityBar.border":"#191919","activityBar.foreground":"#dbd7cacc","activityBar.inactiveForeground":"#dedcd550","activityBarBadge.background":"#bfbaaa","activityBarBadge.foreground":"#000","badge.background":"#dedcd590","badge.foreground":"#000","breadcrumb.activeSelectionForeground":"#eeeeee18","breadcrumb.background":"#121212","breadcrumb.focusForeground":"#dbd7cacc","breadcrumb.foreground":"#959da5","breadcrumbPicker.background":"#000","button.background":"#4d9375","button.foreground":"#000","button.hoverBackground":"#4d9375","checkbox.background":"#121212","checkbox.border":"#2f363d","debugToolBar.background":"#000",descriptionForeground:"#dedcd590","diffEditor.insertedTextBackground":"#4d937550","diffEditor.removedTextBackground":"#ab595950","dropdown.background":"#000","dropdown.border":"#191919","dropdown.foreground":"#dbd7cacc","dropdown.listBackground":"#121212","editor.background":"#000","editor.findMatchBackground":"#e6cc7722","editor.findMatchHighlightBackground":"#e6cc7744","editor.focusedStackFrameHighlightBackground":"#b808","editor.foldBackground":"#eeeeee10","editor.foreground":"#dbd7cacc","editor.inactiveSelectionBackground":"#eeeeee10","editor.lineHighlightBackground":"#121212","editor.selectionBackground":"#eeeeee18","editor.selectionHighlightBackground":"#eeeeee10","editor.stackFrameHighlightBackground":"#a707","editor.wordHighlightBackground":"#1c6b4805","editor.wordHighlightStrongBackground":"#1c6b4810","editorBracketHighlight.foreground1":"#5eaab5","editorBracketHighlight.foreground2":"#4d9375","editorBracketHighlight.foreground3":"#d4976c","editorBracketHighlight.foreground4":"#d9739f","editorBracketHighlight.foreground5":"#e6cc77","editorBracketHighlight.foreground6":"#6394bf","editorBracketMatch.background":"#4d937520","editorError.foreground":"#cb7676","editorGroup.border":"#191919","editorGroupHeader.tabsBackground":"#000","editorGroupHeader.tabsBorder":"#191919","editorGutter.addedBackground":"#4d9375","editorGutter.commentRangeForeground":"#dedcd550","editorGutter.deletedBackground":"#cb7676","editorGutter.foldingControlForeground":"#dedcd590","editorGutter.modifiedBackground":"#6394bf","editorHint.foreground":"#4d9375","editorIndentGuide.activeBackground":"#ffffff30","editorIndentGuide.background":"#ffffff15","editorInfo.foreground":"#6394bf","editorInlayHint.background":"#00000000","editorInlayHint.foreground":"#444444","editorLineNumber.activeForeground":"#bfbaaa","editorLineNumber.foreground":"#dedcd550","editorOverviewRuler.border":"#111","editorStickyScroll.background":"#121212","editorStickyScrollHover.background":"#121212","editorWarning.foreground":"#d4976c","editorWhitespace.foreground":"#ffffff15","editorWidget.background":"#000",errorForeground:"#cb7676",focusBorder:"#00000000",foreground:"#dbd7cacc","gitDecoration.addedResourceForeground":"#4d9375","gitDecoration.conflictingResourceForeground":"#d4976c","gitDecoration.deletedResourceForeground":"#cb7676","gitDecoration.ignoredResourceForeground":"#dedcd550","gitDecoration.modifiedResourceForeground":"#6394bf","gitDecoration.submoduleResourceForeground":"#dedcd590","gitDecoration.untrackedResourceForeground":"#5eaab5","input.background":"#121212","input.border":"#191919","input.foreground":"#dbd7cacc","input.placeholderForeground":"#dedcd590","inputOption.activeBackground":"#dedcd550","list.activeSelectionBackground":"#121212","list.activeSelectionForeground":"#dbd7cacc","list.focusBackground":"#121212","list.highlightForeground":"#4d9375","list.hoverBackground":"#121212","list.hoverForeground":"#dbd7cacc","list.inactiveFocusBackground":"#000","list.inactiveSelectionBackground":"#121212","list.inactiveSelectionForeground":"#dbd7cacc","menu.separatorBackground":"#191919","notificationCenterHeader.background":"#000","notificationCenterHeader.foreground":"#959da5","notifications.background":"#000","notifications.border":"#191919","notifications.foreground":"#dbd7cacc","notificationsErrorIcon.foreground":"#cb7676","notificationsInfoIcon.foreground":"#6394bf","notificationsWarningIcon.foreground":"#d4976c","panel.background":"#000","panel.border":"#191919","panelInput.border":"#2f363d","panelTitle.activeBorder":"#4d9375","panelTitle.activeForeground":"#dbd7cacc","panelTitle.inactiveForeground":"#959da5","peekViewEditor.background":"#000","peekViewEditor.matchHighlightBackground":"#ffd33d33","peekViewResult.background":"#000","peekViewResult.matchHighlightBackground":"#ffd33d33","pickerGroup.border":"#191919","pickerGroup.foreground":"#dbd7cacc","problemsErrorIcon.foreground":"#cb7676","problemsInfoIcon.foreground":"#6394bf","problemsWarningIcon.foreground":"#d4976c","progressBar.background":"#4d9375","quickInput.background":"#000","quickInput.foreground":"#dbd7cacc","quickInputList.focusBackground":"#121212","scrollbar.shadow":"#0000","scrollbarSlider.activeBackground":"#dedcd550","scrollbarSlider.background":"#dedcd510","scrollbarSlider.hoverBackground":"#dedcd550","settings.headerForeground":"#dbd7cacc","settings.modifiedItemIndicator":"#4d9375","sideBar.background":"#000","sideBar.border":"#191919","sideBar.foreground":"#bfbaaa","sideBarSectionHeader.background":"#000","sideBarSectionHeader.border":"#191919","sideBarSectionHeader.foreground":"#dbd7cacc","sideBarTitle.foreground":"#dbd7cacc","statusBar.background":"#000","statusBar.border":"#191919","statusBar.debuggingBackground":"#121212","statusBar.debuggingForeground":"#bfbaaa","statusBar.foreground":"#bfbaaa","statusBar.noFolderBackground":"#000","statusBarItem.prominentBackground":"#121212","tab.activeBackground":"#000","tab.activeBorder":"#191919","tab.activeBorderTop":"#dedcd590","tab.activeForeground":"#dbd7cacc","tab.border":"#191919","tab.hoverBackground":"#121212","tab.inactiveBackground":"#000","tab.inactiveForeground":"#959da5","tab.unfocusedActiveBorder":"#191919","tab.unfocusedActiveBorderTop":"#191919","tab.unfocusedHoverBackground":"#000","terminal.ansiBlack":"#393a34","terminal.ansiBlue":"#6394bf","terminal.ansiBrightBlack":"#777777","terminal.ansiBrightBlue":"#6394bf","terminal.ansiBrightCyan":"#5eaab5","terminal.ansiBrightGreen":"#4d9375","terminal.ansiBrightMagenta":"#d9739f","terminal.ansiBrightRed":"#cb7676","terminal.ansiBrightWhite":"#ffffff","terminal.ansiBrightYellow":"#e6cc77","terminal.ansiCyan":"#5eaab5","terminal.ansiGreen":"#4d9375","terminal.ansiMagenta":"#d9739f","terminal.ansiRed":"#cb7676","terminal.ansiWhite":"#dbd7ca","terminal.ansiYellow":"#e6cc77","terminal.foreground":"#dbd7cacc","terminal.selectionBackground":"#eeeeee18","textBlockQuote.background":"#000","textBlockQuote.border":"#191919","textCodeBlock.background":"#000","textLink.activeForeground":"#4d9375","textLink.foreground":"#4d9375","textPreformat.foreground":"#d1d5da","textSeparator.foreground":"#586069","titleBar.activeBackground":"#000","titleBar.activeForeground":"#bfbaaa","titleBar.border":"#121212","titleBar.inactiveBackground":"#000","titleBar.inactiveForeground":"#959da5","tree.indentGuidesStroke":"#2f363d","welcomePage.buttonBackground":"#2f363d","welcomePage.buttonHoverBackground":"#444d56"},displayName:"Vitesse Black",name:"vitesse-black",semanticHighlighting:!0,semanticTokenColors:{class:"#6872ab",interface:"#5d99a9",namespace:"#db889a",property:"#b8a965",type:"#5d99a9"},tokenColors:[{scope:["comment","punctuation.definition.comment","string.comment"],settings:{foreground:"#758575dd"}},{scope:["delimiter.bracket","delimiter","invalid.illegal.character-not-allowed-here.html","keyword.operator.rest","keyword.operator.spread","keyword.operator.type.annotation","keyword.operator.relational","keyword.operator.assignment","keyword.operator.type","meta.brace","meta.tag.block.any.html","meta.tag.inline.any.html","meta.tag.structure.input.void.html","meta.type.annotation","meta.embedded.block.github-actions-expression","storage.type.function.arrow","meta.objectliteral.ts","punctuation","punctuation.definition.string.begin.html.vue","punctuation.definition.string.end.html.vue"],settings:{foreground:"#444444"}},{scope:["constant","entity.name.constant","variable.language","meta.definition.variable"],settings:{foreground:"#c99076"}},{scope:["entity","entity.name"],settings:{foreground:"#80a665"}},{scope:"variable.parameter.function",settings:{foreground:"#dbd7cacc"}},{scope:["entity.name.tag","tag.html"],settings:{foreground:"#4d9375"}},{scope:"entity.name.function",settings:{foreground:"#80a665"}},{scope:["keyword","storage.type.class.jsdoc","punctuation.definition.template-expression"],settings:{foreground:"#4d9375"}},{scope:["storage","storage.type","support.type.builtin","constant.language.undefined","constant.language.null","constant.language.import-export-all.ts"],settings:{foreground:"#cb7676"}},{scope:["text.html.derivative","storage.modifier.package","storage.modifier.import","storage.type.java"],settings:{foreground:"#dbd7cacc"}},{scope:["string","string punctuation.section.embedded source","attribute.value"],settings:{foreground:"#c98a7d"}},{scope:["punctuation.definition.string"],settings:{foreground:"#c98a7d77"}},{scope:["punctuation.support.type.property-name"],settings:{foreground:"#b8a96577"}},{scope:"support",settings:{foreground:"#b8a965"}},{scope:["property","meta.property-name","meta.object-literal.key","entity.name.tag.yaml","attribute.name"],settings:{foreground:"#b8a965"}},{scope:["entity.other.attribute-name","invalid.deprecated.entity.other.attribute-name.html"],settings:{foreground:"#bd976a"}},{scope:["variable","identifier"],settings:{foreground:"#bd976a"}},{scope:["support.type.primitive","entity.name.type"],settings:{foreground:"#5DA994"}},{scope:"namespace",settings:{foreground:"#db889a"}},{scope:["keyword.operator","keyword.operator.assignment.compound","meta.var.expr.ts"],settings:{foreground:"#cb7676"}},{scope:"invalid.broken",settings:{fontStyle:"italic",foreground:"#fdaeb7"}},{scope:"invalid.deprecated",settings:{fontStyle:"italic",foreground:"#fdaeb7"}},{scope:"invalid.illegal",settings:{fontStyle:"italic",foreground:"#fdaeb7"}},{scope:"invalid.unimplemented",settings:{fontStyle:"italic",foreground:"#fdaeb7"}},{scope:"carriage-return",settings:{background:"#f97583",content:"^M",fontStyle:"italic underline",foreground:"#24292e"}},{scope:"message.error",settings:{foreground:"#fdaeb7"}},{scope:"string variable",settings:{foreground:"#c98a7d"}},{scope:["source.regexp","string.regexp"],settings:{foreground:"#c4704f"}},{scope:["string.regexp.character-class","string.regexp constant.character.escape","string.regexp source.ruby.embedded","string.regexp string.regexp.arbitrary-repitition"],settings:{foreground:"#c98a7d"}},{scope:"string.regexp constant.character.escape",settings:{foreground:"#e6cc77"}},{scope:["support.constant"],settings:{foreground:"#c99076"}},{scope:["keyword.operator.quantifier.regexp","constant.numeric","number"],settings:{foreground:"#4C9A91"}},{scope:["keyword.other.unit"],settings:{foreground:"#cb7676"}},{scope:["constant.language.boolean","constant.language"],settings:{foreground:"#4d9375"}},{scope:"meta.module-reference",settings:{foreground:"#4d9375"}},{scope:"punctuation.definition.list.begin.markdown",settings:{foreground:"#d4976c"}},{scope:["markup.heading","markup.heading entity.name"],settings:{fontStyle:"bold",foreground:"#4d9375"}},{scope:"markup.quote",settings:{foreground:"#5d99a9"}},{scope:"markup.italic",settings:{fontStyle:"italic",foreground:"#dbd7cacc"}},{scope:"markup.bold",settings:{fontStyle:"bold",foreground:"#dbd7cacc"}},{scope:"markup.raw",settings:{foreground:"#4d9375"}},{scope:["markup.deleted","meta.diff.header.from-file","punctuation.definition.deleted"],settings:{background:"#86181d",foreground:"#fdaeb7"}},{scope:["markup.inserted","meta.diff.header.to-file","punctuation.definition.inserted"],settings:{background:"#144620",foreground:"#85e89d"}},{scope:["markup.changed","punctuation.definition.changed"],settings:{background:"#c24e00",foreground:"#ffab70"}},{scope:["markup.ignored","markup.untracked"],settings:{background:"#79b8ff",foreground:"#2f363d"}},{scope:"meta.diff.range",settings:{fontStyle:"bold",foreground:"#b392f0"}},{scope:"meta.diff.header",settings:{foreground:"#79b8ff"}},{scope:"meta.separator",settings:{fontStyle:"bold",foreground:"#79b8ff"}},{scope:"meta.output",settings:{foreground:"#79b8ff"}},{scope:["brackethighlighter.tag","brackethighlighter.curly","brackethighlighter.round","brackethighlighter.square","brackethighlighter.angle","brackethighlighter.quote"],settings:{foreground:"#d1d5da"}},{scope:"brackethighlighter.unmatched",settings:{foreground:"#fdaeb7"}},{scope:["constant.other.reference.link","string.other.link","punctuation.definition.string.begin.markdown","punctuation.definition.string.end.markdown"],settings:{foreground:"#c98a7d"}},{scope:["markup.underline.link.markdown","markup.underline.link.image.markdown"],settings:{fontStyle:"underline",foreground:"#dedcd590"}},{scope:["type.identifier","constant.other.character-class.regexp"],settings:{foreground:"#6872ab"}},{scope:["entity.other.attribute-name.html.vue"],settings:{foreground:"#80a665"}},{scope:["invalid.illegal.unrecognized-tag.html"],settings:{fontStyle:"normal"}}],type:"dark"});export{e as default};
@@ -1 +0,0 @@
1
- const e=Object.freeze({displayName:"Gleam",name:"gleam",patterns:[{include:"#comments"},{include:"#keywords"},{include:"#strings"},{include:"#constant"},{include:"#entity"},{include:"#discards"}],repository:{binary_number:{match:"\\b0[bB](_?[01])+\\b",name:"constant.numeric.binary.gleam",patterns:[]},boolean:{match:"\\b(True|False)\\b",name:"constant.language.boolean.gleam",patterns:[]},comments:{patterns:[{match:"//.*",name:"comment.line.gleam"}]},constant:{patterns:[{include:"#binary_number"},{include:"#octal_number"},{include:"#hexadecimal_number"},{include:"#decimal_number"},{include:"#boolean"},{match:"[[:upper:]][[:word:]]*",name:"entity.name.type.gleam"}]},decimal_number:{match:"\\b[[:digit:]]+(_?[[:digit:]])*(\\.[[:digit:]]*)?(e-?[[:digit:]]*)?\\b",name:"constant.numeric.decimal.gleam",patterns:[]},discards:{match:"\\b_(?:[[:word:]]+)?\\b",name:"comment.unused.gleam"},entity:{patterns:[{begin:"\\b([[:lower:]][[:word:]]*)([[:space:]]*)?\\(",captures:{1:{name:"entity.name.function.gleam"}},end:"\\)",patterns:[{include:"$self"}]},{match:"\\b([[:lower:]][[:word:]]*):\\s",name:"variable.parameter.gleam"},{match:"\\b([[:lower:]][[:word:]]*):",name:"entity.name.namespace.gleam"}]},hexadecimal_number:{match:"\\b0[xX](_?[[:xdigit:]])+\\b",name:"constant.numeric.hexadecimal.gleam",patterns:[]},keywords:{patterns:[{match:"\\b(as|use|case|if|fn|import|let|assert|pub|type|opaque|const|todo|panic)\\b",name:"keyword.control.gleam"},{match:"(<\\-|\\->)",name:"keyword.operator.arrow.gleam"},{match:"\\|>",name:"keyword.operator.pipe.gleam"},{match:"\\.\\.",name:"keyword.operator.splat.gleam"},{match:"(<=\\.|>=\\.|==\\.|!=\\.|<\\.|>\\.)",name:"keyword.operator.comparison.float.gleam"},{match:"(<=|>=|==|!=|<|>)",name:"keyword.operator.comparison.int.gleam"},{match:"(&&|\\|\\|)",name:"keyword.operator.logical.gleam"},{match:"<>",name:"keyword.operator.string.gleam"},{match:"\\|",name:"keyword.operator.other.gleam"},{match:"(\\+\\.|\\-\\.|/\\.|\\*\\.|%\\.)",name:"keyword.operator.arithmetic.float.gleam"},{match:"(\\+|\\-|/|\\*|%)",name:"keyword.operator.arithmetic.int.gleam"},{match:"=",name:"keyword.operator.assignment.gleam"}]},octal_number:{match:"\\b0[oO](_?[0-7])+\\b",name:"constant.numeric.octal.gleam",patterns:[]},strings:{begin:'"',end:'"',name:"string.quoted.double.gleam",patterns:[{match:"\\\\.",name:"constant.character.escape.gleam"}]}},scopeName:"source.gleam"});var a=[e];export{a as default};
@@ -1 +0,0 @@
1
- var e=Object.freeze({colors:{"activityBar.activeBorder":"#4d9375","activityBar.background":"#121212","activityBar.border":"#191919","activityBar.foreground":"#dbd7caee","activityBar.inactiveForeground":"#dedcd550","activityBarBadge.background":"#bfbaaa","activityBarBadge.foreground":"#121212","badge.background":"#dedcd590","badge.foreground":"#121212","breadcrumb.activeSelectionForeground":"#eeeeee18","breadcrumb.background":"#181818","breadcrumb.focusForeground":"#dbd7caee","breadcrumb.foreground":"#959da5","breadcrumbPicker.background":"#121212","button.background":"#4d9375","button.foreground":"#121212","button.hoverBackground":"#4d9375","checkbox.background":"#181818","checkbox.border":"#2f363d","debugToolBar.background":"#121212",descriptionForeground:"#dedcd590","diffEditor.insertedTextBackground":"#4d937550","diffEditor.removedTextBackground":"#ab595950","dropdown.background":"#121212","dropdown.border":"#191919","dropdown.foreground":"#dbd7caee","dropdown.listBackground":"#181818","editor.background":"#121212","editor.findMatchBackground":"#e6cc7722","editor.findMatchHighlightBackground":"#e6cc7744","editor.focusedStackFrameHighlightBackground":"#b808","editor.foldBackground":"#eeeeee10","editor.foreground":"#dbd7caee","editor.inactiveSelectionBackground":"#eeeeee10","editor.lineHighlightBackground":"#181818","editor.selectionBackground":"#eeeeee18","editor.selectionHighlightBackground":"#eeeeee10","editor.stackFrameHighlightBackground":"#a707","editor.wordHighlightBackground":"#1c6b4805","editor.wordHighlightStrongBackground":"#1c6b4810","editorBracketHighlight.foreground1":"#5eaab5","editorBracketHighlight.foreground2":"#4d9375","editorBracketHighlight.foreground3":"#d4976c","editorBracketHighlight.foreground4":"#d9739f","editorBracketHighlight.foreground5":"#e6cc77","editorBracketHighlight.foreground6":"#6394bf","editorBracketMatch.background":"#4d937520","editorError.foreground":"#cb7676","editorGroup.border":"#191919","editorGroupHeader.tabsBackground":"#121212","editorGroupHeader.tabsBorder":"#191919","editorGutter.addedBackground":"#4d9375","editorGutter.commentRangeForeground":"#dedcd550","editorGutter.deletedBackground":"#cb7676","editorGutter.foldingControlForeground":"#dedcd590","editorGutter.modifiedBackground":"#6394bf","editorHint.foreground":"#4d9375","editorIndentGuide.activeBackground":"#ffffff30","editorIndentGuide.background":"#ffffff15","editorInfo.foreground":"#6394bf","editorInlayHint.background":"#00000000","editorInlayHint.foreground":"#666666","editorLineNumber.activeForeground":"#bfbaaa","editorLineNumber.foreground":"#dedcd550","editorOverviewRuler.border":"#111","editorStickyScroll.background":"#181818","editorStickyScrollHover.background":"#181818","editorWarning.foreground":"#d4976c","editorWhitespace.foreground":"#ffffff15","editorWidget.background":"#121212",errorForeground:"#cb7676",focusBorder:"#00000000",foreground:"#dbd7caee","gitDecoration.addedResourceForeground":"#4d9375","gitDecoration.conflictingResourceForeground":"#d4976c","gitDecoration.deletedResourceForeground":"#cb7676","gitDecoration.ignoredResourceForeground":"#dedcd550","gitDecoration.modifiedResourceForeground":"#6394bf","gitDecoration.submoduleResourceForeground":"#dedcd590","gitDecoration.untrackedResourceForeground":"#5eaab5","input.background":"#181818","input.border":"#191919","input.foreground":"#dbd7caee","input.placeholderForeground":"#dedcd590","inputOption.activeBackground":"#dedcd550","list.activeSelectionBackground":"#181818","list.activeSelectionForeground":"#dbd7caee","list.focusBackground":"#181818","list.highlightForeground":"#4d9375","list.hoverBackground":"#181818","list.hoverForeground":"#dbd7caee","list.inactiveFocusBackground":"#121212","list.inactiveSelectionBackground":"#181818","list.inactiveSelectionForeground":"#dbd7caee","menu.separatorBackground":"#191919","notificationCenterHeader.background":"#121212","notificationCenterHeader.foreground":"#959da5","notifications.background":"#121212","notifications.border":"#191919","notifications.foreground":"#dbd7caee","notificationsErrorIcon.foreground":"#cb7676","notificationsInfoIcon.foreground":"#6394bf","notificationsWarningIcon.foreground":"#d4976c","panel.background":"#121212","panel.border":"#191919","panelInput.border":"#2f363d","panelTitle.activeBorder":"#4d9375","panelTitle.activeForeground":"#dbd7caee","panelTitle.inactiveForeground":"#959da5","peekViewEditor.background":"#121212","peekViewEditor.matchHighlightBackground":"#ffd33d33","peekViewResult.background":"#121212","peekViewResult.matchHighlightBackground":"#ffd33d33","pickerGroup.border":"#191919","pickerGroup.foreground":"#dbd7caee","problemsErrorIcon.foreground":"#cb7676","problemsInfoIcon.foreground":"#6394bf","problemsWarningIcon.foreground":"#d4976c","progressBar.background":"#4d9375","quickInput.background":"#121212","quickInput.foreground":"#dbd7caee","quickInputList.focusBackground":"#181818","scrollbar.shadow":"#0000","scrollbarSlider.activeBackground":"#dedcd550","scrollbarSlider.background":"#dedcd510","scrollbarSlider.hoverBackground":"#dedcd550","settings.headerForeground":"#dbd7caee","settings.modifiedItemIndicator":"#4d9375","sideBar.background":"#121212","sideBar.border":"#191919","sideBar.foreground":"#bfbaaa","sideBarSectionHeader.background":"#121212","sideBarSectionHeader.border":"#191919","sideBarSectionHeader.foreground":"#dbd7caee","sideBarTitle.foreground":"#dbd7caee","statusBar.background":"#121212","statusBar.border":"#191919","statusBar.debuggingBackground":"#181818","statusBar.debuggingForeground":"#bfbaaa","statusBar.foreground":"#bfbaaa","statusBar.noFolderBackground":"#121212","statusBarItem.prominentBackground":"#181818","tab.activeBackground":"#121212","tab.activeBorder":"#191919","tab.activeBorderTop":"#dedcd590","tab.activeForeground":"#dbd7caee","tab.border":"#191919","tab.hoverBackground":"#181818","tab.inactiveBackground":"#121212","tab.inactiveForeground":"#959da5","tab.unfocusedActiveBorder":"#191919","tab.unfocusedActiveBorderTop":"#191919","tab.unfocusedHoverBackground":"#121212","terminal.ansiBlack":"#393a34","terminal.ansiBlue":"#6394bf","terminal.ansiBrightBlack":"#777777","terminal.ansiBrightBlue":"#6394bf","terminal.ansiBrightCyan":"#5eaab5","terminal.ansiBrightGreen":"#4d9375","terminal.ansiBrightMagenta":"#d9739f","terminal.ansiBrightRed":"#cb7676","terminal.ansiBrightWhite":"#ffffff","terminal.ansiBrightYellow":"#e6cc77","terminal.ansiCyan":"#5eaab5","terminal.ansiGreen":"#4d9375","terminal.ansiMagenta":"#d9739f","terminal.ansiRed":"#cb7676","terminal.ansiWhite":"#dbd7ca","terminal.ansiYellow":"#e6cc77","terminal.foreground":"#dbd7caee","terminal.selectionBackground":"#eeeeee18","textBlockQuote.background":"#121212","textBlockQuote.border":"#191919","textCodeBlock.background":"#121212","textLink.activeForeground":"#4d9375","textLink.foreground":"#4d9375","textPreformat.foreground":"#d1d5da","textSeparator.foreground":"#586069","titleBar.activeBackground":"#121212","titleBar.activeForeground":"#bfbaaa","titleBar.border":"#181818","titleBar.inactiveBackground":"#121212","titleBar.inactiveForeground":"#959da5","tree.indentGuidesStroke":"#2f363d","welcomePage.buttonBackground":"#2f363d","welcomePage.buttonHoverBackground":"#444d56"},displayName:"Vitesse Dark",name:"vitesse-dark",semanticHighlighting:!0,semanticTokenColors:{class:"#6872ab",interface:"#5d99a9",namespace:"#db889a",property:"#b8a965",type:"#5d99a9"},tokenColors:[{scope:["comment","punctuation.definition.comment","string.comment"],settings:{foreground:"#758575dd"}},{scope:["delimiter.bracket","delimiter","invalid.illegal.character-not-allowed-here.html","keyword.operator.rest","keyword.operator.spread","keyword.operator.type.annotation","keyword.operator.relational","keyword.operator.assignment","keyword.operator.type","meta.brace","meta.tag.block.any.html","meta.tag.inline.any.html","meta.tag.structure.input.void.html","meta.type.annotation","meta.embedded.block.github-actions-expression","storage.type.function.arrow","meta.objectliteral.ts","punctuation","punctuation.definition.string.begin.html.vue","punctuation.definition.string.end.html.vue"],settings:{foreground:"#666666"}},{scope:["constant","entity.name.constant","variable.language","meta.definition.variable"],settings:{foreground:"#c99076"}},{scope:["entity","entity.name"],settings:{foreground:"#80a665"}},{scope:"variable.parameter.function",settings:{foreground:"#dbd7caee"}},{scope:["entity.name.tag","tag.html"],settings:{foreground:"#4d9375"}},{scope:"entity.name.function",settings:{foreground:"#80a665"}},{scope:["keyword","storage.type.class.jsdoc","punctuation.definition.template-expression"],settings:{foreground:"#4d9375"}},{scope:["storage","storage.type","support.type.builtin","constant.language.undefined","constant.language.null","constant.language.import-export-all.ts"],settings:{foreground:"#cb7676"}},{scope:["text.html.derivative","storage.modifier.package","storage.modifier.import","storage.type.java"],settings:{foreground:"#dbd7caee"}},{scope:["string","string punctuation.section.embedded source","attribute.value"],settings:{foreground:"#c98a7d"}},{scope:["punctuation.definition.string"],settings:{foreground:"#c98a7d77"}},{scope:["punctuation.support.type.property-name"],settings:{foreground:"#b8a96577"}},{scope:"support",settings:{foreground:"#b8a965"}},{scope:["property","meta.property-name","meta.object-literal.key","entity.name.tag.yaml","attribute.name"],settings:{foreground:"#b8a965"}},{scope:["entity.other.attribute-name","invalid.deprecated.entity.other.attribute-name.html"],settings:{foreground:"#bd976a"}},{scope:["variable","identifier"],settings:{foreground:"#bd976a"}},{scope:["support.type.primitive","entity.name.type"],settings:{foreground:"#5DA994"}},{scope:"namespace",settings:{foreground:"#db889a"}},{scope:["keyword.operator","keyword.operator.assignment.compound","meta.var.expr.ts"],settings:{foreground:"#cb7676"}},{scope:"invalid.broken",settings:{fontStyle:"italic",foreground:"#fdaeb7"}},{scope:"invalid.deprecated",settings:{fontStyle:"italic",foreground:"#fdaeb7"}},{scope:"invalid.illegal",settings:{fontStyle:"italic",foreground:"#fdaeb7"}},{scope:"invalid.unimplemented",settings:{fontStyle:"italic",foreground:"#fdaeb7"}},{scope:"carriage-return",settings:{background:"#f97583",content:"^M",fontStyle:"italic underline",foreground:"#24292e"}},{scope:"message.error",settings:{foreground:"#fdaeb7"}},{scope:"string variable",settings:{foreground:"#c98a7d"}},{scope:["source.regexp","string.regexp"],settings:{foreground:"#c4704f"}},{scope:["string.regexp.character-class","string.regexp constant.character.escape","string.regexp source.ruby.embedded","string.regexp string.regexp.arbitrary-repitition"],settings:{foreground:"#c98a7d"}},{scope:"string.regexp constant.character.escape",settings:{foreground:"#e6cc77"}},{scope:["support.constant"],settings:{foreground:"#c99076"}},{scope:["keyword.operator.quantifier.regexp","constant.numeric","number"],settings:{foreground:"#4C9A91"}},{scope:["keyword.other.unit"],settings:{foreground:"#cb7676"}},{scope:["constant.language.boolean","constant.language"],settings:{foreground:"#4d9375"}},{scope:"meta.module-reference",settings:{foreground:"#4d9375"}},{scope:"punctuation.definition.list.begin.markdown",settings:{foreground:"#d4976c"}},{scope:["markup.heading","markup.heading entity.name"],settings:{fontStyle:"bold",foreground:"#4d9375"}},{scope:"markup.quote",settings:{foreground:"#5d99a9"}},{scope:"markup.italic",settings:{fontStyle:"italic",foreground:"#dbd7caee"}},{scope:"markup.bold",settings:{fontStyle:"bold",foreground:"#dbd7caee"}},{scope:"markup.raw",settings:{foreground:"#4d9375"}},{scope:["markup.deleted","meta.diff.header.from-file","punctuation.definition.deleted"],settings:{background:"#86181d",foreground:"#fdaeb7"}},{scope:["markup.inserted","meta.diff.header.to-file","punctuation.definition.inserted"],settings:{background:"#144620",foreground:"#85e89d"}},{scope:["markup.changed","punctuation.definition.changed"],settings:{background:"#c24e00",foreground:"#ffab70"}},{scope:["markup.ignored","markup.untracked"],settings:{background:"#79b8ff",foreground:"#2f363d"}},{scope:"meta.diff.range",settings:{fontStyle:"bold",foreground:"#b392f0"}},{scope:"meta.diff.header",settings:{foreground:"#79b8ff"}},{scope:"meta.separator",settings:{fontStyle:"bold",foreground:"#79b8ff"}},{scope:"meta.output",settings:{foreground:"#79b8ff"}},{scope:["brackethighlighter.tag","brackethighlighter.curly","brackethighlighter.round","brackethighlighter.square","brackethighlighter.angle","brackethighlighter.quote"],settings:{foreground:"#d1d5da"}},{scope:"brackethighlighter.unmatched",settings:{foreground:"#fdaeb7"}},{scope:["constant.other.reference.link","string.other.link","punctuation.definition.string.begin.markdown","punctuation.definition.string.end.markdown"],settings:{foreground:"#c98a7d"}},{scope:["markup.underline.link.markdown","markup.underline.link.image.markdown"],settings:{fontStyle:"underline",foreground:"#dedcd590"}},{scope:["type.identifier","constant.other.character-class.regexp"],settings:{foreground:"#6872ab"}},{scope:["entity.other.attribute-name.html.vue"],settings:{foreground:"#80a665"}},{scope:["invalid.illegal.unrecognized-tag.html"],settings:{fontStyle:"normal"}}],type:"dark"});export{e as default};