@nuxt/schema-nightly 4.0.0-29159595.eeab543b → 4.0.0-29159628.017d1bed

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
@@ -6,8 +6,7 @@ import { SchemaDefinition, Schema } from 'untyped';
6
6
  export { SchemaDefinition } from 'untyped';
7
7
  import { NitroOptions, NitroConfig, Nitro, NitroEventHandler, NitroDevEventHandler, NitroRuntimeConfigApp, NitroRuntimeConfig } from 'nitropack/types';
8
8
  import { SnakeCase } from 'scule';
9
- import * as c12 from 'c12';
10
- import { SourceOptions, ResolvedConfig } from 'c12';
9
+ import { SourceOptions, DotenvOptions, ResolvedConfig } from 'c12';
11
10
  import { Server, IncomingMessage, ServerResponse } from 'node:http';
12
11
  import { AssetURLTagConfig } from '@vue/compiler-sfc';
13
12
  import { CompilerOptions } from '@vue/compiler-core';
@@ -2246,61 +2245,16 @@ interface ConfigSchema {
2246
2245
  */
2247
2246
  pendingWhenIdle: boolean;
2248
2247
  };
2249
- generate: {
2250
- /**
2251
- * The routes to generate.
2252
- *
2253
- * If you are using the crawler, this will be only the starting point for route generation. This is often necessary when using dynamic routes.
2254
- * It is preferred to use `nitro.prerender.routes`.
2255
- *
2256
- * @example
2257
- * ```js
2258
- * routes: ['/users/1', '/users/2', '/users/3']
2259
- * ```
2260
- */
2261
- routes: string | string[];
2262
- /**
2263
- * This option is no longer used. Instead, use `nitro.prerender.ignore`.
2264
- *
2265
- * @deprecated
2266
- */
2267
- exclude: Array<any>;
2268
- };
2269
2248
  /**
2270
2249
  *
2271
2250
  * @private
2272
2251
  */
2273
2252
  _majorVersion: number;
2274
- /**
2275
- *
2276
- * @private
2277
- */
2278
- _legacyGenerate: boolean;
2279
- /**
2280
- *
2281
- * @private
2282
- */
2283
- _start: boolean;
2284
- /**
2285
- *
2286
- * @private
2287
- */
2288
- _build: boolean;
2289
- /**
2290
- *
2291
- * @private
2292
- */
2293
- _generate: boolean;
2294
2253
  /**
2295
2254
  *
2296
2255
  * @private
2297
2256
  */
2298
2257
  _prepare: boolean;
2299
- /**
2300
- *
2301
- * @private
2302
- */
2303
- _cli: boolean;
2304
2258
  /**
2305
2259
  *
2306
2260
  * @private
@@ -2311,7 +2265,7 @@ interface ConfigSchema {
2311
2265
  * @private
2312
2266
  */
2313
2267
  _loadOptions: {
2314
- dotenv?: boolean | c12.DotenvOptions;
2268
+ dotenv?: boolean | DotenvOptions;
2315
2269
  };
2316
2270
  /**
2317
2271
  *
package/dist/index.d.ts CHANGED
@@ -6,8 +6,7 @@ import { SchemaDefinition, Schema } from 'untyped';
6
6
  export { SchemaDefinition } from 'untyped';
7
7
  import { NitroOptions, NitroConfig, Nitro, NitroEventHandler, NitroDevEventHandler, NitroRuntimeConfigApp, NitroRuntimeConfig } from 'nitropack/types';
8
8
  import { SnakeCase } from 'scule';
9
- import * as c12 from 'c12';
10
- import { SourceOptions, ResolvedConfig } from 'c12';
9
+ import { SourceOptions, DotenvOptions, ResolvedConfig } from 'c12';
11
10
  import { Server, IncomingMessage, ServerResponse } from 'node:http';
12
11
  import { AssetURLTagConfig } from '@vue/compiler-sfc';
13
12
  import { CompilerOptions } from '@vue/compiler-core';
@@ -2246,61 +2245,16 @@ interface ConfigSchema {
2246
2245
  */
2247
2246
  pendingWhenIdle: boolean;
2248
2247
  };
2249
- generate: {
2250
- /**
2251
- * The routes to generate.
2252
- *
2253
- * If you are using the crawler, this will be only the starting point for route generation. This is often necessary when using dynamic routes.
2254
- * It is preferred to use `nitro.prerender.routes`.
2255
- *
2256
- * @example
2257
- * ```js
2258
- * routes: ['/users/1', '/users/2', '/users/3']
2259
- * ```
2260
- */
2261
- routes: string | string[];
2262
- /**
2263
- * This option is no longer used. Instead, use `nitro.prerender.ignore`.
2264
- *
2265
- * @deprecated
2266
- */
2267
- exclude: Array<any>;
2268
- };
2269
2248
  /**
2270
2249
  *
2271
2250
  * @private
2272
2251
  */
2273
2252
  _majorVersion: number;
2274
- /**
2275
- *
2276
- * @private
2277
- */
2278
- _legacyGenerate: boolean;
2279
- /**
2280
- *
2281
- * @private
2282
- */
2283
- _start: boolean;
2284
- /**
2285
- *
2286
- * @private
2287
- */
2288
- _build: boolean;
2289
- /**
2290
- *
2291
- * @private
2292
- */
2293
- _generate: boolean;
2294
2253
  /**
2295
2254
  *
2296
2255
  * @private
2297
2256
  */
2298
2257
  _prepare: boolean;
2299
- /**
2300
- *
2301
- * @private
2302
- */
2303
- _cli: boolean;
2304
2258
  /**
2305
2259
  *
2306
2260
  * @private
@@ -2311,7 +2265,7 @@ interface ConfigSchema {
2311
2265
  * @private
2312
2266
  */
2313
2267
  _loadOptions: {
2314
- dotenv?: boolean | c12.DotenvOptions;
2268
+ dotenv?: boolean | DotenvOptions;
2315
2269
  };
2316
2270
  /**
2317
2271
  *