@nuxt/kit 3.13.0 → 3.13.1

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 -0
  2. package/package.json +6 -6
package/dist/index.mjs CHANGED
@@ -2609,6 +2609,10 @@ async function loadNuxtConfig(opts) {
2609
2609
  nuxtConfig.rootDir = nuxtConfig.rootDir || cwd;
2610
2610
  nuxtConfig._nuxtConfigFile = configFile;
2611
2611
  nuxtConfig._nuxtConfigFiles = [configFile];
2612
+ const defaultBuildDir = join(nuxtConfig.rootDir, ".nuxt");
2613
+ if (!opts.overrides?._prepare && !nuxtConfig.dev && !nuxtConfig.buildDir && nuxtConfig.future?.compatibilityVersion === 4 && existsSync(defaultBuildDir)) {
2614
+ nuxtConfig.buildDir = join(nuxtConfig.rootDir, "node_modules/.cache/nuxt/.nuxt");
2615
+ }
2612
2616
  const _layers = [];
2613
2617
  const processedLayers = /* @__PURE__ */ new Set();
2614
2618
  for (const layer of layers) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuxt/kit",
3
- "version": "3.13.0",
3
+ "version": "3.13.1",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/nuxt/nuxt.git",
@@ -23,7 +23,7 @@
23
23
  "dist"
24
24
  ],
25
25
  "dependencies": {
26
- "c12": "^1.11.1",
26
+ "c12": "^1.11.2",
27
27
  "consola": "^3.2.3",
28
28
  "defu": "^6.1.4",
29
29
  "destr": "^2.0.3",
@@ -35,14 +35,14 @@
35
35
  "knitwork": "^1.1.0",
36
36
  "mlly": "^1.7.1",
37
37
  "pathe": "^1.1.2",
38
- "pkg-types": "^1.1.3",
38
+ "pkg-types": "^1.2.0",
39
39
  "scule": "^1.3.0",
40
40
  "semver": "^7.6.3",
41
41
  "ufo": "^1.5.4",
42
42
  "unctx": "^2.3.1",
43
- "unimport": "^3.11.0",
43
+ "unimport": "^3.11.1",
44
44
  "untyped": "^1.4.2",
45
- "@nuxt/schema": "3.13.0"
45
+ "@nuxt/schema": "3.13.1"
46
46
  },
47
47
  "devDependencies": {
48
48
  "@types/hash-sum": "1.0.2",
@@ -51,7 +51,7 @@
51
51
  "lodash-es": "4.17.21",
52
52
  "nitropack": "2.9.7",
53
53
  "unbuild": "latest",
54
- "vite": "5.4.2",
54
+ "vite": "5.4.3",
55
55
  "vitest": "2.0.5",
56
56
  "webpack": "5.94.0"
57
57
  },