nuxt-nightly 4.1.3-29310283.19fc9abb → 4.1.3-29310384.c791676b

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.
Files changed (2) hide show
  1. package/dist/index.mjs +6 -6
  2. package/package.json +4 -4
package/dist/index.mjs CHANGED
@@ -1319,10 +1319,10 @@ const pagesModule = defineNuxtModule({
1319
1319
  return;
1320
1320
  }
1321
1321
  if (useExperimentalTypedPages) {
1322
- const declarationFile = "./types/typed-router.d.ts";
1322
+ const declarationFile = resolve(nuxt.options.buildDir, "types/typed-router.d.ts");
1323
1323
  const typedRouterOptions = {
1324
1324
  routesFolder: [],
1325
- dts: resolve(nuxt.options.buildDir, declarationFile),
1325
+ dts: declarationFile,
1326
1326
  logs: nuxt.options.debug && nuxt.options.debug.router,
1327
1327
  async beforeWriteFiles(rootPage) {
1328
1328
  for (const child of rootPage.children) {
@@ -1362,11 +1362,10 @@ const pagesModule = defineNuxtModule({
1362
1362
  references.push({ types: "unplugin-vue-router/client" });
1363
1363
  });
1364
1364
  const context = createRoutesContext(resolveOptions(typedRouterOptions));
1365
- const dtsFile = resolve(nuxt.options.buildDir, declarationFile);
1366
- await mkdir(dirname(dtsFile), { recursive: true });
1365
+ await mkdir(dirname(declarationFile), { recursive: true });
1367
1366
  await context.scanPages(false);
1368
1367
  if (nuxt.options._prepare || !nuxt.options.dev) {
1369
- const dts = await readFile(dtsFile, "utf-8");
1368
+ const dts = await readFile(declarationFile, "utf-8");
1370
1369
  addTemplate({
1371
1370
  filename: "types/typed-router.d.ts",
1372
1371
  getContents: () => dts
@@ -3822,7 +3821,7 @@ function addDeclarationTemplates(ctx, options) {
3822
3821
  });
3823
3822
  }
3824
3823
 
3825
- const version = "4.1.3-29310283.19fc9abb";
3824
+ const version = "4.1.3-29310384.c791676b";
3826
3825
 
3827
3826
  const createImportProtectionPatterns = (nuxt, options) => {
3828
3827
  const patterns = [];
@@ -6523,6 +6522,7 @@ const nitroSchemaTemplate = {
6523
6522
  /* typescript */
6524
6523
  `
6525
6524
  ${lines.join("\n")}
6525
+ /// <reference path="./app.config.d.ts" />
6526
6526
  /// <reference path="./runtime-config.d.ts" />
6527
6527
 
6528
6528
  import type { RuntimeConfig } from 'nuxt/schema'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nuxt-nightly",
3
- "version": "4.1.3-29310283.19fc9abb",
3
+ "version": "4.1.3-29310384.c791676b",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/nuxt/nuxt.git",
@@ -67,10 +67,10 @@
67
67
  "@nuxt/cli": "npm:@nuxt/cli-nightly@latest",
68
68
  "@nuxt/devalue": "^2.0.2",
69
69
  "@nuxt/devtools": "^2.6.3",
70
- "@nuxt/kit": "npm:@nuxt/kit-nightly@4.1.3-29310283.19fc9abb",
71
- "@nuxt/schema": "npm:@nuxt/schema-nightly@4.1.3-29310283.19fc9abb",
70
+ "@nuxt/kit": "npm:@nuxt/kit-nightly@4.1.3-29310384.c791676b",
71
+ "@nuxt/schema": "npm:@nuxt/schema-nightly@4.1.3-29310384.c791676b",
72
72
  "@nuxt/telemetry": "^2.6.6",
73
- "@nuxt/vite-builder": "npm:@nuxt/vite-builder-nightly@4.1.3-29310283.19fc9abb",
73
+ "@nuxt/vite-builder": "npm:@nuxt/vite-builder-nightly@4.1.3-29310384.c791676b",
74
74
  "@unhead/vue": "^2.0.14",
75
75
  "@vue/shared": "^3.5.21",
76
76
  "c12": "^3.3.0",