@nuxt/nitro-server-nightly 4.2.1-29366917.89f59b7e → 4.2.1-29369583.2f984b9a

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 +3 -3
  2. package/package.json +5 -5
package/dist/index.mjs CHANGED
@@ -8,7 +8,7 @@ import { readPackageJSON } from 'pkg-types';
8
8
  import { toRouteMatcher, createRouter, exportMatcher } from 'radix3';
9
9
  import { withTrailingSlash, joinURL } from 'ufo';
10
10
  import { createNitro, scanHandlers, writeTypes, copyPublicAssets, prepare, build, prerender, createDevServer } from 'nitropack';
11
- import { getLayerDirectories, resolveNuxtModule, addTemplate, resolveAlias, addPlugin, resolveIgnorePatterns, createIsIgnored, addVitePlugin, logger, findPath } from '@nuxt/kit';
11
+ import { getLayerDirectories, getDirectory, resolveNuxtModule, addTemplate, resolveAlias, addPlugin, resolveIgnorePatterns, createIsIgnored, addVitePlugin, logger, findPath } from '@nuxt/kit';
12
12
  import escapeRE from 'escape-string-regexp';
13
13
  import { defu } from 'defu';
14
14
  import { dynamicEventHandler, defineEventHandler } from 'h3';
@@ -16,7 +16,7 @@ import { isWindows } from 'std-env';
16
16
  import { ImpoundPlugin } from 'impound';
17
17
  import { resolveModulePath } from 'exsolve';
18
18
 
19
- const version = "4.2.1-29366917.89f59b7e";
19
+ const version = "4.2.1-29369583.2f984b9a";
20
20
 
21
21
  function toArray(value) {
22
22
  return Array.isArray(value) ? value : [value];
@@ -195,7 +195,7 @@ async function bundle(nuxt) {
195
195
  for (const m of nuxt.options._installedModules) {
196
196
  const path = m.meta?.rawPath || m.entryPath;
197
197
  if (path) {
198
- moduleEntryPaths.push(path);
198
+ moduleEntryPaths.push(getDirectory(path));
199
199
  }
200
200
  }
201
201
  const modules = await resolveNuxtModule(rootDirWithSlash, moduleEntryPaths);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuxt/nitro-server-nightly",
3
- "version": "4.2.1-29366917.89f59b7e",
3
+ "version": "4.2.1-29369583.2f984b9a",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/nuxt/nuxt.git",
@@ -19,7 +19,7 @@
19
19
  ],
20
20
  "dependencies": {
21
21
  "@nuxt/devalue": "^2.0.2",
22
- "@nuxt/kit": "npm:@nuxt/kit-nightly@4.2.1-29366917.89f59b7e",
22
+ "@nuxt/kit": "npm:@nuxt/kit-nightly@4.2.1-29369583.2f984b9a",
23
23
  "@unhead/vue": "^2.0.19",
24
24
  "@vue/shared": "^3.5.22",
25
25
  "consola": "^3.4.2",
@@ -46,11 +46,11 @@
46
46
  "vue-devtools-stub": "^0.1.0"
47
47
  },
48
48
  "peerDependencies": {
49
- "nuxt": "npm:nuxt-nightly@4.2.1-29366917.89f59b7e"
49
+ "nuxt": "npm:nuxt-nightly@4.2.1-29369583.2f984b9a"
50
50
  },
51
51
  "devDependencies": {
52
- "@nuxt/schema": "npm:@nuxt/schema-nightly@4.2.1-29366917.89f59b7e",
53
- "nuxt": "npm:nuxt-nightly@4.2.1-29366917.89f59b7e",
52
+ "@nuxt/schema": "npm:@nuxt/schema-nightly@4.2.1-29369583.2f984b9a",
53
+ "nuxt": "npm:nuxt-nightly@4.2.1-29369583.2f984b9a",
54
54
  "unbuild": "3.6.1",
55
55
  "vitest": "3.2.4"
56
56
  },