@nuxt/schema-nightly 4.4.3-29621460.375401cc → 4.4.3-29621635.a4e85d14
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/_chunks/libs/c12.d.mts +41 -8
- package/dist/builder-env.d.mts +0 -8
- package/dist/builder-env.mjs +0 -2
- package/dist/index.d.mts +0 -29
- package/dist/index.mjs +0 -38
- package/package.json +23 -23
|
@@ -1,9 +1,43 @@
|
|
|
1
|
+
import { Readable } from "node:stream";
|
|
1
2
|
import { ChokidarOptions } from "chokidar";
|
|
2
|
-
|
|
3
|
-
|
|
3
|
+
type e = `npm` | `yarn` | `pnpm` | `bun` | `deno`;
|
|
4
|
+
type t = {
|
|
5
|
+
name: e;
|
|
6
|
+
command: string;
|
|
7
|
+
version?: string;
|
|
8
|
+
buildMeta?: string;
|
|
9
|
+
majorVersion?: string;
|
|
10
|
+
lockFile?: string | string[];
|
|
11
|
+
files?: string[];
|
|
12
|
+
};
|
|
13
|
+
type n = {
|
|
14
|
+
cwd?: string;
|
|
15
|
+
env?: Record<string, string>;
|
|
16
|
+
silent?: boolean;
|
|
17
|
+
packageManager?: t | e;
|
|
18
|
+
installPeerDependencies?: boolean;
|
|
19
|
+
dev?: boolean;
|
|
20
|
+
workspace?: boolean | string;
|
|
21
|
+
global?: boolean;
|
|
22
|
+
corepack?: boolean;
|
|
23
|
+
dry?: boolean;
|
|
24
|
+
};
|
|
25
|
+
type r = {
|
|
26
|
+
exec?: {
|
|
27
|
+
command: string;
|
|
28
|
+
args: string[];
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
declare function i(e?: Pick<n, `cwd` | `silent` | `packageManager` | `dry` | `corepack`> & {
|
|
32
|
+
frozenLockFile?: boolean;
|
|
33
|
+
ignoreWorkspace?: boolean;
|
|
34
|
+
}): Promise<r>;
|
|
35
|
+
type TarOutput = Readable | ReadableStream<Uint8Array>;
|
|
4
36
|
interface TemplateInfo {
|
|
5
37
|
name: string;
|
|
6
|
-
tar: string
|
|
38
|
+
tar: string | ((options?: {
|
|
39
|
+
auth?: string;
|
|
40
|
+
}) => TarOutput | Promise<TarOutput>);
|
|
7
41
|
version?: string;
|
|
8
42
|
subdir?: string;
|
|
9
43
|
url?: string;
|
|
@@ -15,7 +49,9 @@ interface TemplateInfo {
|
|
|
15
49
|
}
|
|
16
50
|
type TemplateProvider = (input: string, options: {
|
|
17
51
|
auth?: string;
|
|
18
|
-
}) => TemplateInfo | Promise<TemplateInfo> | null;
|
|
52
|
+
}) => TemplateInfo | Promise<TemplateInfo> | null; //#endregion
|
|
53
|
+
//#region src/giget.d.ts
|
|
54
|
+
type InstallOptions = Parameters<typeof i>[0];
|
|
19
55
|
interface DownloadTemplateOptions {
|
|
20
56
|
provider?: string;
|
|
21
57
|
force?: boolean;
|
|
@@ -27,11 +63,9 @@ interface DownloadTemplateOptions {
|
|
|
27
63
|
registry?: false | string;
|
|
28
64
|
cwd?: string;
|
|
29
65
|
auth?: string;
|
|
30
|
-
install?: boolean;
|
|
66
|
+
install?: boolean | InstallOptions;
|
|
31
67
|
silent?: boolean;
|
|
32
68
|
}
|
|
33
|
-
//#endregion
|
|
34
|
-
//#region ../../node_modules/.pnpm/c12@3.3.3_magicast@0.5.2/node_modules/c12/dist/index.d.mts
|
|
35
69
|
//#region src/dotenv.d.ts
|
|
36
70
|
interface DotenvOptions {
|
|
37
71
|
/**
|
|
@@ -119,5 +153,4 @@ interface ResolvedConfig<T extends UserInputConfig = UserInputConfig, MT extends
|
|
|
119
153
|
_configFile?: string;
|
|
120
154
|
}
|
|
121
155
|
type DefineConfig<T extends UserInputConfig = UserInputConfig, MT extends ConfigLayerMeta = ConfigLayerMeta> = (input: InputConfig<T, MT>) => InputConfig<T, MT>;
|
|
122
|
-
//#endregion
|
|
123
156
|
export { SourceOptions as a, ResolvedConfig as i, DefineConfig as n, DotenvOptions as r, ConfigLayerMeta as t };
|
package/dist/builder-env.d.mts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/types/builder-env/vite.d.ts
|
|
2
1
|
/**
|
|
3
2
|
* Reference: https://github.com/vitejs/vite/blob/main/packages/vite/types/importMeta.d.ts
|
|
4
3
|
*/
|
|
@@ -89,8 +88,6 @@ interface ViteImportMeta {
|
|
|
89
88
|
*/
|
|
90
89
|
globEager: ImportGlobEagerFunction;
|
|
91
90
|
}
|
|
92
|
-
//#endregion
|
|
93
|
-
//#region src/types/builder-env/webpack.d.ts
|
|
94
91
|
/**
|
|
95
92
|
* Reference: https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/webpack-env/index.d.ts
|
|
96
93
|
*/
|
|
@@ -284,11 +281,7 @@ interface WebpackImportMeta {
|
|
|
284
281
|
/** the webpack major version as number */
|
|
285
282
|
webpack?: number;
|
|
286
283
|
}
|
|
287
|
-
//#endregion
|
|
288
|
-
//#region src/types/builder-env/index.d.ts
|
|
289
284
|
type BundlerImportMeta = ViteImportMeta & WebpackImportMeta;
|
|
290
|
-
//#endregion
|
|
291
|
-
//#region src/builder-env.d.ts
|
|
292
285
|
declare global {
|
|
293
286
|
interface ImportMeta extends BundlerImportMeta {
|
|
294
287
|
/** the `file:` url of the current file (similar to `__filename` but as file url) */
|
|
@@ -297,5 +290,4 @@ declare global {
|
|
|
297
290
|
}
|
|
298
291
|
}
|
|
299
292
|
declare const builders: readonly ["vite", "webpack"];
|
|
300
|
-
//#endregion
|
|
301
293
|
export { builders };
|
package/dist/builder-env.mjs
CHANGED
package/dist/index.d.mts
CHANGED
|
@@ -40,8 +40,6 @@ import { Options as Options$6 } from "@vitejs/plugin-vue-jsx";
|
|
|
40
40
|
import { SnakeCase } from "scule";
|
|
41
41
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
42
42
|
import { Hookable } from "hookable";
|
|
43
|
-
|
|
44
|
-
//#region src/types/compatibility.d.ts
|
|
45
43
|
interface NuxtCompatibility {
|
|
46
44
|
/**
|
|
47
45
|
* Required nuxt version in semver format.
|
|
@@ -81,8 +79,6 @@ interface NuxtCompatibilityIssues extends Array<NuxtCompatibilityIssue> {
|
|
|
81
79
|
*/
|
|
82
80
|
toString(): string;
|
|
83
81
|
}
|
|
84
|
-
//#endregion
|
|
85
|
-
//#region src/types/router.d.ts
|
|
86
82
|
type RouterOptions = Partial<Omit<RouterOptions$1, "history" | "routes">> & {
|
|
87
83
|
history?: (baseURL?: string) => RouterHistory | null | undefined;
|
|
88
84
|
routes?: (_routes: RouterOptions$1["routes"]) => RouterOptions$1["routes"] | Promise<RouterOptions$1["routes"]>;
|
|
@@ -94,8 +90,6 @@ type RouterConfig = RouterOptions;
|
|
|
94
90
|
* Only JSON serializable router options are configurable from nuxt config
|
|
95
91
|
*/
|
|
96
92
|
type RouterConfigSerializable = Pick<RouterConfig, "linkActiveClass" | "linkExactActiveClass" | "end" | "sensitive" | "strict" | "hashMode" | "scrollBehaviorType">;
|
|
97
|
-
//#endregion
|
|
98
|
-
//#region src/types/module.d.ts
|
|
99
93
|
interface ModuleMeta {
|
|
100
94
|
/** Module name. */
|
|
101
95
|
name?: string;
|
|
@@ -165,8 +159,6 @@ interface NuxtModule<TOptions extends ModuleOptions = ModuleOptions, TOptionsDef
|
|
|
165
159
|
onInstall?: (nuxt: Nuxt) => Awaitable<void>;
|
|
166
160
|
onUpgrade?: (nuxt: Nuxt, options: TWith extends true ? ResolvedModuleOptions<TOptions, TOptionsDefaults> : TOptions, previousVersion: string) => Awaitable<void>;
|
|
167
161
|
}
|
|
168
|
-
//#endregion
|
|
169
|
-
//#region src/types/debug.d.ts
|
|
170
162
|
interface NuxtDebugContext {
|
|
171
163
|
/**
|
|
172
164
|
* Module mutation records to the `nuxt` instance.
|
|
@@ -209,8 +201,6 @@ interface NuxtDebugOptions {
|
|
|
209
201
|
*/
|
|
210
202
|
perf?: boolean | "quiet";
|
|
211
203
|
}
|
|
212
|
-
//#endregion
|
|
213
|
-
//#region src/types/nuxt.d.ts
|
|
214
204
|
interface NuxtPlugin {
|
|
215
205
|
/** @deprecated use mode */
|
|
216
206
|
ssr?: boolean;
|
|
@@ -335,8 +325,6 @@ interface Nuxt {
|
|
|
335
325
|
"vfs": Record<string, string>;
|
|
336
326
|
"apps": Record<string, NuxtApp>;
|
|
337
327
|
}
|
|
338
|
-
//#endregion
|
|
339
|
-
//#region src/types/head.d.ts
|
|
340
328
|
type MetaObjectRaw = SerializableHead;
|
|
341
329
|
type MetaObject = MetaObjectRaw;
|
|
342
330
|
type AppHeadMetaObject = MetaObjectRaw & {
|
|
@@ -351,8 +339,6 @@ type AppHeadMetaObject = MetaObjectRaw & {
|
|
|
351
339
|
viewport?: string;
|
|
352
340
|
};
|
|
353
341
|
type SerializableHtmlAttributes = GlobalAttributes & AriaAttributes & DataKeys;
|
|
354
|
-
//#endregion
|
|
355
|
-
//#region src/types/config.d.ts
|
|
356
342
|
type DeepPartial<T> = T extends Function ? T : T extends Record<string, any> ? { [P in keyof T]?: DeepPartial<T[P]> } : T;
|
|
357
343
|
type UpperSnakeCase<S extends string> = Uppercase<SnakeCase<S>>;
|
|
358
344
|
declare const message: symbol;
|
|
@@ -480,8 +466,6 @@ interface ViewTransitionPageOptions {
|
|
|
480
466
|
toTypes?: string[] | ViewTransitionTypesFn;
|
|
481
467
|
fromTypes?: string[] | ViewTransitionTypesFn;
|
|
482
468
|
}
|
|
483
|
-
//#endregion
|
|
484
|
-
//#region src/types/hooks.d.ts
|
|
485
469
|
type HookResult = Promise<void> | void;
|
|
486
470
|
type TSReference = {
|
|
487
471
|
types: string;
|
|
@@ -940,8 +924,6 @@ interface NuxtHooks {
|
|
|
940
924
|
"rspack:progress": (statesArray: any[]) => void;
|
|
941
925
|
}
|
|
942
926
|
type NuxtHookName = keyof NuxtHooks;
|
|
943
|
-
//#endregion
|
|
944
|
-
//#region src/types/imports.d.ts
|
|
945
927
|
interface ImportsOptions extends UnimportOptions {
|
|
946
928
|
/**
|
|
947
929
|
* Enable implicit auto import from Vue, Nuxt and module contributed utilities.
|
|
@@ -971,8 +953,6 @@ interface ImportsOptions extends UnimportOptions {
|
|
|
971
953
|
*/
|
|
972
954
|
polyfills?: boolean;
|
|
973
955
|
}
|
|
974
|
-
//#endregion
|
|
975
|
-
//#region src/types/schema.d.ts
|
|
976
956
|
interface ConfigSchema {
|
|
977
957
|
/**
|
|
978
958
|
* Configure Nuxt component auto-registration.
|
|
@@ -2879,8 +2859,6 @@ interface ConfigSchema {
|
|
|
2879
2859
|
experiments: false | Configuration["experiments"];
|
|
2880
2860
|
};
|
|
2881
2861
|
}
|
|
2882
|
-
//#endregion
|
|
2883
|
-
//#region src/utils/definition.d.ts
|
|
2884
2862
|
type JavascriptExtension = "js" | "ts" | "tsx" | "jsx" | "mjs" | "cjs" | "mts" | "cts";
|
|
2885
2863
|
type VueExtension = "vue";
|
|
2886
2864
|
/**
|
|
@@ -2888,8 +2866,6 @@ type VueExtension = "vue";
|
|
|
2888
2866
|
* If the property is an array, the type will be added to the array items.
|
|
2889
2867
|
*/
|
|
2890
2868
|
type AugmentProperty<T extends Record<string, any>, K extends keyof T, V> = { [key in keyof T]: key extends K ? NonNullable<T[key]> extends Array<infer U> ? (U | V)[] : T[key] : T[key] };
|
|
2891
|
-
//#endregion
|
|
2892
|
-
//#region src/types/compiler.d.ts
|
|
2893
2869
|
interface KeyedFunction {
|
|
2894
2870
|
/**
|
|
2895
2871
|
* The name of the function.
|
|
@@ -2957,8 +2933,6 @@ interface CompilerScanDir {
|
|
|
2957
2933
|
*/
|
|
2958
2934
|
ignore?: string[];
|
|
2959
2935
|
}
|
|
2960
|
-
//#endregion
|
|
2961
|
-
//#region src/types/components.d.ts
|
|
2962
2936
|
interface ComponentMeta {
|
|
2963
2937
|
[key: string]: unknown;
|
|
2964
2938
|
}
|
|
@@ -3070,8 +3044,5 @@ interface ComponentsOptions {
|
|
|
3070
3044
|
include?: RegExp[];
|
|
3071
3045
|
};
|
|
3072
3046
|
}
|
|
3073
|
-
//#endregion
|
|
3074
|
-
//#region src/config/index.d.ts
|
|
3075
3047
|
declare const _default: InputObject;
|
|
3076
|
-
//#endregion
|
|
3077
3048
|
export { type AppConfig, type AppConfigInput, type AppHeadMetaObject, type CompilerScanDir, type Component, type ComponentMeta, type ComponentsDir, type ComponentsOptions, type ConfigSchema, type CustomAppConfig, type DefineNuxtConfig, type GenerateAppOptions, type HookResult, type ImportPresetWithDeprecation, type ImportsOptions, type KeyedFunction, type KeyedFunctionFactory, type MetaObject, type MetaObjectRaw, type ModuleDefinition, type ModuleDependencies, type ModuleDependencyMeta, type ModuleMeta, type ModuleOptions, type ModuleSetupInstallResult, type ModuleSetupReturn, type Nuxt, type NuxtAnalyzeMeta, type NuxtApp, type NuxtAppConfig, type NuxtBuilder, type NuxtCompatibility, type NuxtCompatibilityIssue, type NuxtCompatibilityIssues, type NuxtCompilerOptions, type NuxtConfig, type NuxtConfigLayer, _default as NuxtConfigSchema, type NuxtDebugContext, type NuxtDebugModuleMutationRecord, type NuxtDebugOptions, type NuxtHookName, type NuxtHooks, type NuxtLayout, type NuxtMiddleware, type NuxtModule, type NuxtOptions, type NuxtPage, type NuxtPlugin, type NuxtPluginTemplate, type NuxtServerTemplate, type NuxtTemplate, type NuxtTypeTemplate, type PublicRuntimeConfig, type ResolvedModuleOptions, type ResolvedNuxtTemplate, type RouterConfig, type RouterConfigSerializable, type RouterOptions, type RuntimeConfig, type RuntimeValue, type ScanDir, type SchemaDefinition, type TSReference, type UpperSnakeCase, type ViewTransitionOptions, type ViewTransitionPageOptions, type ViteConfig, type ViteOptions, type VueTSConfig, type WatchEvent };
|
package/dist/index.mjs
CHANGED
|
@@ -7,12 +7,9 @@ import { randomUUID } from "node:crypto";
|
|
|
7
7
|
import { isDebug, isDevelopment, isTest } from "std-env";
|
|
8
8
|
import { findWorkspaceDir } from "pkg-types";
|
|
9
9
|
import { escapeHtml } from "@vue/shared";
|
|
10
|
-
//#region src/utils/definition.ts
|
|
11
10
|
function defineResolvers(config) {
|
|
12
11
|
return config;
|
|
13
12
|
}
|
|
14
|
-
//#endregion
|
|
15
|
-
//#region src/config/adhoc.ts
|
|
16
13
|
var adhoc_default = defineResolvers({
|
|
17
14
|
components: { $resolve: (val) => {
|
|
18
15
|
if (Array.isArray(val)) return { dirs: val };
|
|
@@ -34,8 +31,6 @@ var adhoc_default = defineResolvers({
|
|
|
34
31
|
telemetry: void 0,
|
|
35
32
|
devtools: {}
|
|
36
33
|
});
|
|
37
|
-
//#endregion
|
|
38
|
-
//#region src/config/app.ts
|
|
39
34
|
var app_default = defineResolvers({
|
|
40
35
|
vue: {
|
|
41
36
|
transformAssetUrls: {
|
|
@@ -145,8 +140,6 @@ var app_default = defineResolvers({
|
|
|
145
140
|
}) }
|
|
146
141
|
}
|
|
147
142
|
});
|
|
148
|
-
//#endregion
|
|
149
|
-
//#region src/config/build.ts
|
|
150
143
|
var build_default = defineResolvers({
|
|
151
144
|
builder: { $resolve: (val) => {
|
|
152
145
|
if (val && typeof val === "object" && "bundle" in val) return val;
|
|
@@ -288,8 +281,6 @@ var build_default = defineResolvers({
|
|
|
288
281
|
}
|
|
289
282
|
}
|
|
290
283
|
});
|
|
291
|
-
//#endregion
|
|
292
|
-
//#region src/config/common.ts
|
|
293
284
|
var common_default = defineResolvers({
|
|
294
285
|
extends: void 0,
|
|
295
286
|
compatibilityDate: void 0,
|
|
@@ -501,8 +492,6 @@ function provideFallbackValues(obj) {
|
|
|
501
492
|
function withTrailingSlash(str) {
|
|
502
493
|
return str.replace(/\/?$/, "/");
|
|
503
494
|
}
|
|
504
|
-
//#endregion
|
|
505
|
-
//#region ../ui-templates/dist/templates/loading.ts
|
|
506
495
|
const _messages = {
|
|
507
496
|
"appName": "Nuxt",
|
|
508
497
|
"loading": "Loading",
|
|
@@ -515,8 +504,6 @@ const template = (messages) => {
|
|
|
515
504
|
};
|
|
516
505
|
return "<!DOCTYPE html><html lang=\"en\"><head><title>" + escapeHtml(messages.loading) + " | " + escapeHtml(messages.appName) + "</title><meta charset=\"utf-8\"><meta content=\"width=device-width,initial-scale=1.0,minimum-scale=1.0\" name=\"viewport\"><style>.nuxt-loader-bar{background:#00dc82;bottom:0;height:3px;left:0;position:fixed;right:0}.triangle-loading{position:absolute}.triangle-loading>path{animation:nuxt-loading-move 3s linear infinite;fill:none;stroke-dasharray:128;stroke-dashoffset:128;stroke-linecap:round;stroke-linejoin:round;stroke-width:4px}.nuxt-logo:hover .triangle-loading>path{animation-play-state:paused}@keyframes nuxt-loading-move{to{stroke-dashoffset:-128}}@media (prefers-color-scheme:dark){body,html{color:#fff;color-scheme:dark}}*,:after,:before{border-color:var(--un-default-border-color,#e5e7eb);border-style:solid;border-width:0;box-sizing:border-box}:after,:before{--un-content:\"\"}html{line-height:1.5;-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal;-moz-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent}body{line-height:inherit;margin:0}a{color:inherit;text-decoration:inherit}svg{display:block;vertical-align:middle}*,:after,:before{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 transparent;--un-ring-shadow:0 0 transparent;--un-shadow-inset: ;--un-shadow:0 0 transparent;--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgba(147,197,253,.5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }.relative{position:relative}.inline-block{display:inline-block}.min-h-screen{min-height:100vh}.flex{display:flex}.flex-col{flex-direction:column}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-center{justify-content:center}.gap-4{gap:1rem}.overflow-hidden{overflow:hidden}.border{border-width:1px}.border-\\[\\#00DC42\\]\\/50{border-color:#00dc4280}.group:hover .group-hover\\:border-\\[\\#00DC42\\]{--un-border-opacity:1;border-color:rgb(0 220 66/var(--un-border-opacity))}.rounded{border-radius:.25rem}.bg-\\[\\#00DC42\\]\\/10{background-color:#00dc421a}.bg-white{--un-bg-opacity:1;background-color:rgb(255 255 255/var(--un-bg-opacity))}.group:hover .group-hover\\:bg-\\[\\#00DC42\\]\\/15{background-color:#00dc4226}.px-2\\.5{padding-left:.625rem;padding-right:.625rem}.py-1\\.5{padding-bottom:.375rem;padding-top:.375rem}.text-center{text-align:center}.text-\\[16px\\]{font-size:16px}.group:hover .group-hover\\:text-\\[\\#00DC82\\],.text-\\[\\#00DC82\\]{--un-text-opacity:1;color:rgb(0 220 130/var(--un-text-opacity))}.text-\\[\\#00DC82\\]\\/80{color:#00dc82cc}.group:hover .group-hover\\:text-\\[\\#020420\\],.text-\\[\\#020420\\]{--un-text-opacity:1;color:rgb(2 4 32/var(--un-text-opacity))}.text-\\[\\#020420\\]\\/80{color:#020420cc}.font-semibold{font-weight:600}.leading-none{line-height:1}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.font-sans{font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media(prefers-color-scheme:dark){.dark\\:bg-\\[\\#020420\\]{--un-bg-opacity:1;background-color:rgb(2 4 32/var(--un-bg-opacity))}.dark\\:text-gray-200{--un-text-opacity:1;color:rgb(224 224 224/var(--un-text-opacity))}.dark\\:text-white,.group:hover .dark\\:group-hover\\:text-white{--un-text-opacity:1;color:rgb(255 255 255/var(--un-text-opacity))}}</style><script>!function(){const e=document.createElement(\"link\").relList;if(!(e&&e.supports&&e.supports(\"modulepreload\"))){for(const e of document.querySelectorAll('link[rel=\"modulepreload\"]'))r(e);new MutationObserver(e=>{for(const o of e)if(\"childList\"===o.type)for(const e of o.addedNodes)\"LINK\"===e.tagName&&\"modulepreload\"===e.rel&&r(e)}).observe(document,{childList:!0,subtree:!0})}function r(e){if(e.ep)return;e.ep=!0;const r=function(e){const r={};return e.integrity&&(r.integrity=e.integrity),e.referrerPolicy&&(r.referrerPolicy=e.referrerPolicy),\"use-credentials\"===e.crossOrigin?r.credentials=\"include\":\"anonymous\"===e.crossOrigin?r.credentials=\"omit\":r.credentials=\"same-origin\",r}(e);fetch(e.href,r)}}();<\/script></head><body class=\"antialiased bg-white dark:bg-[#020420] dark:text-white flex flex-col font-sans items-center justify-center min-h-screen overflow-hidden relative text-[#020420] text-center\"><a href=\"https://nuxt.com/?utm_source=nuxt-loading-screen\" target=\"_blank\" rel=\"noopener\" class=\"flex gap-4 group items-end nuxt-logo\" id=\"nuxtImg\"><div class=\"relative\"><svg xmlns=\"http://www.w3.org/2000/svg\" width=\"80\" fill=\"none\" class=\"group-hover:text-[#00DC82] text-[#00DC82]/80 triangle-loading\" viewBox=\"0 0 37 25\"><path stroke=\"currentColor\" d=\"M24.236 22.006h10.742L25.563 5.822l-8.979 14.31a4 4 0 0 1-3.388 1.874H2.978l11.631-20 5.897 10.567\"/></svg> <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"214\" height=\"53\" fill=\"none\" class=\"dark:group-hover:text-white dark:text-gray-200 group-hover:text-[#020420] text-[#020420]/80\" viewBox=\"0 0 800 200\"><path fill=\"currentColor\" d=\"M377 200a4 4 0 0 0 4-4v-93s5.244 8.286 15 25l38.707 66.961c1.789 3.119 5.084 5.039 8.649 5.039H470V50h-27a4 4 0 0 0-4 4v94l-17-30-36.588-62.98c-1.792-3.108-5.081-5.02-8.639-5.02H350v150zm299.203-56.143L710.551 92h-25.73a9.97 9.97 0 0 0-8.333 4.522L660.757 120.5l-15.731-23.978A9.97 9.97 0 0 0 636.693 92h-25.527l34.348 51.643L608.524 200h24.966a9.97 9.97 0 0 0 8.29-4.458l19.18-28.756 18.981 28.72a9.97 9.97 0 0 0 8.313 4.494h24.736zM724.598 92h19.714V60.071h28.251V92H800v24.857h-27.437V159.5c0 10.5 5.284 15.429 14.43 15.429H800V200h-16.869c-23.576 0-38.819-14.143-38.819-39.214v-43.929h-19.714zM590 92h-15c-3.489 0-6.218.145-8.5 2.523-2.282 2.246-2.5 3.63-2.5 7.066v52.486c0 8.058-.376 12.962-4 16.925-3.624 3.831-8.619 5-16 5-7.247 0-12.376-1.169-16-5-3.624-3.963-4-8.867-4-16.925v-52.486c0-3.435-.218-4.82-2.5-7.066C519.218 92.145 516.489 92 513 92h-15v62.422q0 21.006 11.676 33.292C517.594 195.905 529.103 200 544 200s26.204-4.095 34.123-12.286Q590 175.428 590 154.422z\"/></svg></div> <span class=\"bg-[#00DC42]/10 border border-[#00DC42]/50 font-mono font-semibold group-hover:bg-[#00DC42]/15 group-hover:border-[#00DC42] inline-block leading-none px-2.5 py-1.5 rounded text-[#00DC82] text-[16px]\">4.4.2</span> </a><div class=\"nuxt-loader-bar\"></div><script>if(void 0===window.fetch)setTimeout(()=>window.location.reload(),200);else{const o=async()=>{try{if(!(await window.fetch(window.location.href).then(o=>o.text())).includes(\"__NUXT_LOADING__\"))return window.location.reload()}catch{}setTimeout(o,200)};o()}<\/script><script>const prefersReducedMotion=window.matchMedia(\"(prefers-reduced-motion: reduce)\").matches;function whatHemisphere(){let e=new Date;if(null==e.getTimezoneOffset)return null;e=e.getFullYear();let t=-new Date(e,0,1,0,0,0,0).getTimezoneOffset()- -new Date(e,6,1,0,0,0,0).getTimezoneOffset();return t<0?\"N\":t>0?\"S\":null}const months={N:[10,11,0],S:[4,5,6]},hemisphere=whatHemisphere();if(hemisphere&&months[hemisphere].includes((new Date).getMonth())&&!prefersReducedMotion){let e=\"false\"!==localStorage.getItem(\"nuxt-snow\"),t=null,n=[],r=Date.now();const i=25e-5,a=1.25,o={current:0,maxCurrent:4,force:.1,target:.1,min:.1,max:.4,easing:.01},s=(e,t)=>(e%t+t)%t,d=document.createElement(\"button\");d.id=\"snow-toggle\",d.style=\"position:fixed;bottom:16px;right:16px;z-index:100;background:rgba(255,255,255,0.1);border:1px solid rgba(255,255,255,0.2);border-radius:8px;padding:8px 12px;cursor:pointer;font-size:20px;\",document.body.appendChild(d);const h=document.createElement(\"canvas\");h.id=\"snow-canvas\",h.style=\"position:fixed;inset:0;z-index:-10;pointer-events:none;opacity:0;transition:opacity 0.5s;filter:blur(4px);\",document.body.appendChild(h);const l=h.getContext(\"2d\");function resize(){h.width=window.innerWidth,h.height=window.innerHeight,n=Array.from({length:Math.floor(h.width*h.height*i)},()=>({x:Math.random()*h.width,y:Math.random()*h.height,vx:1+Math.random(),vy:1+Math.random(),vsin:10*Math.random(),rangle:2*Math.random()*Math.PI,rsin:10*Math.random(),color:`rgba(255,255,255,${.1+.15*Math.random()})`,size:5*Math.random()*4*(h.height/1e3)}))}function draw(){l.clearRect(0,0,h.width,h.height);const e=Date.now(),i=e-r;r=e,o.force+=(o.target-o.force)*o.easing,o.current=Math.max(-o.maxCurrent,Math.min(o.current+o.force*i*.05,o.maxCurrent)),Math.random()>.995&&(o.target=(o.min+Math.random()*(o.max-o.min))*(Math.random()>.5?-1:1));const d=.2*i;n.forEach(e=>{e.x=s(e.x+d+o.current*e.vx,h.width),e.y=s(e.y+d*e.vy*a,h.height),e.x+=Math.sin(d*e.vsin)*e.rsin*.5,e.rangle+=.01*d,l.fillStyle=e.color,l.beginPath(),l.ellipse(e.x,e.y,e.size,.66*e.size,e.rangle,0,2*Math.PI),l.fill()}),t=requestAnimationFrame(draw)}function update(){d.innerHTML=e?\"☀️\":\"❄️\",d.title=e?\"Disable snow\":\"Enable snow\",e?(resize(),window.addEventListener(\"resize\",resize),h.style.opacity=1,r=Date.now(),draw()):(t&&cancelAnimationFrame(t),t=null,window.removeEventListener(\"resize\",resize),h.style.opacity=0)}d.onclick=()=>{e=!e,localStorage.setItem(\"nuxt-snow\",e),update()},update()}<\/script></body></html>";
|
|
517
506
|
};
|
|
518
|
-
//#endregion
|
|
519
|
-
//#region src/config/dev.ts
|
|
520
507
|
var dev_default = defineResolvers({ devServer: {
|
|
521
508
|
https: false,
|
|
522
509
|
port: Number(process.env.NUXT_PORT || process.env.NITRO_PORT || process.env.PORT || 3e3),
|
|
@@ -525,8 +512,6 @@ var dev_default = defineResolvers({ devServer: {
|
|
|
525
512
|
loadingTemplate: template,
|
|
526
513
|
cors: { origin: [/^https?:\/\/(?:(?:[^:]+\.)?localhost|127\.0\.0\.1|\[::1\])(?::\d+)?$/] }
|
|
527
514
|
} });
|
|
528
|
-
//#endregion
|
|
529
|
-
//#region src/config/esbuild.ts
|
|
530
515
|
var esbuild_default = defineResolvers({ esbuild: { options: {
|
|
531
516
|
target: { $resolve: async (val, get) => {
|
|
532
517
|
if (typeof val === "string") return val;
|
|
@@ -543,15 +528,11 @@ var esbuild_default = defineResolvers({ esbuild: { options: {
|
|
|
543
528
|
return defu({ compilerOptions: { experimentalDecorators: false } }, val);
|
|
544
529
|
} }
|
|
545
530
|
} } });
|
|
546
|
-
//#endregion
|
|
547
|
-
//#region src/config/oxc.ts
|
|
548
531
|
var oxc_default = defineResolvers({ oxc: { transform: { options: {
|
|
549
532
|
target: "esnext",
|
|
550
533
|
jsxFactory: "h",
|
|
551
534
|
jsxFragment: "Fragment"
|
|
552
535
|
} } } });
|
|
553
|
-
//#endregion
|
|
554
|
-
//#region src/config/experimental.ts
|
|
555
536
|
var experimental_default = defineResolvers({
|
|
556
537
|
future: {
|
|
557
538
|
compatibilityVersion: { $resolve: (val) => typeof val === "number" ? val : 4 },
|
|
@@ -710,14 +691,10 @@ var experimental_default = defineResolvers({
|
|
|
710
691
|
clearBuildHooks: true
|
|
711
692
|
}
|
|
712
693
|
});
|
|
713
|
-
//#endregion
|
|
714
|
-
//#region src/config/generate.ts
|
|
715
694
|
var generate_default = defineResolvers({ generate: {
|
|
716
695
|
routes: [],
|
|
717
696
|
exclude: []
|
|
718
697
|
} });
|
|
719
|
-
//#endregion
|
|
720
|
-
//#region src/config/internal.ts
|
|
721
698
|
var internal_default = defineResolvers({
|
|
722
699
|
_majorVersion: 4,
|
|
723
700
|
_legacyGenerate: false,
|
|
@@ -734,8 +711,6 @@ var internal_default = defineResolvers({
|
|
|
734
711
|
_installedModules: [],
|
|
735
712
|
_modules: []
|
|
736
713
|
});
|
|
737
|
-
//#endregion
|
|
738
|
-
//#region src/config/nitro.ts
|
|
739
714
|
var nitro_default = defineResolvers({
|
|
740
715
|
server: { builder: { $resolve: (val) => {
|
|
741
716
|
if (typeof val === "string") return val;
|
|
@@ -768,8 +743,6 @@ var nitro_default = defineResolvers({
|
|
|
768
743
|
serverHandlers: [],
|
|
769
744
|
devServerHandlers: []
|
|
770
745
|
});
|
|
771
|
-
//#endregion
|
|
772
|
-
//#region src/config/postcss.ts
|
|
773
746
|
const ensureItemIsLast = (item) => (arr) => {
|
|
774
747
|
const index = arr.indexOf(item);
|
|
775
748
|
if (index !== -1) {
|
|
@@ -804,14 +777,10 @@ var postcss_default = defineResolvers({ postcss: {
|
|
|
804
777
|
} }
|
|
805
778
|
}
|
|
806
779
|
} });
|
|
807
|
-
//#endregion
|
|
808
|
-
//#region src/config/router.ts
|
|
809
780
|
var router_default = defineResolvers({ router: { options: {
|
|
810
781
|
hashMode: false,
|
|
811
782
|
scrollBehaviorType: "auto"
|
|
812
783
|
} } });
|
|
813
|
-
//#endregion
|
|
814
|
-
//#region src/config/typescript.ts
|
|
815
784
|
var typescript_default = defineResolvers({ typescript: {
|
|
816
785
|
strict: true,
|
|
817
786
|
builder: { $resolve: (val) => {
|
|
@@ -843,8 +812,6 @@ var typescript_default = defineResolvers({ typescript: {
|
|
|
843
812
|
tsConfig: {},
|
|
844
813
|
shim: false
|
|
845
814
|
} });
|
|
846
|
-
//#endregion
|
|
847
|
-
//#region src/config/vite.ts
|
|
848
815
|
var vite_default = defineResolvers({ vite: {
|
|
849
816
|
root: { $resolve: (val, get) => typeof val === "string" ? val : get("srcDir") },
|
|
850
817
|
mode: { $resolve: async (val, get) => typeof val === "string" ? val : await get("dev") ? "development" : "production" },
|
|
@@ -924,8 +891,6 @@ var vite_default = defineResolvers({ vite: {
|
|
|
924
891
|
} } } },
|
|
925
892
|
cacheDir: { $resolve: async (val, get) => typeof val === "string" ? val : resolve(await get("rootDir"), "node_modules/.cache/vite") }
|
|
926
893
|
} });
|
|
927
|
-
//#endregion
|
|
928
|
-
//#region src/config/webpack.ts
|
|
929
894
|
var webpack_default = defineResolvers({ webpack: {
|
|
930
895
|
analyze: { $resolve: async (val, get) => {
|
|
931
896
|
return defu(typeof val === "boolean" ? { enabled: val } : val && typeof val === "object" ? val : {}, await get("build.analyze"));
|
|
@@ -1020,8 +985,6 @@ var webpack_default = defineResolvers({ webpack: {
|
|
|
1020
985
|
warningIgnoreFilters: [],
|
|
1021
986
|
experiments: {}
|
|
1022
987
|
} });
|
|
1023
|
-
//#endregion
|
|
1024
|
-
//#region src/config/index.ts
|
|
1025
988
|
var config_default = {
|
|
1026
989
|
...adhoc_default,
|
|
1027
990
|
...app_default,
|
|
@@ -1040,5 +1003,4 @@ var config_default = {
|
|
|
1040
1003
|
...vite_default,
|
|
1041
1004
|
...webpack_default
|
|
1042
1005
|
};
|
|
1043
|
-
//#endregion
|
|
1044
1006
|
export { config_default as NuxtConfigSchema };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nuxt/schema-nightly",
|
|
3
|
-
"version": "4.4.3-
|
|
3
|
+
"version": "4.4.3-29621635.a4e85d14",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/nuxt/nuxt.git",
|
|
@@ -24,49 +24,49 @@
|
|
|
24
24
|
"env.d.ts"
|
|
25
25
|
],
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@vue/shared": "^3.5.
|
|
28
|
-
"defu": "^6.1.
|
|
27
|
+
"@vue/shared": "^3.5.33",
|
|
28
|
+
"defu": "^6.1.7",
|
|
29
29
|
"pathe": "^2.0.3",
|
|
30
30
|
"pkg-types": "^2.3.0",
|
|
31
|
-
"std-env": "^4.
|
|
31
|
+
"std-env": "^4.1.0"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@types/pug": "2.0.10",
|
|
35
35
|
"@types/webpack-bundle-analyzer": "4.7.0",
|
|
36
36
|
"@types/webpack-hot-middleware": "2.25.12",
|
|
37
|
-
"@unhead/vue": "2.1.
|
|
38
|
-
"@vitejs/plugin-vue": "6.0.
|
|
37
|
+
"@unhead/vue": "2.1.13",
|
|
38
|
+
"@vitejs/plugin-vue": "6.0.6",
|
|
39
39
|
"@vitejs/plugin-vue-jsx": "5.1.5",
|
|
40
|
-
"@vue/compiler-core": "3.5.
|
|
41
|
-
"@vue/compiler-sfc": "3.5.
|
|
42
|
-
"@vue/language-core": "3.2.
|
|
43
|
-
"c12": "3.3.
|
|
40
|
+
"@vue/compiler-core": "3.5.33",
|
|
41
|
+
"@vue/compiler-sfc": "3.5.33",
|
|
42
|
+
"@vue/language-core": "3.2.7",
|
|
43
|
+
"c12": "3.3.4",
|
|
44
44
|
"chokidar": "5.0.0",
|
|
45
45
|
"compatx": "0.2.0",
|
|
46
46
|
"css-minimizer-webpack-plugin": "8.0.0",
|
|
47
|
-
"esbuild": "0.
|
|
48
|
-
"esbuild-loader": "4.4.
|
|
47
|
+
"esbuild": "0.28.0",
|
|
48
|
+
"esbuild-loader": "4.4.3",
|
|
49
49
|
"file-loader": "6.2.0",
|
|
50
50
|
"h3": "1.15.6",
|
|
51
|
-
"hookable": "6.1.
|
|
51
|
+
"hookable": "6.1.1",
|
|
52
52
|
"ignore": "7.0.5",
|
|
53
|
-
"mini-css-extract-plugin": "2.10.
|
|
54
|
-
"obuild": "0.4.
|
|
53
|
+
"mini-css-extract-plugin": "2.10.2",
|
|
54
|
+
"obuild": "0.4.33",
|
|
55
55
|
"ofetch": "1.5.1",
|
|
56
|
-
"oxc-transform": "0.
|
|
57
|
-
"postcss": "8.5.
|
|
56
|
+
"oxc-transform": "0.127.0",
|
|
57
|
+
"postcss": "8.5.12",
|
|
58
58
|
"rollup-plugin-visualizer": "7.0.1",
|
|
59
59
|
"sass-loader": "16.0.7",
|
|
60
60
|
"scule": "1.3.0",
|
|
61
61
|
"unctx": "2.5.0",
|
|
62
|
-
"unimport": "6.
|
|
62
|
+
"unimport": "6.1.1",
|
|
63
63
|
"untyped": "2.0.0",
|
|
64
|
-
"vite": "7.3.
|
|
65
|
-
"vue": "3.5.
|
|
64
|
+
"vite": "7.3.2",
|
|
65
|
+
"vue": "3.5.33",
|
|
66
66
|
"vue-bundle-renderer": "2.2.0",
|
|
67
67
|
"vue-loader": "17.4.2",
|
|
68
|
-
"vue-router": "5.0.
|
|
69
|
-
"webpack": "5.
|
|
68
|
+
"vue-router": "5.0.6",
|
|
69
|
+
"webpack": "5.106.2",
|
|
70
70
|
"webpack-dev-middleware": "7.4.5"
|
|
71
71
|
},
|
|
72
72
|
"peerDependencies": {
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
"hookable": "^5.5.3 || ^6.1.0",
|
|
88
88
|
"ignore": "^7.0.5",
|
|
89
89
|
"mini-css-extract-plugin": "^2.9.2",
|
|
90
|
-
"nuxt": "npm:nuxt-nightly@4.4.3-
|
|
90
|
+
"nuxt": "npm:nuxt-nightly@4.4.3-29621635.a4e85d14",
|
|
91
91
|
"ofetch": "^1.4.1 || ^2.0.0-alpha.3",
|
|
92
92
|
"oxc-transform": ">0.77.0",
|
|
93
93
|
"postcss": "^8.5.6",
|