@nuxtjs/sitemap 6.1.5 → 7.0.1
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/LICENSE.md +9 -0
- package/README.md +78 -71
- package/dist/client/200.html +57 -53
- package/dist/client/404.html +57 -53
- package/dist/client/_nuxt/B2uSYIFn.js +1 -0
- package/dist/client/_nuxt/B7mTdjB0.js +1 -0
- package/dist/client/_nuxt/BA1ndEPy.js +1 -0
- package/dist/client/_nuxt/BCzYJAay.js +1 -0
- package/dist/client/_nuxt/BLhTXw86.js +1 -0
- package/dist/client/_nuxt/BVlVXSjx.js +1 -0
- package/dist/client/_nuxt/BZ3P6AVf.js +1 -0
- package/dist/client/_nuxt/{DwFwdhDE.js → Bcw97oti.js} +1 -1
- package/dist/client/_nuxt/{Bn_k6aVk.js → Bh0AkrcA.js} +1 -1
- package/dist/client/_nuxt/{BJzahAdx.js → BnfnAR_u.js} +1 -1
- package/dist/client/_nuxt/{CKfqYE_r.js → Bohx6pHs.js} +1 -1
- package/dist/client/_nuxt/BqtQrzRp.js +1 -0
- package/dist/client/_nuxt/Bu73EIfS.js +1 -0
- package/dist/client/_nuxt/BwpQXVS2.js +1 -0
- package/dist/client/_nuxt/C-_shW-Y.js +1 -0
- package/dist/client/_nuxt/C3mMm8J8.js +1 -0
- package/dist/client/_nuxt/C4Ro8ZjH.js +1 -0
- package/dist/client/_nuxt/C5-9kuJc.js +1 -0
- package/dist/client/_nuxt/CD_QflpE.js +1 -0
- package/dist/client/_nuxt/CEvzwb0I.js +1 -0
- package/dist/client/_nuxt/CGXjegLJ.js +1 -0
- package/dist/client/_nuxt/CMnybHwx.js +1 -0
- package/dist/client/_nuxt/COcR7UxN.js +1 -0
- package/dist/client/_nuxt/CZzQMiei.js +1 -0
- package/dist/client/_nuxt/D0UgJbcu.js +1 -0
- package/dist/client/_nuxt/{CQWsIgnU.js → D4h5O-jR.js} +1 -1
- package/dist/client/_nuxt/{Bexp5DGn.js → DFQ4Xr-4.js} +1 -1
- package/dist/client/_nuxt/DL4Dju3v.js +1 -0
- package/dist/client/_nuxt/{0qbUsQ6_.js → DMcMdqhj.js} +1 -1
- package/dist/client/_nuxt/DRW-0cLl.js +1 -0
- package/dist/client/_nuxt/{CmY0Y6Yh.js → DXbdFlpD.js} +1 -1
- package/dist/client/_nuxt/DdAYiE08.js +1 -0
- package/dist/client/_nuxt/DepYB8Ml.js +1 -0
- package/dist/client/_nuxt/{B0aAJdqC.js → DhRVplvY.js} +1 -1
- package/dist/client/_nuxt/DoBRWXs5.js +1 -0
- package/dist/client/_nuxt/DxokFBIi.js +1 -0
- package/dist/client/_nuxt/GBQ2dnAY.js +1 -0
- package/dist/client/_nuxt/{DZQMDcrx.js → L9t79GZl.js} +1 -1
- package/dist/client/_nuxt/LGGdnPYs.js +1 -0
- package/dist/client/_nuxt/XF954dHc.js +1 -0
- package/dist/client/_nuxt/{BQpwE61g.js → XgMqM674.js} +1 -1
- package/dist/client/_nuxt/YurBl9Qv.js +1 -0
- package/dist/client/_nuxt/ZougXV9E.js +32 -0
- package/dist/client/_nuxt/{Cztwc-HH.js → _Zu0RE-q.js} +1 -1
- package/dist/client/_nuxt/bN70gL4F.js +1 -0
- package/dist/client/_nuxt/builds/latest.json +1 -1
- package/dist/client/_nuxt/builds/meta/4797452c-6112-46da-ad1e-fed2be5af2d7.json +1 -0
- package/dist/client/_nuxt/entry.DQICz65s.css +1 -0
- package/dist/client/_nuxt/error-404.DgVXsaJX.css +1 -0
- package/dist/client/_nuxt/error-500.B7UWmd7c.css +1 -0
- package/dist/client/_nuxt/iL6rllz4.js +1 -0
- package/dist/client/index.html +57 -53
- package/dist/module.json +1 -1
- package/dist/module.mjs +18 -55
- package/dist/runtime/{nitro → server}/plugins/nuxt-content.js +1 -1
- package/dist/runtime/{nitro → server}/sitemap/builder/sitemap.js +1 -1
- package/dist/runtime/{nitro → server}/sitemap/nitro.js +2 -2
- package/dist/runtime/{nitro → server}/sitemap/urlset/normalise.d.ts +1 -0
- package/dist/runtime/{nitro → server}/sitemap/urlset/normalise.js +8 -1
- package/dist/runtime/{nitro → server}/tsconfig.json +3 -3
- package/dist/runtime/types.d.ts +0 -25
- package/package.json +19 -20
- package/virtual.d.ts +11 -11
- package/dist/client/_nuxt/2pWuV6-S.js +0 -1
- package/dist/client/_nuxt/35JD59R_.js +0 -1
- package/dist/client/_nuxt/5Vw9JATd.js +0 -1
- package/dist/client/_nuxt/B-GI89LT.js +0 -1
- package/dist/client/_nuxt/B1Z2YEe0.js +0 -1
- package/dist/client/_nuxt/B74Y8nHz.js +0 -1
- package/dist/client/_nuxt/BHpzmqOf.js +0 -1
- package/dist/client/_nuxt/BT8b6B_-.js +0 -1
- package/dist/client/_nuxt/BTo9ix6S.js +0 -1
- package/dist/client/_nuxt/Bc9R0SY0.js +0 -1
- package/dist/client/_nuxt/C6J8XiCD.js +0 -1
- package/dist/client/_nuxt/CBzZD_Xh.js +0 -1
- package/dist/client/_nuxt/CC-i2yU_.js +0 -32
- package/dist/client/_nuxt/CQGSizSD.js +0 -1
- package/dist/client/_nuxt/CWJejSyX.js +0 -1
- package/dist/client/_nuxt/Cm25um3E.js +0 -1
- package/dist/client/_nuxt/Cmhojp3q.js +0 -1
- package/dist/client/_nuxt/Cn_j0ne6.js +0 -1
- package/dist/client/_nuxt/CnsmiicP.js +0 -1
- package/dist/client/_nuxt/D0xWnrgR.js +0 -1
- package/dist/client/_nuxt/D5gt1ch3.js +0 -1
- package/dist/client/_nuxt/D9W_gRNE.js +0 -1
- package/dist/client/_nuxt/DFIOpqzz.js +0 -1
- package/dist/client/_nuxt/DIvA8ll9.js +0 -1
- package/dist/client/_nuxt/DWt6wkI-.js +0 -1
- package/dist/client/_nuxt/DhG9BCpW.js +0 -1
- package/dist/client/_nuxt/Jwd9j1ay.js +0 -1
- package/dist/client/_nuxt/S_yhxdK1.js +0 -1
- package/dist/client/_nuxt/builds/meta/59f1df8e-28a2-4da6-b095-d68cf9f73bd0.json +0 -1
- package/dist/client/_nuxt/eCoydtrh.js +0 -1
- package/dist/client/_nuxt/entry.BiaZzIvh.css +0 -1
- package/dist/client/_nuxt/error-404.CxoN1Nr8.css +0 -1
- package/dist/client/_nuxt/error-500.3IMlSFsN.css +0 -1
- package/dist/client/_nuxt/w1el_4yc.js +0 -1
- /package/dist/runtime/{nitro → server}/composables/asSitemapUrl.d.ts +0 -0
- /package/dist/runtime/{nitro → server}/composables/asSitemapUrl.js +0 -0
- /package/dist/runtime/{nitro → server}/composables/defineSitemapEventHandler.d.ts +0 -0
- /package/dist/runtime/{nitro → server}/composables/defineSitemapEventHandler.js +0 -0
- /package/dist/runtime/{nitro → server}/composables/getPathRobotConfigPolyfill.d.ts +0 -0
- /package/dist/runtime/{nitro → server}/composables/getPathRobotConfigPolyfill.js +0 -0
- /package/dist/runtime/{nitro → server}/kit.d.ts +0 -0
- /package/dist/runtime/{nitro → server}/kit.js +0 -0
- /package/dist/runtime/{nitro → server}/plugins/compression.d.ts +0 -0
- /package/dist/runtime/{nitro → server}/plugins/compression.js +0 -0
- /package/dist/runtime/{nitro → server}/plugins/nuxt-content.d.ts +0 -0
- /package/dist/runtime/{nitro → server}/plugins/warm-up.d.ts +0 -0
- /package/dist/runtime/{nitro → server}/plugins/warm-up.js +0 -0
- /package/dist/runtime/{nitro → server}/routes/__sitemap__/debug.d.ts +0 -0
- /package/dist/runtime/{nitro → server}/routes/__sitemap__/debug.js +0 -0
- /package/dist/runtime/{nitro → server}/routes/__sitemap__/nuxt-content-urls.d.ts +0 -0
- /package/dist/runtime/{nitro → server}/routes/__sitemap__/nuxt-content-urls.js +0 -0
- /package/dist/runtime/{nitro → server}/routes/sitemap/[sitemap].xml.d.ts +0 -0
- /package/dist/runtime/{nitro → server}/routes/sitemap/[sitemap].xml.js +0 -0
- /package/dist/runtime/{nitro → server}/routes/sitemap.xml.d.ts +0 -0
- /package/dist/runtime/{nitro → server}/routes/sitemap.xml.js +0 -0
- /package/dist/runtime/{nitro → server}/routes/sitemap.xsl.d.ts +0 -0
- /package/dist/runtime/{nitro → server}/routes/sitemap.xsl.js +0 -0
- /package/dist/runtime/{nitro → server}/routes/sitemap_index.xml.d.ts +0 -0
- /package/dist/runtime/{nitro → server}/routes/sitemap_index.xml.js +0 -0
- /package/dist/runtime/{nitro → server}/sitemap/builder/sitemap-index.d.ts +0 -0
- /package/dist/runtime/{nitro → server}/sitemap/builder/sitemap-index.js +0 -0
- /package/dist/runtime/{nitro → server}/sitemap/builder/sitemap.d.ts +0 -0
- /package/dist/runtime/{nitro → server}/sitemap/builder/xml.d.ts +0 -0
- /package/dist/runtime/{nitro → server}/sitemap/builder/xml.js +0 -0
- /package/dist/runtime/{nitro → server}/sitemap/nitro.d.ts +0 -0
- /package/dist/runtime/{nitro → server}/sitemap/urlset/sort.d.ts +0 -0
- /package/dist/runtime/{nitro → server}/sitemap/urlset/sort.js +0 -0
- /package/dist/runtime/{nitro → server}/sitemap/urlset/sources.d.ts +0 -0
- /package/dist/runtime/{nitro → server}/sitemap/urlset/sources.js +0 -0
- /package/dist/runtime/{nitro → server}/utils.d.ts +0 -0
- /package/dist/runtime/{nitro → server}/utils.js +0 -0
package/dist/module.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { useNuxt, loadNuxtModuleInstance, createResolver, addTemplate, extendPages, tryUseNuxt, defineNuxtModule, useLogger, hasNuxtModule, getNuxtModuleVersion, hasNuxtModuleCompatibility, addServerImports, addServerPlugin, addServerHandler,
|
|
1
|
+
import { useNuxt, loadNuxtModuleInstance, createResolver, addTemplate, extendPages, tryUseNuxt, defineNuxtModule, useLogger, hasNuxtModule, getNuxtModuleVersion, hasNuxtModuleCompatibility, addServerImports, addServerPlugin, addServerHandler, addPrerenderRoutes } from '@nuxt/kit';
|
|
2
2
|
import { withHttps, withBase, parseURL, joinURL, withoutLeadingSlash, withoutTrailingSlash, withLeadingSlash } from 'ufo';
|
|
3
|
-
import { installNuxtSiteConfig } from 'nuxt-site-config
|
|
3
|
+
import { withSiteUrl, installNuxtSiteConfig } from 'nuxt-site-config/kit';
|
|
4
4
|
import { defu } from 'defu';
|
|
5
5
|
import { readPackageJSON } from 'pkg-types';
|
|
6
6
|
import { statSync, existsSync } from 'node:fs';
|
|
@@ -11,8 +11,7 @@ import { mkdir, writeFile } from 'node:fs/promises';
|
|
|
11
11
|
import { join } from 'node:path';
|
|
12
12
|
import chalk from 'chalk';
|
|
13
13
|
import { build } from 'nitropack';
|
|
14
|
-
import {
|
|
15
|
-
import { normaliseDate } from '../dist/runtime/nitro/sitemap/urlset/normalise.js';
|
|
14
|
+
import { normaliseDate } from '../dist/runtime/server/sitemap/urlset/normalise.js';
|
|
16
15
|
|
|
17
16
|
async function resolveUrls(urls, ctx) {
|
|
18
17
|
if (typeof urls === "function")
|
|
@@ -171,7 +170,7 @@ function generateExtraRoutesFromNuxtConfig(nuxt = useNuxt()) {
|
|
|
171
170
|
const routeRules = Object.entries(nuxt.options.routeRules || {}).filter(([k, v]) => {
|
|
172
171
|
if (k.includes("*") || k.includes(".") || k.includes(":"))
|
|
173
172
|
return false;
|
|
174
|
-
if (typeof v.
|
|
173
|
+
if (typeof v.robots === "boolean" && !v.robots)
|
|
175
174
|
return false;
|
|
176
175
|
return !v.redirect;
|
|
177
176
|
}).map(([k]) => k).filter(filterForValidPage);
|
|
@@ -593,7 +592,6 @@ const module = defineNuxtModule({
|
|
|
593
592
|
autoLastmod: false,
|
|
594
593
|
discoverImages: true,
|
|
595
594
|
discoverVideos: true,
|
|
596
|
-
dynamicUrlsApiEndpoint: "/api/_sitemap-urls",
|
|
597
595
|
urls: [],
|
|
598
596
|
sortEntries: true,
|
|
599
597
|
sitemapsPathPrefix: "/__sitemap__/",
|
|
@@ -609,8 +607,7 @@ const module = defineNuxtModule({
|
|
|
609
607
|
exclude: ["/_nuxt/**", "/_**"],
|
|
610
608
|
// sources
|
|
611
609
|
sources: [],
|
|
612
|
-
excludeAppSources: []
|
|
613
|
-
inferStaticPagesAsRoutes: true
|
|
610
|
+
excludeAppSources: []
|
|
614
611
|
},
|
|
615
612
|
async setup(config, nuxt) {
|
|
616
613
|
const { resolve } = createResolver(import.meta.url);
|
|
@@ -771,7 +768,7 @@ const module = defineNuxtModule({
|
|
|
771
768
|
addServerImports([{
|
|
772
769
|
name: "getPathRobotConfigPolyfill",
|
|
773
770
|
as: "getPathRobotConfig",
|
|
774
|
-
from: resolve("./runtime/
|
|
771
|
+
from: resolve("./runtime/server/composables/getPathRobotConfigPolyfill")
|
|
775
772
|
}]);
|
|
776
773
|
}
|
|
777
774
|
});
|
|
@@ -836,7 +833,6 @@ declare module 'vue-router' {
|
|
|
836
833
|
if (typeof config.sitemaps === "object") {
|
|
837
834
|
for (const k in config.sitemaps) {
|
|
838
835
|
nuxt.options.nitro.routeRules[joinURL(config.sitemapsPathPrefix, `/${k}.xml`)] = routeRules;
|
|
839
|
-
nuxt.options.nitro.routeRules[`/${k}-sitemap.xml`] = { redirect: joinURL(config.sitemapsPathPrefix, `${k}.xml`) };
|
|
840
836
|
}
|
|
841
837
|
} else {
|
|
842
838
|
nuxt.options.nitro.routeRules[`/${config.sitemapName}`] = routeRules;
|
|
@@ -845,15 +841,15 @@ declare module 'vue-router' {
|
|
|
845
841
|
nuxt.options.nitro.routeRules[`/${config.sitemapName}`] = routeRules;
|
|
846
842
|
}
|
|
847
843
|
if (config.experimentalWarmUp)
|
|
848
|
-
addServerPlugin(resolve("./runtime/
|
|
844
|
+
addServerPlugin(resolve("./runtime/server/plugins/warm-up"));
|
|
849
845
|
if (config.experimentalCompression)
|
|
850
|
-
addServerPlugin(resolve("./runtime/
|
|
846
|
+
addServerPlugin(resolve("./runtime/server/plugins/compression"));
|
|
851
847
|
const isNuxtContentDocumentDriven = !!nuxt.options.content?.documentDriven || config.strictNuxtContentPaths;
|
|
852
848
|
if (hasNuxtModule("@nuxt/content")) {
|
|
853
|
-
addServerPlugin(resolve("./runtime/
|
|
849
|
+
addServerPlugin(resolve("./runtime/server/plugins/nuxt-content"));
|
|
854
850
|
addServerHandler({
|
|
855
851
|
route: "/__sitemap__/nuxt-content-urls.json",
|
|
856
|
-
handler: resolve("./runtime/
|
|
852
|
+
handler: resolve("./runtime/server/routes/__sitemap__/nuxt-content-urls")
|
|
857
853
|
});
|
|
858
854
|
const tips = [];
|
|
859
855
|
if (nuxt.options.content?.documentDriven)
|
|
@@ -871,36 +867,17 @@ declare module 'vue-router' {
|
|
|
871
867
|
fetch: "/__sitemap__/nuxt-content-urls.json"
|
|
872
868
|
});
|
|
873
869
|
}
|
|
874
|
-
const hasLegacyDefaultApiSource = !!await findPath(resolve(nuxt.options.serverDir, "api/_sitemap-urls"));
|
|
875
|
-
if (
|
|
876
|
-
// make sure they didn't manually add it as a source
|
|
877
|
-
!config.sources?.includes("/api/_sitemap-urls") && (hasLegacyDefaultApiSource || config.dynamicUrlsApiEndpoint !== "/api/_sitemap-urls")
|
|
878
|
-
) {
|
|
879
|
-
userGlobalSources.push({
|
|
880
|
-
context: {
|
|
881
|
-
name: "dynamicUrlsApiEndpoint",
|
|
882
|
-
description: "Generated from your dynamicUrlsApiEndpoint config.",
|
|
883
|
-
tips: [
|
|
884
|
-
"The `dynamicUrlsApiEndpoint` config is deprecated.",
|
|
885
|
-
hasLegacyDefaultApiSource ? "Consider renaming the `api/_sitemap-urls` file and add it the `sitemap.sources` config instead. This provides more explicit sitemap generation." : "Consider switching to using the `sitemap.sources` config which also supports fetch options."
|
|
886
|
-
]
|
|
887
|
-
},
|
|
888
|
-
fetch: hasLegacyDefaultApiSource ? "/api/_sitemap-urls" : config.dynamicUrlsApiEndpoint
|
|
889
|
-
});
|
|
890
|
-
} else {
|
|
891
|
-
config.dynamicUrlsApiEndpoint = false;
|
|
892
|
-
}
|
|
893
870
|
const sitemaps = {};
|
|
894
871
|
if (usingMultiSitemaps) {
|
|
895
872
|
addServerHandler({
|
|
896
873
|
route: "/sitemap_index.xml",
|
|
897
|
-
handler: resolve("./runtime/
|
|
874
|
+
handler: resolve("./runtime/server/routes/sitemap_index.xml"),
|
|
898
875
|
lazy: true,
|
|
899
876
|
middleware: false
|
|
900
877
|
});
|
|
901
878
|
addServerHandler({
|
|
902
879
|
route: joinURL(config.sitemapsPathPrefix, `/**:sitemap`),
|
|
903
|
-
handler: resolve("./runtime/
|
|
880
|
+
handler: resolve("./runtime/server/routes/sitemap/[sitemap].xml"),
|
|
904
881
|
lazy: true,
|
|
905
882
|
middleware: false
|
|
906
883
|
});
|
|
@@ -919,7 +896,7 @@ declare module 'vue-router' {
|
|
|
919
896
|
{
|
|
920
897
|
sitemapName,
|
|
921
898
|
_route: withBase(joinURL(config.sitemapsPathPrefix, `${sitemapName}.xml`), nuxt.options.app.baseURL || "/"),
|
|
922
|
-
_hasSourceChunk: typeof definition.urls !== "undefined" || definition.sources?.length
|
|
899
|
+
_hasSourceChunk: typeof definition.urls !== "undefined" || definition.sources?.length
|
|
923
900
|
},
|
|
924
901
|
{ ...definition, urls: void 0, sources: void 0 },
|
|
925
902
|
{ include: config.include, exclude: config.exclude }
|
|
@@ -1023,19 +1000,17 @@ declare module 'vue-router' {
|
|
|
1023
1000
|
if (config.debug || nuxt.options.dev) {
|
|
1024
1001
|
addServerHandler({
|
|
1025
1002
|
route: "/__sitemap__/debug.json",
|
|
1026
|
-
handler: resolve("./runtime/
|
|
1003
|
+
handler: resolve("./runtime/server/routes/__sitemap__/debug")
|
|
1027
1004
|
});
|
|
1028
1005
|
setupDevToolsUI(config, resolve);
|
|
1029
1006
|
}
|
|
1030
|
-
if (!config.inferStaticPagesAsRoutes)
|
|
1031
|
-
config.excludeAppSources = true;
|
|
1032
1007
|
const imports = [
|
|
1033
1008
|
{
|
|
1034
|
-
from: resolve("./runtime/
|
|
1009
|
+
from: resolve("./runtime/server/composables/defineSitemapEventHandler"),
|
|
1035
1010
|
name: "defineSitemapEventHandler"
|
|
1036
1011
|
},
|
|
1037
1012
|
{
|
|
1038
|
-
from: resolve("./runtime/
|
|
1013
|
+
from: resolve("./runtime/server/composables/asSitemapUrl"),
|
|
1039
1014
|
name: "asSitemapUrl"
|
|
1040
1015
|
}
|
|
1041
1016
|
];
|
|
@@ -1150,18 +1125,6 @@ declare module 'vue-router' {
|
|
|
1150
1125
|
urls: await resolveUrls(definition.urls, { path: `sitemaps:${sitemapName}:urls`, logger })
|
|
1151
1126
|
});
|
|
1152
1127
|
}
|
|
1153
|
-
if (definition.dynamicUrlsApiEndpoint) {
|
|
1154
|
-
sitemapSources[sitemapName].push({
|
|
1155
|
-
context: {
|
|
1156
|
-
name: `${sitemapName}:dynamicUrlsApiEndpoint`,
|
|
1157
|
-
description: `Generated from your ${sitemapName}:dynamicUrlsApiEndpoint config.`,
|
|
1158
|
-
tips: [
|
|
1159
|
-
`You should switch to using the \`sitemaps.${sitemapName}.sources\` config which also supports fetch options.`
|
|
1160
|
-
]
|
|
1161
|
-
},
|
|
1162
|
-
fetch: definition.dynamicUrlsApiEndpoint
|
|
1163
|
-
});
|
|
1164
|
-
}
|
|
1165
1128
|
sitemapSources[sitemapName].push(
|
|
1166
1129
|
...(definition.sources || []).map((s) => {
|
|
1167
1130
|
if (typeof s === "string" || Array.isArray(s)) {
|
|
@@ -1182,7 +1145,7 @@ declare module 'vue-router' {
|
|
|
1182
1145
|
if (config.xsl === "/__sitemap__/style.xsl") {
|
|
1183
1146
|
addServerHandler({
|
|
1184
1147
|
route: config.xsl,
|
|
1185
|
-
handler: resolve("./runtime/
|
|
1148
|
+
handler: resolve("./runtime/server/routes/sitemap.xsl")
|
|
1186
1149
|
});
|
|
1187
1150
|
config.xsl = withBase(config.xsl, nuxt.options.app.baseURL);
|
|
1188
1151
|
if (prerenderSitemap)
|
|
@@ -1190,7 +1153,7 @@ declare module 'vue-router' {
|
|
|
1190
1153
|
}
|
|
1191
1154
|
addServerHandler({
|
|
1192
1155
|
route: `/${config.sitemapName}`,
|
|
1193
|
-
handler: resolve("./runtime/
|
|
1156
|
+
handler: resolve("./runtime/server/routes/sitemap.xml")
|
|
1194
1157
|
});
|
|
1195
1158
|
setupPrerenderHandler({ runtimeConfig, logger });
|
|
1196
1159
|
}
|
|
@@ -5,7 +5,7 @@ export default defineNitroPlugin((nitroApp) => {
|
|
|
5
5
|
const { discoverImages, discoverVideos, isNuxtContentDocumentDriven } = useSimpleSitemapRuntimeConfig();
|
|
6
6
|
nitroApp.hooks.hook("content:file:afterParse", async (content) => {
|
|
7
7
|
const validExtensions = ["md", "mdx"];
|
|
8
|
-
if (content.sitemap === false || content._draft || !validExtensions.includes(content._extension) || content._partial || content.
|
|
8
|
+
if (content.sitemap === false || content._draft || !validExtensions.includes(content._extension) || content._partial || content.robots === false)
|
|
9
9
|
return;
|
|
10
10
|
let images = [];
|
|
11
11
|
if (discoverImages) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { resolveSitePath } from "site-config
|
|
1
|
+
import { resolveSitePath } from "nuxt-site-config/urls";
|
|
2
2
|
import { joinURL, withHttps } from "ufo";
|
|
3
3
|
import { preNormalizeEntry } from "../urlset/normalise.js";
|
|
4
4
|
import { childSitemapSources, globalSitemapSources, resolveSitemapSources } from "../urlset/sources.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { getQuery, setHeader, createError } from "h3";
|
|
2
|
-
import { fixSlashes } from "site-config
|
|
2
|
+
import { fixSlashes } from "nuxt-site-config/urls";
|
|
3
3
|
import { defu } from "defu";
|
|
4
4
|
import { logger, mergeOnKey, splitForLocales } from "../../utils-pure.js";
|
|
5
5
|
import { createNitroRouteRuleMatcher } from "../kit.js";
|
|
@@ -55,7 +55,7 @@ export async function createSitemap(event, definition, runtimeConfig) {
|
|
|
55
55
|
}
|
|
56
56
|
if (routeRules.sitemap === false)
|
|
57
57
|
return false;
|
|
58
|
-
if (typeof routeRules.
|
|
58
|
+
if (typeof routeRules.robots !== "undefined" && !routeRules.robots) {
|
|
59
59
|
return false;
|
|
60
60
|
}
|
|
61
61
|
const hasRobotsDisabled = Object.entries(routeRules.headers || {}).some(([name, value]) => name.toLowerCase() === "x-robots-tag" && value.toLowerCase().includes("noindex"));
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { NitroUrlResolvers, ResolvedSitemapUrl, SitemapUrl } from '../../../types.js';
|
|
2
2
|
export declare function preNormalizeEntry(_e: SitemapUrl | string, resolvers?: NitroUrlResolvers): ResolvedSitemapUrl;
|
|
3
|
+
export declare function isEncoded(url: string): boolean;
|
|
3
4
|
export declare function normaliseEntry(_e: ResolvedSitemapUrl, defaults: Omit<SitemapUrl, 'loc'>, resolvers?: NitroUrlResolvers): ResolvedSitemapUrl;
|
|
4
5
|
export declare function isValidW3CDate(d: string): boolean;
|
|
5
6
|
export declare function normaliseDate(date: string | Date): string;
|
|
@@ -46,7 +46,7 @@ export function preNormalizeEntry(_e, resolvers) {
|
|
|
46
46
|
} else {
|
|
47
47
|
e.loc = e._relativeLoc;
|
|
48
48
|
}
|
|
49
|
-
} else {
|
|
49
|
+
} else if (!isEncoded(e.loc)) {
|
|
50
50
|
e.loc = encodeURI(e.loc);
|
|
51
51
|
}
|
|
52
52
|
if (e.loc === "")
|
|
@@ -55,6 +55,13 @@ export function preNormalizeEntry(_e, resolvers) {
|
|
|
55
55
|
e._key = `${e._sitemap || ""}${withoutTrailingSlash(e.loc)}`;
|
|
56
56
|
return e;
|
|
57
57
|
}
|
|
58
|
+
export function isEncoded(url) {
|
|
59
|
+
try {
|
|
60
|
+
return url !== decodeURIComponent(url);
|
|
61
|
+
} catch {
|
|
62
|
+
return false;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
58
65
|
export function normaliseEntry(_e, defaults, resolvers) {
|
|
59
66
|
const e = defu(_e, defaults);
|
|
60
67
|
if (e.lastmod) {
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
{
|
|
2
|
-
"extends": "../../../.nuxt/tsconfig.server.json"
|
|
3
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"extends": "../../../.nuxt/tsconfig.server.json"
|
|
3
|
+
}
|
package/dist/runtime/types.d.ts
CHANGED
|
@@ -30,13 +30,6 @@ export interface ModuleOptions extends SitemapDefinition {
|
|
|
30
30
|
* @default false
|
|
31
31
|
*/
|
|
32
32
|
autoLastmod: boolean;
|
|
33
|
-
/**
|
|
34
|
-
* Should pages be automatically added to the sitemap.
|
|
35
|
-
*
|
|
36
|
-
* @default true
|
|
37
|
-
* @deprecated If set to false, use `excludeAppSources: ['pages', 'route-rules', 'prerender']` instead. Otherwise, remove this.
|
|
38
|
-
*/
|
|
39
|
-
inferStaticPagesAsRoutes: boolean;
|
|
40
33
|
/**
|
|
41
34
|
* Sources to exclude from the sitemap.
|
|
42
35
|
*/
|
|
@@ -134,14 +127,6 @@ export interface ModuleOptions extends SitemapDefinition {
|
|
|
134
127
|
* @default true
|
|
135
128
|
*/
|
|
136
129
|
credits: boolean;
|
|
137
|
-
/**
|
|
138
|
-
* How long, in milliseconds, should the sitemap be cached for.
|
|
139
|
-
*
|
|
140
|
-
* @default 1 hour
|
|
141
|
-
*
|
|
142
|
-
* @deprecated use cacheMaxAgeSeconds
|
|
143
|
-
*/
|
|
144
|
-
cacheTtl?: number | false;
|
|
145
130
|
/**
|
|
146
131
|
* How long, in seconds, should the sitemap be cached for.
|
|
147
132
|
*
|
|
@@ -306,12 +291,6 @@ export interface SitemapDefinition {
|
|
|
306
291
|
* Additional sources of URLs to include in the sitemap.
|
|
307
292
|
*/
|
|
308
293
|
sources?: SitemapSourceInput[];
|
|
309
|
-
/**
|
|
310
|
-
* The endpoint to fetch dynamic URLs from.
|
|
311
|
-
*
|
|
312
|
-
* @deprecated use `sources`
|
|
313
|
-
*/
|
|
314
|
-
dynamicUrlsApiEndpoint?: string | false;
|
|
315
294
|
/**
|
|
316
295
|
* @internal
|
|
317
296
|
*/
|
|
@@ -340,10 +319,6 @@ export interface SitemapUrl {
|
|
|
340
319
|
videos?: Array<VideoEntry>;
|
|
341
320
|
_i18nTransform?: boolean;
|
|
342
321
|
_sitemap?: string;
|
|
343
|
-
/**
|
|
344
|
-
* @deprecated use `loc`
|
|
345
|
-
*/
|
|
346
|
-
url?: string;
|
|
347
322
|
}
|
|
348
323
|
export interface AlternativeEntry {
|
|
349
324
|
hreflang: string;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nuxtjs/sitemap",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "7.0.1",
|
|
5
5
|
"description": "Powerfully flexible XML Sitemaps that integrate seamlessly, for Nuxt.",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Harlan Wilton",
|
|
@@ -35,42 +35,41 @@
|
|
|
35
35
|
"virtual.d.ts"
|
|
36
36
|
],
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@nuxt/devtools-kit": "^1.6.
|
|
39
|
-
"@nuxt/kit": "^3.14.
|
|
40
|
-
"chalk": "^5.
|
|
38
|
+
"@nuxt/devtools-kit": "^1.6.4",
|
|
39
|
+
"@nuxt/kit": "^3.14.1592",
|
|
40
|
+
"chalk": "^5.4.1",
|
|
41
41
|
"defu": "^6.1.4",
|
|
42
42
|
"h3-compression": "^0.3.2",
|
|
43
|
-
"nuxt-site-config": "^
|
|
44
|
-
"nuxt-site-config-kit": "^2.2.21",
|
|
43
|
+
"nuxt-site-config": "^3.0.6",
|
|
45
44
|
"ofetch": "^1.4.1",
|
|
46
45
|
"pathe": "^1.1.2",
|
|
47
46
|
"pkg-types": "^1.2.1",
|
|
48
47
|
"radix3": "^1.1.2",
|
|
49
48
|
"semver": "^7.6.3",
|
|
50
49
|
"sirv": "^3.0.0",
|
|
51
|
-
"site-config-stack": "^2.2.21",
|
|
52
50
|
"ufo": "^1.5.4"
|
|
53
51
|
},
|
|
54
52
|
"devDependencies": {
|
|
55
53
|
"@nuxt/content": "^2.13.4",
|
|
56
|
-
"@nuxt/eslint-config": "^0.
|
|
54
|
+
"@nuxt/eslint-config": "^0.7.4",
|
|
57
55
|
"@nuxt/module-builder": "0.8.4",
|
|
58
|
-
"@nuxt/test-utils": "^3.
|
|
59
|
-
"@nuxt/ui": "^2.
|
|
60
|
-
"@nuxtjs/i18n": "9.
|
|
61
|
-
"@nuxtjs/robots": "
|
|
62
|
-
"bumpp": "^9.
|
|
63
|
-
"eslint": "9.
|
|
64
|
-
"eslint-plugin-n": "^17.
|
|
65
|
-
"execa": "^9.5.
|
|
66
|
-
"nuxt": "^3.14.
|
|
67
|
-
"nuxt-i18n-micro": "^1.
|
|
56
|
+
"@nuxt/test-utils": "^3.15.1",
|
|
57
|
+
"@nuxt/ui": "^2.20.0",
|
|
58
|
+
"@nuxtjs/i18n": "9.1.1",
|
|
59
|
+
"@nuxtjs/robots": "5.1.0",
|
|
60
|
+
"bumpp": "^9.9.2",
|
|
61
|
+
"eslint": "9.17.0",
|
|
62
|
+
"eslint-plugin-n": "^17.15.1",
|
|
63
|
+
"execa": "^9.5.2",
|
|
64
|
+
"nuxt": "^3.14.1592",
|
|
65
|
+
"nuxt-i18n-micro": "^1.51.0",
|
|
68
66
|
"typescript": "5.6.3",
|
|
69
|
-
"vitest": "^2.1.
|
|
67
|
+
"vitest": "^2.1.8"
|
|
70
68
|
},
|
|
71
69
|
"resolutions": {
|
|
72
70
|
"postcss": "8.4.47",
|
|
73
|
-
"
|
|
71
|
+
"typescript": "5.6.3",
|
|
72
|
+
"vue": "3.5.13"
|
|
74
73
|
},
|
|
75
74
|
"build": {
|
|
76
75
|
"externals": [
|
package/virtual.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
declare module '#sitemap-virtual/global-sources.mjs' {
|
|
2
|
-
import type { SitemapSourceBase, SitemapSourceResolved } from '#sitemap/types'
|
|
3
|
-
|
|
4
|
-
export const sources: (SitemapSourceBase | SitemapSourceResolved)[]
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
declare module '#sitemap-virtual/child-sources.mjs' {
|
|
8
|
-
import type { SitemapSourceBase, SitemapSourceResolved } from '#sitemap/types'
|
|
9
|
-
|
|
10
|
-
export const sources: Record<string, (SitemapSourceBase | SitemapSourceResolved)[]>
|
|
11
|
-
}
|
|
1
|
+
declare module '#sitemap-virtual/global-sources.mjs' {
|
|
2
|
+
import type { SitemapSourceBase, SitemapSourceResolved } from '#sitemap/types'
|
|
3
|
+
|
|
4
|
+
export const sources: (SitemapSourceBase | SitemapSourceResolved)[]
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
declare module '#sitemap-virtual/child-sources.mjs' {
|
|
8
|
+
import type { SitemapSourceBase, SitemapSourceResolved } from '#sitemap/types'
|
|
9
|
+
|
|
10
|
+
export const sources: Record<string, (SitemapSourceBase | SitemapSourceResolved)[]>
|
|
11
|
+
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e=Object.freeze(JSON.parse('{"colors":{"activityBar.background":"#580000","badge.background":"#cc3333","button.background":"#833","debugToolBar.background":"#660000","dropdown.background":"#580000","editor.background":"#390000","editor.foreground":"#F8F8F8","editor.hoverHighlightBackground":"#ff000044","editor.lineHighlightBackground":"#ff000033","editor.selectionBackground":"#750000","editor.selectionHighlightBackground":"#f5500039","editorCursor.foreground":"#970000","editorGroup.border":"#ff666633","editorGroupHeader.tabsBackground":"#330000","editorHoverWidget.background":"#300000","editorLineNumber.activeForeground":"#ffbbbb88","editorLineNumber.foreground":"#ff777788","editorLink.activeForeground":"#FFD0AA","editorSuggestWidget.background":"#300000","editorSuggestWidget.border":"#220000","editorWhitespace.foreground":"#c10000","editorWidget.background":"#300000","errorForeground":"#ffeaea","extensionButton.prominentBackground":"#cc3333","extensionButton.prominentHoverBackground":"#cc333388","focusBorder":"#ff6666aa","input.background":"#580000","inputOption.activeBorder":"#cc0000","inputValidation.infoBackground":"#550000","inputValidation.infoBorder":"#DB7E58","list.activeSelectionBackground":"#880000","list.dropBackground":"#662222","list.highlightForeground":"#ff4444","list.hoverBackground":"#800000","list.inactiveSelectionBackground":"#770000","minimap.selectionHighlight":"#750000","peekView.border":"#ff000044","peekViewEditor.background":"#300000","peekViewResult.background":"#400000","peekViewTitle.background":"#550000","pickerGroup.border":"#ff000033","pickerGroup.foreground":"#cc9999","ports.iconRunningProcessForeground":"#DB7E58","progressBar.background":"#cc3333","quickInputList.focusBackground":"#660000","selection.background":"#ff777788","sideBar.background":"#330000","statusBar.background":"#700000","statusBar.noFolderBackground":"#700000","statusBarItem.remoteBackground":"#c33","tab.activeBackground":"#490000","tab.inactiveBackground":"#300a0a","tab.lastPinnedBorder":"#ff000044","titleBar.activeBackground":"#770000","titleBar.inactiveBackground":"#772222"},"displayName":"Red","name":"red","semanticHighlighting":true,"tokenColors":[{"settings":{"foreground":"#F8F8F8"}},{"scope":["meta.embedded","source.groovy.embedded","string meta.image.inline.markdown","variable.legacy.builtin.python"],"settings":{"foreground":"#F8F8F8"}},{"scope":"comment","settings":{"fontStyle":"italic","foreground":"#e7c0c0ff"}},{"scope":"constant","settings":{"fontStyle":"","foreground":"#994646ff"}},{"scope":"keyword","settings":{"fontStyle":"","foreground":"#f12727ff"}},{"scope":"entity","settings":{"fontStyle":"","foreground":"#fec758ff"}},{"scope":"storage","settings":{"fontStyle":"bold","foreground":"#ff6262ff"}},{"scope":"string","settings":{"fontStyle":"","foreground":"#cd8d8dff"}},{"scope":"support","settings":{"fontStyle":"","foreground":"#9df39fff"}},{"scope":"variable","settings":{"fontStyle":"italic","foreground":"#fb9a4bff"}},{"scope":"invalid","settings":{"foreground":"#ffffffff"}},{"scope":"entity.other.inherited-class","settings":{"fontStyle":"underline","foreground":"#aa5507ff"}},{"scope":"constant.character","settings":{"foreground":"#ec0d1e"}},{"scope":["string constant","constant.character.escape"],"settings":{"fontStyle":"","foreground":"#ffe862ff"}},{"scope":"string.regexp","settings":{"foreground":"#ffb454ff"}},{"scope":"string variable","settings":{"foreground":"#edef7dff"}},{"scope":"support.function","settings":{"fontStyle":"","foreground":"#ffb454ff"}},{"scope":["support.constant","support.variable"],"settings":{"fontStyle":"","foreground":"#eb939aff"}},{"scope":["declaration.sgml.html declaration.doctype","declaration.sgml.html declaration.doctype entity","declaration.sgml.html declaration.doctype string","declaration.xml-processing","declaration.xml-processing entity","declaration.xml-processing string"],"settings":{"fontStyle":"","foreground":"#73817dff"}},{"scope":["declaration.tag","declaration.tag entity","meta.tag","meta.tag entity"],"settings":{"fontStyle":"","foreground":"#ec0d1eff"}},{"scope":"meta.selector.css entity.name.tag","settings":{"fontStyle":"","foreground":"#aa5507ff"}},{"scope":"meta.selector.css entity.other.attribute-name.id","settings":{"foreground":"#fec758ff"}},{"scope":"meta.selector.css entity.other.attribute-name.class","settings":{"fontStyle":"","foreground":"#41a83eff"}},{"scope":"support.type.property-name.css","settings":{"fontStyle":"","foreground":"#96dd3bff"}},{"scope":["meta.property-group support.constant.property-value.css","meta.property-value support.constant.property-value.css"],"settings":{"fontStyle":"italic","foreground":"#ffe862ff"}},{"scope":["meta.property-value support.constant.named-color.css","meta.property-value constant"],"settings":{"fontStyle":"","foreground":"#ffe862ff"}},{"scope":"meta.preprocessor.at-rule keyword.control.at-rule","settings":{"foreground":"#fd6209ff"}},{"scope":"meta.constructor.argument.css","settings":{"fontStyle":"","foreground":"#ec9799ff"}},{"scope":["meta.diff","meta.diff.header"],"settings":{"fontStyle":"italic","foreground":"#f8f8f8ff"}},{"scope":"markup.deleted","settings":{"foreground":"#ec9799ff"}},{"scope":"markup.changed","settings":{"foreground":"#f8f8f8ff"}},{"scope":"markup.inserted","settings":{"foreground":"#41a83eff"}},{"scope":"markup.quote","settings":{"foreground":"#f12727ff"}},{"scope":"markup.list","settings":{"foreground":"#ff6262ff"}},{"scope":["markup.bold","markup.italic"],"settings":{"foreground":"#fb9a4bff"}},{"scope":"markup.bold","settings":{"fontStyle":"bold"}},{"scope":"markup.italic","settings":{"fontStyle":"italic"}},{"scope":"markup.strikethrough","settings":{"fontStyle":"strikethrough"}},{"scope":"markup.inline.raw","settings":{"fontStyle":"","foreground":"#cd8d8dff"}},{"scope":["markup.heading","markup.heading.setext","punctuation.definition.heading","entity.name.section"],"settings":{"fontStyle":"bold","foreground":"#fec758ff"}},{"scope":["punctuation.definition.template-expression.begin","punctuation.definition.template-expression.end","punctuation.section.embedded",".format.placeholder"],"settings":{"foreground":"#ec0d1e"}}],"type":"dark"}'));export{e as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e=Object.freeze(JSON.parse('{"displayName":"ABAP","fileTypes":["abap","ABAP"],"foldingStartMarker":"/\\\\*\\\\*|\\\\{\\\\s*$","foldingStopMarker":"\\\\*\\\\*/|^\\\\s*\\\\}","name":"abap","patterns":[{"captures":{"1":{"name":"punctuation.definition.comment.abap"}},"match":"^\\\\*.*\\\\n?","name":"comment.line.full.abap"},{"captures":{"1":{"name":"punctuation.definition.comment.abap"}},"match":"\\".*\\\\n?","name":"comment.line.partial.abap"},{"match":"(?<![^\\\\s])##.*?(?=([\\\\.:,\\\\s]))","name":"comment.line.pragma.abap"},{"match":"(?i)(?<=(?:\\\\s|~|-))(?<=(?:->|=>))([a-z_\\\\/][a-z_0-9\\\\/]*)(?=\\\\s+(?:=|\\\\+=|-=|\\\\*=|\\\\/=|&&=|&=)\\\\s+)","name":"variable.other.abap"},{"match":"\\\\b\\\\d+(\\\\b|\\\\.|,)","name":"constant.numeric.abap"},{"match":"(?i)(^|\\\\s+)((PUBLIC|PRIVATE|PROTECTED)\\\\sSECTION)(?=\\\\s+|:|\\\\.)","name":"storage.modifier.class.abap"},{"begin":"(?<!\\\\\\\\)(\\\\|)(.*?)","beginCaptures":{"1":{"name":"constant.character.escape.abap"}},"end":"(?<!\\\\\\\\)(\\\\||(\\\\\\\\\\\\\\\\\\\\|))","endCaptures":{"1":{"name":"constant.character.escape.abap"}},"name":"string.interpolated.abap","patterns":[{"match":"({ )|( })","name":"constant.character.escape"},{"match":"(?<={ ).*?(?= })","name":"variable.other.abap"},{"match":"\\\\\\\\\\\\|","name":"constant.character.escape.abap"}]},{"begin":"\'","end":"\'","name":"string.quoted.single.abap","patterns":[{"match":"\'\'","name":"constant.character.escape.abap"}]},{"begin":"`","end":"`","name":"string.quoted.single.abap","patterns":[{"match":"``","name":"constant.character.escape.abap"}]},{"begin":"(?i)^\\\\s*(class)\\\\s([a-z_\\\\/][a-z_0-9\\\\/]*)","beginCaptures":{"1":{"name":"storage.type.block.abap"},"2":{"name":"entity.name.type.block.abap"}},"end":"\\\\s*\\\\.\\\\s*\\\\n?","name":"meta.block.begin.implementation.abap","patterns":[{"match":"(?i)(^|\\\\s+)(definition|implementation|public|inheriting\\\\s+from|final|deferred|abstract|shared\\\\s+memory\\\\s+enabled|(global|local)*\\\\s*friends|(create\\\\s+(public|protected|private))|for\\\\s+behavior\\\\s+of|for\\\\s+testing|risk\\\\s+level\\\\s+(critical|dangerous|harmless))|duration\\\\s(short|medium|long)(?=\\\\s+|\\\\.)","name":"storage.modifier.class.abap"},{"begin":"(?=[A-Za-z_][A-Za-z0-9_]*)","contentName":"entity.name.type.block.abap","end":"(?![A-Za-z0-9_])","patterns":[{"include":"#generic_names"}]}]},{"begin":"(?i)^\\\\s*(method)\\\\s(?:([a-z_\\\\/][a-z_0-9\\\\/]*)~)?([a-z_\\\\/][a-z_0-9\\\\/]*)","beginCaptures":{"1":{"name":"storage.type.block.abap"},"2":{"name":"entity.name.type.abap"},"3":{"name":"entity.name.function.abap"}},"end":"\\\\s*\\\\.\\\\s*\\\\n?","patterns":[{"match":"(?i)(?<=^|\\\\s)(BY\\\\s+DATABASE(\\\\s+PROCEDURE|\\\\s+FUNCTION|\\\\s+GRAPH\\\\s+WORKSPACE)|BY\\\\s+KERNEL\\\\s+MODULE)(?=\\\\s+|\\\\.)","name":"storage.modifier.method.abap"},{"match":"(?i)(?<=^|\\\\s)(FOR\\\\s+(HDB|LLANG))(?=\\\\s+|\\\\.)","name":"storage.modifier.method.abap"},{"match":"(?i)(?<=\\\\s)(OPTIONS\\\\s+(READ-ONLY|DETERMINISTIC|SUPPRESS\\\\s+SYNTAX\\\\s+ERRORS))(?=\\\\s+|\\\\.)","name":"storage.modifier.method.abap"},{"match":"(?i)(?<=^|\\\\s)(LANGUAGE\\\\s+(SQLSCRIPT|SQL|GRAPH))(?=\\\\s+|\\\\.)","name":"storage.modifier.method.abap"},{"captures":{"1":{"name":"storage.modifier.method.abap"}},"match":"(?i)(?<=\\\\s)(USING)\\\\s+([a-z_\\\\/][a-z_0-9\\\\/=>]*)+(?=\\\\s+|\\\\.)"},{"begin":"(?=[A-Za-z_][A-Za-z0-9_]*)","end":"(?![A-Za-z0-9_])","patterns":[{"include":"#generic_names"}]}]},{"begin":"(?i)^\\\\s*(INTERFACE)\\\\s([a-z_\\\\/][a-z_0-9\\\\/]*)","beginCaptures":{"1":{"name":"storage.type.block.abap"},"2":{"name":"entity.name.type.abap"}},"end":"\\\\s*\\\\.\\\\s*\\\\n?","patterns":[{"match":"(?i)(?<=^|\\\\s)(DEFERRED|PUBLIC)(?=\\\\s+|\\\\.)","name":"storage.modifier.method.abap"}]},{"begin":"(?i)^\\\\s*(FORM)\\\\s([a-z_\\\\/][a-z_0-9\\\\/\\\\-?]*)","beginCaptures":{"1":{"name":"storage.type.block.abap"},"2":{"name":"entity.name.type.abap"}},"end":"\\\\s*\\\\.\\\\s*\\\\n?","patterns":[{"match":"(?i)(?<=^|\\\\s)(USING|TABLES|CHANGING|RAISING|IMPLEMENTATION|DEFINITION)(?=\\\\s+|\\\\.)","name":"storage.modifier.form.abap"},{"include":"#abaptypes"},{"include":"#keywords_followed_by_braces"}]},{"match":"(?i)(endclass|endmethod|endform|endinterface)","name":"storage.type.block.end.abap"},{"match":"(?i)(<[A-Za-z_][A-Za-z0-9_]*>)","name":"variable.other.field.symbol.abap"},{"include":"#keywords"},{"include":"#abap_constants"},{"include":"#reserved_names"},{"include":"#operators"},{"include":"#builtin_functions"},{"include":"#abaptypes"},{"include":"#system_fields"},{"include":"#sql_functions"},{"include":"#sql_types"}],"repository":{"abap_constants":{"match":"(?i)(?<=\\\\s)(initial|null|space|abap_true|abap_false|abap_undefined|table_line|%_final|%_hints|%_predefined|col_background|col_group|col_heading|col_key|col_negative|col_normal|col_positive|col_total|adabas|as400|db2|db6|hdb|oracle|sybase|mssqlnt|pos_low|pos_high)(?=\\\\s|\\\\.|,)","name":"constant.language.abap"},"abaptypes":{"patterns":[{"match":"(?i)\\\\s(abap_bool|string|xstring|any|clike|csequence|numeric|xsequence|decfloat|decfloat16|decfloat34|utclong|simple|int8|c|n|i|p|f|d|t|x)(?=\\\\s|\\\\.|,)","name":"support.type.abap"},{"match":"(?i)\\\\s(TYPE|REF|TO|LIKE|LINE|OF|STRUCTURE|STANDARD|SORTED|HASHED|INDEX|TABLE|WITH|UNIQUE|NON-UNIQUE|SECONDARY|DEFAULT|KEY)(?=\\\\s|\\\\.|,)","name":"keyword.control.simple.abap"}]},"arithmetic_operator":{"match":"(?i)(?<=\\\\s)(\\\\+|-|\\\\*|\\\\*\\\\*|\\\\/|%|DIV|MOD|BIT-AND|BIT-OR|BIT-XOR|BIT-NOT)(?=\\\\s)","name":"keyword.control.simple.abap"},"builtin_functions":{"match":"(?i)(?<=\\\\s)(abs|sign|ceil|floor|trunc|frac|acos|asin|atan|cos|sin|tan|cosh|sinh|tanh|exp|log|log10|sqrt|strlen|xstrlen|charlen|lines|numofchar|dbmaxlen|round|rescale|nmax|nmin|cmax|cmin|boolc|boolx|xsdbool|contains|contains_any_of|contains_any_not_of|matches|line_exists|ipow|char_off|count|count_any_of|count_any_not_of|distance|condense|concat_lines_of|escape|find|find_end|find_any_of|find_any_not_of|insert|match|repeat|replace|reverse|segment|shift_left|shift_right|substring|substring_after|substring_from|substring_before|substring_to|to_upper|to_lower|to_mixed|from_mixed|translate|bit-set|line_index)(?=\\\\()","name":"entity.name.function.builtin.abap"},"comparison_operator":{"match":"(?i)(?<=\\\\s)(<|>|<=|>=|=|<>|eq|ne|lt|le|gt|ge|cs|cp|co|cn|ca|na|ns|np|byte-co|byte-cn|byte-ca|byte-na|byte-cs|byte-ns|o|z|m)(?=\\\\s)","name":"keyword.control.simple.abap"},"control_keywords":{"match":"(?i)(^|\\\\s)(at|case|catch|continue|do|elseif|else|endat|endcase|endcatch|enddo|endif|endloop|endon|endtry|endwhile|if|loop|on|raise|try|while)(?=\\\\s|\\\\.|:)","name":"keyword.control.flow.abap"},"generic_names":{"match":"[A-Za-z_][A-Za-z0-9_]*"},"keywords":{"patterns":[{"include":"#main_keywords"},{"include":"#text_symbols"},{"include":"#control_keywords"},{"include":"#keywords_followed_by_braces"}]},"keywords_followed_by_braces":{"captures":{"1":{"name":"keyword.control.simple.abap"},"2":{"name":"variable.other.abap"}},"match":"(?i)\\\\b(data|value|field-symbol|final|reference|resumable)\\\\((<?[a-z_\\\\/][a-z_0-9\\\\/]*>?)\\\\)"},"logical_operator":{"match":"(?i)(?<=\\\\s)(not|or|and)(?=\\\\s)","name":"keyword.control.simple.abap"},"main_keywords":{"match":"(?i)(?<=^|\\\\s)(abap-source|abstract|accept|accepting|access|according|action|activation|actual|add|add-corresponding|adjacent|alias|aliases|align|all|allocate|alpha|amdp|analysis|analyzer|append|appending|application|archive|area|arithmetic|as|ascending|assert|assign|assigned|assigning|association|asynchronous|at|attributes|authority|authority-check|authorization|auto|back|background|backward|badi|base|before|begin|behavior|between|binary|bit|blank|blanks|block|blocks|bound|boundaries|bounds|boxed|break|break-point|buffer|by|bypassing|byte|byte-order|call|calling|cast|casting|cds|center|centered|change|changing|channels|char-to-hex|character|check|checkbox|cid|circular|class|class-data|class-events|class-method|class-methods|class-pool|cleanup|clear|client|clients|clock|clone|close|cnt|code|collect|color|column|comment|comments|commit|common|communication|comparing|component|components|compression|compute|concatenate|cond|condense|condition|connection|constant|constants|context|contexts|control|controls|conv|conversion|convert|copy|corresponding|count|country|cover|create|currency|current|cursor|customer-function|data|database|datainfo|dataset|date|daylight|ddl|deallocate|decimals|declarations|deep|default|deferred|define|delete|deleting|demand|descending|describe|destination|detail|determine|dialog|did|directory|discarding|display|display-mode|distance|distinct|divide|divide-corresponding|dummy|duplicate|duplicates|duration|during|dynpro|edit|editor-call|empty|enabled|enabling|encoding|end|end-enhancement-section|end-of-definition|end-of-page|end-of-selection|end-test-injection|end-test-seam|endenhancement|endexec|endfunction|endian|ending|endmodule|endprovide|endselect|endwith|engineering|enhancement|enhancement-point|enhancement-section|enhancements|entities|entity|entries|entry|enum|environment|equiv|errors|escape|escaping|event|events|exact|except|exception|exception-table|exceptions|excluding|exec|execute|exists|exit|exit-command|expanding|explicit|exponent|export|exporting|extended|extension|extract|fail|failed|features|fetch|field|field-groups|field-symbols|fields|file|fill|filter|filters|final|find|first|first-line|fixed-point|flush|following|for|format|forward|found|frame|frames|free|from|full|function|function-pool|generate|get|giving|graph|group|groups|handle|handler|hashed|having|header|headers|heading|help-id|help-request|hide|hint|hold|hotspot|icon|id|identification|identifier|ignore|ignoring|immediately|implemented|implicit|import|importing|in|inactive|incl|include|includes|increment|index|index-line|indicators|infotypes|inheriting|init|initial|initialization|inner|input|insert|instance|instances|intensified|interface|interface-pool|interfaces|internal|intervals|into|inverse|inverted-date|is|iso|job|join|keep|keeping|kernel|key|keys|keywords|kind|language|last|late|layout|leading|leave|left|left-justified|leftplus|leftspace|legacy|length|let|level|levels|like|line|line-count|line-selection|line-size|linefeed|lines|link|list|list-processing|listbox|load|load-of-program|local|locale|lock|locks|log-point|logical|lower|mapped|mapping|margin|mark|mask|match|matchcode|maximum|members|memory|mesh|message|message-id|messages|messaging|method|methods|mode|modif|modifier|modify|module|move|move-corresponding|multiply|multiply-corresponding|name|nametab|native|nested|nesting|new|new-line|new-page|new-section|next|no|no-display|no-extension|no-gap|no-gaps|no-grouping|no-heading|no-scrolling|no-sign|no-title|no-zero|nodes|non-unicode|non-unique|number|object|objects|objmgr|obligatory|occurence|occurences|occurrence|occurrences|occurs|of|offset|on|only|open|optional|option|options|order|others|out|outer|output|output-length|overflow|overlay|pack|package|pad|padding|page|parameter|parameter-table|parameters|part|partially|pcre|perform|performing|permissions|pf-status|places|pool|position|pragmas|preceeding|precompiled|preferred|preserving|primary|print|print-control|private|privileged|procedure|program|property|protected|provide|push|pushbutton|put|query|queue-only|queueonly|quickinfo|radiobutton|raising|range|ranges|read|read-only|receive|received|receiving|redefinition|reduce|ref|reference|refresh|regex|reject|renaming|replace|replacement|replacing|report|reported|request|requested|required|reserve|reset|resolution|respecting|response|restore|result|results|resumable|resume|retry|return|returning|right|right-justified|rightplus|rightspace|rollback|rows|rp-provide-from-last|run|sap|sap-spool|save|saving|scale_preserving|scale_preserving_scientific|scan|scientific|scientific_with_leading_zero|screen|scroll|scroll-boundary|scrolling|search|seconds|section|select|select-options|selection|selection-screen|selection-set|selection-sets|selection-table|selections|send|separate|separated|session|set|shared|shift|shortdump|shortdump-id|sign|sign_as_postfix|simple|simulation|single|size|skip|skipping|smart|some|sort|sortable|sorted|source|specified|split|spool|spots|sql|stable|stamp|standard|start-of-selection|starting|state|statement|statements|static|statics|statusinfo|step|step-loop|stop|structure|structures|style|subkey|submatches|submit|subroutine|subscreen|substring|subtract|subtract-corresponding|suffix|sum|summary|supplied|supply|suppress|switch|symbol|syntax-check|syntax-trace|system-call|system-exceptions|tab|tabbed|table|tables|tableview|tabstrip|target|task|tasks|test|test-injection|test-seam|testing|text|textpool|then|throw|time|times|timestamp|timezone|title|titlebar|to|tokens|top-lines|top-of-page|trace-file|trace-table|trailing|transaction|transfer|transformation|translate|transporting|trmac|truncate|truncation|type|type-pool|type-pools|types|uline|unassign|unbounded|under|unicode|union|unique|unit|unix|unpack|until|unwind|up|update|upper|user|user-command|using|utf-8|uuid|valid|validate|value|value-request|values|vary|varying|version|via|visible|wait|when|where|width|window|windows|with|with-heading|with-title|without|word|work|workspace|write|xml|xsd|yes|zero|zone)(?=\\\\s|\\\\.|:|,)","name":"keyword.control.simple.abap"},"operators":{"patterns":[{"include":"#other_operator"},{"include":"#arithmetic_operator"},{"include":"#comparison_operator"},{"include":"#logical_operator"}]},"other_operator":{"match":"(?<=\\\\s)(&&|&|\\\\?=|\\\\+=|-=|\\\\/=|\\\\*=|&&=|&=)(?=\\\\s)","name":"keyword.control.simple.abap"},"reserved_names":{"match":"(?i)(?<=\\\\s)(me|super)(?=\\\\s|\\\\.|,|->)","name":"constant.language.abap"},"sql_functions":{"match":"(?i)(?<=\\\\s)(abap_system_timezone|abap_user_timezone|abs|add_days|add_months|allow_precision_loss|as_geo_json|avg|bintohex|cast|ceil|coalesce|concat_with_space|concat|corr_spearman|corr|count|currency_conversion|datn_add_days|datn_add_months|datn_days_between|dats_add_days|dats_add_months|dats_days_between|dats_from_datn|dats_is_valid|dats_tims_to_tstmp|dats_to_datn|dayname|days_between|dense_rank|division|div|extract_day|extract_hour|extract_minute|extract_month|extract_second|extract_year|first_value|floor|grouping|hextobin|initcap|instr|is_valid|lag|last_value|lead|left|length|like_regexpr|locate_regexpr_after|locate_regexpr|locate|lower|lpad|ltrim|max|median|min|mod|monthname|ntile|occurrences_regexpr|over|product|rank|replace_regexpr|replace|rigth|round|row_number|rpad|rtrim|stddev|string_agg|substring_regexpr|substring|sum|tims_from_timn|tims_is_valid|tims_to_timn|to_blob|to_clob|tstmp_add_seconds|tstmp_current_utctimestamp|tstmp_is_valid|tstmp_seconds_between|tstmp_to_dats|tstmp_to_dst|tstmp_to_tims|tstmpl_from_utcl|tstmpl_to_utcl|unit_conversion|upper|utcl_add_seconds|utcl_current|utcl_seconds_between|uuid|var|weekday)(?=\\\\()","name":"entity.name.function.sql.abap"},"sql_types":{"match":"(?i)(?<=\\\\s)(char|clnt|cuky|curr|datn|dats|dec|decfloat16|decfloat34|fltp|int1|int2|int4|int8|lang|numc|quan|raw|sstring|timn|tims|unit|utclong)(?=\\\\s|\\\\(|\\\\))","name":"entity.name.type.sql.abap"},"system_fields":{"captures":{"1":{"name":"variable.language.abap"},"2":{"name":"variable.language.abap"}},"match":"(?i)\\\\b(sy)-(abcde|batch|binpt|calld|callr|colno|cpage|cprog|cucol|curow|datar|datlo|datum|dayst|dbcnt|dbnam|dbsysc|dyngr|dynnr|fdayw|fdpos|host|index|langu|ldbpg|lilli|linct|linno|linsz|lisel|listi|loopc|lsind|macol|mandt|marow|modno|msgid|msgli|msgno|msgty|msgv[1-4]|opsysc|pagno|pfkey|repid|saprl|scols|slset|spono|srows|staco|staro|stepl|subrc|sysid|tabix|tcode|tfill|timlo|title|tleng|tvar\\\\d|tzone|ucomm|uline|uname|uzeit|vline|wtitl|zonlo)(?=\\\\.|\\\\s)"},"text_symbols":{"captures":{"1":{"name":"keyword.control.simple.abap"},"2":{"name":"constant.numeric.abap"}},"match":"(?i)(?<=^|\\\\s)(text)-([A-Z0-9]{1,3})(?=\\\\s|\\\\.|:|,)"}},"scopeName":"source.abap"}')),a=[e];export{a as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import e from"./dwbxrGt_.js";import n from"./DhG9BCpW.js";import"./DNgb01dh.js";import"./u4bm_LMz.js";import"./CkqQx3Va.js";import"./BN40hmum.js";import"./D8nBeWSR.js";import"./BhsLqr-4.js";import"./HNM5thJl.js";import"./BKbjiiqg.js";const t=Object.freeze(JSON.parse('{"displayName":"ERB","fileTypes":["erb","rhtml","html.erb"],"injections":{"text.html.erb - (meta.embedded.block.erb | meta.embedded.line.erb | comment)":{"patterns":[{"begin":"(^\\\\s*)(?=<%+#(?![^%]*%>))","beginCaptures":{"0":{"name":"punctuation.whitespace.comment.leading.erb"}},"end":"(?!\\\\G)(\\\\s*$\\\\n)?","endCaptures":{"0":{"name":"punctuation.whitespace.comment.trailing.erb"}},"patterns":[{"include":"#comment"}]},{"begin":"(^\\\\s*)(?=<%(?![^%]*%>))","beginCaptures":{"0":{"name":"punctuation.whitespace.embedded.leading.erb"}},"end":"(?!\\\\G)(\\\\s*$\\\\n)?","endCaptures":{"0":{"name":"punctuation.whitespace.embedded.trailing.erb"}},"patterns":[{"include":"#tags"}]},{"include":"#comment"},{"include":"#tags"}]}},"name":"erb","patterns":[{"include":"text.html.basic"}],"repository":{"comment":{"patterns":[{"begin":"<%+#","beginCaptures":{"0":{"name":"punctuation.definition.comment.begin.erb"}},"end":"%>","endCaptures":{"0":{"name":"punctuation.definition.comment.end.erb"}},"name":"comment.block.erb"}]},"tags":{"patterns":[{"begin":"<%+(?!>)[-=]?(?![^%]*%>)","beginCaptures":{"0":{"name":"punctuation.section.embedded.begin.erb"}},"contentName":"source.ruby","end":"(-?%)>","endCaptures":{"0":{"name":"punctuation.section.embedded.end.erb"},"1":{"name":"source.ruby"}},"name":"meta.embedded.block.erb","patterns":[{"captures":{"1":{"name":"punctuation.definition.comment.erb"}},"match":"(#).*?(?=-?%>)","name":"comment.line.number-sign.erb"},{"include":"source.ruby"}]},{"begin":"<%+(?!>)[-=]?","beginCaptures":{"0":{"name":"punctuation.section.embedded.begin.erb"}},"contentName":"source.ruby","end":"(-?%)>","endCaptures":{"0":{"name":"punctuation.section.embedded.end.erb"},"1":{"name":"source.ruby"}},"name":"meta.embedded.line.erb","patterns":[{"captures":{"1":{"name":"punctuation.definition.comment.erb"}},"match":"(#).*?(?=-?%>)","name":"comment.line.number-sign.erb"},{"include":"source.ruby"}]}]}},"scopeName":"text.html.erb","embeddedLangs":["html","ruby"]}')),p=[...e,...n,t];export{p as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e=Object.freeze(JSON.parse('{"displayName":"Luau","fileTypes":["luau"],"name":"luau","patterns":[{"include":"#function-definition"},{"include":"#number"},{"include":"#string"},{"include":"#shebang"},{"include":"#comment"},{"include":"#local-declaration"},{"include":"#for-loop"},{"include":"#type-alias-declaration"},{"include":"#keyword"},{"include":"#language_constant"},{"include":"#standard_library"},{"include":"#identifier"},{"include":"#operator"},{"include":"#parentheses"},{"include":"#table"},{"include":"#type_cast"},{"include":"#type_annotation"},{"include":"#attribute"}],"repository":{"attribute":{"patterns":[{"captures":{"1":{"name":"keyword.operator.attribute.luau"},"2":{"name":"storage.type.attribute.luau"}},"match":"(@)([a-zA-Z_]\\\\w*)","name":"meta.attribute.luau"}]},"comment":{"patterns":[{"begin":"--\\\\[(=*)\\\\[","end":"\\\\]\\\\1\\\\]","name":"comment.block.luau","patterns":[{"begin":"(```lua)\\\\s+","beginCaptures":{"1":{"name":"comment.luau"}},"end":"(```)","endCaptures":{"1":{"name":"comment.luau"}},"name":"keyword.operator.other.luau","patterns":[{"include":"source.luau"}]},{"include":"#doc_comment_tags"}]},{"begin":"---","end":"\\\\n","name":"comment.line.double-dash.documentation.luau","patterns":[{"include":"#doc_comment_tags"}]},{"begin":"--","end":"\\\\n","name":"comment.line.double-dash.luau"}]},"doc_comment_tags":{"patterns":[{"match":"@\\\\w+","name":"storage.type.class.luadoc.luau"},{"captures":{"1":{"name":"storage.type.class.luadoc.luau"},"2":{"name":"variable.parameter.luau"}},"match":"((?<=[\\\\s*!\\\\/])[\\\\\\\\@]param)(?:\\\\s)+(\\\\b\\\\w+\\\\b)"}]},"for-loop":{"begin":"\\\\b(for)\\\\b","beginCaptures":{"1":{"name":"keyword.control.luau"}},"end":"\\\\b(in)\\\\b|(=)","endCaptures":{"1":{"name":"keyword.control.luau"},"2":{"name":"keyword.operator.assignment.luau"}},"patterns":[{"begin":"(:)","beginCaptures":{"1":{"name":"keyword.operator.type.luau"}},"end":"(?=\\\\s*in\\\\b|\\\\s*[=,]|\\\\s*$)","patterns":[{"include":"#type_literal"}]},{"match":"\\\\b([a-zA-Z_]\\\\w*)\\\\b","name":"variable.parameter.luau"}]},"function-definition":{"begin":"\\\\b(?:(local)\\\\s+)?(function)\\\\b(?![,:])","beginCaptures":{"1":{"name":"storage.modifier.local.luau"},"2":{"name":"keyword.control.luau"}},"end":"(?<=[)\\\\-{}\\\\[\\\\]\\"\'])","name":"meta.function.luau","patterns":[{"include":"#comment"},{"include":"#generics-declaration"},{"begin":"(\\\\()","beginCaptures":{"1":{"name":"punctuation.definition.parameters.begin.luau"}},"end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.definition.parameters.end.luau"}},"name":"meta.parameter.luau","patterns":[{"include":"#comment"},{"match":"\\\\.\\\\.\\\\.","name":"variable.parameter.function.varargs.luau"},{"match":"[a-zA-Z_]\\\\w*","name":"variable.parameter.function.luau"},{"match":",","name":"punctuation.separator.arguments.luau"},{"begin":":","beginCaptures":{"0":{"name":"keyword.operator.type.luau"}},"end":"(?=[),])","patterns":[{"include":"#type_literal"}]}]},{"match":"\\\\b(__add|__call|__concat|__div|__eq|__index|__le|__len|__lt|__metatable|__mod|__mode|__mul|__newindex|__pow|__sub|__tostring|__unm|__iter|__idiv)\\\\b","name":"variable.language.metamethod.luau"},{"match":"\\\\b([a-zA-Z_]\\\\w*)\\\\b","name":"entity.name.function.luau"}]},"generics-declaration":{"begin":"(<)","end":"(>)","patterns":[{"match":"[a-zA-Z_]\\\\w*","name":"entity.name.type.luau"},{"match":"=","name":"keyword.operator.assignment.luau"},{"include":"#type_literal"}]},"identifier":{"patterns":[{"match":"\\\\b([a-zA-Z_]\\\\w*)\\\\b(?=\\\\s*(?:[({\\"\']|\\\\[\\\\[))","name":"entity.name.function.luau"},{"match":"(?<=[^.]\\\\.|:)\\\\b([a-zA-Z_]\\\\w*)\\\\b","name":"variable.other.property.luau"},{"match":"\\\\b([A-Z_][A-Z0-9_]*)\\\\b","name":"variable.other.constant.luau"},{"match":"\\\\b([a-zA-Z_]\\\\w*)\\\\b","name":"variable.other.readwrite.luau"}]},"interpolated_string_expression":{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.definition.interpolated-string-expression.begin.luau"}},"contentName":"meta.embedded.line.luau","end":"\\\\}","endCaptures":{"0":{"name":"punctuation.definition.interpolated-string-expression.end.luau"}},"name":"meta.template.expression.luau","patterns":[{"include":"source.luau"}]},"keyword":{"patterns":[{"match":"\\\\b(break|do|else|for|if|elseif|return|then|repeat|while|until|end|in|continue)\\\\b","name":"keyword.control.luau"},{"match":"\\\\b(local)\\\\b","name":"storage.modifier.local.luau"},{"match":"\\\\b(function)\\\\b(?![,:])","name":"keyword.control.luau"},{"match":"(?<![^.]\\\\.|:)\\\\b(self)\\\\b","name":"variable.language.self.luau"},{"match":"\\\\b(and|or|not)\\\\b","name":"keyword.operator.logical.luau keyword.operator.wordlike.luau"},{"match":"(?<=[^.]\\\\.|:)\\\\b(__add|__call|__concat|__div|__eq|__index|__le|__len|__lt|__metatable|__mod|__mode|__mul|__newindex|__pow|__sub|__tostring|__unm)\\\\b","name":"variable.language.metamethod.luau"},{"match":"(?<![.])\\\\.{3}(?!\\\\.)","name":"keyword.other.unit.luau"}]},"language_constant":{"patterns":[{"match":"(?<![^.]\\\\.|:)\\\\b(false)\\\\b","name":"constant.language.boolean.false.luau"},{"match":"(?<![^.]\\\\.|:)\\\\b(true)\\\\b","name":"constant.language.boolean.true.luau"},{"match":"(?<![^.]\\\\.|:)\\\\b(nil(?!:))\\\\b","name":"constant.language.nil.luau"}]},"local-declaration":{"begin":"\\\\b(local)\\\\b","beginCaptures":{"1":{"name":"storage.modifier.local.luau"}},"end":"(?=\\\\s*do\\\\b|\\\\s*[=;]|\\\\s*$)","patterns":[{"include":"#comment"},{"include":"#attribute"},{"begin":"(:)","beginCaptures":{"1":{"name":"keyword.operator.type.luau"}},"end":"(?=\\\\s*do\\\\b|\\\\s*[=;,]|\\\\s*$)","patterns":[{"include":"#type_literal"}]},{"match":"\\\\b([A-Z_][A-Z0-9_]*)\\\\b","name":"variable.other.constant.luau"},{"match":"\\\\b([a-zA-Z_]\\\\w*)\\\\b","name":"variable.other.readwrite.luau"}]},"number":{"patterns":[{"match":"\\\\b0_*[xX]_*[\\\\da-fA-F_]*(?:[eE][+\\\\-]?_*\\\\d[\\\\d_]*(?:\\\\.[\\\\d_]*)?)?","name":"constant.numeric.hex.luau"},{"match":"\\\\b0_*[bB][01_]+(?:[eE][+\\\\-]?_*\\\\d[\\\\d_]*(?:\\\\.[\\\\d_]*)?)?","name":"constant.numeric.binary.luau"},{"match":"(?:\\\\d[\\\\d_]*(?:\\\\.[\\\\d_]*)?|\\\\.\\\\d[\\\\d_]*)(?:[eE][+\\\\-]?_*\\\\d[\\\\d_]*(?:\\\\.[\\\\d_]*)?)?","name":"constant.numeric.decimal.luau"}]},"operator":{"patterns":[{"match":"==|~=|!=|<=?|>=?","name":"keyword.operator.comparison.luau"},{"match":"\\\\+=|-=|/=|//=|\\\\*=|%=|\\\\^=|\\\\.\\\\.=|=","name":"keyword.operator.assignment.luau"},{"match":"\\\\+|-|%|\\\\*|\\\\/\\\\/|\\\\/|\\\\^","name":"keyword.operator.arithmetic.luau"},{"match":"#|(?<!\\\\.)\\\\.{2}(?!\\\\.)","name":"keyword.operator.other.luau"}]},"parentheses":{"begin":"(\\\\()","beginCaptures":{"1":{"name":"punctuation.arguments.begin.luau"}},"end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.arguments.end.luau"}},"patterns":[{"match":",","name":"punctuation.separator.arguments.luau"},{"include":"source.luau"}]},"shebang":{"captures":{"1":{"name":"punctuation.definition.comment.luau"}},"match":"\\\\A(#!).*$\\\\n?","name":"comment.line.shebang.luau"},"standard_library":{"patterns":[{"match":"(?<![^.]\\\\.|:)\\\\b(assert|collectgarbage|error|gcinfo|getfenv|getmetatable|ipairs|loadstring|newproxy|next|pairs|pcall|print|rawequal|rawset|require|select|setfenv|setmetatable|tonumber|tostring|type|typeof|unpack|xpcall)\\\\b","name":"support.function.luau"},{"match":"(?<![^.]\\\\.|:)\\\\b(_G|_VERSION)\\\\b","name":"constant.language.luau"},{"match":"(?<![^.]\\\\.|:)\\\\b(bit32\\\\.(?:arshift|band|bnot|bor|btest|bxor|extract|lrotate|lshift|replace|rrotate|rshift|countlz|countrz|byteswap)|coroutine\\\\.(?:create|isyieldable|resume|running|status|wrap|yield|close)|debug\\\\.(?:info|loadmodule|profilebegin|profileend|traceback)|math\\\\.(?:abs|acos|asin|atan|atan2|ceil|clamp|cos|cosh|deg|exp|floor|fmod|frexp|ldexp|log|log10|max|min|modf|noise|pow|rad|random|randomseed|round|sign|sin|sinh|sqrt|tan|tanh)|os\\\\.(?:clock|date|difftime|time)|string\\\\.(?:byte|char|find|format|gmatch|gsub|len|lower|match|pack|packsize|rep|reverse|split|sub|unpack|upper)|table\\\\.(?:concat|create|find|foreach|foreachi|getn|insert|maxn|move|pack|remove|sort|unpack|clear|freeze|isfrozen|clone)|task\\\\.(?:spawn|synchronize|desynchronize|wait|defer|delay)|utf8\\\\.(?:char|codepoint|codes|graphemes|len|nfcnormalize|nfdnormalize|offset)|buffer\\\\.(?:create|fromstring|tostring|len|readi8|readu8|readi16|readu16|readi32|readu32|readf32|readf64|writei8|writeu8|writei16|writeu16|writei32|writeu32|writef32|writef64|readstring|writestring|copy|fill))\\\\b","name":"support.function.luau"},{"match":"(?<![^.]\\\\.|:)\\\\b(bit32|buffer|coroutine|debug|math(\\\\.(huge|pi))?|os|string|table|task|utf8(\\\\.charpattern)?)\\\\b","name":"support.constant.luau"},{"match":"(?<![^.]\\\\.|:)\\\\b(delay|DebuggerManager|elapsedTime|PluginManager|printidentity|settings|spawn|stats|tick|time|UserSettings|version|wait|warn)\\\\b","name":"support.function.luau"},{"match":"(?<![^.]\\\\.|:)\\\\b(game|plugin|shared|script|workspace|Enum(?:\\\\.\\\\w+){0,2})\\\\b","name":"constant.language.luau"}]},"string":{"patterns":[{"begin":"\\"","end":"\\"","name":"string.quoted.double.luau","patterns":[{"include":"#string_escape"}]},{"begin":"\'","end":"\'","name":"string.quoted.single.luau","patterns":[{"include":"#string_escape"}]},{"begin":"\\\\[(=*)\\\\[","end":"\\\\]\\\\1\\\\]","name":"string.other.multiline.luau"},{"begin":"`","end":"`","name":"string.interpolated.luau","patterns":[{"include":"#interpolated_string_expression"},{"include":"#string_escape"}]}]},"string_escape":{"patterns":[{"match":"\\\\\\\\[abfnrtvz\'\\"`{\\\\\\\\]","name":"constant.character.escape.luau"},{"match":"\\\\\\\\\\\\d{1,3}","name":"constant.character.escape.luau"},{"match":"\\\\\\\\x[0-9a-fA-F]{2}","name":"constant.character.escape.luau"},{"match":"\\\\\\\\u\\\\{[0-9a-fA-F]*\\\\}","name":"constant.character.escape.luau"},{"match":"\\\\\\\\$","name":"constant.character.escape.luau"}]},"table":{"begin":"(\\\\{)","beginCaptures":{"1":{"name":"punctuation.table.begin.luau"}},"end":"(\\\\})","endCaptures":{"1":{"name":"punctuation.table.end.luau"}},"patterns":[{"match":"[,;]","name":"punctuation.separator.fields.luau"},{"include":"source.luau"}]},"type-alias-declaration":{"begin":"^\\\\b(?:(export)\\\\s+)?(type)\\\\b","beginCaptures":{"1":{"name":"storage.modifier.visibility.luau"},"2":{"name":"storage.type.luau"}},"end":"(?=\\\\s*$)|(?=\\\\s*;)","patterns":[{"include":"#type_literal"},{"match":"=","name":"keyword.operator.assignment.luau"}]},"type_annotation":{"begin":":(?!\\\\b([a-zA-Z_]\\\\w*)\\\\b(?=\\\\s*(?:[({\\"\']|\\\\[\\\\[)))","end":"(?<=\\\\))(?!\\\\s*->)|=|;|$|(?=\\\\breturn\\\\b)|(?=\\\\bend\\\\b)","patterns":[{"include":"#comment"},{"include":"#type_literal"}]},"type_cast":{"begin":"(::)","beginCaptures":{"1":{"name":"keyword.operator.typecast.luau"}},"end":"(?=^|[;),}\\\\]:?\\\\-+>](?!\\\\s*[&\\\\|])|$|\\\\b(break|do|else|for|if|elseif|return|then|repeat|while|until|end|in|continue)\\\\b)","patterns":[{"include":"#type_literal"}]},"type_literal":{"patterns":[{"include":"#comment"},{"include":"#string"},{"match":"\\\\?|\\\\&|\\\\|","name":"keyword.operator.type.luau"},{"match":"->","name":"keyword.operator.type.luau"},{"match":"\\\\b(false)\\\\b","name":"constant.language.boolean.false.luau"},{"match":"\\\\b(true)\\\\b","name":"constant.language.boolean.true.luau"},{"match":"\\\\b(nil|string|number|boolean|thread|userdata|symbol|any)\\\\b","name":"support.type.primitive.luau"},{"begin":"\\\\b(typeof)\\\\b(\\\\()","beginCaptures":{"1":{"name":"support.function.luau"},"2":{"name":"punctuation.arguments.begin.typeof.luau"}},"end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.arguments.end.typeof.luau"}},"patterns":[{"include":"source.luau"}]},{"begin":"(<)","beginCaptures":{"1":{"name":"keyword.operator.type.luau"}},"end":"(>)","endCaptures":{"1":{"name":"keyword.operator.type.luau"}},"patterns":[{"match":"=","name":"keyword.operator.assignment.luau"},{"include":"#type_literal"}]},{"match":"\\\\b([a-zA-Z_]\\\\w*)\\\\b","name":"entity.name.type.luau"},{"begin":"\\\\{","end":"\\\\}","patterns":[{"begin":"\\\\[","end":"\\\\]","patterns":[{"include":"#type_literal"}]},{"captures":{"1":{"name":"variable.property.luau"},"2":{"name":"keyword.operator.type.luau"}},"match":"\\\\b([a-zA-Z_]\\\\w*)\\\\b(:)"},{"include":"#type_literal"},{"match":"[,;]","name":"punctuation.separator.fields.type.luau"}]},{"begin":"\\\\(","end":"\\\\)","patterns":[{"captures":{"1":{"name":"variable.parameter.luau"},"2":{"name":"keyword.operator.type.luau"}},"match":"\\\\b([a-zA-Z_]\\\\w*)\\\\b(:)","name":"variable.parameter.luau"},{"include":"#type_literal"}]}]}},"scopeName":"source.luau"}')),a=[e];export{a as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e=Object.freeze(JSON.parse(`{"displayName":"Coq","fileTypes":["v"],"name":"coq","patterns":[{"comment":"Vernacular import keywords","match":"\\\\b(From|Require|Import|Export|Local|Global|Include)\\\\b","name":"keyword.control.import.coq"},{"comment":"Vernacular scope keywords","match":"\\\\b((Open|Close|Delimit|Undelimit|Bind)\\\\s+Scope)\\\\b","name":"keyword.control.import.coq"},{"captures":{"1":{"name":"keyword.source.coq"},"2":{"name":"entity.name.function.theorem.coq"}},"comment":"Theorem declarations","match":"\\\\b(Theorem|Lemma|Remark|Fact|Corollary|Property|Proposition|Goal)\\\\s+((\\\\p{L}|[_\\\\u00A0])(\\\\p{L}|[0-9_\\\\u00A0'])*)"},{"captures":{"1":{"name":"keyword.source.coq"},"2":{"name":"keyword.source.coq"},"3":{"name":"entity.name.assumption.coq"}},"comment":"Assumptions","match":"\\\\b(Parameters?|Axioms?|Conjectures?|Variables?|Hypothesis|Hypotheses)(\\\\s+Inline)?\\\\b\\\\s*\\\\(?\\\\s*((\\\\p{L}|[_\\\\u00A0])(\\\\p{L}|[0-9_\\\\u00A0'])*)"},{"captures":{"1":{"name":"keyword.source.coq"},"3":{"name":"entity.name.assumption.coq"}},"comment":"Context","match":"\\\\b(Context)\\\\b\\\\s*\`?\\\\s*(\\\\(|\\\\{)?\\\\s*((\\\\p{L}|[_\\\\u00A0])(\\\\p{L}|[0-9_\\\\u00A0'])*)"},{"captures":{"1":{"name":"keyword.source.coq"},"2":{"name":"keyword.source.coq"},"3":{"name":"entity.name.function.coq"}},"comment":"Definitions","match":"(\\\\b(?:Program|Local)\\\\s+)?\\\\b(Definition|Fixpoint|CoFixpoint|Function|Example|Let(?:\\\\s+Fixpoint|\\\\s+CoFixpoint)?|Instance|Equations|Equations?)\\\\s+((\\\\p{L}|[_\\\\u00A0])(\\\\p{L}|[0-9_\\\\u00A0'])*)"},{"captures":{"1":{"name":"keyword.source.coq"}},"comment":"Obligations","match":"\\\\b((Show\\\\s+)?Obligation\\\\s+Tactic|Obligations\\\\s+of|Obligation|Next\\\\s+Obligation(\\\\s+of)?|Solve\\\\s+Obligations(\\\\s+of)?|Solve\\\\s+All\\\\s+Obligations|Admit\\\\s+Obligations(\\\\s+of)?|Instance)\\\\b"},{"captures":{"1":{"name":"keyword.source.coq"},"3":{"name":"entity.name.type.coq"}},"comment":"Type declarations","match":"\\\\b(CoInductive|Inductive|Variant|Record|Structure|Class)\\\\s+(>\\\\s*)?((\\\\p{L}|[_\\\\u00A0])(\\\\p{L}|[0-9_\\\\u00A0'])*)"},{"captures":{"1":{"name":"keyword.source.coq"},"2":{"name":"entity.name.function.ltac"}},"comment":"Ltac declarations","match":"\\\\b(Ltac)\\\\s+((\\\\p{L}|[_\\\\u00A0])(\\\\p{L}|[0-9_\\\\u00A0'])*)"},{"comment":"Vernacular keywords","match":"\\\\b(Hint|Constructors|Resolve|Rewrite|Ltac|Implicit(\\\\s+Types)?|Set|Unset|Remove\\\\s+Printing|Arguments|Tactic\\\\s+Notation|Notation|Infix|Reserved\\\\s+Notation|Section|Module\\\\s+Type|Module|End|Check|Print|Eval|Search|Universe|Coercions?|Generalizable\\\\s+All|Generalizable\\\\s+Variable?|Existing\\\\s+Instance|Existing\\\\s+Class|Canonical|About|Locate|Collection|Typeclasses\\\\s+(Opaque|Transparent))\\\\b","name":"keyword.source.coq"},{"comment":"Proof keywords","match":"\\\\b(Proof|Qed|Defined|Save|Abort(\\\\s+All)?|Undo(\\\\s+To)?|Restart|Focus|Unfocus|Unfocused|Show\\\\s+Proof|Show\\\\s+Existentials|Show|Unshelve)\\\\b","name":"keyword.source.coq"},{"comment":"Vernacular Debug keywords","match":"\\\\b(Quit|Drop|Time|Redirect|Timeout|Fail)\\\\b","name":"keyword.debug.coq"},{"comment":"Admits are bad","match":"\\\\b(admit|Admitted)\\\\b","name":"invalid.illegal.admit.coq"},{"comment":"Operators","match":":|\\\\||=|<|>|\\\\*|\\\\+|-|\\\\{|\\\\}|≠|∨|∧|↔|¬|→|≤|≥","name":"keyword.operator.coq"},{"comment":"Type keywords","match":"\\\\b(forall|exists|Type|Set|Prop|nat|bool|option|list|unit|sum|prod|comparison|Empty_set)\\\\b|∀|∃","name":"support.type.coq"},{"comment":"Ltac keywords","match":"\\\\b(try|repeat|rew|progress|fresh|solve|now|first|tryif|at|once|do|only)\\\\b","name":"keyword.control.ltac"},{"comment":"Common Ltac connectors","match":"\\\\b(into|with|eqn|by|move|as|using)\\\\b","name":"keyword.control.ltac"},{"comment":"Gallina keywords","match":"\\\\b(match|lazymatch|multimatch|fun|with|return|end|let|in|if|then|else|fix|for|where|and)\\\\b|λ","name":"keyword.control.gallina"},{"comment":"Ltac builtins","match":"\\\\b(intro|intros|revert|induction|destruct|auto|eauto|tauto|eassumption|apply|eapply|assumption|constructor|econstructor|reflexivity|inversion|injection|assert|split|esplit|omega|fold|unfold|specialize|rewrite|erewrite|change|symmetry|refine|simpl|intuition|firstorder|generalize|idtac|exist|exists|eexists|elim|eelim|rename|subst|congruence|trivial|left|right|set|pose|discriminate|clear|clearbody|contradict|contradiction|exact|dependent|remember|case|easy|unshelve|pattern|transitivity|etransitivity|f_equal|exfalso|replace|abstract|cycle|swap|revgoals|shelve|unshelve)\\\\b","name":"support.function.builtin.ltac"},{"applyEndPatternLast":1,"begin":"\\\\(\\\\*(?!#)","end":"\\\\*\\\\)","name":"comment.block.coq","patterns":[{"include":"#block_comment"},{"include":"#block_double_quoted_string"}]},{"match":"\\\\b((0(x|X)[0-9a-fA-F]+)|(\\\\d+(\\\\.\\\\d+)?))\\\\b","name":"constant.numeric.gallina"},{"comment":"Gallina builtin constructors","match":"\\\\b(True|False|tt|false|true|Some|None|nil|cons|pair|inl|inr|O|S|Eq|Lt|Gt|id|ex|all|unique)\\\\b","name":"constant.language.constructor.gallina"},{"match":"\\\\b_\\\\b","name":"constant.language.wildcard.coq"},{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.coq"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.coq"}},"name":"string.quoted.double.coq"}],"repository":{"block_comment":{"applyEndPatternLast":1,"begin":"\\\\(\\\\*(?!#)","end":"\\\\*\\\\)","name":"comment.block.coq","patterns":[{"include":"#block_comment"},{"include":"#block_double_quoted_string"}]},"block_double_quoted_string":{"applyEndPatternLast":1,"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.coq"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.coq"}},"name":"string.quoted.double.coq"}},"scopeName":"source.coq"}`)),t=[e];export{t as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e=Object.freeze(JSON.parse('{"colors":{"actionBar.toggledBackground":"#383a49","activityBarBadge.background":"#007ACC","checkbox.border":"#6B6B6B","editor.background":"#1E1E1E","editor.foreground":"#D4D4D4","editor.inactiveSelectionBackground":"#3A3D41","editor.selectionHighlightBackground":"#ADD6FF26","editorIndentGuide.activeBackground":"#707070","editorIndentGuide.background":"#404040","input.placeholderForeground":"#A6A6A6","list.activeSelectionIconForeground":"#FFF","list.dropBackground":"#383B3D","menu.background":"#252526","menu.border":"#454545","menu.foreground":"#CCCCCC","menu.separatorBackground":"#454545","ports.iconRunningProcessForeground":"#369432","sideBarSectionHeader.background":"#0000","sideBarSectionHeader.border":"#ccc3","sideBarTitle.foreground":"#BBBBBB","statusBarItem.remoteBackground":"#16825D","statusBarItem.remoteForeground":"#FFF","tab.lastPinnedBorder":"#ccc3","terminal.inactiveSelectionBackground":"#3A3D41","widget.border":"#303031"},"displayName":"Dark Plus","name":"dark-plus","semanticHighlighting":true,"semanticTokenColors":{"customLiteral":"#DCDCAA","newOperator":"#C586C0","numberLiteral":"#b5cea8","stringLiteral":"#ce9178"},"tokenColors":[{"scope":["meta.embedded","source.groovy.embedded","string meta.image.inline.markdown","variable.legacy.builtin.python"],"settings":{"foreground":"#D4D4D4"}},{"scope":"emphasis","settings":{"fontStyle":"italic"}},{"scope":"strong","settings":{"fontStyle":"bold"}},{"scope":"header","settings":{"foreground":"#000080"}},{"scope":"comment","settings":{"foreground":"#6A9955"}},{"scope":"constant.language","settings":{"foreground":"#569cd6"}},{"scope":["constant.numeric","variable.other.enummember","keyword.operator.plus.exponent","keyword.operator.minus.exponent"],"settings":{"foreground":"#b5cea8"}},{"scope":"constant.regexp","settings":{"foreground":"#646695"}},{"scope":"entity.name.tag","settings":{"foreground":"#569cd6"}},{"scope":"entity.name.tag.css","settings":{"foreground":"#d7ba7d"}},{"scope":"entity.other.attribute-name","settings":{"foreground":"#9cdcfe"}},{"scope":["entity.other.attribute-name.class.css","entity.other.attribute-name.class.mixin.css","entity.other.attribute-name.id.css","entity.other.attribute-name.parent-selector.css","entity.other.attribute-name.pseudo-class.css","entity.other.attribute-name.pseudo-element.css","source.css.less entity.other.attribute-name.id","entity.other.attribute-name.scss"],"settings":{"foreground":"#d7ba7d"}},{"scope":"invalid","settings":{"foreground":"#f44747"}},{"scope":"markup.underline","settings":{"fontStyle":"underline"}},{"scope":"markup.bold","settings":{"fontStyle":"bold","foreground":"#569cd6"}},{"scope":"markup.heading","settings":{"fontStyle":"bold","foreground":"#569cd6"}},{"scope":"markup.italic","settings":{"fontStyle":"italic"}},{"scope":"markup.strikethrough","settings":{"fontStyle":"strikethrough"}},{"scope":"markup.inserted","settings":{"foreground":"#b5cea8"}},{"scope":"markup.deleted","settings":{"foreground":"#ce9178"}},{"scope":"markup.changed","settings":{"foreground":"#569cd6"}},{"scope":"punctuation.definition.quote.begin.markdown","settings":{"foreground":"#6A9955"}},{"scope":"punctuation.definition.list.begin.markdown","settings":{"foreground":"#6796e6"}},{"scope":"markup.inline.raw","settings":{"foreground":"#ce9178"}},{"scope":"punctuation.definition.tag","settings":{"foreground":"#808080"}},{"scope":["meta.preprocessor","entity.name.function.preprocessor"],"settings":{"foreground":"#569cd6"}},{"scope":"meta.preprocessor.string","settings":{"foreground":"#ce9178"}},{"scope":"meta.preprocessor.numeric","settings":{"foreground":"#b5cea8"}},{"scope":"meta.structure.dictionary.key.python","settings":{"foreground":"#9cdcfe"}},{"scope":"meta.diff.header","settings":{"foreground":"#569cd6"}},{"scope":"storage","settings":{"foreground":"#569cd6"}},{"scope":"storage.type","settings":{"foreground":"#569cd6"}},{"scope":["storage.modifier","keyword.operator.noexcept"],"settings":{"foreground":"#569cd6"}},{"scope":["string","meta.embedded.assembly"],"settings":{"foreground":"#ce9178"}},{"scope":"string.tag","settings":{"foreground":"#ce9178"}},{"scope":"string.value","settings":{"foreground":"#ce9178"}},{"scope":"string.regexp","settings":{"foreground":"#d16969"}},{"scope":["punctuation.definition.template-expression.begin","punctuation.definition.template-expression.end","punctuation.section.embedded"],"settings":{"foreground":"#569cd6"}},{"scope":["meta.template.expression"],"settings":{"foreground":"#d4d4d4"}},{"scope":["support.type.vendored.property-name","support.type.property-name","variable.css","variable.scss","variable.other.less","source.coffee.embedded"],"settings":{"foreground":"#9cdcfe"}},{"scope":"keyword","settings":{"foreground":"#569cd6"}},{"scope":"keyword.control","settings":{"foreground":"#569cd6"}},{"scope":"keyword.operator","settings":{"foreground":"#d4d4d4"}},{"scope":["keyword.operator.new","keyword.operator.expression","keyword.operator.cast","keyword.operator.sizeof","keyword.operator.alignof","keyword.operator.typeid","keyword.operator.alignas","keyword.operator.instanceof","keyword.operator.logical.python","keyword.operator.wordlike"],"settings":{"foreground":"#569cd6"}},{"scope":"keyword.other.unit","settings":{"foreground":"#b5cea8"}},{"scope":["punctuation.section.embedded.begin.php","punctuation.section.embedded.end.php"],"settings":{"foreground":"#569cd6"}},{"scope":"support.function.git-rebase","settings":{"foreground":"#9cdcfe"}},{"scope":"constant.sha.git-rebase","settings":{"foreground":"#b5cea8"}},{"scope":["storage.modifier.import.java","variable.language.wildcard.java","storage.modifier.package.java"],"settings":{"foreground":"#d4d4d4"}},{"scope":"variable.language","settings":{"foreground":"#569cd6"}},{"scope":["entity.name.function","support.function","support.constant.handlebars","source.powershell variable.other.member","entity.name.operator.custom-literal"],"settings":{"foreground":"#DCDCAA"}},{"scope":["support.class","support.type","entity.name.type","entity.name.namespace","entity.other.attribute","entity.name.scope-resolution","entity.name.class","storage.type.numeric.go","storage.type.byte.go","storage.type.boolean.go","storage.type.string.go","storage.type.uintptr.go","storage.type.error.go","storage.type.rune.go","storage.type.cs","storage.type.generic.cs","storage.type.modifier.cs","storage.type.variable.cs","storage.type.annotation.java","storage.type.generic.java","storage.type.java","storage.type.object.array.java","storage.type.primitive.array.java","storage.type.primitive.java","storage.type.token.java","storage.type.groovy","storage.type.annotation.groovy","storage.type.parameters.groovy","storage.type.generic.groovy","storage.type.object.array.groovy","storage.type.primitive.array.groovy","storage.type.primitive.groovy"],"settings":{"foreground":"#4EC9B0"}},{"scope":["meta.type.cast.expr","meta.type.new.expr","support.constant.math","support.constant.dom","support.constant.json","entity.other.inherited-class"],"settings":{"foreground":"#4EC9B0"}},{"scope":["keyword.control","source.cpp keyword.operator.new","keyword.operator.delete","keyword.other.using","keyword.other.directive.using","keyword.other.operator","entity.name.operator"],"settings":{"foreground":"#C586C0"}},{"scope":["variable","meta.definition.variable.name","support.variable","entity.name.variable","constant.other.placeholder"],"settings":{"foreground":"#9CDCFE"}},{"scope":["variable.other.constant","variable.other.enummember"],"settings":{"foreground":"#4FC1FF"}},{"scope":["meta.object-literal.key"],"settings":{"foreground":"#9CDCFE"}},{"scope":["support.constant.property-value","support.constant.font-name","support.constant.media-type","support.constant.media","constant.other.color.rgb-value","constant.other.rgb-value","support.constant.color"],"settings":{"foreground":"#CE9178"}},{"scope":["punctuation.definition.group.regexp","punctuation.definition.group.assertion.regexp","punctuation.definition.character-class.regexp","punctuation.character.set.begin.regexp","punctuation.character.set.end.regexp","keyword.operator.negation.regexp","support.other.parenthesis.regexp"],"settings":{"foreground":"#CE9178"}},{"scope":["constant.character.character-class.regexp","constant.other.character-class.set.regexp","constant.other.character-class.regexp","constant.character.set.regexp"],"settings":{"foreground":"#d16969"}},{"scope":["keyword.operator.or.regexp","keyword.control.anchor.regexp"],"settings":{"foreground":"#DCDCAA"}},{"scope":"keyword.operator.quantifier.regexp","settings":{"foreground":"#d7ba7d"}},{"scope":["constant.character","constant.other.option"],"settings":{"foreground":"#569cd6"}},{"scope":"constant.character.escape","settings":{"foreground":"#d7ba7d"}},{"scope":"entity.name.label","settings":{"foreground":"#C8C8C8"}}],"type":"dark"}'));export{e as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e=Object.freeze(JSON.parse(`{"displayName":"Dockerfile","name":"docker","patterns":[{"captures":{"1":{"name":"keyword.other.special-method.dockerfile"},"2":{"name":"keyword.other.special-method.dockerfile"}},"match":"^\\\\s*\\\\b(?i:(FROM))\\\\b.*?\\\\b(?i:(AS))\\\\b"},{"captures":{"1":{"name":"keyword.control.dockerfile"},"2":{"name":"keyword.other.special-method.dockerfile"}},"match":"^\\\\s*(?i:(ONBUILD)\\\\s+)?(?i:(ADD|ARG|CMD|COPY|ENTRYPOINT|ENV|EXPOSE|FROM|HEALTHCHECK|LABEL|MAINTAINER|RUN|SHELL|STOPSIGNAL|USER|VOLUME|WORKDIR))\\\\s"},{"captures":{"1":{"name":"keyword.operator.dockerfile"},"2":{"name":"keyword.other.special-method.dockerfile"}},"match":"^\\\\s*(?i:(ONBUILD)\\\\s+)?(?i:(CMD|ENTRYPOINT))\\\\s"},{"begin":"\\"","beginCaptures":{"1":{"name":"punctuation.definition.string.begin.dockerfile"}},"end":"\\"","endCaptures":{"1":{"name":"punctuation.definition.string.end.dockerfile"}},"name":"string.quoted.double.dockerfile","patterns":[{"match":"\\\\\\\\.","name":"constant.character.escaped.dockerfile"}]},{"begin":"'","beginCaptures":{"1":{"name":"punctuation.definition.string.begin.dockerfile"}},"end":"'","endCaptures":{"1":{"name":"punctuation.definition.string.end.dockerfile"}},"name":"string.quoted.single.dockerfile","patterns":[{"match":"\\\\\\\\.","name":"constant.character.escaped.dockerfile"}]},{"captures":{"1":{"name":"punctuation.whitespace.comment.leading.dockerfile"},"2":{"name":"comment.line.number-sign.dockerfile"},"3":{"name":"punctuation.definition.comment.dockerfile"}},"comment":"comment.line","match":"^(\\\\s*)((#).*$\\\\n?)"}],"scopeName":"source.dockerfile","aliases":["dockerfile"]}`)),n=[e];export{n as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e=Object.freeze(JSON.parse(`{"displayName":"Nextflow","name":"nextflow","patterns":[{"include":"#nfl-rules"}],"repository":{"implicit-variables":{"patterns":[{"match":"(?<=[^\\\\.\\\\w]|^)(params|nextflow|workflow|launchDir|moduleDir|projectDir|workDir)\\\\b","name":"variable.language.nextflow"}]},"include-statement":{"patterns":[{"match":"^\\\\b(include)\\\\b","name":"keyword.nextflow"},{"match":"\\\\b(from)\\\\b","name":"keyword.nextflow"}]},"nfl-rules":{"patterns":[{"include":"#process-def"},{"include":"#workflow-def"},{"include":"#code-block"},{"include":"#include-statement"},{"include":"#implicit-variables"},{"begin":"(\\\\w*\\\\()","beginCaptures":{"1":{"patterns":[{"include":"source.nextflow-groovy"}]}},"comment":"method call and parens","end":"\\\\)","patterns":[{"include":"#nfl-rules"}]},{"begin":"{","comment":"braces","end":"}","patterns":[{"include":"#nfl-rules"}]},{"include":"source.nextflow-groovy"}]},"process-body":{"patterns":[{"match":"(?:accelerator|afterScript|beforeScript|cache|cpus|conda|container|containerOptions|clusterOptions|debug|disk|echo|errorStrategy|executor|ext|label|machineType|maxErrors|maxForks|maxRetries|memory|module|penv|pod|publishDir|queue|resourceLabels|scratch|stageInMode|stageOutMode|storeDir|tag|time)\\\\b","name":"entity.name.function.nextflow"},{"match":"(?:input|output|when|script|shell|exec):","name":"constant.block.nextflow"},{"match":"\\\\b(tuple|set|path|file|val|stdout)(\\\\(|\\\\s)","name":"entity.name.function.nextflow"},{"include":"#implicit-variables"},{"begin":"(\\\\w*\\\\()","beginCaptures":{"1":{"patterns":[{"include":"source.nextflow-groovy"}]}},"comment":"method call and parens","end":"\\\\)","patterns":[{"include":"#process-body"}]},{"begin":"{","comment":"braces","end":"}","patterns":[{"include":"#process-body"}]},{"include":"source.nextflow-groovy#comments"},{"include":"source.nextflow-groovy#support-functions"},{"include":"source.nextflow-groovy#keyword"},{"include":"source.nextflow-groovy#values"},{"include":"source.nextflow-groovy#anonymous-classes-and-new"},{"include":"source.nextflow-groovy#types"},{"include":"source.nextflow-groovy#parens"},{"include":"source.nextflow-groovy#closures"},{"include":"source.nextflow-groovy#braces"}]},"process-def":{"begin":"^\\\\s*(process)\\\\s+(\\\\w+|\\"[^\\"]+\\"|'[^']+')\\\\s*{","beginCaptures":{"1":{"name":"keyword.nextflow"},"2":{"name":"function.nextflow"}},"end":"}","name":"process.nextflow","patterns":[{"include":"#process-body"}]},"workflow-body":{"patterns":[{"include":"#implicit-variables"},{"match":"(?:take|main|emit):","name":"constant.block.nextflow"},{"match":"(?<=[\\\\s\\\\.])(branch|buffer|close|collate|collect|collectFile|combine|concat|count|countBy|cross|distinct|dump|filter|first|flatMap|flatten|groupTuple|ifEmpty|join|last|map|max|merge|min|mix|multiMap|randomSample|reduce|set|splitCsv|splitFasta|splitFastq|splitText|sum|take|tap|toInteger|toList|toSortedList|transpose|unique|until|view)(?=[{(\\\\s])","name":"entity.name.function.nextflow"},{"captures":{"1":{"name":"keyword.nextflow"},"2":{"name":"entity.name.function.nextflow"}},"comment":"Channel factory single line","match":"\\\\b((?:C|c)hannel\\\\.)((fromList|fromPath|fromFilePairs|fromSRA|from|of|empty|value|watchPath)\\\\W)?"},{"begin":"\\\\b((?:C|c)hannel)\\\\s*$","beginCaptures":{"1":{"name":"keyword.nextflow"}},"comment":"Channel factory multi-line","end":"(^\\\\s*)(?:(\\\\.)(fromList|fromPath|fromFilePairs|fromSRA|from|of|empty|value|watchPath)\\\\W)?","endCaptures":{"1":{"name":"keyword.nextflow"},"2":{"name":"keyword.nextflow"},"3":{"name":"entity.name.function.nextflow"}}},{"begin":"(\\\\w*\\\\()","beginCaptures":{"1":{"patterns":[{"include":"source.nextflow-groovy"}]}},"comment":"method call and parens","end":"\\\\)","patterns":[{"include":"#workflow-body"}]},{"begin":"{","comment":"braces","end":"}","patterns":[{"include":"#workflow-body"}]},{"include":"source.nextflow-groovy#comments"},{"include":"source.nextflow-groovy#support-functions"},{"include":"source.nextflow-groovy#keyword"},{"include":"source.nextflow-groovy#values"},{"include":"source.nextflow-groovy#anonymous-classes-and-new"},{"include":"source.nextflow-groovy#types"},{"include":"source.nextflow-groovy#parens"},{"include":"source.nextflow-groovy#closures"},{"include":"source.nextflow-groovy#braces"}]},"workflow-def":{"begin":"^\\\\s*(workflow)(?:\\\\s+(\\\\w+|\\"[^\\"]+\\"|'[^']+'))?\\\\s*{","beginCaptures":{"1":{"name":"keyword.nextflow"},"2":{"name":"constant.nextflow"}},"end":"}","name":"workflow.nextflow","patterns":[{"include":"#workflow-body"}]}},"scopeName":"source.nextflow","aliases":["nf"]}`)),n=[e];export{n as default};
|