@nuxt/kit-nightly 4.4.7-29652887.e4d5cc70 → 4.5.0-29657113.e77d3dbf

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 +2 -1
  2. package/package.json +3 -3
package/dist/index.mjs CHANGED
@@ -818,6 +818,7 @@ async function loadNuxtConfig(opts) {
818
818
  nuxtConfig._nuxtConfigFile = configFile;
819
819
  nuxtConfig._nuxtConfigFiles = [configFile];
820
820
  nuxtConfig._loadOptions = opts;
821
+ if (typeof opts.envName === "string") nuxtConfig.envName = opts.envName;
821
822
  nuxtConfig.alias ||= {};
822
823
  if (meta?.name) {
823
824
  const alias = `#layers/${meta.name}`;
@@ -1379,7 +1380,7 @@ async function _generateTypes(nuxt) {
1379
1380
  legacyExclude.add(join(relative, "dist/runtime/server"));
1380
1381
  }
1381
1382
  const nestedModulesDirs = [];
1382
- for (const dir of [...nuxt.options.modulesDir].sort()) {
1383
+ for (const dir of nuxt.options.modulesDir.toSorted()) {
1383
1384
  const withSlash = withTrailingSlash$1(dir);
1384
1385
  if (nestedModulesDirs.every((d) => !d.startsWith(withSlash))) nestedModulesDirs.push(withSlash);
1385
1386
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuxt/kit-nightly",
3
- "version": "4.4.7-29652887.e4d5cc70",
3
+ "version": "4.5.0-29657113.e77d3dbf",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/nuxt/nuxt.git",
@@ -41,8 +41,8 @@
41
41
  "untyped": "^2.0.0"
42
42
  },
43
43
  "devDependencies": {
44
- "@nuxt/schema": "npm:@nuxt/schema-nightly@4.4.7-29652887.e4d5cc70",
45
- "@rspack/core": "1.7.11",
44
+ "@nuxt/schema": "npm:@nuxt/schema-nightly@4.5.0-29657113.e77d3dbf",
45
+ "@rspack/core": "2.0.3",
46
46
  "@types/semver": "7.7.1",
47
47
  "hookable": "6.1.1",
48
48
  "nitro": "3.0.260311-beta",