nuxt-nightly 4.2.0-29331790.6ef632b8 → 4.2.0-29332219.8d8a7e01
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 +6 -2
- package/package.json +4 -4
package/dist/index.mjs
CHANGED
|
@@ -19,13 +19,13 @@ import defu$1, { defu } from 'defu';
|
|
|
19
19
|
import { satisfies, coerce } from 'semver';
|
|
20
20
|
import { isCI, provider, isWindows, hasTTY } from 'std-env';
|
|
21
21
|
import { genArrayFromRaw, genSafeVariableName, genImport, genDynamicImport, genObjectFromRawEntries, genString, genExport } from 'knitwork';
|
|
22
|
+
import { resolveModulePath } from 'exsolve';
|
|
22
23
|
import { addDependency } from 'nypm';
|
|
23
24
|
import { reverseResolveAlias, filename, resolveAlias } from 'pathe/utils';
|
|
24
25
|
import { createRoutesContext } from 'unplugin-vue-router';
|
|
25
26
|
import { resolveOptions } from 'unplugin-vue-router/options';
|
|
26
27
|
import { toRouteMatcher, createRouter, exportMatcher } from 'radix3';
|
|
27
28
|
import { fileURLToPath, pathToFileURL } from 'node:url';
|
|
28
|
-
import { resolveModulePath } from 'exsolve';
|
|
29
29
|
import { runInNewContext } from 'node:vm';
|
|
30
30
|
import { klona } from 'klona';
|
|
31
31
|
import { parseAndWalk, ScopeTracker, walk, isBindingIdentifier, getUndeclaredIdentifiersInFunction } from 'oxc-walker';
|
|
@@ -3830,7 +3830,7 @@ function addDeclarationTemplates(ctx, options) {
|
|
|
3830
3830
|
});
|
|
3831
3831
|
}
|
|
3832
3832
|
|
|
3833
|
-
const version = "4.2.0-
|
|
3833
|
+
const version = "4.2.0-29332219.8d8a7e01";
|
|
3834
3834
|
|
|
3835
3835
|
const createImportProtectionPatterns = (nuxt, options) => {
|
|
3836
3836
|
const patterns = [];
|
|
@@ -5609,6 +5609,10 @@ Using \`${fallbackCompatibilityDate}\` as fallback. More info at: ${colors.under
|
|
|
5609
5609
|
opts.nodeReferences.push({ path: resolve(nuxt.options.buildDir, "types/runtime-config.d.ts") });
|
|
5610
5610
|
opts.nodeReferences.push({ path: resolve(nuxt.options.buildDir, "types/app.config.d.ts") });
|
|
5611
5611
|
opts.nodeReferences.push({ types: "nuxt" });
|
|
5612
|
+
opts.nodeReferences.push({ types: relative(nuxt.options.buildDir, resolveModulePath("@nuxt/vite-builder", { from: import.meta.url })) });
|
|
5613
|
+
if (typeof nuxt.options.builder === "string" && nuxt.options.builder !== "@nuxt/vite-builder") {
|
|
5614
|
+
opts.nodeReferences.push({ types: nuxt.options.builder });
|
|
5615
|
+
}
|
|
5612
5616
|
opts.sharedReferences.push({ path: resolve(nuxt.options.buildDir, "types/runtime-config.d.ts") });
|
|
5613
5617
|
opts.sharedReferences.push({ path: resolve(nuxt.options.buildDir, "types/app.config.d.ts") });
|
|
5614
5618
|
paths ||= await resolveTypescriptPaths(nuxt);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nuxt-nightly",
|
|
3
|
-
"version": "4.2.0-
|
|
3
|
+
"version": "4.2.0-29332219.8d8a7e01",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/nuxt/nuxt.git",
|
|
@@ -67,10 +67,10 @@
|
|
|
67
67
|
"@nuxt/cli": "npm:@nuxt/cli-nightly@latest",
|
|
68
68
|
"@nuxt/devalue": "^2.0.2",
|
|
69
69
|
"@nuxt/devtools": "^2.6.5",
|
|
70
|
-
"@nuxt/kit": "npm:@nuxt/kit-nightly@4.2.0-
|
|
71
|
-
"@nuxt/schema": "npm:@nuxt/schema-nightly@4.2.0-
|
|
70
|
+
"@nuxt/kit": "npm:@nuxt/kit-nightly@4.2.0-29332219.8d8a7e01",
|
|
71
|
+
"@nuxt/schema": "npm:@nuxt/schema-nightly@4.2.0-29332219.8d8a7e01",
|
|
72
72
|
"@nuxt/telemetry": "^2.6.6",
|
|
73
|
-
"@nuxt/vite-builder": "npm:@nuxt/vite-builder-nightly@4.2.0-
|
|
73
|
+
"@nuxt/vite-builder": "npm:@nuxt/vite-builder-nightly@4.2.0-29332219.8d8a7e01",
|
|
74
74
|
"@unhead/vue": "^2.0.14",
|
|
75
75
|
"@vue/shared": "^3.5.22",
|
|
76
76
|
"c12": "^3.3.0",
|