@nuxt/schema-nightly 4.2.0-29331807.eca36cfe → 4.2.0-29332219.8d8a7e01

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/index.d.mts CHANGED
@@ -2057,6 +2057,10 @@ interface ConfigSchema {
2057
2057
  * @see [CookieStore](https://developer.mozilla.org/en-US/docs/Web/API/CookieStore)
2058
2058
  */
2059
2059
  cookieStore: boolean;
2060
+ /**
2061
+ * Enable experimental Vite Environment API
2062
+ */
2063
+ viteEnvironmentApi: boolean;
2060
2064
  /**
2061
2065
  * This allows specifying the default options for core Nuxt components and composables.
2062
2066
  *
@@ -2433,20 +2437,7 @@ interface ConfigSchema {
2433
2437
  * @see [Vite configuration docs](https://vite.dev/config) for more information.
2434
2438
  * Please note that not all vite options are supported in Nuxt.
2435
2439
  */
2436
- vite: ViteConfig & {
2437
- $client?: ViteConfig;
2438
- $server?: ViteConfig;
2439
- } & {
2440
- viteNode?: {
2441
- maxRetryAttempts?: number;
2442
- /** in milliseconds */
2443
- baseRetryDelay?: number;
2444
- /** in milliseconds */
2445
- maxRetryDelay?: number;
2446
- /** in milliseconds */
2447
- requestTimeout?: number;
2448
- };
2449
- };
2440
+ vite: ViteOptions;
2450
2441
  webpack: {
2451
2442
  /**
2452
2443
  * Nuxt uses `webpack-bundle-analyzer` to visualize your bundles and how to optimize them.
@@ -2803,6 +2794,8 @@ interface ViteConfig extends Omit<UserConfig, 'publicDir'> {
2803
2794
  */
2804
2795
  publicDir?: never;
2805
2796
  }
2797
+ interface ViteOptions extends ViteConfig {
2798
+ }
2806
2799
  interface CustomAppConfig {
2807
2800
  [key: string]: unknown;
2808
2801
  }
@@ -2837,4 +2830,4 @@ interface AppConfig {
2837
2830
  declare const _default: any;
2838
2831
 
2839
2832
  export { _default as NuxtConfigSchema };
2840
- export type { AppConfig, AppConfigInput, AppHeadMetaObject, Component, ComponentMeta, ComponentsDir, ComponentsOptions, CustomAppConfig, GenerateAppOptions, HookResult, ImportPresetWithDeprecation, ImportsOptions, MetaObject, MetaObjectRaw, ModuleDefinition, ModuleDependencies, ModuleDependencyMeta, ModuleMeta, ModuleOptions, ModuleSetupInstallResult, ModuleSetupReturn, Nuxt, NuxtAnalyzeMeta, NuxtApp, NuxtAppConfig, NuxtBuilder, NuxtCompatibility, NuxtCompatibilityIssue, NuxtCompatibilityIssues, NuxtConfig, NuxtConfigLayer, NuxtDebugContext, NuxtDebugModuleMutationRecord, NuxtHookName, NuxtHooks, NuxtLayout, NuxtMiddleware, NuxtModule, NuxtOptions, NuxtPage, NuxtPlugin, NuxtPluginTemplate, NuxtServerTemplate, NuxtTemplate, NuxtTypeTemplate, PublicRuntimeConfig, ResolvedModuleOptions, ResolvedNuxtTemplate, RouterConfig, RouterConfigSerializable, RouterOptions, RuntimeConfig, RuntimeValue, ScanDir, TSReference, UpperSnakeCase, ViteConfig, VueTSConfig, WatchEvent };
2833
+ export type { AppConfig, AppConfigInput, AppHeadMetaObject, Component, ComponentMeta, ComponentsDir, ComponentsOptions, CustomAppConfig, GenerateAppOptions, HookResult, ImportPresetWithDeprecation, ImportsOptions, MetaObject, MetaObjectRaw, ModuleDefinition, ModuleDependencies, ModuleDependencyMeta, ModuleMeta, ModuleOptions, ModuleSetupInstallResult, ModuleSetupReturn, Nuxt, NuxtAnalyzeMeta, NuxtApp, NuxtAppConfig, NuxtBuilder, NuxtCompatibility, NuxtCompatibilityIssue, NuxtCompatibilityIssues, NuxtConfig, NuxtConfigLayer, NuxtDebugContext, NuxtDebugModuleMutationRecord, NuxtHookName, NuxtHooks, NuxtLayout, NuxtMiddleware, NuxtModule, NuxtOptions, NuxtPage, NuxtPlugin, NuxtPluginTemplate, NuxtServerTemplate, NuxtTemplate, NuxtTypeTemplate, PublicRuntimeConfig, ResolvedModuleOptions, ResolvedNuxtTemplate, RouterConfig, RouterConfigSerializable, RouterOptions, RuntimeConfig, RuntimeValue, ScanDir, TSReference, UpperSnakeCase, ViteConfig, ViteOptions, VueTSConfig, WatchEvent };
package/dist/index.d.ts CHANGED
@@ -2057,6 +2057,10 @@ interface ConfigSchema {
2057
2057
  * @see [CookieStore](https://developer.mozilla.org/en-US/docs/Web/API/CookieStore)
2058
2058
  */
2059
2059
  cookieStore: boolean;
2060
+ /**
2061
+ * Enable experimental Vite Environment API
2062
+ */
2063
+ viteEnvironmentApi: boolean;
2060
2064
  /**
2061
2065
  * This allows specifying the default options for core Nuxt components and composables.
2062
2066
  *
@@ -2433,20 +2437,7 @@ interface ConfigSchema {
2433
2437
  * @see [Vite configuration docs](https://vite.dev/config) for more information.
2434
2438
  * Please note that not all vite options are supported in Nuxt.
2435
2439
  */
2436
- vite: ViteConfig & {
2437
- $client?: ViteConfig;
2438
- $server?: ViteConfig;
2439
- } & {
2440
- viteNode?: {
2441
- maxRetryAttempts?: number;
2442
- /** in milliseconds */
2443
- baseRetryDelay?: number;
2444
- /** in milliseconds */
2445
- maxRetryDelay?: number;
2446
- /** in milliseconds */
2447
- requestTimeout?: number;
2448
- };
2449
- };
2440
+ vite: ViteOptions;
2450
2441
  webpack: {
2451
2442
  /**
2452
2443
  * Nuxt uses `webpack-bundle-analyzer` to visualize your bundles and how to optimize them.
@@ -2803,6 +2794,8 @@ interface ViteConfig extends Omit<UserConfig, 'publicDir'> {
2803
2794
  */
2804
2795
  publicDir?: never;
2805
2796
  }
2797
+ interface ViteOptions extends ViteConfig {
2798
+ }
2806
2799
  interface CustomAppConfig {
2807
2800
  [key: string]: unknown;
2808
2801
  }
@@ -2837,4 +2830,4 @@ interface AppConfig {
2837
2830
  declare const _default: any;
2838
2831
 
2839
2832
  export { _default as NuxtConfigSchema };
2840
- export type { AppConfig, AppConfigInput, AppHeadMetaObject, Component, ComponentMeta, ComponentsDir, ComponentsOptions, CustomAppConfig, GenerateAppOptions, HookResult, ImportPresetWithDeprecation, ImportsOptions, MetaObject, MetaObjectRaw, ModuleDefinition, ModuleDependencies, ModuleDependencyMeta, ModuleMeta, ModuleOptions, ModuleSetupInstallResult, ModuleSetupReturn, Nuxt, NuxtAnalyzeMeta, NuxtApp, NuxtAppConfig, NuxtBuilder, NuxtCompatibility, NuxtCompatibilityIssue, NuxtCompatibilityIssues, NuxtConfig, NuxtConfigLayer, NuxtDebugContext, NuxtDebugModuleMutationRecord, NuxtHookName, NuxtHooks, NuxtLayout, NuxtMiddleware, NuxtModule, NuxtOptions, NuxtPage, NuxtPlugin, NuxtPluginTemplate, NuxtServerTemplate, NuxtTemplate, NuxtTypeTemplate, PublicRuntimeConfig, ResolvedModuleOptions, ResolvedNuxtTemplate, RouterConfig, RouterConfigSerializable, RouterOptions, RuntimeConfig, RuntimeValue, ScanDir, TSReference, UpperSnakeCase, ViteConfig, VueTSConfig, WatchEvent };
2833
+ export type { AppConfig, AppConfigInput, AppHeadMetaObject, Component, ComponentMeta, ComponentsDir, ComponentsOptions, CustomAppConfig, GenerateAppOptions, HookResult, ImportPresetWithDeprecation, ImportsOptions, MetaObject, MetaObjectRaw, ModuleDefinition, ModuleDependencies, ModuleDependencyMeta, ModuleMeta, ModuleOptions, ModuleSetupInstallResult, ModuleSetupReturn, Nuxt, NuxtAnalyzeMeta, NuxtApp, NuxtAppConfig, NuxtBuilder, NuxtCompatibility, NuxtCompatibilityIssue, NuxtCompatibilityIssues, NuxtConfig, NuxtConfigLayer, NuxtDebugContext, NuxtDebugModuleMutationRecord, NuxtHookName, NuxtHooks, NuxtLayout, NuxtMiddleware, NuxtModule, NuxtOptions, NuxtPage, NuxtPlugin, NuxtPluginTemplate, NuxtServerTemplate, NuxtTemplate, NuxtTypeTemplate, PublicRuntimeConfig, ResolvedModuleOptions, ResolvedNuxtTemplate, RouterConfig, RouterConfigSerializable, RouterOptions, RuntimeConfig, RuntimeValue, ScanDir, TSReference, UpperSnakeCase, ViteConfig, ViteOptions, VueTSConfig, WatchEvent };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuxt/schema-nightly",
3
- "version": "4.2.0-29331807.eca36cfe",
3
+ "version": "4.2.0-29332219.8d8a7e01",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/nuxt/nuxt.git",