@nuxt/kit-nightly 4.1.0-29263187.ca84285c → 4.1.0-29263308.27a80da5

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 +4 -1
  2. package/package.json +2 -2
package/dist/index.mjs CHANGED
@@ -667,7 +667,10 @@ const merger = createDefu((obj, key, value) => {
667
667
  }
668
668
  });
669
669
  async function loadNuxtConfig(opts) {
670
- const localLayers = (await glob("layers/*", { onlyDirectories: true, cwd: opts.cwd || process.cwd() })).map((d) => d.endsWith("/") ? d.substring(0, d.length - 1) : d);
670
+ const localLayers = (await glob("layers/*", {
671
+ onlyDirectories: true,
672
+ cwd: opts.cwd || process.cwd()
673
+ })).map((d) => d.endsWith("/") ? d.substring(0, d.length - 1) : d).sort((a, b) => b.localeCompare(a));
671
674
  opts.overrides = defu$1(opts.overrides, { _extends: localLayers });
672
675
  const globalSelf = globalThis;
673
676
  globalSelf.defineNuxtConfig = (c) => c;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuxt/kit-nightly",
3
- "version": "4.1.0-29263187.ca84285c",
3
+ "version": "4.1.0-29263308.27a80da5",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/nuxt/nuxt.git",
@@ -47,7 +47,7 @@
47
47
  "untyped": "^2.0.0"
48
48
  },
49
49
  "devDependencies": {
50
- "@nuxt/schema": "npm:@nuxt/schema-nightly@4.1.0-29263187.ca84285c",
50
+ "@nuxt/schema": "npm:@nuxt/schema-nightly@4.1.0-29263308.27a80da5",
51
51
  "@rspack/core": "1.4.11",
52
52
  "@types/semver": "7.7.0",
53
53
  "hookable": "5.5.3",