astro 4.3.4 → 4.3.6
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/dist/core/app/index.js +1 -1
- package/dist/core/build/plugins/plugin-manifest.js +1 -1
- package/dist/core/client-directive/build.d.ts +1 -1
- package/dist/core/client-directive/build.js +4 -3
- package/dist/core/config/schema.d.ts +37 -37
- package/dist/core/config/schema.js +3 -3
- package/dist/core/constants.js +1 -1
- package/dist/core/dev/dev.js +1 -1
- package/dist/core/messages.js +2 -2
- package/dist/i18n/index.d.ts +3 -3
- package/dist/i18n/index.js +12 -76
- package/dist/i18n/middleware.js +8 -2
- package/dist/integrations/index.js +4 -1
- package/dist/transitions/router.js +5 -3
- package/package.json +8 -6
- package/types/content.d.ts +75 -0
package/dist/core/app/index.js
CHANGED
|
@@ -123,7 +123,7 @@ class App {
|
|
|
123
123
|
#computePathnameFromDomain(request) {
|
|
124
124
|
let pathname = void 0;
|
|
125
125
|
const url = new URL(request.url);
|
|
126
|
-
if (this.#manifest.i18n && (this.#manifest.i18n.routing === "domains-prefix-always" || this.#manifest.i18n.routing === "domains-prefix-other-locales" || this.#manifest.i18n.routing === "domains-prefix-
|
|
126
|
+
if (this.#manifest.i18n && (this.#manifest.i18n.routing === "domains-prefix-always" || this.#manifest.i18n.routing === "domains-prefix-other-locales" || this.#manifest.i18n.routing === "domains-prefix-always-no-redirect")) {
|
|
127
127
|
let host = request.headers.get("X-Forwarded-Host");
|
|
128
128
|
let protocol = request.headers.get("X-Forwarded-Proto");
|
|
129
129
|
if (protocol) {
|
|
@@ -177,7 +177,7 @@ function buildManifest(opts, internals, staticFiles) {
|
|
|
177
177
|
});
|
|
178
178
|
}
|
|
179
179
|
const i18n = settings.config.i18n;
|
|
180
|
-
if (settings.config.experimental.i18nDomains && i18n && i18n.domains && (i18n.routing === "domains-prefix-always" || i18n.routing === "domains-prefix-other-locales" || i18n.routing === "domains-prefix-
|
|
180
|
+
if (settings.config.experimental.i18nDomains && i18n && i18n.domains && (i18n.routing === "domains-prefix-always" || i18n.routing === "domains-prefix-other-locales" || i18n.routing === "domains-prefix-always-no-redirect")) {
|
|
181
181
|
for (const [locale, domainValue] of Object.entries(i18n.domains)) {
|
|
182
182
|
domainLookupTable[domainValue] = normalizeTheLocale(locale);
|
|
183
183
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Build a client directive entrypoint into code that can directly run in a `<script>` tag.
|
|
3
3
|
*/
|
|
4
|
-
export declare function buildClientDirectiveEntrypoint(name: string, entrypoint: string): Promise<string>;
|
|
4
|
+
export declare function buildClientDirectiveEntrypoint(name: string, entrypoint: string, root: URL): Promise<string>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { build } from "esbuild";
|
|
2
|
-
|
|
2
|
+
import { fileURLToPath } from "node:url";
|
|
3
|
+
async function buildClientDirectiveEntrypoint(name, entrypoint, root) {
|
|
3
4
|
const stringifiedName = JSON.stringify(name);
|
|
4
5
|
const stringifiedEntrypoint = JSON.stringify(entrypoint);
|
|
5
6
|
const output = await build({
|
|
@@ -9,9 +10,9 @@ async function buildClientDirectiveEntrypoint(name, entrypoint) {
|
|
|
9
10
|
(self.Astro || (self.Astro = {}))[${stringifiedName}] = directive;
|
|
10
11
|
|
|
11
12
|
window.dispatchEvent(new Event('astro:' + ${stringifiedName}));`,
|
|
12
|
-
resolveDir:
|
|
13
|
+
resolveDir: fileURLToPath(root)
|
|
13
14
|
},
|
|
14
|
-
absWorkingDir:
|
|
15
|
+
absWorkingDir: fileURLToPath(root),
|
|
15
16
|
format: "iife",
|
|
16
17
|
minify: true,
|
|
17
18
|
bundle: true,
|
|
@@ -7,7 +7,7 @@ import { z } from 'zod';
|
|
|
7
7
|
import 'mdast-util-to-hast';
|
|
8
8
|
import 'shikiji-core';
|
|
9
9
|
type ShikiTheme = NonNullable<ShikiConfig['theme']>;
|
|
10
|
-
export type RoutingStrategies = 'pathname-prefix-always' | 'pathname-prefix-other-locales' | 'pathname-prefix-always-no-redirect' | 'domains-prefix-always' | 'domains-prefix-other-locales' | 'domains-prefix-
|
|
10
|
+
export type RoutingStrategies = 'pathname-prefix-always' | 'pathname-prefix-other-locales' | 'pathname-prefix-always-no-redirect' | 'domains-prefix-always' | 'domains-prefix-other-locales' | 'domains-prefix-always-no-redirect';
|
|
11
11
|
export declare const AstroConfigSchema: z.ZodObject<{
|
|
12
12
|
root: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodString>>, URL, string | undefined>;
|
|
13
13
|
srcDir: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodString>>, URL, string | undefined>;
|
|
@@ -192,14 +192,14 @@ export declare const AstroConfigSchema: z.ZodObject<{
|
|
|
192
192
|
transformers: z.ZodDefault<z.ZodArray<z.ZodType<import("shikiji-core/dist/chunk-types.mjs").K, z.ZodTypeDef, import("shikiji-core/dist/chunk-types.mjs").K>, "many">>;
|
|
193
193
|
}, "strip", z.ZodTypeAny, {
|
|
194
194
|
langs: import("shikiji-core/dist/chunk-types.mjs").s[];
|
|
195
|
-
theme: ("aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z) & ("aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z | undefined);
|
|
196
|
-
experimentalThemes: Record<string, "aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z>;
|
|
195
|
+
theme: ("andromeeda" | "aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z) & ("andromeeda" | "aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z | undefined);
|
|
196
|
+
experimentalThemes: Record<string, "andromeeda" | "aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z>;
|
|
197
197
|
wrap: boolean | null;
|
|
198
198
|
transformers: import("shikiji-core/dist/chunk-types.mjs").K[];
|
|
199
199
|
}, {
|
|
200
200
|
langs?: import("shikiji-core/dist/chunk-types.mjs").s[] | undefined;
|
|
201
|
-
theme?: "aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z | undefined;
|
|
202
|
-
experimentalThemes?: Record<string, "aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z> | undefined;
|
|
201
|
+
theme?: "andromeeda" | "aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z | undefined;
|
|
202
|
+
experimentalThemes?: Record<string, "andromeeda" | "aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z> | undefined;
|
|
203
203
|
wrap?: boolean | null | undefined;
|
|
204
204
|
transformers?: import("shikiji-core/dist/chunk-types.mjs").K[] | undefined;
|
|
205
205
|
}>>;
|
|
@@ -212,8 +212,8 @@ export declare const AstroConfigSchema: z.ZodObject<{
|
|
|
212
212
|
syntaxHighlight: false | "shiki" | "prism";
|
|
213
213
|
shikiConfig: {
|
|
214
214
|
langs: import("shikiji-core/dist/chunk-types.mjs").s[];
|
|
215
|
-
theme: ("aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z) & ("aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z | undefined);
|
|
216
|
-
experimentalThemes: Record<string, "aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z>;
|
|
215
|
+
theme: ("andromeeda" | "aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z) & ("andromeeda" | "aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z | undefined);
|
|
216
|
+
experimentalThemes: Record<string, "andromeeda" | "aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z>;
|
|
217
217
|
wrap: boolean | null;
|
|
218
218
|
transformers: import("shikiji-core/dist/chunk-types.mjs").K[];
|
|
219
219
|
};
|
|
@@ -226,8 +226,8 @@ export declare const AstroConfigSchema: z.ZodObject<{
|
|
|
226
226
|
syntaxHighlight?: false | "shiki" | "prism" | undefined;
|
|
227
227
|
shikiConfig?: {
|
|
228
228
|
langs?: import("shikiji-core/dist/chunk-types.mjs").s[] | undefined;
|
|
229
|
-
theme?: "aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z | undefined;
|
|
230
|
-
experimentalThemes?: Record<string, "aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z> | undefined;
|
|
229
|
+
theme?: "andromeeda" | "aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z | undefined;
|
|
230
|
+
experimentalThemes?: Record<string, "andromeeda" | "aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z> | undefined;
|
|
231
231
|
wrap?: boolean | null | undefined;
|
|
232
232
|
transformers?: import("shikiji-core/dist/chunk-types.mjs").K[] | undefined;
|
|
233
233
|
} | undefined;
|
|
@@ -422,8 +422,8 @@ export declare const AstroConfigSchema: z.ZodObject<{
|
|
|
422
422
|
syntaxHighlight: false | "shiki" | "prism";
|
|
423
423
|
shikiConfig: {
|
|
424
424
|
langs: import("shikiji-core/dist/chunk-types.mjs").s[];
|
|
425
|
-
theme: ("aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z) & ("aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z | undefined);
|
|
426
|
-
experimentalThemes: Record<string, "aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z>;
|
|
425
|
+
theme: ("andromeeda" | "aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z) & ("andromeeda" | "aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z | undefined);
|
|
426
|
+
experimentalThemes: Record<string, "andromeeda" | "aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z>;
|
|
427
427
|
wrap: boolean | null;
|
|
428
428
|
transformers: import("shikiji-core/dist/chunk-types.mjs").K[];
|
|
429
429
|
};
|
|
@@ -522,8 +522,8 @@ export declare const AstroConfigSchema: z.ZodObject<{
|
|
|
522
522
|
syntaxHighlight?: false | "shiki" | "prism" | undefined;
|
|
523
523
|
shikiConfig?: {
|
|
524
524
|
langs?: import("shikiji-core/dist/chunk-types.mjs").s[] | undefined;
|
|
525
|
-
theme?: "aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z | undefined;
|
|
526
|
-
experimentalThemes?: Record<string, "aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z> | undefined;
|
|
525
|
+
theme?: "andromeeda" | "aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z | undefined;
|
|
526
|
+
experimentalThemes?: Record<string, "andromeeda" | "aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z> | undefined;
|
|
527
527
|
wrap?: boolean | null | undefined;
|
|
528
528
|
transformers?: import("shikiji-core/dist/chunk-types.mjs").K[] | undefined;
|
|
529
529
|
} | undefined;
|
|
@@ -687,14 +687,14 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
687
687
|
transformers: z.ZodDefault<z.ZodArray<z.ZodType<import("shikiji-core/dist/chunk-types.mjs").K, z.ZodTypeDef, import("shikiji-core/dist/chunk-types.mjs").K>, "many">>;
|
|
688
688
|
}, "strip", z.ZodTypeAny, {
|
|
689
689
|
langs: import("shikiji-core/dist/chunk-types.mjs").s[];
|
|
690
|
-
theme: ("aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z) & ("aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z | undefined);
|
|
691
|
-
experimentalThemes: Record<string, "aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z>;
|
|
690
|
+
theme: ("andromeeda" | "aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z) & ("andromeeda" | "aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z | undefined);
|
|
691
|
+
experimentalThemes: Record<string, "andromeeda" | "aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z>;
|
|
692
692
|
wrap: boolean | null;
|
|
693
693
|
transformers: import("shikiji-core/dist/chunk-types.mjs").K[];
|
|
694
694
|
}, {
|
|
695
695
|
langs?: import("shikiji-core/dist/chunk-types.mjs").s[] | undefined;
|
|
696
|
-
theme?: "aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z | undefined;
|
|
697
|
-
experimentalThemes?: Record<string, "aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z> | undefined;
|
|
696
|
+
theme?: "andromeeda" | "aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z | undefined;
|
|
697
|
+
experimentalThemes?: Record<string, "andromeeda" | "aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z> | undefined;
|
|
698
698
|
wrap?: boolean | null | undefined;
|
|
699
699
|
transformers?: import("shikiji-core/dist/chunk-types.mjs").K[] | undefined;
|
|
700
700
|
}>>;
|
|
@@ -707,8 +707,8 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
707
707
|
syntaxHighlight: false | "shiki" | "prism";
|
|
708
708
|
shikiConfig: {
|
|
709
709
|
langs: import("shikiji-core/dist/chunk-types.mjs").s[];
|
|
710
|
-
theme: ("aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z) & ("aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z | undefined);
|
|
711
|
-
experimentalThemes: Record<string, "aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z>;
|
|
710
|
+
theme: ("andromeeda" | "aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z) & ("andromeeda" | "aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z | undefined);
|
|
711
|
+
experimentalThemes: Record<string, "andromeeda" | "aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z>;
|
|
712
712
|
wrap: boolean | null;
|
|
713
713
|
transformers: import("shikiji-core/dist/chunk-types.mjs").K[];
|
|
714
714
|
};
|
|
@@ -721,8 +721,8 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
721
721
|
syntaxHighlight?: false | "shiki" | "prism" | undefined;
|
|
722
722
|
shikiConfig?: {
|
|
723
723
|
langs?: import("shikiji-core/dist/chunk-types.mjs").s[] | undefined;
|
|
724
|
-
theme?: "aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z | undefined;
|
|
725
|
-
experimentalThemes?: Record<string, "aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z> | undefined;
|
|
724
|
+
theme?: "andromeeda" | "aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z | undefined;
|
|
725
|
+
experimentalThemes?: Record<string, "andromeeda" | "aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z> | undefined;
|
|
726
726
|
wrap?: boolean | null | undefined;
|
|
727
727
|
transformers?: import("shikiji-core/dist/chunk-types.mjs").K[] | undefined;
|
|
728
728
|
} | undefined;
|
|
@@ -977,8 +977,8 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
977
977
|
syntaxHighlight: false | "shiki" | "prism";
|
|
978
978
|
shikiConfig: {
|
|
979
979
|
langs: import("shikiji-core/dist/chunk-types.mjs").s[];
|
|
980
|
-
theme: ("aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z) & ("aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z | undefined);
|
|
981
|
-
experimentalThemes: Record<string, "aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z>;
|
|
980
|
+
theme: ("andromeeda" | "aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z) & ("andromeeda" | "aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z | undefined);
|
|
981
|
+
experimentalThemes: Record<string, "andromeeda" | "aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z>;
|
|
982
982
|
wrap: boolean | null;
|
|
983
983
|
transformers: import("shikiji-core/dist/chunk-types.mjs").K[];
|
|
984
984
|
};
|
|
@@ -1060,8 +1060,8 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1060
1060
|
syntaxHighlight?: false | "shiki" | "prism" | undefined;
|
|
1061
1061
|
shikiConfig?: {
|
|
1062
1062
|
langs?: import("shikiji-core/dist/chunk-types.mjs").s[] | undefined;
|
|
1063
|
-
theme?: "aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z | undefined;
|
|
1064
|
-
experimentalThemes?: Record<string, "aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z> | undefined;
|
|
1063
|
+
theme?: "andromeeda" | "aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z | undefined;
|
|
1064
|
+
experimentalThemes?: Record<string, "andromeeda" | "aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z> | undefined;
|
|
1065
1065
|
wrap?: boolean | null | undefined;
|
|
1066
1066
|
transformers?: import("shikiji-core/dist/chunk-types.mjs").K[] | undefined;
|
|
1067
1067
|
} | undefined;
|
|
@@ -1170,8 +1170,8 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1170
1170
|
syntaxHighlight: false | "shiki" | "prism";
|
|
1171
1171
|
shikiConfig: {
|
|
1172
1172
|
langs: import("shikiji-core/dist/chunk-types.mjs").s[];
|
|
1173
|
-
theme: ("aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z) & ("aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z | undefined);
|
|
1174
|
-
experimentalThemes: Record<string, "aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z>;
|
|
1173
|
+
theme: ("andromeeda" | "aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z) & ("andromeeda" | "aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z | undefined);
|
|
1174
|
+
experimentalThemes: Record<string, "andromeeda" | "aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z>;
|
|
1175
1175
|
wrap: boolean | null;
|
|
1176
1176
|
transformers: import("shikiji-core/dist/chunk-types.mjs").K[];
|
|
1177
1177
|
};
|
|
@@ -1253,8 +1253,8 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1253
1253
|
syntaxHighlight?: false | "shiki" | "prism" | undefined;
|
|
1254
1254
|
shikiConfig?: {
|
|
1255
1255
|
langs?: import("shikiji-core/dist/chunk-types.mjs").s[] | undefined;
|
|
1256
|
-
theme?: "aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z | undefined;
|
|
1257
|
-
experimentalThemes?: Record<string, "aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z> | undefined;
|
|
1256
|
+
theme?: "andromeeda" | "aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z | undefined;
|
|
1257
|
+
experimentalThemes?: Record<string, "andromeeda" | "aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z> | undefined;
|
|
1258
1258
|
wrap?: boolean | null | undefined;
|
|
1259
1259
|
transformers?: import("shikiji-core/dist/chunk-types.mjs").K[] | undefined;
|
|
1260
1260
|
} | undefined;
|
|
@@ -1363,8 +1363,8 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1363
1363
|
syntaxHighlight: false | "shiki" | "prism";
|
|
1364
1364
|
shikiConfig: {
|
|
1365
1365
|
langs: import("shikiji-core/dist/chunk-types.mjs").s[];
|
|
1366
|
-
theme: ("aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z) & ("aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z | undefined);
|
|
1367
|
-
experimentalThemes: Record<string, "aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z>;
|
|
1366
|
+
theme: ("andromeeda" | "aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z) & ("andromeeda" | "aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z | undefined);
|
|
1367
|
+
experimentalThemes: Record<string, "andromeeda" | "aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z>;
|
|
1368
1368
|
wrap: boolean | null;
|
|
1369
1369
|
transformers: import("shikiji-core/dist/chunk-types.mjs").K[];
|
|
1370
1370
|
};
|
|
@@ -1446,8 +1446,8 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1446
1446
|
syntaxHighlight?: false | "shiki" | "prism" | undefined;
|
|
1447
1447
|
shikiConfig?: {
|
|
1448
1448
|
langs?: import("shikiji-core/dist/chunk-types.mjs").s[] | undefined;
|
|
1449
|
-
theme?: "aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z | undefined;
|
|
1450
|
-
experimentalThemes?: Record<string, "aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z> | undefined;
|
|
1449
|
+
theme?: "andromeeda" | "aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z | undefined;
|
|
1450
|
+
experimentalThemes?: Record<string, "andromeeda" | "aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z> | undefined;
|
|
1451
1451
|
wrap?: boolean | null | undefined;
|
|
1452
1452
|
transformers?: import("shikiji-core/dist/chunk-types.mjs").K[] | undefined;
|
|
1453
1453
|
} | undefined;
|
|
@@ -1556,8 +1556,8 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1556
1556
|
syntaxHighlight: false | "shiki" | "prism";
|
|
1557
1557
|
shikiConfig: {
|
|
1558
1558
|
langs: import("shikiji-core/dist/chunk-types.mjs").s[];
|
|
1559
|
-
theme: ("aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z) & ("aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z | undefined);
|
|
1560
|
-
experimentalThemes: Record<string, "aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z>;
|
|
1559
|
+
theme: ("andromeeda" | "aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z) & ("andromeeda" | "aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z | undefined);
|
|
1560
|
+
experimentalThemes: Record<string, "andromeeda" | "aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z>;
|
|
1561
1561
|
wrap: boolean | null;
|
|
1562
1562
|
transformers: import("shikiji-core/dist/chunk-types.mjs").K[];
|
|
1563
1563
|
};
|
|
@@ -1639,8 +1639,8 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1639
1639
|
syntaxHighlight?: false | "shiki" | "prism" | undefined;
|
|
1640
1640
|
shikiConfig?: {
|
|
1641
1641
|
langs?: import("shikiji-core/dist/chunk-types.mjs").s[] | undefined;
|
|
1642
|
-
theme?: "aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z | undefined;
|
|
1643
|
-
experimentalThemes?: Record<string, "aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z> | undefined;
|
|
1642
|
+
theme?: "andromeeda" | "aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z | undefined;
|
|
1643
|
+
experimentalThemes?: Record<string, "andromeeda" | "aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z> | undefined;
|
|
1644
1644
|
wrap?: boolean | null | undefined;
|
|
1645
1645
|
transformers?: import("shikiji-core/dist/chunk-types.mjs").K[] | undefined;
|
|
1646
1646
|
} | undefined;
|
|
@@ -237,7 +237,7 @@ const AstroConfigSchema = z.object({
|
|
|
237
237
|
if (routing.redirectToDefaultLocale) {
|
|
238
238
|
strategy = "domains-prefix-always";
|
|
239
239
|
} else {
|
|
240
|
-
strategy = "domains-prefix-
|
|
240
|
+
strategy = "domains-prefix-always-no-redirect";
|
|
241
241
|
}
|
|
242
242
|
} else {
|
|
243
243
|
strategy = "domains-prefix-other-locales";
|
|
@@ -287,7 +287,7 @@ const AstroConfigSchema = z.object({
|
|
|
287
287
|
if (domains) {
|
|
288
288
|
const entries = Object.entries(domains);
|
|
289
289
|
if (entries.length > 0) {
|
|
290
|
-
if (routing !== "domains-prefix-other-locales" && routing !== "domains-prefix-
|
|
290
|
+
if (routing !== "domains-prefix-other-locales" && routing !== "domains-prefix-always-no-redirect" && routing !== "domains-prefix-always") {
|
|
291
291
|
ctx.addIssue({
|
|
292
292
|
code: z.ZodIssueCode.custom,
|
|
293
293
|
message: `When specifying some domains, the property \`i18n.routingStrategy\` must be set to \`"domains"\`.`
|
|
@@ -394,7 +394,7 @@ function createRelativeSchema(cmd, fileProtocolRoot) {
|
|
|
394
394
|
}).superRefine((configuration, ctx) => {
|
|
395
395
|
const { site, experimental, i18n, output } = configuration;
|
|
396
396
|
if (experimental.i18nDomains) {
|
|
397
|
-
if (i18n?.routing === "domains-prefix-other-locales" || i18n?.routing === "domains-prefix-
|
|
397
|
+
if (i18n?.routing === "domains-prefix-other-locales" || i18n?.routing === "domains-prefix-always-no-redirect" || i18n?.routing === "domains-prefix-always") {
|
|
398
398
|
if (!site) {
|
|
399
399
|
ctx.addIssue({
|
|
400
400
|
code: z.ZodIssueCode.custom,
|
package/dist/core/constants.js
CHANGED
package/dist/core/dev/dev.js
CHANGED
|
@@ -23,7 +23,7 @@ async function dev(inlineConfig) {
|
|
|
23
23
|
base: restart.container.settings.config.base
|
|
24
24
|
})
|
|
25
25
|
);
|
|
26
|
-
const currentVersion = "4.3.
|
|
26
|
+
const currentVersion = "4.3.6";
|
|
27
27
|
if (currentVersion.includes("-")) {
|
|
28
28
|
logger.warn("SKIP_FORMAT", msg.prerelease({ currentVersion }));
|
|
29
29
|
}
|
package/dist/core/messages.js
CHANGED
|
@@ -36,7 +36,7 @@ function serverStart({
|
|
|
36
36
|
host,
|
|
37
37
|
base
|
|
38
38
|
}) {
|
|
39
|
-
const version = "4.3.
|
|
39
|
+
const version = "4.3.6";
|
|
40
40
|
const localPrefix = `${dim("\u2503")} Local `;
|
|
41
41
|
const networkPrefix = `${dim("\u2503")} Network `;
|
|
42
42
|
const emptyPrefix = " ".repeat(11);
|
|
@@ -261,7 +261,7 @@ function printHelp({
|
|
|
261
261
|
message.push(
|
|
262
262
|
linebreak(),
|
|
263
263
|
` ${bgGreen(black(` ${commandName} `))} ${green(
|
|
264
|
-
`v${"4.3.
|
|
264
|
+
`v${"4.3.6"}`
|
|
265
265
|
)} ${headline}`
|
|
266
266
|
);
|
|
267
267
|
}
|
package/dist/i18n/index.d.ts
CHANGED
|
@@ -44,12 +44,12 @@ interface GetLocalesRelativeUrlList extends GetLocaleOptions {
|
|
|
44
44
|
defaultLocale: string;
|
|
45
45
|
domains: Record<string, string> | undefined;
|
|
46
46
|
}
|
|
47
|
-
export declare function getLocaleRelativeUrlList({
|
|
47
|
+
export declare function getLocaleRelativeUrlList({ locales: _locales, ...rest }: GetLocalesRelativeUrlList): string[];
|
|
48
48
|
interface GetLocalesAbsoluteUrlList extends GetLocalesRelativeUrlList {
|
|
49
|
-
site
|
|
49
|
+
site: AstroConfig['site'];
|
|
50
50
|
isBuild: boolean;
|
|
51
51
|
}
|
|
52
|
-
export declare function getLocaleAbsoluteUrlList(
|
|
52
|
+
export declare function getLocaleAbsoluteUrlList(params: GetLocalesAbsoluteUrlList): string[];
|
|
53
53
|
/**
|
|
54
54
|
* Given a locale (code), it returns its corresponding path
|
|
55
55
|
* @param locale
|
package/dist/i18n/index.js
CHANGED
|
@@ -23,7 +23,7 @@ function getLocaleRelativeUrl({
|
|
|
23
23
|
}
|
|
24
24
|
const pathsToJoin = [base, prependWith];
|
|
25
25
|
const normalizedLocale = normalizeLocale ? normalizeTheLocale(codeToUse) : codeToUse;
|
|
26
|
-
if (routing === "pathname-prefix-always" || routing === "pathname-prefix-always-no-redirect") {
|
|
26
|
+
if (routing === "pathname-prefix-always" || routing === "pathname-prefix-always-no-redirect" || routing === "domains-prefix-always" || routing === "domains-prefix-always-no-redirect") {
|
|
27
27
|
pathsToJoin.push(normalizedLocale);
|
|
28
28
|
} else if (locale !== defaultLocale) {
|
|
29
29
|
pathsToJoin.push(normalizedLocale);
|
|
@@ -39,7 +39,7 @@ function getLocaleAbsoluteUrl({ site, isBuild, ...rest }) {
|
|
|
39
39
|
const localeUrl = getLocaleRelativeUrl(rest);
|
|
40
40
|
const { domains, locale } = rest;
|
|
41
41
|
let url;
|
|
42
|
-
if (isBuild && domains) {
|
|
42
|
+
if (isBuild && domains && domains[locale]) {
|
|
43
43
|
const base = domains[locale];
|
|
44
44
|
url = joinPaths(base, localeUrl.replace(`/${rest.locale}`, ""));
|
|
45
45
|
} else {
|
|
@@ -56,78 +56,18 @@ function getLocaleAbsoluteUrl({ site, isBuild, ...rest }) {
|
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
58
|
function getLocaleRelativeUrlList({
|
|
59
|
-
base,
|
|
60
59
|
locales: _locales,
|
|
61
|
-
|
|
62
|
-
format,
|
|
63
|
-
path,
|
|
64
|
-
prependWith,
|
|
65
|
-
normalizeLocale = true,
|
|
66
|
-
routing = "pathname-prefix-other-locales",
|
|
67
|
-
defaultLocale
|
|
60
|
+
...rest
|
|
68
61
|
}) {
|
|
69
62
|
const locales = toPaths(_locales);
|
|
70
63
|
return locales.map((locale) => {
|
|
71
|
-
|
|
72
|
-
const normalizedLocale = normalizeLocale ? normalizeTheLocale(locale) : locale;
|
|
73
|
-
if (routing === "pathname-prefix-always" || routing === "pathname-prefix-always-no-redirect") {
|
|
74
|
-
pathsToJoin.push(normalizedLocale);
|
|
75
|
-
} else if (locale !== defaultLocale) {
|
|
76
|
-
pathsToJoin.push(normalizedLocale);
|
|
77
|
-
}
|
|
78
|
-
pathsToJoin.push(path);
|
|
79
|
-
if (shouldAppendForwardSlash(trailingSlash, format)) {
|
|
80
|
-
return appendForwardSlash(joinPaths(...pathsToJoin));
|
|
81
|
-
} else {
|
|
82
|
-
return joinPaths(...pathsToJoin);
|
|
83
|
-
}
|
|
64
|
+
return getLocaleRelativeUrl({ ...rest, locales, locale });
|
|
84
65
|
});
|
|
85
66
|
}
|
|
86
|
-
function getLocaleAbsoluteUrlList({
|
|
87
|
-
|
|
88
|
-
locales: _locales,
|
|
89
|
-
trailingSlash,
|
|
90
|
-
format,
|
|
91
|
-
path,
|
|
92
|
-
prependWith,
|
|
93
|
-
normalizeLocale = true,
|
|
94
|
-
routing = "pathname-prefix-other-locales",
|
|
95
|
-
defaultLocale,
|
|
96
|
-
isBuild,
|
|
97
|
-
domains,
|
|
98
|
-
site
|
|
99
|
-
}) {
|
|
100
|
-
const locales = toPaths(_locales);
|
|
67
|
+
function getLocaleAbsoluteUrlList(params) {
|
|
68
|
+
const locales = toCodes(params.locales);
|
|
101
69
|
return locales.map((currentLocale) => {
|
|
102
|
-
|
|
103
|
-
const normalizedLocale = normalizeLocale ? normalizeTheLocale(currentLocale) : currentLocale;
|
|
104
|
-
const domainBase = domains ? domains[currentLocale] : void 0;
|
|
105
|
-
if (isBuild && domainBase) {
|
|
106
|
-
if (domainBase) {
|
|
107
|
-
pathsToJoin.push(domainBase);
|
|
108
|
-
} else {
|
|
109
|
-
pathsToJoin.push(site);
|
|
110
|
-
}
|
|
111
|
-
pathsToJoin.push(base);
|
|
112
|
-
pathsToJoin.push(prependWith);
|
|
113
|
-
} else {
|
|
114
|
-
if (site) {
|
|
115
|
-
pathsToJoin.push(site);
|
|
116
|
-
}
|
|
117
|
-
pathsToJoin.push(base);
|
|
118
|
-
pathsToJoin.push(prependWith);
|
|
119
|
-
if (routing === "pathname-prefix-always" || routing === "pathname-prefix-always-no-redirect") {
|
|
120
|
-
pathsToJoin.push(normalizedLocale);
|
|
121
|
-
} else if (currentLocale !== defaultLocale) {
|
|
122
|
-
pathsToJoin.push(normalizedLocale);
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
pathsToJoin.push(path);
|
|
126
|
-
if (shouldAppendForwardSlash(trailingSlash, format)) {
|
|
127
|
-
return appendForwardSlash(joinPaths(...pathsToJoin));
|
|
128
|
-
} else {
|
|
129
|
-
return joinPaths(...pathsToJoin);
|
|
130
|
-
}
|
|
70
|
+
return getLocaleAbsoluteUrl({ ...params, locale: currentLocale });
|
|
131
71
|
});
|
|
132
72
|
}
|
|
133
73
|
function getPathByLocale(locale, locales) {
|
|
@@ -165,17 +105,13 @@ function normalizeTheLocale(locale) {
|
|
|
165
105
|
return locale.replaceAll("_", "-").toLowerCase();
|
|
166
106
|
}
|
|
167
107
|
function toCodes(locales) {
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
codes.push(locale);
|
|
108
|
+
return locales.map((loopLocale) => {
|
|
109
|
+
if (typeof loopLocale === "string") {
|
|
110
|
+
return loopLocale;
|
|
172
111
|
} else {
|
|
173
|
-
|
|
174
|
-
codes.push(code);
|
|
175
|
-
}
|
|
112
|
+
return loopLocale.codes[0];
|
|
176
113
|
}
|
|
177
|
-
}
|
|
178
|
-
return codes;
|
|
114
|
+
});
|
|
179
115
|
}
|
|
180
116
|
function toPaths(locales) {
|
|
181
117
|
return locales.map((loopLocale) => {
|
package/dist/i18n/middleware.js
CHANGED
|
@@ -37,7 +37,13 @@ function createI18nMiddleware(i18n, base, trailingSlash, buildFormat) {
|
|
|
37
37
|
return void 0;
|
|
38
38
|
};
|
|
39
39
|
const prefixOtherLocales = (url, response) => {
|
|
40
|
-
|
|
40
|
+
let pathnameContainsDefaultLocale = false;
|
|
41
|
+
for (const segment of url.pathname.split("/")) {
|
|
42
|
+
if (normalizeTheLocale(segment) === normalizeTheLocale(i18n.defaultLocale)) {
|
|
43
|
+
pathnameContainsDefaultLocale = true;
|
|
44
|
+
break;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
41
47
|
if (pathnameContainsDefaultLocale) {
|
|
42
48
|
const newLocation = url.pathname.replace(`/${i18n.defaultLocale}`, "");
|
|
43
49
|
response.headers.set("Location", newLocation);
|
|
@@ -85,7 +91,7 @@ function createI18nMiddleware(i18n, base, trailingSlash, buildFormat) {
|
|
|
85
91
|
}
|
|
86
92
|
break;
|
|
87
93
|
}
|
|
88
|
-
case "domains-prefix-
|
|
94
|
+
case "domains-prefix-always-no-redirect": {
|
|
89
95
|
if (localeHasntDomain(i18n, currentLocale)) {
|
|
90
96
|
const result = prefixAlwaysNoRedirect(url, response);
|
|
91
97
|
if (result) {
|
|
@@ -108,7 +108,10 @@ async function runHookConfigSetup({
|
|
|
108
108
|
`The "${integration.name}" integration is trying to add the "${name}" client directive, but it already exists.`
|
|
109
109
|
);
|
|
110
110
|
}
|
|
111
|
-
addedClientDirectives.set(
|
|
111
|
+
addedClientDirectives.set(
|
|
112
|
+
name,
|
|
113
|
+
buildClientDirectiveEntrypoint(name, entrypoint, settings.config.root)
|
|
114
|
+
);
|
|
112
115
|
},
|
|
113
116
|
addMiddleware: ({ order, entrypoint }) => {
|
|
114
117
|
if (typeof updatedSettings.middlewares[order] === "undefined") {
|
|
@@ -304,9 +304,11 @@ async function transition(direction, from, to, options, historyState) {
|
|
|
304
304
|
if (navigationType !== "traverse") {
|
|
305
305
|
updateScrollPosition({ scrollX, scrollY });
|
|
306
306
|
}
|
|
307
|
-
if (samePage(from, to)
|
|
308
|
-
|
|
309
|
-
|
|
307
|
+
if (samePage(from, to)) {
|
|
308
|
+
if (direction !== "back" && to.hash || direction === "back" && from.hash) {
|
|
309
|
+
moveToLocation(to, from, options, document.title, historyState);
|
|
310
|
+
return;
|
|
311
|
+
}
|
|
310
312
|
}
|
|
311
313
|
const prepEvent = await doPreparation(
|
|
312
314
|
from,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "astro",
|
|
3
|
-
"version": "4.3.
|
|
3
|
+
"version": "4.3.6",
|
|
4
4
|
"description": "Astro is a modern site builder with web best practices, performance, and DX front-of-mind.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"author": "withastro",
|
|
@@ -96,6 +96,7 @@
|
|
|
96
96
|
"content-types.template.d.ts",
|
|
97
97
|
"content-module.template.mjs",
|
|
98
98
|
"astro-jsx.d.ts",
|
|
99
|
+
"types/content.d.ts",
|
|
99
100
|
"types.d.ts",
|
|
100
101
|
"README.md",
|
|
101
102
|
"vendor"
|
|
@@ -151,7 +152,8 @@
|
|
|
151
152
|
"resolve": "^1.22.4",
|
|
152
153
|
"semver": "^7.5.4",
|
|
153
154
|
"server-destroy": "^1.0.1",
|
|
154
|
-
"shikiji": "^0.9.
|
|
155
|
+
"shikiji": "^0.9.19",
|
|
156
|
+
"shikiji-core": "^0.9.19",
|
|
155
157
|
"string-width": "^7.0.0",
|
|
156
158
|
"strip-ansi": "^7.1.0",
|
|
157
159
|
"tsconfck": "^3.0.0",
|
|
@@ -212,7 +214,6 @@
|
|
|
212
214
|
"remark-code-titles": "^0.1.2",
|
|
213
215
|
"rollup": "^4.5.0",
|
|
214
216
|
"sass": "^1.69.5",
|
|
215
|
-
"shikiji-core": "^0.9.18",
|
|
216
217
|
"srcset-parse": "^1.1.0",
|
|
217
218
|
"unified": "^11.0.4",
|
|
218
219
|
"astro-scripts": "0.0.14"
|
|
@@ -231,10 +232,11 @@
|
|
|
231
232
|
"dev": "astro-scripts dev --copy-wasm --prebuild \"src/runtime/server/astro-island.ts\" --prebuild \"src/runtime/client/{idle,load,media,only,visible}.ts\" \"src/**/*.{ts,js}\"",
|
|
232
233
|
"postbuild": "astro-scripts copy \"src/**/*.astro\" && astro-scripts copy \"src/**/*.wasm\"",
|
|
233
234
|
"test:unit": "mocha --exit --timeout 30000 ./test/units/**/*.test.js",
|
|
234
|
-
"test:unit:match": "mocha --exit --timeout 30000 ./test/units/**/*.test.js -g",
|
|
235
|
-
"test": "pnpm run test:unit && mocha --exit --timeout 30000 --ignore **/lit-element.test.js && mocha --timeout 30000 **/lit-element.test.js",
|
|
235
|
+
"test:unit:match": "mocha --exit --timeout 30000 ./test/units/**/*.test.js -g --ignore **/*.nodetest.js",
|
|
236
|
+
"test": "pnpm run test:node && pnpm run test:unit && mocha --exit --timeout 30000 --ignore **/*.nodetest.js --ignore **/lit-element.test.js && mocha --timeout 30000 **/lit-element.test.js --ignore **/*.nodetest.js",
|
|
236
237
|
"test:match": "mocha --timeout 30000 -g",
|
|
237
238
|
"test:e2e": "playwright test",
|
|
238
|
-
"test:e2e:match": "playwright test -g"
|
|
239
|
+
"test:e2e:match": "playwright test -g",
|
|
240
|
+
"test:node": "astro-scripts test \"test/**/*.nodetest.js\""
|
|
239
241
|
}
|
|
240
242
|
}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
declare module 'astro:content' {
|
|
2
|
+
export { z } from 'astro/zod';
|
|
3
|
+
|
|
4
|
+
// This needs to be in sync with ImageMetadata
|
|
5
|
+
export type ImageFunction = () => import('astro/zod').ZodObject<{
|
|
6
|
+
src: import('astro/zod').ZodString;
|
|
7
|
+
width: import('astro/zod').ZodNumber;
|
|
8
|
+
height: import('astro/zod').ZodNumber;
|
|
9
|
+
format: import('astro/zod').ZodUnion<
|
|
10
|
+
[
|
|
11
|
+
import('astro/zod').ZodLiteral<'png'>,
|
|
12
|
+
import('astro/zod').ZodLiteral<'jpg'>,
|
|
13
|
+
import('astro/zod').ZodLiteral<'jpeg'>,
|
|
14
|
+
import('astro/zod').ZodLiteral<'tiff'>,
|
|
15
|
+
import('astro/zod').ZodLiteral<'webp'>,
|
|
16
|
+
import('astro/zod').ZodLiteral<'gif'>,
|
|
17
|
+
import('astro/zod').ZodLiteral<'svg'>,
|
|
18
|
+
import('astro/zod').ZodLiteral<'avif'>,
|
|
19
|
+
]
|
|
20
|
+
>;
|
|
21
|
+
}>;
|
|
22
|
+
|
|
23
|
+
type BaseSchemaWithoutEffects =
|
|
24
|
+
| import('astro/zod').AnyZodObject
|
|
25
|
+
| import('astro/zod').ZodUnion<[BaseSchemaWithoutEffects, ...BaseSchemaWithoutEffects[]]>
|
|
26
|
+
| import('astro/zod').ZodDiscriminatedUnion<string, import('astro/zod').AnyZodObject[]>
|
|
27
|
+
| import('astro/zod').ZodIntersection<BaseSchemaWithoutEffects, BaseSchemaWithoutEffects>;
|
|
28
|
+
|
|
29
|
+
type BaseSchema =
|
|
30
|
+
| BaseSchemaWithoutEffects
|
|
31
|
+
| import('astro/zod').ZodEffects<BaseSchemaWithoutEffects>;
|
|
32
|
+
|
|
33
|
+
export type SchemaContext = { image: ImageFunction };
|
|
34
|
+
|
|
35
|
+
type DataCollectionConfig<S extends BaseSchema> = {
|
|
36
|
+
type: 'data';
|
|
37
|
+
schema?: S | ((context: SchemaContext) => S);
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
type ContentCollectionConfig<S extends BaseSchema> = {
|
|
41
|
+
type?: 'content';
|
|
42
|
+
schema?: S | ((context: SchemaContext) => S);
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
type CollectionConfig<S extends BaseSchema> =
|
|
46
|
+
| ContentCollectionConfig<S>
|
|
47
|
+
| DataCollectionConfig<S>;
|
|
48
|
+
|
|
49
|
+
export function defineCollection<S extends BaseSchema>(
|
|
50
|
+
input: CollectionConfig<S>
|
|
51
|
+
): CollectionConfig<S>;
|
|
52
|
+
|
|
53
|
+
/** Run `astro sync` to generate high fidelity types */
|
|
54
|
+
export const getEntryBySlug: (...args: any[]) => any;
|
|
55
|
+
/** Run `astro sync` to generate high fidelity types */
|
|
56
|
+
export const getDataEntryById: (...args: any[]) => any;
|
|
57
|
+
/** Run `astro sync` to generate high fidelity types */
|
|
58
|
+
export const getCollection: (...args: any[]) => any;
|
|
59
|
+
/** Run `astro sync` to generate high fidelity types */
|
|
60
|
+
export const getEntry: (...args: any[]) => any;
|
|
61
|
+
/** Run `astro sync` to generate high fidelity types */
|
|
62
|
+
export const getEntries: (...args: any[]) => any;
|
|
63
|
+
/** Run `astro sync` to generate high fidelity types */
|
|
64
|
+
export const reference: (...args: any[]) => any;
|
|
65
|
+
/** Run `astro sync` to generate high fidelity types */
|
|
66
|
+
export type CollectionKey = any;
|
|
67
|
+
/** Run `astro sync` to generate high fidelity types */
|
|
68
|
+
export type CollectionEntry<C> = any;
|
|
69
|
+
/** Run `astro sync` to generate high fidelity types */
|
|
70
|
+
export type ContentCollectionKey = any;
|
|
71
|
+
/** Run `astro sync` to generate high fidelity types */
|
|
72
|
+
export type DataCollectionKey = any;
|
|
73
|
+
/** Run `astro sync` to generate high fidelity types */
|
|
74
|
+
export type ContentConfig = any;
|
|
75
|
+
}
|