@nuxt/nitro-server-nightly 5.0.0-29802690.ec0fbdc8 → 5.0.0-29802834.fa276ee3

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.
@@ -1,5 +1,5 @@
1
1
  import { EventHandler, H3Event } from "nitro/h3";
2
- import { InternalApi, Nitro, NitroConfig, NitroDevEventHandler, NitroEventHandler, NitroOptions, NitroRouteConfig, NitroRuntimeConfig, NitroRuntimeConfigApp, TracingOptions } from "nitro/types";
2
+ import { InternalApi, Nitro, NitroConfig, NitroDevEventHandler, NitroEventHandler, NitroOptions, NitroRouteConfig, NitroRouteRules, NitroRuntimeConfig, NitroRuntimeConfigApp, TracingOptions } from "nitro/types";
3
3
  import { LogObject } from "consola";
4
4
  import { NuxtIslandContext, NuxtIslandResponse, NuxtRenderChunkContext, NuxtRenderCloseContext, NuxtRenderHTMLContext, NuxtRenderRouteContext } from "#app/types";
5
5
  import { HookResult, RuntimeConfig, SharedAppConfig, TSReference } from "nuxt/schema";
@@ -75,6 +75,7 @@ declare module "@nuxt/schema" {
75
75
  }
76
76
  interface ServerTypes {
77
77
  event: H3Event;
78
+ routeRules: NitroRouteRules;
78
79
  }
79
80
  interface ServerRoutes extends InternalApi {}
80
81
  interface NuxtHooks {
@@ -194,6 +195,7 @@ declare module "nuxt/schema" {
194
195
  }
195
196
  interface ServerTypes {
196
197
  event: H3Event;
198
+ routeRules: NitroRouteRules;
197
199
  }
198
200
  interface ServerRoutes extends InternalApi {}
199
201
  interface NuxtHooks {
package/dist/index.mjs CHANGED
@@ -25,7 +25,7 @@ import remapping from "@ampproject/remapping";
25
25
  import { addRoute, createRouter } from "rou3";
26
26
  import { compileRouterToString } from "rou3/compiler";
27
27
  //#region package.json
28
- var version = "5.0.0-29802690.ec0fbdc8";
28
+ var version = "5.0.0-29802834.fa276ee3";
29
29
  //#endregion
30
30
  //#region src/utils.ts
31
31
  function toArray(value) {
@@ -1331,6 +1331,7 @@ async function bundle(nuxt) {
1331
1331
  server: true,
1332
1332
  dev: true
1333
1333
  },
1334
+ buildsSeparately: !nuxt.options.experimental.nitroViteEnvironment,
1334
1335
  preview: { command: () => nitro.options.commands.preview }
1335
1336
  }, nuxt);
1336
1337
  await nuxt.callHook("nitro:init", nitro);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuxt/nitro-server-nightly",
3
- "version": "5.0.0-29802690.ec0fbdc8",
3
+ "version": "5.0.0-29802834.fa276ee3",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/nuxt/nuxt.git",
@@ -32,7 +32,7 @@
32
32
  ],
33
33
  "dependencies": {
34
34
  "@ampproject/remapping": "^2.3.0",
35
- "@nuxt/kit": "npm:@nuxt/kit-nightly@5.0.0-29802690.ec0fbdc8",
35
+ "@nuxt/kit": "npm:@nuxt/kit-nightly@5.0.0-29802834.fa276ee3",
36
36
  "@unhead/vue": "^3.4.0",
37
37
  "@vue/shared": "^3.5.42",
38
38
  "consola": "^3.4.2",
@@ -66,7 +66,7 @@
66
66
  "@babel/plugin-proposal-decorators": "^7.25.0 || ^8.0.0",
67
67
  "@babel/plugin-syntax-typescript": "^7.25.0 || ^8.0.0",
68
68
  "@rollup/plugin-babel": "^6.0.0 || ^7.0.0",
69
- "nuxt": "npm:nuxt-nightly@5.0.0-29802690.ec0fbdc8"
69
+ "nuxt": "npm:nuxt-nightly@5.0.0-29802834.fa276ee3"
70
70
  },
71
71
  "peerDependenciesMeta": {
72
72
  "@babel/plugin-proposal-decorators": {
@@ -82,10 +82,10 @@
82
82
  "devDependencies": {
83
83
  "@babel/plugin-proposal-decorators": "8.0.2",
84
84
  "@babel/plugin-syntax-typescript": "8.0.3",
85
- "@nuxt/schema": "npm:@nuxt/schema-nightly@5.0.0-29802690.ec0fbdc8",
85
+ "@nuxt/schema": "npm:@nuxt/schema-nightly@5.0.0-29802834.fa276ee3",
86
86
  "@rollup/plugin-babel": "7.1.0",
87
87
  "hookable": "^6.1.1",
88
- "nuxt": "npm:nuxt-nightly@5.0.0-29802690.ec0fbdc8",
88
+ "nuxt": "npm:nuxt-nightly@5.0.0-29802834.fa276ee3",
89
89
  "tsdown": "0.22.14",
90
90
  "vitest": "4.1.11"
91
91
  },