@nuxt/kit-nightly 5.0.0-2611141908-7c351c3 → 5.0.0-2611142016-4eafd74

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.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { $ as isNuxt2, A as installModule, At as readPackageJSON, B as ensureDependencyInstalled, Bt as DEFAULT_JSX_FILE_EXTENSIONS$1, C as mergeRuntimeConfigSchemas, Ct as getLayerDirectories, D as stripRuntimeConfigSchemas, Dt as warn, Et as getUserCaller, F as describeNativeImportFailure, Ft as tryUseNuxt, G as useTerminal, H as getAddDependencyCommand, I as getMissingCjsGlobal, It as useNuxt, J as assertNuxtCompatibility, K as logger, L as isLoaderError, Lt as kitDiagnostics, M as loadNuxtModuleInstance, Mt as getNuxtCtx, N as normalizeModuleTranspilePath, Nt as nuxtCtx, O as supportsRuntimeConfigSchemas, Ot as interopDefault, P as resolveModuleWithOptions, Pt as runWithNuxtContext, Q as hasNuxtCompatibility, R as loadJiti, St as resolveIgnorePatterns, T as restoreRuntimeConfigSchemaNulls, U as configDiagnostics, Vt as DEFAULT_JS_FILE_EXTENSIONS$1, X as getNitroVersion, Y as checkNuxtCompatibility, Z as getNuxtVersion, _ as tryUseNitro, _t as distDirURL, a as addDevServerHandler, at as requireModule, b as extractRuntimeConfigSchemas, bt as createIsIgnored, c as addRendererPlugin, ct as tryRequireModule, d as addServerImportsDir, dt as findPath, et as isNuxt3, f as addServerPlugin, ft as resolveAlias, g as resolveServerVariant, gt as MODE_RE, ht as resolvePath, i as componentDiagnostics, it as importModule, jt as resolvePackageDir, k as getDirectory, l as addServerHandler, lt as tryResolveModule, mt as resolveNuxtModule, n as pageDiagnostics, nt as normalizeSemanticVersion, o as addNitroPlugin, ot as resolveModule, p as addServerScanDir, pt as resolveFiles, q as useLogger, r as resolveModuleExportNames, rt as directoryToURL, s as addPrerenderRoutes, st as tryImportModule, t as pluginDiagnostics, tt as isNuxtMajorVersion, u as addServerImports, ut as createResolver, v as useNitro, vt as filterInPlace, w as resolveRuntimeConfig, x as findRuntimeConfigSchema, xt as isIgnored, y as extractModuleRuntimeConfigSchemas, yt as toArray, z as shouldReportJitiFallbackOnce } from "./plugins-DdwBXXiQ.mjs";
1
+ import { $ as hasNuxtCompatibility, A as installModule, B as shouldReportJitiFallbackOnce, C as mergeRuntimeConfigSchemas, Ct as resolveIgnorePatterns, D as stripRuntimeConfigSchemas, Dt as getUserCaller, F as describeNativeImportFailure, Ft as runWithNuxtContext, Ht as DEFAULT_JS_FILE_EXTENSIONS$1, I as getMissingCjsGlobal, It as tryUseNuxt, J as useLogger, K as useTerminal, L as isLoaderError, Lt as useNuxt, M as loadNuxtModuleInstance, Mt as resolvePackageDir, N as normalizeModuleTranspilePath, Nt as getNuxtCtx, O as supportsRuntimeConfigSchemas, Ot as warn, P as resolveModuleWithOptions, Pt as nuxtCtx, Q as getNuxtVersion, Rt as kitDiagnostics, St as isIgnored, T as restoreRuntimeConfigSchemaNulls, U as getAddDependencyCommand, V as ensureDependencyInstalled, Vt as DEFAULT_JSX_FILE_EXTENSIONS$1, W as configDiagnostics, X as checkNuxtCompatibility, Y as assertNuxtCompatibility, Z as getNitroVersion, _ as tryUseNitro, _t as MODE_RE, a as addDevServerHandler, at as importModule, b as extractRuntimeConfigSchemas, bt as toArray, c as addRendererPlugin, ct as tryImportModule, d as addServerImportsDir, dt as createResolver, et as isNuxt2, f as addServerPlugin, ft as findPath, g as resolveServerVariant, gt as resolvePath, ht as resolveNuxtModule, i as componentDiagnostics, it as directoryToURL, jt as readPackageJSON, k as getDirectory, kt as interopDefault, l as addServerHandler, lt as tryRequireModule, mt as resolveFiles, n as pageDiagnostics, nt as isNuxtMajorVersion, o as addNitroPlugin, ot as requireModule, p as addServerScanDir, pt as resolveAlias, q as logger, r as resolveModuleExportNames, rt as normalizeSemanticVersion, s as addPrerenderRoutes, st as resolveModule, t as pluginDiagnostics, tt as isNuxt3, u as addServerImports, ut as tryResolveModule, v as useNitro, vt as distDirURL, w as resolveRuntimeConfig, wt as getLayerDirectories, x as findRuntimeConfigSchema, xt as createIsIgnored, y as extractModuleRuntimeConfigSchemas, yt as filterInPlace, z as loadJiti } from "./plugins-lyHffjGc.mjs";
2
2
  import { createRequire } from "node:module";
3
3
  import { createDefu, defu } from "defu";
4
4
  import { kebabCase, pascalCase } from "scule";
@@ -477,7 +477,7 @@ async function loadConfig(options) {
477
477
  dir: options.cwd
478
478
  }));
479
479
  if (options.globalRc) {
480
- const { findWorkspaceDir } = await import("./plugins-DdwBXXiQ.mjs").then((n) => n.kt);
480
+ const { findWorkspaceDir } = await import("./plugins-lyHffjGc.mjs").then((n) => n.At);
481
481
  const workspaceDir = await findWorkspaceDir(options.cwd).catch(() => {});
482
482
  if (workspaceDir) rcSources.push(rc9.read({
483
483
  name: options.rcFile,
@@ -493,7 +493,7 @@ async function loadConfig(options) {
493
493
  }
494
494
  if (options.packageJson) {
495
495
  const keys = (Array.isArray(options.packageJson) ? options.packageJson : [typeof options.packageJson === "string" ? options.packageJson : options.name]).filter((t) => t && typeof t === "string");
496
- const { readPackageJSON } = await import("./plugins-DdwBXXiQ.mjs").then((n) => n.kt);
496
+ const { readPackageJSON } = await import("./plugins-lyHffjGc.mjs").then((n) => n.At);
497
497
  const pkgJsonFile = await readPackageJSON(options.cwd).catch(() => {});
498
498
  rawConfigs.packageJson = _merger({}, ...keys.map((key) => pkgJsonFile?.[key]));
499
499
  }
@@ -246,14 +246,17 @@ export declare const pluginDiagnostics: import("nostics").Diagnostics<{
246
246
  readonly why: (p: {
247
247
  cycle: string;
248
248
  }) => string;
249
- readonly fix: "Restructure the plugin `dependsOn` declarations to break the cycle.";
249
+ readonly fix: (p: {
250
+ name: string;
251
+ dependency: string;
252
+ }) => string;
250
253
  readonly docs: false;
251
254
  };
252
255
  readonly NUXT_B2010: {
253
256
  readonly why: (p: {
254
257
  src: string;
255
258
  }) => string;
256
- readonly fix: "Use an object literal with static values as the second argument to `defineNuxtPlugin()`, and check the plugin file for syntax errors or unsupported constructs in the metadata.";
259
+ readonly fix: "Pass an object literal with static values to `defineNuxtPlugin()`, and check the plugin file for syntax errors or unsupported constructs in the metadata.";
257
260
  readonly docs: false;
258
261
  };
259
262
  readonly NUXT_B2011: {
@@ -272,6 +275,23 @@ export declare const pluginDiagnostics: import("nostics").Diagnostics<{
272
275
  readonly fix: "Do not depend on plugins that are unavailable in the same build environment; remove them from the `dependsOn` array.";
273
276
  readonly docs: false;
274
277
  };
278
+ readonly NUXT_B2013: {
279
+ readonly why: (p: {
280
+ name: string;
281
+ type: string;
282
+ }) => string;
283
+ readonly fix: (p: {
284
+ name: string;
285
+ }) => string;
286
+ readonly docs: false;
287
+ };
288
+ readonly NUXT_B2014: {
289
+ readonly why: (p: {
290
+ key: string;
291
+ }) => string;
292
+ readonly fix: "Use a literal, or a top-level `const` in the same file that is initialised with one.";
293
+ readonly docs: false;
294
+ };
275
295
  }, readonly [import("nostics").DiagnosticReporter<{
276
296
  method?: import("nostics").ConsoleMethod;
277
297
  }, any>], never>;
@@ -844,6 +864,28 @@ export declare const configDiagnostics: import("nostics").Diagnostics<{
844
864
  readonly fix: "Replace `<NuxtClientFallback>` with `<NuxtErrorBoundary retry-on-client>`, moving fallback content into the `#error` slot (and dropping `retry-on-client` where you used `keep-fallback`). Make sure `experimental.ssrErrorBoundary` is enabled, then remove `experimental.clientFallback` from your `nuxt.config`.";
845
865
  readonly docs: false;
846
866
  };
867
+ readonly NUXT_B5036: {
868
+ readonly why: (p: {
869
+ filePath: string;
870
+ error: string;
871
+ }) => string;
872
+ readonly fix: (p: {
873
+ hint: string;
874
+ installCommand: string;
875
+ }) => string;
876
+ readonly docs: false;
877
+ };
878
+ readonly NUXT_B5037: {
879
+ readonly why: (p: {
880
+ filePath: string;
881
+ error: string;
882
+ }) => string;
883
+ readonly fix: (p: {
884
+ hint: string;
885
+ installCommand: string;
886
+ }) => string;
887
+ readonly docs: false;
888
+ };
847
889
  }, readonly [import("nostics").DiagnosticReporter<{
848
890
  method?: import("nostics").ConsoleMethod;
849
891
  }, any>], never>;
@@ -1189,6 +1231,54 @@ export declare function reportPendingTemplates(): boolean;
1189
1231
  */
1190
1232
  export declare function trackPendingTemplate<T>(filename: string, getContents: () => T | Promise<T>): Promise<T>;
1191
1233
  type JitiModule = typeof import('jiti');
1234
+ /**
1235
+ * Whether a failed `import()` failed because the runtime would not load the file, rather than
1236
+ * because the file threw once it was running.
1237
+ *
1238
+ * A resolution failure anywhere in the imported file's static graph counts, not just one for the
1239
+ * file itself.
1240
+ *
1241
+ * @param error the error the failed `import()` rejected with
1242
+ */
1243
+ export declare function isLoaderError(error: unknown): boolean;
1244
+ /**
1245
+ * The CJS global a failed `import()` reached for, or `undefined` if it failed for another reason.
1246
+ * Unlike {@link isLoaderError} the file was loaded and threw on its own, but jiti supplies these
1247
+ * globals so a retry is still worthwhile.
1248
+ *
1249
+ * Only covers the error raised while the module is evaluated: a `require()` inside a function
1250
+ * called later throws long after the import settled.
1251
+ *
1252
+ * @param error the error the failed `import()` rejected with
1253
+ */
1254
+ export declare function getMissingCjsGlobal(error: unknown): string | undefined;
1255
+ /**
1256
+ * Whether a failed `import()` failed to link because a module does not provide a named export.
1257
+ * Under type stripping this is usually a type imported without `import type`, which jiti erases.
1258
+ *
1259
+ * @param error the error the failed `import()` rejected with
1260
+ */
1261
+ export declare function isMissingExportError(error: unknown): boolean;
1262
+ /**
1263
+ * Explain a failed native import in terms of what the author can change. The runtime supports
1264
+ * TypeScript, so the fix is never "stop using TypeScript": it is the specific thing the runtime
1265
+ * will not do.
1266
+ *
1267
+ * @param error the error the failed `import()` rejected with
1268
+ */
1269
+ export declare function describeNativeImportFailure(error: unknown): string;
1270
+ /**
1271
+ * Whether to tell the user that `filePath` was loaded through jiti rather than by the runtime, and
1272
+ * record that they have been told.
1273
+ *
1274
+ * Returns `true` at most once per file, so a dev server reloading a config does not repeat itself.
1275
+ * Silent only where jiti is not something the project could lose.
1276
+ *
1277
+ * @param filePath the file that had to be loaded through jiti
1278
+ * @param rootDir project root, where the search for a declared `jiti` starts
1279
+ * @param compatibilityVersion resolved `future.compatibilityVersion`
1280
+ */
1281
+ export declare function shouldReportJitiFallbackOnce(filePath: string, rootDir: string, compatibilityVersion: number): boolean;
1192
1282
  interface LoadJitiOptions {
1193
1283
  /** Project root, used to look for a project-level `jiti` and to run the install in. */
1194
1284
  rootDir: string;
@@ -1,4 +1,4 @@
1
- import { At as readPackageJSON, B as ensureDependencyInstalled, Bt as DEFAULT_JSX_FILE_EXTENSIONS, E as runtimeConfigSchemaToType, H as getAddDependencyCommand, It as useNuxt, R as loadJiti, Rt as docsBase, S as getRuntimeConfigSchema, Tt as parseNodeModulePath, U as configDiagnostics, V as findPackageMissingSubpath, Vt as DEFAULT_JS_FILE_EXTENSIONS, W as buildDiagnostics, dt as findPath, ft as resolveAlias, h as kUnusedVariants, i as componentDiagnostics, j as installModules, m as kServerApi, n as pageDiagnostics, r as resolveModuleExportNames, rt as directoryToURL, st as tryImportModule, t as pluginDiagnostics, w as resolveRuntimeConfig, wt as lookupNodeModuleSubpath, x as findRuntimeConfigSchema, zt as reporters } from "../plugins-DdwBXXiQ.mjs";
1
+ import { B as shouldReportJitiFallbackOnce, Bt as reporters, E as runtimeConfigSchemaToType, Et as parseNodeModulePath, F as describeNativeImportFailure, G as buildDiagnostics, H as findPackageMissingSubpath, Ht as DEFAULT_JS_FILE_EXTENSIONS, I as getMissingCjsGlobal, L as isLoaderError, Lt as useNuxt, R as isMissingExportError, S as getRuntimeConfigSchema, Tt as lookupNodeModuleSubpath, U as getAddDependencyCommand, V as ensureDependencyInstalled, Vt as DEFAULT_JSX_FILE_EXTENSIONS, W as configDiagnostics, ct as tryImportModule, ft as findPath, h as kUnusedVariants, i as componentDiagnostics, it as directoryToURL, j as installModules, jt as readPackageJSON, m as kServerApi, n as pageDiagnostics, pt as resolveAlias, r as resolveModuleExportNames, t as pluginDiagnostics, w as resolveRuntimeConfig, x as findRuntimeConfigSchema, z as loadJiti, zt as docsBase } from "../plugins-lyHffjGc.mjs";
2
2
  import { defineDiagnostics } from "nostics";
3
3
  import process from "node:process";
4
4
  import { readFileSync, realpathSync } from "node:fs";
@@ -661,4 +661,4 @@ async function resolveSpaLoadingTemplate(nuxt) {
661
661
  if (nuxt.options.spaLoadingTemplate) bundlerDiagnostics.NUXT_B7016({ path: nuxt.options.spaLoadingTemplate });
662
662
  return "";
663
663
  }
664
- export { DEFAULT_JSX_FILE_EXTENSIONS, DEFAULT_JS_FILE_EXTENSIONS, SERVER_RUNTIME_VERSION, VUE_PACKAGE_NAMES, VUE_PACKAGE_SPECIFIER_RE, addClientBuildState, buildDiagnostics, bundlerDiagnostics, componentDiagnostics, configDiagnostics, createServerBuild, findPackageMissingSubpath, findRuntimeConfigSchema, getRuntimeConfigSchema, getServerRuntime, hasOwnSubpathImport, headDiagnostics, installModules, isInVuePackages, kServerApi, kUnusedVariants, loadJiti, lookupNodeModuleSubpath, pageDiagnostics, parseNodeModulePath, pluginDiagnostics, reportPendingTemplates, resolveModuleExportNames, resolvePostcssPlugins, resolveRuntimeConfig, resolveSpaLoadingTemplate, resolveSpaLoadingTemplatePath, resolveVuePackageImporter, resolveVuePackages, restoreClientBuildState, runtimeConfigSchemaToType, saveClientBuildState, setServerBuild, trackPendingTemplate, useServerBuild };
664
+ export { DEFAULT_JSX_FILE_EXTENSIONS, DEFAULT_JS_FILE_EXTENSIONS, SERVER_RUNTIME_VERSION, VUE_PACKAGE_NAMES, VUE_PACKAGE_SPECIFIER_RE, addClientBuildState, buildDiagnostics, bundlerDiagnostics, componentDiagnostics, configDiagnostics, createServerBuild, describeNativeImportFailure, findPackageMissingSubpath, findRuntimeConfigSchema, getMissingCjsGlobal, getRuntimeConfigSchema, getServerRuntime, hasOwnSubpathImport, headDiagnostics, installModules, isInVuePackages, isLoaderError, isMissingExportError, kServerApi, kUnusedVariants, loadJiti, lookupNodeModuleSubpath, pageDiagnostics, parseNodeModulePath, pluginDiagnostics, reportPendingTemplates, resolveModuleExportNames, resolvePostcssPlugins, resolveRuntimeConfig, resolveSpaLoadingTemplate, resolveSpaLoadingTemplatePath, resolveVuePackageImporter, resolveVuePackages, restoreClientBuildState, runtimeConfigSchemaToType, saveClientBuildState, setServerBuild, shouldReportJitiFallbackOnce, trackPendingTemplate, useServerBuild };
@@ -1265,6 +1265,16 @@ const configDiagnostics = /* #__PURE__ */ defineDiagnostics({
1265
1265
  why: "`experimental.clientFallback` and `<NuxtClientFallback>` are deprecated: `<NuxtErrorBoundary>` now catches server-side errors and can retry on the client.",
1266
1266
  fix: "Replace `<NuxtClientFallback>` with `<NuxtErrorBoundary retry-on-client>`, moving fallback content into the `#error` slot (and dropping `retry-on-client` where you used `keep-fallback`). Make sure `experimental.ssrErrorBoundary` is enabled, then remove `experimental.clientFallback` from your `nuxt.config`.",
1267
1267
  docs: false
1268
+ },
1269
+ NUXT_B5036: {
1270
+ why: (p) => `The Nuxt schema in \`${p.filePath}\` was skipped because the runtime could not load it: ${p.error}`,
1271
+ fix: (p) => `${p.hint} Alternatively, run \`${p.installCommand}\` and Nuxt will load it through jiti instead.`,
1272
+ docs: false
1273
+ },
1274
+ NUXT_B5037: {
1275
+ why: (p) => `The Nuxt schema in \`${p.filePath}\` was loaded through jiti because the runtime could not load it: ${p.error}`,
1276
+ fix: (p) => `${p.hint} Your project does not depend on jiti, so run \`${p.installCommand}\` if you want to keep loading it through jiti.`,
1277
+ docs: false
1268
1278
  }
1269
1279
  }
1270
1280
  });
@@ -1444,6 +1454,17 @@ function getMissingCjsGlobal(error) {
1444
1454
  if (name !== "ReferenceError" || typeof message !== "string") return;
1445
1455
  return CJS_GLOBAL_ERROR_RE.exec(message)?.[1];
1446
1456
  }
1457
+ const MISSING_EXPORT_RE = /does not provide an export named\b/;
1458
+ /**
1459
+ * Whether a failed `import()` failed to link because a module does not provide a named export.
1460
+ * Under type stripping this is usually a type imported without `import type`, which jiti erases.
1461
+ *
1462
+ * @param error the error the failed `import()` rejected with
1463
+ */
1464
+ function isMissingExportError(error) {
1465
+ const { name, message } = error ?? {};
1466
+ return name === "SyntaxError" && typeof message === "string" && MISSING_EXPORT_RE.test(message);
1467
+ }
1447
1468
  const CJS_GLOBALS_HINT = "The file was loaded as native ESM, which does not provide the CommonJS globals `__dirname`, `__filename`, `require`, `module` or `exports`. Use `import.meta.url`, `import.meta.dirname` and `createRequire(import.meta.url)` from `node:module` instead.";
1448
1469
  /**
1449
1470
  * Explain a failed native import in terms of what the author can change. The runtime supports
@@ -1454,6 +1475,7 @@ const CJS_GLOBALS_HINT = "The file was loaded as native ESM, which does not prov
1454
1475
  */
1455
1476
  function describeNativeImportFailure(error) {
1456
1477
  if (getMissingCjsGlobal(error)) return CJS_GLOBALS_HINT;
1478
+ if (isMissingExportError(error)) return "The runtime erases types without checking which imports refer to them, so types have to be imported with `import type`.";
1457
1479
  switch (error?.code) {
1458
1480
  case "ERR_UNSUPPORTED_NODE_MODULES_TYPE_STRIPPING": return "Published packages cannot ship TypeScript entrypoints, because the runtime does not strip types under `node_modules`. Ask the author to publish compiled JavaScript.";
1459
1481
  case "ERR_UNSUPPORTED_TYPESCRIPT_SYNTAX": return "The runtime erases type annotations but cannot compile TypeScript syntax that emits code, such as `enum`, `namespace`, decorators or constructor parameter properties. Replace it with erasable syntax.";
@@ -1596,7 +1618,8 @@ function resolveFromProject(options) {
1596
1618
  const from = [options.rootDir, ...options.searchPaths ?? []].map((dir) => directoryToURL(dir.replace(/[/\\]node_modules[/\\]?$/, "")));
1597
1619
  const direct = resolveModulePath("jiti", {
1598
1620
  from,
1599
- try: true
1621
+ try: true,
1622
+ cache: false
1600
1623
  });
1601
1624
  if (direct) return direct;
1602
1625
  const nuxt = resolveModulePath("nuxt", {
@@ -1615,7 +1638,8 @@ function resolveFromProject(options) {
1615
1638
  }
1616
1639
  return resolveModulePath("jiti", {
1617
1640
  from: pathToFileURL(realNuxt),
1618
- try: true
1641
+ try: true,
1642
+ cache: false
1619
1643
  });
1620
1644
  }
1621
1645
  // src/module/install.ts
@@ -3491,12 +3515,12 @@ const pluginDiagnostics = /* #__PURE__ */ defineDiagnostics({
3491
3515
  },
3492
3516
  NUXT_B2009: {
3493
3517
  why: (p) => `Circular dependency detected in plugins: ${p.cycle}.`,
3494
- fix: "Restructure the plugin `dependsOn` declarations to break the cycle.",
3518
+ fix: (p) => `Restructure the plugin \`dependsOn\` declarations to break the cycle. Production builds fail until this is fixed; in development, plugin \`${p.name}\` does not wait for \`${p.dependency}\`.`,
3495
3519
  docs: false
3496
3520
  },
3497
3521
  NUXT_B2010: {
3498
3522
  why: (p) => `Failed to parse static properties from plugin \`${p.src}\`, falling back to non-optimized runtime meta.`,
3499
- fix: "Use an object literal with static values as the second argument to `defineNuxtPlugin()`, and check the plugin file for syntax errors or unsupported constructs in the metadata.",
3523
+ fix: "Pass an object literal with static values to `defineNuxtPlugin()`, and check the plugin file for syntax errors or unsupported constructs in the metadata.",
3500
3524
  docs: false
3501
3525
  },
3502
3526
  NUXT_B2011: {
@@ -3512,7 +3536,17 @@ const pluginDiagnostics = /* #__PURE__ */ defineDiagnostics({
3512
3536
  },
3513
3537
  fix: "Do not depend on plugins that are unavailable in the same build environment; remove them from the `dependsOn` array.",
3514
3538
  docs: false
3539
+ },
3540
+ NUXT_B2013: {
3541
+ why: (p) => `The plugin passed to \`${p.name}\` is a \`${p.type}\`, not an object literal or a function.`,
3542
+ fix: (p) => `Pass an object literal or a function directly to \`${p.name}()\` so its metadata can be statically analysed.`,
3543
+ docs: false
3544
+ },
3545
+ NUXT_B2014: {
3546
+ why: (p) => `The \`${p.key}\` option of a plugin is not a static value.`,
3547
+ fix: "Use a literal, or a top-level `const` in the same file that is initialised with one.",
3548
+ docs: false
3515
3549
  }
3516
3550
  }
3517
3551
  });
3518
- export { isNuxt2 as $, installModule as A, readPackageJSON as At, ensureDependencyInstalled as B, DEFAULT_JSX_FILE_EXTENSIONS as Bt, mergeRuntimeConfigSchemas as C, getLayerDirectories as Ct, stripRuntimeConfigSchemas as D, warn as Dt, runtimeConfigSchemaToType as E, getUserCaller as Et, describeNativeImportFailure as F, tryUseNuxt as Ft, useTerminal as G, getAddDependencyCommand as H, getMissingCjsGlobal as I, useNuxt as It, assertNuxtCompatibility as J, logger as K, isLoaderError as L, kitDiagnostics as Lt, loadNuxtModuleInstance as M, getNuxtCtx as Mt, normalizeModuleTranspilePath as N, nuxtCtx as Nt, supportsRuntimeConfigSchemas as O, interopDefault as Ot, resolveModuleWithOptions as P, runWithNuxtContext as Pt, hasNuxtCompatibility as Q, loadJiti as R, docsBase as Rt, getRuntimeConfigSchema as S, resolveIgnorePatterns as St, restoreRuntimeConfigSchemaNulls as T, parseNodeModulePath as Tt, configDiagnostics as U, findPackageMissingSubpath as V, DEFAULT_JS_FILE_EXTENSIONS as Vt, buildDiagnostics as W, getNitroVersion as X, checkNuxtCompatibility as Y, getNuxtVersion as Z, tryUseNitro as _, distDirURL as _t, addDevServerHandler as a, requireModule as at, extractRuntimeConfigSchemas as b, createIsIgnored as bt, addRendererPlugin as c, tryRequireModule as ct, addServerImportsDir as d, findPath as dt, isNuxt3 as et, addServerPlugin as f, resolveAlias$1 as ft, resolveServerVariant as g, MODE_RE as gt, kUnusedVariants as h, resolvePath as ht, componentDiagnostics as i, importModule as it, installModules as j, resolvePackageDir as jt, getDirectory as k, package_json_exports as kt, addServerHandler as l, tryResolveModule as lt, kServerApi as m, resolveNuxtModule as mt, pageDiagnostics as n, normalizeSemanticVersion as nt, addNitroPlugin as o, resolveModule as ot, addServerScanDir as p, resolveFiles as pt, useLogger as q, resolveModuleExportNames as r, directoryToURL as rt, addPrerenderRoutes as s, tryImportModule as st, pluginDiagnostics as t, isNuxtMajorVersion as tt, addServerImports as u, createResolver as ut, useNitro as v, filterInPlace as vt, resolveRuntimeConfig as w, lookupNodeModuleSubpath as wt, findRuntimeConfigSchema as x, isIgnored as xt, extractModuleRuntimeConfigSchemas as y, toArray as yt, shouldReportJitiFallbackOnce as z, reporters as zt };
3552
+ export { hasNuxtCompatibility as $, installModule as A, package_json_exports as At, shouldReportJitiFallbackOnce as B, reporters as Bt, mergeRuntimeConfigSchemas as C, resolveIgnorePatterns as Ct, stripRuntimeConfigSchemas as D, getUserCaller as Dt, runtimeConfigSchemaToType as E, parseNodeModulePath as Et, describeNativeImportFailure as F, runWithNuxtContext as Ft, buildDiagnostics as G, findPackageMissingSubpath as H, DEFAULT_JS_FILE_EXTENSIONS as Ht, getMissingCjsGlobal as I, tryUseNuxt as It, useLogger as J, useTerminal as K, isLoaderError as L, useNuxt as Lt, loadNuxtModuleInstance as M, resolvePackageDir as Mt, normalizeModuleTranspilePath as N, getNuxtCtx as Nt, supportsRuntimeConfigSchemas as O, warn as Ot, resolveModuleWithOptions as P, nuxtCtx as Pt, getNuxtVersion as Q, isMissingExportError as R, kitDiagnostics as Rt, getRuntimeConfigSchema as S, isIgnored as St, restoreRuntimeConfigSchemaNulls as T, lookupNodeModuleSubpath as Tt, getAddDependencyCommand as U, ensureDependencyInstalled as V, DEFAULT_JSX_FILE_EXTENSIONS as Vt, configDiagnostics as W, checkNuxtCompatibility as X, assertNuxtCompatibility as Y, getNitroVersion as Z, tryUseNitro as _, MODE_RE as _t, addDevServerHandler as a, importModule as at, extractRuntimeConfigSchemas as b, toArray as bt, addRendererPlugin as c, tryImportModule as ct, addServerImportsDir as d, createResolver as dt, isNuxt2 as et, addServerPlugin as f, findPath as ft, resolveServerVariant as g, resolvePath as gt, kUnusedVariants as h, resolveNuxtModule as ht, componentDiagnostics as i, directoryToURL as it, installModules as j, readPackageJSON as jt, getDirectory as k, interopDefault as kt, addServerHandler as l, tryRequireModule as lt, kServerApi as m, resolveFiles as mt, pageDiagnostics as n, isNuxtMajorVersion as nt, addNitroPlugin as o, requireModule as ot, addServerScanDir as p, resolveAlias$1 as pt, logger as q, resolveModuleExportNames as r, normalizeSemanticVersion as rt, addPrerenderRoutes as s, resolveModule as st, pluginDiagnostics as t, isNuxt3 as tt, addServerImports as u, tryResolveModule as ut, useNitro as v, distDirURL as vt, resolveRuntimeConfig as w, getLayerDirectories as wt, findRuntimeConfigSchema as x, createIsIgnored as xt, extractModuleRuntimeConfigSchemas as y, filterInPlace as yt, loadJiti as z, docsBase as zt };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuxt/kit-nightly",
3
- "version": "5.0.0-2611141908-7c351c3",
3
+ "version": "5.0.0-2611142016-4eafd74",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/nuxt/nuxt.git",
@@ -47,7 +47,7 @@
47
47
  "verkit": "^0.5.0"
48
48
  },
49
49
  "peerDependencies": {
50
- "@nuxt/schema": "npm:@nuxt/schema-nightly@5.0.0-2611141908-7c351c3",
50
+ "@nuxt/schema": "npm:@nuxt/schema-nightly@5.0.0-2611142016-4eafd74",
51
51
  "confbox": ">=0.1.0",
52
52
  "dotenv": "*",
53
53
  "giget": ">=3.1.0",
@@ -83,7 +83,7 @@
83
83
  }
84
84
  },
85
85
  "devDependencies": {
86
- "@nuxt/schema": "npm:@nuxt/schema-nightly@5.0.0-2611141908-7c351c3",
86
+ "@nuxt/schema": "npm:@nuxt/schema-nightly@5.0.0-2611142016-4eafd74",
87
87
  "c12": "4.0.0-rc.4",
88
88
  "chokidar": "^6.0.0",
89
89
  "confbox": "^0.3.2",