@nuxt/schema-nightly 4.4.3-29608489.ff42fe25 → 4.4.3-29618876.1bd346ee

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.
@@ -0,0 +1,225 @@
1
+ # Licenses of Bundled Dependencies
2
+
3
+ The published artifact additionally contains code with the following licenses:
4
+ MIT
5
+
6
+ # Bundled Dependencies
7
+
8
+ ## c12
9
+
10
+ License: MIT
11
+ Repository: https://github.com/unjs/c12
12
+
13
+ > MIT License
14
+ >
15
+ > Copyright (c) Pooya Parsa <pooya@pi0.io>
16
+ >
17
+ > Permission is hereby granted, free of charge, to any person obtaining a copy
18
+ > of this software and associated documentation files (the "Software"), to deal
19
+ > in the Software without restriction, including without limitation the rights
20
+ > to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
21
+ > copies of the Software, and to permit persons to whom the Software is
22
+ > furnished to do so, subject to the following conditions:
23
+ >
24
+ > The above copyright notice and this permission notice shall be included in all
25
+ > copies or substantial portions of the Software.
26
+ >
27
+ > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
28
+ > IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
29
+ > FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
30
+ > AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
31
+ > LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
32
+ > OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
33
+ > SOFTWARE.
34
+
35
+ ---------------------------------------
36
+
37
+ ## giget
38
+
39
+ License: MIT
40
+ Repository: https://github.com/unjs/giget
41
+
42
+ > MIT License
43
+ >
44
+ > Copyright (c) Pooya Parsa <pooya@pi0.io>
45
+ >
46
+ > Permission is hereby granted, free of charge, to any person obtaining a copy
47
+ > of this software and associated documentation files (the "Software"), to deal
48
+ > in the Software without restriction, including without limitation the rights
49
+ > to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
50
+ > copies of the Software, and to permit persons to whom the Software is
51
+ > furnished to do so, subject to the following conditions:
52
+ >
53
+ > The above copyright notice and this permission notice shall be included in all
54
+ > copies or substantial portions of the Software.
55
+ >
56
+ > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
57
+ > IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
58
+ > FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
59
+ > AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
60
+ > LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
61
+ > OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
62
+ > SOFTWARE.
63
+ >
64
+ > ---
65
+ >
66
+ > Third party bundled dependencies
67
+ >
68
+ > - https://github.com/isaacs/node-tar
69
+ > - https://github.com/isaacs/fs-minipass
70
+ >
71
+ > """
72
+ > The ISC License
73
+ >
74
+ > Copyright (c) Isaac Z. Schlueter and Contributors
75
+ >
76
+ > Permission to use, copy, modify, and/or distribute this software for any
77
+ > purpose with or without fee is hereby granted, provided that the above
78
+ > copyright notice and this permission notice appear in all copies.
79
+ >
80
+ > THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
81
+ > WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
82
+ > MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
83
+ > ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
84
+ > WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
85
+ > ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
86
+ > IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
87
+ > """"
88
+ >
89
+ > - https://github.com/isaacs/minipass
90
+ >
91
+ > """
92
+ > The ISC License
93
+ >
94
+ > Copyright (c) 2017-2023 npm, Inc., Isaac Z. Schlueter, and Contributors
95
+ >
96
+ > Permission to use, copy, modify, and/or distribute this software for any
97
+ > purpose with or without fee is hereby granted, provided that the above
98
+ > copyright notice and this permission notice appear in all copies.
99
+ >
100
+ > THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
101
+ > WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
102
+ > MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
103
+ > ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
104
+ > WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
105
+ > ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
106
+ > IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
107
+ > """
108
+ >
109
+ > - https://github.com/isaacs/minizlib
110
+ >
111
+ > """
112
+ > Minizlib was created by Isaac Z. Schlueter.
113
+ > It is a derivative work of the Node.js project.
114
+ >
115
+ > """
116
+ > Copyright (c) 2017-2023 Isaac Z. Schlueter and Contributors
117
+ > Copyright (c) 2017-2023 Node.js contributors. All rights reserved.
118
+ > Copyright (c) 2017-2023 Joyent, Inc. and other Node contributors. All rights reserved.
119
+ >
120
+ > Permission is hereby granted, free of charge, to any person obtaining a
121
+ > copy of this software and associated documentation files (the "Software"),
122
+ > to deal in the Software without restriction, including without limitation
123
+ > the rights to use, copy, modify, merge, publish, distribute, sublicense,
124
+ > and/or sell copies of the Software, and to permit persons to whom the
125
+ > Software is furnished to do so, subject to the following conditions:
126
+ >
127
+ > The above copyright notice and this permission notice shall be included in
128
+ > all copies or substantial portions of the Software.
129
+ >
130
+ > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
131
+ > OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
132
+ > MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
133
+ > IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
134
+ > CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
135
+ > TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
136
+ > SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
137
+ > """
138
+ >
139
+ > - https://github.com/isaacs/node-mkdirp
140
+ >
141
+ > """
142
+ > Copyright (c) 2011-2023 James Halliday (mail@substack.net) and Isaac Z. Schlueter (i@izs.me)
143
+ >
144
+ > This project is free software released under the MIT license:
145
+ >
146
+ > Permission is hereby granted, free of charge, to any person obtaining a copy
147
+ > of this software and associated documentation files (the "Software"), to deal
148
+ > in the Software without restriction, including without limitation the rights
149
+ > to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
150
+ > copies of the Software, and to permit persons to whom the Software is
151
+ > furnished to do so, subject to the following conditions:
152
+ >
153
+ > The above copyright notice and this permission notice shall be included in
154
+ > all copies or substantial portions of the Software.
155
+ >
156
+ > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
157
+ > IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
158
+ > FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
159
+ > AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
160
+ > LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
161
+ > OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
162
+ > THE SOFTWARE.
163
+ > """
164
+ >
165
+ > - https://github.com/isaacs/yallist/blob/main/LICENSE.md
166
+ > - https://github.com/isaacs/chownr/blob/main/LICENSE.md
167
+ >
168
+ > """
169
+ >
170
+ > # Blue Oak Model License
171
+ >
172
+ > Version 1.0.0
173
+ >
174
+ > ## Purpose
175
+ >
176
+ > This license gives everyone as much permission to work with
177
+ > this software as possible, while protecting contributors
178
+ > from liability.
179
+ >
180
+ > ## Acceptance
181
+ >
182
+ > In order to receive this license, you must agree to its
183
+ > rules. The rules of this license are both obligations
184
+ > under that agreement and conditions to your license.
185
+ > You must not do anything with this software that triggers
186
+ > a rule that you cannot or will not follow.
187
+ >
188
+ > ## Copyright
189
+ >
190
+ > Each contributor licenses you to do everything with this
191
+ > software that would otherwise infringe that contributor's
192
+ > copyright in it.
193
+ >
194
+ > ## Notices
195
+ >
196
+ > You must ensure that everyone who gets a copy of
197
+ > any part of this software from you, with or without
198
+ > changes, also gets the text of this license or a link to
199
+ > <https://blueoakcouncil.org/license/1.0.0>.
200
+ >
201
+ > ## Excuse
202
+ >
203
+ > If anyone notifies you in writing that you have not
204
+ > complied with [Notices](#notices), you can keep your
205
+ > license by taking all practical steps to comply within 30
206
+ > days after the notice. If you do not do so, your license
207
+ > ends immediately.
208
+ >
209
+ > ## Patent
210
+ >
211
+ > Each contributor licenses you to do everything with this
212
+ > software that would otherwise infringe any patent claims
213
+ > they can license or become able to license.
214
+ >
215
+ > ## Reliability
216
+ >
217
+ > No contributor can revoke this license.
218
+ >
219
+ > ## No Liability
220
+ >
221
+ > **_As far as the law allows, this software comes as is,
222
+ > without any warranty or condition, and no contributor
223
+ > will be liable to anyone for any damages related to this
224
+ > software or this license, under any kind of legal claim._**
225
+ > """
@@ -0,0 +1,123 @@
1
+ import { ChokidarOptions } from "chokidar";
2
+
3
+ //#region ../../node_modules/.pnpm/giget@2.0.0/node_modules/giget/dist/index.d.mts
4
+ interface TemplateInfo {
5
+ name: string;
6
+ tar: string;
7
+ version?: string;
8
+ subdir?: string;
9
+ url?: string;
10
+ defaultDir?: string;
11
+ headers?: Record<string, string | undefined>;
12
+ source?: never;
13
+ dir?: never;
14
+ [key: string]: any;
15
+ }
16
+ type TemplateProvider = (input: string, options: {
17
+ auth?: string;
18
+ }) => TemplateInfo | Promise<TemplateInfo> | null;
19
+ interface DownloadTemplateOptions {
20
+ provider?: string;
21
+ force?: boolean;
22
+ forceClean?: boolean;
23
+ offline?: boolean;
24
+ preferOffline?: boolean;
25
+ providers?: Record<string, TemplateProvider>;
26
+ dir?: string;
27
+ registry?: false | string;
28
+ cwd?: string;
29
+ auth?: string;
30
+ install?: boolean;
31
+ silent?: boolean;
32
+ }
33
+ //#endregion
34
+ //#region ../../node_modules/.pnpm/c12@3.3.3_magicast@0.5.2/node_modules/c12/dist/index.d.mts
35
+ //#region src/dotenv.d.ts
36
+ interface DotenvOptions {
37
+ /**
38
+ * The project root directory (either absolute or relative to the current working directory).
39
+ *
40
+ * Defaults to `options.cwd` in `loadConfig` context, or `process.cwd()` when used as standalone.
41
+ */
42
+ cwd?: string;
43
+ /**
44
+ * What file or files to look in for environment variables (either absolute or relative
45
+ * to the current working directory). For example, `.env`.
46
+ * With the array type, the order enforce the env loading priority (last one overrides).
47
+ */
48
+ fileName?: string | string[];
49
+ /**
50
+ * Whether to interpolate variables within .env.
51
+ *
52
+ * @example
53
+ * ```env
54
+ * BASE_DIR="/test"
55
+ * # resolves to "/test/further"
56
+ * ANOTHER_DIR="${BASE_DIR}/further"
57
+ * ```
58
+ */
59
+ interpolate?: boolean;
60
+ /**
61
+ * An object describing environment variables (key, value pairs).
62
+ */
63
+ env?: NodeJS.ProcessEnv;
64
+ }
65
+ declare global {
66
+ var __c12_dotenv_vars__: Map<Record<string, any>, Set<string>>;
67
+ } //#endregion
68
+ //#region src/types.d.ts
69
+ interface ConfigLayerMeta {
70
+ name?: string;
71
+ [key: string]: any;
72
+ }
73
+ type UserInputConfig = Record<string, any>;
74
+ interface C12InputConfig<T extends UserInputConfig = UserInputConfig, MT extends ConfigLayerMeta = ConfigLayerMeta> {
75
+ $test?: T;
76
+ $development?: T;
77
+ $production?: T;
78
+ $env?: Record<string, T>;
79
+ $meta?: MT;
80
+ }
81
+ type InputConfig<T extends UserInputConfig = UserInputConfig, MT extends ConfigLayerMeta = ConfigLayerMeta> = C12InputConfig<T, MT> & T;
82
+ interface SourceOptions<T extends UserInputConfig = UserInputConfig, MT extends ConfigLayerMeta = ConfigLayerMeta> {
83
+ /** Custom meta for layer */
84
+ meta?: MT;
85
+ /** Layer config overrides */
86
+ overrides?: T;
87
+ [key: string]: any;
88
+ /**
89
+ * Options for cloning remote sources
90
+ *
91
+ * @see https://giget.unjs.io
92
+ */
93
+ giget?: DownloadTemplateOptions;
94
+ /**
95
+ * Install dependencies after cloning
96
+ *
97
+ * @see https://nypm.unjs.io
98
+ */
99
+ install?: boolean;
100
+ /**
101
+ * Token for cloning private sources
102
+ *
103
+ * @see https://giget.unjs.io#providing-token-for-private-repositories
104
+ */
105
+ auth?: string;
106
+ }
107
+ interface ConfigLayer<T extends UserInputConfig = UserInputConfig, MT extends ConfigLayerMeta = ConfigLayerMeta> {
108
+ config: T | null;
109
+ source?: string;
110
+ sourceOptions?: SourceOptions<T, MT>;
111
+ meta?: MT;
112
+ cwd?: string;
113
+ configFile?: string;
114
+ }
115
+ interface ResolvedConfig<T extends UserInputConfig = UserInputConfig, MT extends ConfigLayerMeta = ConfigLayerMeta> extends ConfigLayer<T, MT> {
116
+ config: T;
117
+ layers?: ConfigLayer<T, MT>[];
118
+ cwd?: string;
119
+ _configFile?: string;
120
+ }
121
+ type DefineConfig<T extends UserInputConfig = UserInputConfig, MT extends ConfigLayerMeta = ConfigLayerMeta> = (input: InputConfig<T, MT>) => InputConfig<T, MT>;
122
+ //#endregion
123
+ export { SourceOptions as a, ResolvedConfig as i, DefineConfig as n, DotenvOptions as r, ConfigLayerMeta as t };
package/dist/index.d.mts CHANGED
@@ -1,3 +1,4 @@
1
+ import { a as SourceOptions, i as ResolvedConfig, n as DefineConfig, r as DotenvOptions, t as ConfigLayerMeta } from "./_chunks/libs/c12.mjs";
1
2
  import { Defu } from "defu";
2
3
  import { TSConfig } from "pkg-types";
3
4
  import { InputObject, Schema, SchemaDefinition, SchemaDefinition as SchemaDefinition$1 } from "untyped";
@@ -8,10 +9,9 @@ import { AriaAttributes, DataKeys, GlobalAttributes, RenderSSRHeadOptions, Seria
8
9
  import { BundleAnalyzerPlugin } from "webpack-bundle-analyzer";
9
10
  import { PluginVisualizerOptions } from "rollup-plugin-visualizer";
10
11
  import { TransformerOptions } from "unctx/transform";
11
- import { DotenvOptions, ResolvedConfig, SourceOptions } from "c12";
12
+ import { ChokidarOptions } from "chokidar";
12
13
  import { CompatibilityDateSpec } from "compatx";
13
14
  import { Ignore, Options } from "ignore";
14
- import { ChokidarOptions } from "chokidar";
15
15
  import { CorsOptions, H3CorsOptions } from "h3";
16
16
  import { NuxtLinkOptions } from "nuxt/app";
17
17
  import { FetchOptions } from "ofetch";
@@ -392,6 +392,7 @@ type NuxtConfigLayer = ResolvedConfig<NuxtConfig & {
392
392
  cwd: string;
393
393
  configFile: string;
394
394
  };
395
+ interface DefineNuxtConfig extends DefineConfig<NuxtConfig, ConfigLayerMeta> {}
395
396
  interface NuxtBuilder {
396
397
  bundle: (nuxt: Nuxt) => Promise<void>;
397
398
  }
@@ -3073,4 +3074,4 @@ interface ComponentsOptions {
3073
3074
  //#region src/config/index.d.ts
3074
3075
  declare const _default: InputObject;
3075
3076
  //#endregion
3076
- export { type AppConfig, type AppConfigInput, type AppHeadMetaObject, type CompilerScanDir, type Component, type ComponentMeta, type ComponentsDir, type ComponentsOptions, type ConfigSchema, type CustomAppConfig, 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 };
3077
+ 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
@@ -1,10 +1,10 @@
1
1
  import process from "node:process";
2
2
  import { defu } from "defu";
3
3
  import { join, relative, resolve } from "pathe";
4
- import { isDebug, isDevelopment, isTest } from "std-env";
5
4
  import { existsSync } from "node:fs";
6
5
  import { readdir } from "node:fs/promises";
7
6
  import { randomUUID } from "node:crypto";
7
+ import { isDebug, isDevelopment, isTest } from "std-env";
8
8
  import { findWorkspaceDir } from "pkg-types";
9
9
  import { escapeHtml } from "@vue/shared";
10
10
  //#region src/utils/definition.ts
@@ -169,13 +169,13 @@ var build_default = defineResolvers({
169
169
  ...typeof val === "object" ? val : {}
170
170
  };
171
171
  } },
172
- logLevel: { $resolve: (val) => {
172
+ logLevel: { $resolve: async (val, get) => {
173
173
  if (val && typeof val === "string" && ![
174
174
  "silent",
175
175
  "info",
176
176
  "verbose"
177
177
  ].includes(val)) console.warn(`Invalid \`logLevel\` option: \`${val}\`. Must be one of: \`silent\`, \`info\`, \`verbose\`.`);
178
- return val && typeof val === "string" ? val : isTest ? "silent" : "info";
178
+ return val && typeof val === "string" ? val : await get("test") ? "silent" : "info";
179
179
  } },
180
180
  build: {
181
181
  transpile: { $resolve: (val) => {
@@ -849,7 +849,11 @@ var vite_default = defineResolvers({ vite: {
849
849
  root: { $resolve: (val, get) => typeof val === "string" ? val : get("srcDir") },
850
850
  mode: { $resolve: async (val, get) => typeof val === "string" ? val : await get("dev") ? "development" : "production" },
851
851
  define: { $resolve: async (_val, get) => {
852
- const [isDev, isDebug] = await Promise.all([get("dev"), get("debug")]);
852
+ const [isDev, isTest, isDebug] = await Promise.all([
853
+ get("dev"),
854
+ get("test"),
855
+ get("debug")
856
+ ]);
853
857
  return {
854
858
  "__VUE_PROD_HYDRATION_MISMATCH_DETAILS__": Boolean(isDebug && (isDebug === true || isDebug.hydration)),
855
859
  "process.dev": isDev,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuxt/schema-nightly",
3
- "version": "4.4.3-29608489.ff42fe25",
3
+ "version": "4.4.3-29618876.1bd346ee",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/nuxt/nuxt.git",
@@ -23,6 +23,13 @@
23
23
  "builder-env.d.ts",
24
24
  "env.d.ts"
25
25
  ],
26
+ "dependencies": {
27
+ "@vue/shared": "^3.5.30",
28
+ "defu": "^6.1.4",
29
+ "pathe": "^2.0.3",
30
+ "pkg-types": "^2.3.0",
31
+ "std-env": "^4.0.0"
32
+ },
26
33
  "devDependencies": {
27
34
  "@types/pug": "2.0.10",
28
35
  "@types/webpack-bundle-analyzer": "4.7.0",
@@ -62,12 +69,153 @@
62
69
  "webpack": "5.105.4",
63
70
  "webpack-dev-middleware": "7.4.5"
64
71
  },
65
- "dependencies": {
66
- "@vue/shared": "^3.5.30",
67
- "defu": "^6.1.4",
68
- "pathe": "^2.0.3",
69
- "pkg-types": "^2.3.0",
70
- "std-env": "^4.0.0"
72
+ "peerDependencies": {
73
+ "@unhead/vue": "^2.0.10",
74
+ "@vitejs/plugin-vue": "^6.0.50",
75
+ "@vitejs/plugin-vue-jsx": "^5.0.1",
76
+ "@vue/compiler-core": "^3.5.17",
77
+ "@vue/compiler-sfc": "^3.5.17",
78
+ "@vue/language-core": "^3.0.1",
79
+ "autoprefixer": "^10.4.27",
80
+ "chokidar": "^4.0.3 || ^5.0.0",
81
+ "compatx": "^0.2.0",
82
+ "css-minimizer-webpack-plugin": "^7.0.2 || ^8.0.0",
83
+ "cssnano": "^7.1.3",
84
+ "esbuild": "*",
85
+ "esbuild-loader": "^4.3.0",
86
+ "h3": "^1.15.3 || ^2.0.1-rc.16",
87
+ "hookable": "^5.5.3 || ^6.1.0",
88
+ "ignore": "^7.0.5",
89
+ "mini-css-extract-plugin": "^2.9.2",
90
+ "nuxt": "npm:nuxt-nightly@4.4.3-29618876.1bd346ee",
91
+ "ofetch": "^1.4.1 || ^2.0.0-alpha.3",
92
+ "oxc-transform": ">0.77.0",
93
+ "postcss": "^8.5.6",
94
+ "pug": "^3.0.4",
95
+ "rollup-plugin-visualizer": "^6.0.3 || ^7.0.1",
96
+ "scule": "^1.3.0",
97
+ "unctx": "^2.4.1",
98
+ "unimport": "^5.1.0 || ^6.0.2",
99
+ "untyped": "^2.0.0",
100
+ "vite": "^7.0.4 || ^8.0.0",
101
+ "vue": "^3.5.17",
102
+ "vue-bundle-renderer": "^2.1.1",
103
+ "vue-loader": "^17.4.2",
104
+ "vue-router": "^4.5.1 || ^5.0.3",
105
+ "webpack": "^5.99.9",
106
+ "webpack-bundle-analyzer": "^5.3.0",
107
+ "webpack-dev-middleware": "^7.4.2 || ^8.0.3",
108
+ "webpack-hot-middleware": "^2.26.1"
109
+ },
110
+ "peerDependenciesMeta": {
111
+ "@unhead/vue": {
112
+ "optional": true
113
+ },
114
+ "@vitejs/plugin-vue": {
115
+ "optional": true
116
+ },
117
+ "@vitejs/plugin-vue-jsx": {
118
+ "optional": true
119
+ },
120
+ "@vue/compiler-core": {
121
+ "optional": true
122
+ },
123
+ "@vue/compiler-sfc": {
124
+ "optional": true
125
+ },
126
+ "@vue/language-core": {
127
+ "optional": true
128
+ },
129
+ "autoprefixer": {
130
+ "optional": true
131
+ },
132
+ "chokidar": {
133
+ "optional": true
134
+ },
135
+ "compatx": {
136
+ "optional": true
137
+ },
138
+ "css-minimizer-webpack-plugin": {
139
+ "optional": true
140
+ },
141
+ "cssnano": {
142
+ "optional": true
143
+ },
144
+ "esbuild": {
145
+ "optional": true
146
+ },
147
+ "esbuild-loader": {
148
+ "optional": true
149
+ },
150
+ "h3": {
151
+ "optional": true
152
+ },
153
+ "hookable": {
154
+ "optional": true
155
+ },
156
+ "ignore": {
157
+ "optional": true
158
+ },
159
+ "mini-css-extract-plugin": {
160
+ "optional": true
161
+ },
162
+ "nuxt": {
163
+ "optional": true
164
+ },
165
+ "ofetch": {
166
+ "optional": true
167
+ },
168
+ "oxc-transform": {
169
+ "optional": true
170
+ },
171
+ "postcss": {
172
+ "optional": true
173
+ },
174
+ "pug": {
175
+ "optional": true
176
+ },
177
+ "rollup-plugin-visualizer": {
178
+ "optional": true
179
+ },
180
+ "scule": {
181
+ "optional": true
182
+ },
183
+ "unctx": {
184
+ "optional": true
185
+ },
186
+ "unimport": {
187
+ "optional": true
188
+ },
189
+ "untyped": {
190
+ "optional": true
191
+ },
192
+ "vite": {
193
+ "optional": true
194
+ },
195
+ "vue": {
196
+ "optional": true
197
+ },
198
+ "vue-bundle-renderer": {
199
+ "optional": true
200
+ },
201
+ "vue-loader": {
202
+ "optional": true
203
+ },
204
+ "vue-router": {
205
+ "optional": true
206
+ },
207
+ "webpack": {
208
+ "optional": true
209
+ },
210
+ "webpack-bundle-analyzer": {
211
+ "optional": true
212
+ },
213
+ "webpack-dev-middleware": {
214
+ "optional": true
215
+ },
216
+ "webpack-hot-middleware": {
217
+ "optional": true
218
+ }
71
219
  },
72
220
  "engines": {
73
221
  "node": "^14.18.0 || >=16.10.0"