@nuxt/kit-nightly 5.0.0-29657315.d21befcd → 5.0.0-29658969.1cc2c445
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 +2 -1
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -1390,6 +1390,7 @@ async function _generateTypes(nuxt) {
|
|
|
1390
1390
|
for (const parent of nestedModulesDirs) hasTypescriptVersionWithModulePreserve ??= await readPackageJSON("typescript", { parent }).then((r) => r?.version && gte(r.version, "5.4.0")).catch(() => void 0);
|
|
1391
1391
|
hasTypescriptVersionWithModulePreserve ??= true;
|
|
1392
1392
|
const useDecorators = Boolean(nuxt.options.experimental?.decorators);
|
|
1393
|
+
const userExclude = nuxt.options.typescript?.tsConfig?.exclude ?? [];
|
|
1393
1394
|
const tsConfig = defu(nuxt.options.typescript?.tsConfig, {
|
|
1394
1395
|
compilerOptions: {
|
|
1395
1396
|
esModuleInterop: true,
|
|
@@ -1546,7 +1547,7 @@ async function _generateTypes(nuxt) {
|
|
|
1546
1547
|
const legacyTsConfig = defu({}, {
|
|
1547
1548
|
...tsConfig,
|
|
1548
1549
|
include: [...tsConfig.include, ...legacyInclude],
|
|
1549
|
-
exclude: [...
|
|
1550
|
+
exclude: [...userExclude, ...legacyExclude]
|
|
1550
1551
|
});
|
|
1551
1552
|
async function resolveConfig(tsConfig) {
|
|
1552
1553
|
for (const alias in tsConfig.compilerOptions.paths) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nuxt/kit-nightly",
|
|
3
|
-
"version": "5.0.0-
|
|
3
|
+
"version": "5.0.0-29658969.1cc2c445",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/nuxt/nuxt.git",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"untyped": "^2.0.0"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@nuxt/schema": "npm:@nuxt/schema-nightly@5.0.0-
|
|
45
|
+
"@nuxt/schema": "npm:@nuxt/schema-nightly@5.0.0-29658969.1cc2c445",
|
|
46
46
|
"@rspack/core": "2.0.3",
|
|
47
47
|
"@types/semver": "7.7.1",
|
|
48
48
|
"hookable": "6.1.1",
|