@nuxt/nitro-server-nightly 5.0.0-29837649.bdf0b4f2 → 5.0.0-29837688.ef8d0fbb

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 -5
  2. package/package.json +5 -5
package/dist/index.mjs CHANGED
@@ -36,7 +36,7 @@ import "nitro/context";
36
36
  import { getRouteRules } from "nitro/app";
37
37
  import "nuxt/internal/renderer/url";
38
38
  //#region package.json
39
- var version = "5.0.0-29837649.bdf0b4f2";
39
+ var version = "5.0.0-29837688.ef8d0fbb";
40
40
  //#endregion
41
41
  //#region src/utils.ts
42
42
  /**
@@ -2770,7 +2770,7 @@ async function bundle(nuxt) {
2770
2770
  const manifest = {
2771
2771
  id: buildId,
2772
2772
  timestamp: buildTimestamp,
2773
- prerendered: nuxt.options.dev ? [] : [...prerenderedRoutes]
2773
+ prerendered: nuxt.options.dev ? [] : [...prerenderedRoutes].sort()
2774
2774
  };
2775
2775
  const dir = target === "public" ? join(nitro.options.output.publicDir, manifestPrefix) : tempDir;
2776
2776
  await promises.mkdir(join(dir, "meta"), { recursive: true });
@@ -3138,13 +3138,11 @@ async function bundle(nuxt) {
3138
3138
  opts.serverTsConfig.compilerOptions ||= {};
3139
3139
  opts.serverTsConfig.compilerOptions.paths ||= {};
3140
3140
  const serverPaths = opts.serverTsConfig.compilerOptions.paths;
3141
- const serverBaseUrl = nuxt.options.future.compatibilityVersion >= 5 ? void 0 : opts.serverTsConfig.compilerOptions.baseUrl;
3142
- const aliasBasePath = serverBaseUrl ? resolve(typesDir, serverBaseUrl) : typesDir;
3143
3141
  for (const alias in nitro.options.alias) {
3144
3142
  if (alias in nuxt.options.alias || alias in serverPaths) continue;
3145
3143
  if (excludedServerAlias.some((pattern) => typeof pattern === "string" ? alias === pattern : pattern.test(alias))) continue;
3146
3144
  const target = nitro.options.alias[alias];
3147
- let absolutePath = resolve(aliasBasePath, target);
3145
+ let absolutePath = resolve(typesDir, target);
3148
3146
  let stats = await promises.stat(absolutePath).catch(() => null);
3149
3147
  if (!stats) {
3150
3148
  const resolvedModule = resolveModulePath(target, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuxt/nitro-server-nightly",
3
- "version": "5.0.0-29837649.bdf0b4f2",
3
+ "version": "5.0.0-29837688.ef8d0fbb",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/nuxt/nuxt.git",
@@ -36,7 +36,7 @@
36
36
  ],
37
37
  "dependencies": {
38
38
  "@ampproject/remapping": "^2.3.0",
39
- "@nuxt/kit": "npm:@nuxt/kit-nightly@5.0.0-29837649.bdf0b4f2",
39
+ "@nuxt/kit": "npm:@nuxt/kit-nightly@5.0.0-29837688.ef8d0fbb",
40
40
  "@unhead/vue": "^3.4.1",
41
41
  "consola": "^3.4.2",
42
42
  "defu": "^6.1.7",
@@ -73,7 +73,7 @@
73
73
  "@babel/plugin-proposal-decorators": "^7.25.0 || ^8.0.0",
74
74
  "@babel/plugin-syntax-typescript": "^7.25.0 || ^8.0.0",
75
75
  "@rollup/plugin-babel": "^6.0.0 || ^7.0.0",
76
- "nuxt": "npm:nuxt-nightly@5.0.0-29837649.bdf0b4f2"
76
+ "nuxt": "npm:nuxt-nightly@5.0.0-29837688.ef8d0fbb"
77
77
  },
78
78
  "peerDependenciesMeta": {
79
79
  "@babel/plugin-proposal-decorators": {
@@ -89,11 +89,11 @@
89
89
  "devDependencies": {
90
90
  "@babel/plugin-proposal-decorators": "8.0.2",
91
91
  "@babel/plugin-syntax-typescript": "8.0.3",
92
- "@nuxt/schema": "npm:@nuxt/schema-nightly@5.0.0-29837649.bdf0b4f2",
92
+ "@nuxt/schema": "npm:@nuxt/schema-nightly@5.0.0-29837688.ef8d0fbb",
93
93
  "@rollup/plugin-babel": "7.1.0",
94
94
  "h3": "^2.0.1-rc.31",
95
95
  "hookable": "^6.1.2",
96
- "nuxt": "npm:nuxt-nightly@5.0.0-29837649.bdf0b4f2",
96
+ "nuxt": "npm:nuxt-nightly@5.0.0-29837688.ef8d0fbb",
97
97
  "tsdown": "0.23.0",
98
98
  "vitest": "5.0.1"
99
99
  },