@nuxt/kit 4.0.0-alpha.3 → 4.0.0-alpha.4
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.
- package/dist/index.mjs +1 -1
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -1154,7 +1154,7 @@ async function _generateTypes(nuxt) {
|
|
|
1154
1154
|
const rootDirWithSlash = withTrailingSlash(nuxt.options.rootDir);
|
|
1155
1155
|
for (const layer of nuxt.options._layers) {
|
|
1156
1156
|
const srcOrCwd = withTrailingSlash(layer.config.srcDir ?? layer.cwd);
|
|
1157
|
-
if (!srcOrCwd.startsWith(rootDirWithSlash) ||
|
|
1157
|
+
if (!srcOrCwd.startsWith(rootDirWithSlash) || layer.cwd === nuxt.options.rootDir || srcOrCwd.includes("node_modules")) {
|
|
1158
1158
|
const rootGlob = join(relativeWithDot(nuxt.options.buildDir, layer.cwd), "**/*");
|
|
1159
1159
|
const paths = resolveLayerPaths(nuxt.options.buildDir, layer.cwd, layer.config.srcDir);
|
|
1160
1160
|
for (const path of paths.nuxt) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nuxt/kit",
|
|
3
|
-
"version": "4.0.0-alpha.
|
|
3
|
+
"version": "4.0.0-alpha.4",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/nuxt/nuxt.git",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"vite": "7.0.0",
|
|
55
55
|
"vitest": "3.2.4",
|
|
56
56
|
"webpack": "5.99.9",
|
|
57
|
-
"@nuxt/schema": "4.0.0-alpha.
|
|
57
|
+
"@nuxt/schema": "4.0.0-alpha.4"
|
|
58
58
|
},
|
|
59
59
|
"engines": {
|
|
60
60
|
"node": ">=18.12.0"
|