@nuxt/cli-nightly 3.26.0-20250702-111517-3cacce8 → 3.26.0-20250707-092336-ac2d954
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/chunks/add.mjs +3 -3
- package/dist/chunks/add2.mjs +1 -1
- package/dist/chunks/analyze.mjs +1 -1
- package/dist/chunks/build.mjs +1 -1
- package/dist/chunks/cleanup.mjs +1 -1
- package/dist/chunks/dev-child.mjs +2 -2
- package/dist/chunks/dev.mjs +9 -19
- package/dist/chunks/devtools.mjs +1 -1
- package/dist/chunks/generate.mjs +1 -1
- package/dist/chunks/index.mjs +10 -9
- package/dist/chunks/info.mjs +3 -3
- package/dist/chunks/init.mjs +3 -3
- package/dist/chunks/prepare.mjs +1 -1
- package/dist/chunks/preview.mjs +1 -1
- package/dist/chunks/search.mjs +1 -1
- package/dist/chunks/test.mjs +1 -1
- package/dist/chunks/typecheck.mjs +1 -1
- package/dist/chunks/upgrade.mjs +1 -1
- package/dist/dev/index.d.mts +0 -3
- package/dist/dev/index.d.ts +0 -3
- package/dist/dev/index.mjs +2 -2
- package/dist/index.mjs +1 -1
- package/dist/shared/{cli-nightly.DpAhMBgy.mjs → cli-nightly.-ulLD85N.mjs} +1 -1
- package/dist/shared/{cli-nightly.4GPWwS3y.mjs → cli-nightly.BzQmGASk.mjs} +1 -1
- package/dist/shared/{cli-nightly.DeQWbthk.mjs → cli-nightly.DnuaFfgK.mjs} +2 -2
- package/package.json +6 -6
package/dist/chunks/add.mjs
CHANGED
|
@@ -11,14 +11,14 @@ import { resolve } from 'pathe';
|
|
|
11
11
|
import { readPackageJSON } from 'pkg-types';
|
|
12
12
|
import { satisfies } from 'semver';
|
|
13
13
|
import { joinURL } from 'ufo';
|
|
14
|
-
import { r as runCommand } from '../shared/cli-nightly.
|
|
14
|
+
import { r as runCommand } from '../shared/cli-nightly.DnuaFfgK.mjs';
|
|
15
15
|
import { l as logger } from '../shared/cli-nightly.B9AmABr3.mjs';
|
|
16
|
-
import { a as logLevelArgs, c as cwdArgs } from '../shared/cli-nightly.
|
|
16
|
+
import { a as logLevelArgs, c as cwdArgs } from '../shared/cli-nightly.-ulLD85N.mjs';
|
|
17
17
|
import { f as fetchModules, g as getNuxtVersion, c as checkNuxtCompatibility, a as getRegistryFromContent } from '../shared/cli-nightly.jA1DRKbi.mjs';
|
|
18
18
|
import 'node:url';
|
|
19
19
|
import 'node:crypto';
|
|
20
20
|
import 'std-env';
|
|
21
|
-
import '../shared/cli-nightly.
|
|
21
|
+
import '../shared/cli-nightly.BzQmGASk.mjs';
|
|
22
22
|
import 'consola';
|
|
23
23
|
import 'confbox';
|
|
24
24
|
|
package/dist/chunks/add2.mjs
CHANGED
|
@@ -5,7 +5,7 @@ import { resolve, extname, dirname } from 'pathe';
|
|
|
5
5
|
import { l as loadKit } from '../shared/cli-nightly.qKvs7FJ2.mjs';
|
|
6
6
|
import { l as logger } from '../shared/cli-nightly.B9AmABr3.mjs';
|
|
7
7
|
import { pascalCase, camelCase } from 'scule';
|
|
8
|
-
import { a as logLevelArgs, c as cwdArgs } from '../shared/cli-nightly.
|
|
8
|
+
import { a as logLevelArgs, c as cwdArgs } from '../shared/cli-nightly.-ulLD85N.mjs';
|
|
9
9
|
import 'node:url';
|
|
10
10
|
import 'exsolve';
|
|
11
11
|
import 'consola';
|
package/dist/chunks/analyze.mjs
CHANGED
|
@@ -9,7 +9,7 @@ import { o as overrideEnv } from '../shared/cli-nightly.DkO5RR_e.mjs';
|
|
|
9
9
|
import { c as clearDir } from '../shared/cli-nightly.DPmMxQ6h.mjs';
|
|
10
10
|
import { l as loadKit } from '../shared/cli-nightly.qKvs7FJ2.mjs';
|
|
11
11
|
import { l as logger } from '../shared/cli-nightly.B9AmABr3.mjs';
|
|
12
|
-
import { d as dotEnvArgs, l as legacyRootDirArgs, a as logLevelArgs, c as cwdArgs } from '../shared/cli-nightly.
|
|
12
|
+
import { d as dotEnvArgs, l as legacyRootDirArgs, a as logLevelArgs, c as cwdArgs } from '../shared/cli-nightly.-ulLD85N.mjs';
|
|
13
13
|
import 'node:url';
|
|
14
14
|
import 'exsolve';
|
|
15
15
|
import 'consola';
|
package/dist/chunks/build.mjs
CHANGED
|
@@ -6,7 +6,7 @@ import { o as overrideEnv } from '../shared/cli-nightly.DkO5RR_e.mjs';
|
|
|
6
6
|
import { a as clearBuildDir } from '../shared/cli-nightly.DPmMxQ6h.mjs';
|
|
7
7
|
import { l as loadKit } from '../shared/cli-nightly.qKvs7FJ2.mjs';
|
|
8
8
|
import { l as logger } from '../shared/cli-nightly.B9AmABr3.mjs';
|
|
9
|
-
import { l as legacyRootDirArgs, e as envNameArgs, d as dotEnvArgs, a as logLevelArgs, c as cwdArgs } from '../shared/cli-nightly.
|
|
9
|
+
import { l as legacyRootDirArgs, e as envNameArgs, d as dotEnvArgs, a as logLevelArgs, c as cwdArgs } from '../shared/cli-nightly.-ulLD85N.mjs';
|
|
10
10
|
import 'node:fs';
|
|
11
11
|
import 'consola/utils';
|
|
12
12
|
import 'exsolve';
|
package/dist/chunks/cleanup.mjs
CHANGED
|
@@ -2,7 +2,7 @@ import { defineCommand } from 'citty';
|
|
|
2
2
|
import { resolve } from 'pathe';
|
|
3
3
|
import { l as loadKit } from '../shared/cli-nightly.qKvs7FJ2.mjs';
|
|
4
4
|
import { c as cleanupNuxtDirs } from '../shared/cli-nightly.Bu_9IHj2.mjs';
|
|
5
|
-
import { l as legacyRootDirArgs, c as cwdArgs } from '../shared/cli-nightly.
|
|
5
|
+
import { l as legacyRootDirArgs, c as cwdArgs } from '../shared/cli-nightly.-ulLD85N.mjs';
|
|
6
6
|
import 'node:url';
|
|
7
7
|
import 'exsolve';
|
|
8
8
|
import 'node:fs';
|
|
@@ -2,7 +2,7 @@ import process from 'node:process';
|
|
|
2
2
|
import { defineCommand } from 'citty';
|
|
3
3
|
import { resolve } from 'pathe';
|
|
4
4
|
import { isTest } from 'std-env';
|
|
5
|
-
import { l as legacyRootDirArgs, d as dotEnvArgs, e as envNameArgs, a as logLevelArgs, c as cwdArgs } from '../shared/cli-nightly.
|
|
5
|
+
import { l as legacyRootDirArgs, d as dotEnvArgs, e as envNameArgs, a as logLevelArgs, c as cwdArgs } from '../shared/cli-nightly.-ulLD85N.mjs';
|
|
6
6
|
import 'node:path';
|
|
7
7
|
import 'consola';
|
|
8
8
|
import '../shared/cli-nightly.B9AmABr3.mjs';
|
|
@@ -30,7 +30,7 @@ const devChild = defineCommand({
|
|
|
30
30
|
console.warn("`nuxi _dev` is an internal command and should not be used directly. Please use `nuxi dev` instead.");
|
|
31
31
|
}
|
|
32
32
|
const cwd = resolve(ctx.args.cwd || ctx.args.rootDir);
|
|
33
|
-
const { initialize } = await import('./index.mjs').then(function (n) { return n.
|
|
33
|
+
const { initialize } = await import('./index.mjs').then(function (n) { return n.c; });
|
|
34
34
|
await initialize({ cwd, args: ctx.args }, ctx);
|
|
35
35
|
}
|
|
36
36
|
});
|
package/dist/chunks/dev.mjs
CHANGED
|
@@ -7,16 +7,18 @@ import { getArgs, parseArgs } from 'listhen/cli';
|
|
|
7
7
|
import { resolve } from 'pathe';
|
|
8
8
|
import { satisfies } from 'semver';
|
|
9
9
|
import { isTest, isBun } from 'std-env';
|
|
10
|
-
import { i as initialize, r as
|
|
10
|
+
import { i as initialize, r as resolveLoadingTemplate, a as renderError, b as isSocketURL, p as parseSocketURL } from './index.mjs';
|
|
11
11
|
import { s as showVersions } from '../shared/cli-nightly.DltNmcvh.mjs';
|
|
12
12
|
import { o as overrideEnv } from '../shared/cli-nightly.DkO5RR_e.mjs';
|
|
13
13
|
import { l as loadKit } from '../shared/cli-nightly.qKvs7FJ2.mjs';
|
|
14
14
|
import { l as logger } from '../shared/cli-nightly.B9AmABr3.mjs';
|
|
15
|
-
import { e as envNameArgs, l as legacyRootDirArgs, d as dotEnvArgs, a as logLevelArgs, c as cwdArgs } from '../shared/cli-nightly.
|
|
15
|
+
import { e as envNameArgs, l as legacyRootDirArgs, d as dotEnvArgs, a as logLevelArgs, c as cwdArgs } from '../shared/cli-nightly.-ulLD85N.mjs';
|
|
16
16
|
import 'defu';
|
|
17
17
|
import 'node:events';
|
|
18
18
|
import 'node:fs';
|
|
19
19
|
import 'node:fs/promises';
|
|
20
|
+
import 'node:url';
|
|
21
|
+
import 'exsolve';
|
|
20
22
|
import 'h3';
|
|
21
23
|
import 'perfect-debounce';
|
|
22
24
|
import 'ufo';
|
|
@@ -26,8 +28,6 @@ import 'ohash';
|
|
|
26
28
|
import 'youch';
|
|
27
29
|
import 'node:http';
|
|
28
30
|
import 'consola/utils';
|
|
29
|
-
import 'exsolve';
|
|
30
|
-
import 'node:url';
|
|
31
31
|
import 'consola';
|
|
32
32
|
import 'node:path';
|
|
33
33
|
|
|
@@ -125,7 +125,7 @@ const command = defineCommand({
|
|
|
125
125
|
}
|
|
126
126
|
};
|
|
127
127
|
}
|
|
128
|
-
const devProxy = await createDevProxy(nuxtOptions, listenOptions);
|
|
128
|
+
const devProxy = await createDevProxy(cwd, nuxtOptions, listenOptions);
|
|
129
129
|
const useSocket = nuxtOptions._majorVersion === 4 || !!process.env.NUXT_SOCKET;
|
|
130
130
|
const urls = await devProxy.listener.getURLs();
|
|
131
131
|
const { onRestart, onReady, close } = await initialize({
|
|
@@ -160,7 +160,7 @@ const command = defineCommand({
|
|
|
160
160
|
};
|
|
161
161
|
}
|
|
162
162
|
});
|
|
163
|
-
async function createDevProxy(nuxtOptions, listenOptions) {
|
|
163
|
+
async function createDevProxy(cwd, nuxtOptions, listenOptions) {
|
|
164
164
|
let loadingMessage = "Nuxt dev server is starting...";
|
|
165
165
|
let error;
|
|
166
166
|
let address;
|
|
@@ -192,24 +192,14 @@ async function createDevProxy(nuxtOptions, listenOptions) {
|
|
|
192
192
|
if (!address) {
|
|
193
193
|
res.statusCode = 503;
|
|
194
194
|
res.setHeader("Content-Type", "text/html");
|
|
195
|
+
res.setHeader("Cache-Control", "no-store");
|
|
195
196
|
if (loadingTemplate) {
|
|
196
197
|
res.end(loadingTemplate({ loading: loadingMessage }));
|
|
197
198
|
return;
|
|
198
199
|
}
|
|
199
200
|
async function resolveLoadingMessage() {
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
for (const url of nuxtOptions.modulesDir) {
|
|
203
|
-
const r = await jiti.import("@nuxt/ui-templates", {
|
|
204
|
-
parentURL: url,
|
|
205
|
-
try: true
|
|
206
|
-
});
|
|
207
|
-
if (r) {
|
|
208
|
-
loadingTemplate = r.loading;
|
|
209
|
-
res.end(r.loading({ loading: loadingMessage }));
|
|
210
|
-
break;
|
|
211
|
-
}
|
|
212
|
-
}
|
|
201
|
+
loadingTemplate = await resolveLoadingTemplate(cwd);
|
|
202
|
+
res.end(loadingTemplate({ loading: loadingMessage }));
|
|
213
203
|
}
|
|
214
204
|
return resolveLoadingMessage();
|
|
215
205
|
}
|
package/dist/chunks/devtools.mjs
CHANGED
|
@@ -3,7 +3,7 @@ import { defineCommand } from 'citty';
|
|
|
3
3
|
import { resolve } from 'pathe';
|
|
4
4
|
import { x } from 'tinyexec';
|
|
5
5
|
import { l as logger } from '../shared/cli-nightly.B9AmABr3.mjs';
|
|
6
|
-
import { l as legacyRootDirArgs, c as cwdArgs } from '../shared/cli-nightly.
|
|
6
|
+
import { l as legacyRootDirArgs, c as cwdArgs } from '../shared/cli-nightly.-ulLD85N.mjs';
|
|
7
7
|
import 'consola';
|
|
8
8
|
import 'node:path';
|
|
9
9
|
import 'std-env';
|
package/dist/chunks/generate.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineCommand } from 'citty';
|
|
2
|
-
import { l as legacyRootDirArgs, e as envNameArgs, d as dotEnvArgs, a as logLevelArgs, c as cwdArgs } from '../shared/cli-nightly.
|
|
2
|
+
import { l as legacyRootDirArgs, e as envNameArgs, d as dotEnvArgs, a as logLevelArgs, c as cwdArgs } from '../shared/cli-nightly.-ulLD85N.mjs';
|
|
3
3
|
import buildCommand from './build.mjs';
|
|
4
4
|
import 'node:path';
|
|
5
5
|
import 'node:process';
|
package/dist/chunks/index.mjs
CHANGED
|
@@ -3,6 +3,8 @@ import defu from 'defu';
|
|
|
3
3
|
import EventEmitter from 'node:events';
|
|
4
4
|
import { existsSync, unlinkSync, watch } from 'node:fs';
|
|
5
5
|
import { mkdir } from 'node:fs/promises';
|
|
6
|
+
import { pathToFileURL } from 'node:url';
|
|
7
|
+
import { resolveModulePath } from 'exsolve';
|
|
6
8
|
import { toNodeListener } from 'h3';
|
|
7
9
|
import { listen } from 'listhen';
|
|
8
10
|
import { resolve } from 'pathe';
|
|
@@ -151,17 +153,10 @@ class NuxtDevServer extends EventEmitter {
|
|
|
151
153
|
_renderError(req, res) {
|
|
152
154
|
renderError(req, res, this._loadingError);
|
|
153
155
|
}
|
|
154
|
-
async resolveLoadingTemplate() {
|
|
155
|
-
const { createJiti } = await import('jiti');
|
|
156
|
-
const jiti = createJiti(this.cwd);
|
|
157
|
-
const loading = await jiti.import("@nuxt/ui-templates").then((r) => r.loading).catch(() => {
|
|
158
|
-
});
|
|
159
|
-
return loading || ((params) => `<h2>${params.loading}</h2>`);
|
|
160
|
-
}
|
|
161
156
|
async _renderLoadingScreen(req, res) {
|
|
162
157
|
res.statusCode = 503;
|
|
163
158
|
res.setHeader("Content-Type", "text/html");
|
|
164
|
-
const loadingTemplate = this.options.loadingTemplate || this._currentNuxt?.options.devServer.loadingTemplate || await this.
|
|
159
|
+
const loadingTemplate = this.options.loadingTemplate || this._currentNuxt?.options.devServer.loadingTemplate || await resolveLoadingTemplate(this.cwd);
|
|
165
160
|
res.end(
|
|
166
161
|
loadingTemplate({
|
|
167
162
|
loading: this._loadingMessage || "Loading..."
|
|
@@ -365,6 +360,12 @@ function createConfigDirWatcher(cwd, onReload) {
|
|
|
365
360
|
});
|
|
366
361
|
return () => configDirWatcher.close();
|
|
367
362
|
}
|
|
363
|
+
async function resolveLoadingTemplate(cwd) {
|
|
364
|
+
const nuxtPath = resolveModulePath("nuxt", { from: cwd, try: true });
|
|
365
|
+
const uiTemplatesPath = resolveModulePath("@nuxt/ui-templates", { from: nuxtPath || cwd });
|
|
366
|
+
const r = await import(pathToFileURL(uiTemplatesPath).href);
|
|
367
|
+
return r.loading || ((params) => `<h2>${params.loading}</h2>`);
|
|
368
|
+
}
|
|
368
369
|
|
|
369
370
|
const start = Date.now();
|
|
370
371
|
process.env.NODE_ENV = "development";
|
|
@@ -460,4 +461,4 @@ const index = {
|
|
|
460
461
|
initialize: initialize
|
|
461
462
|
};
|
|
462
463
|
|
|
463
|
-
export {
|
|
464
|
+
export { renderError as a, isSocketURL as b, index as c, initialize as i, parseSocketURL as p, resolveLoadingTemplate as r };
|
package/dist/chunks/info.mjs
CHANGED
|
@@ -2,17 +2,16 @@ import os from 'node:os';
|
|
|
2
2
|
import process from 'node:process';
|
|
3
3
|
import { defineCommand } from 'citty';
|
|
4
4
|
import clipboardy from 'clipboardy';
|
|
5
|
-
import { createJiti } from 'jiti';
|
|
6
5
|
import { detectPackageManager } from 'nypm';
|
|
7
6
|
import { resolve } from 'pathe';
|
|
8
7
|
import { readPackageJSON } from 'pkg-types';
|
|
9
8
|
import { splitByCase } from 'scule';
|
|
10
9
|
import { isMinimal } from 'std-env';
|
|
11
|
-
import { v as version } from '../shared/cli-nightly.
|
|
10
|
+
import { v as version } from '../shared/cli-nightly.BzQmGASk.mjs';
|
|
12
11
|
import { t as tryResolveNuxt } from '../shared/cli-nightly.qKvs7FJ2.mjs';
|
|
13
12
|
import { l as logger } from '../shared/cli-nightly.B9AmABr3.mjs';
|
|
14
13
|
import { g as getPackageManagerVersion } from '../shared/cli-nightly.BSm0_9Hr.mjs';
|
|
15
|
-
import { l as legacyRootDirArgs, c as cwdArgs } from '../shared/cli-nightly.
|
|
14
|
+
import { l as legacyRootDirArgs, c as cwdArgs } from '../shared/cli-nightly.-ulLD85N.mjs';
|
|
16
15
|
import 'node:url';
|
|
17
16
|
import 'exsolve';
|
|
18
17
|
import 'consola';
|
|
@@ -129,6 +128,7 @@ function normalizeConfigModule(module, rootDir) {
|
|
|
129
128
|
}
|
|
130
129
|
async function getNuxtConfig(rootDir) {
|
|
131
130
|
try {
|
|
131
|
+
const { createJiti } = await import('jiti');
|
|
132
132
|
const jiti = createJiti(rootDir, {
|
|
133
133
|
interopDefault: true,
|
|
134
134
|
// allow using `~` and `@` in `nuxt.config`
|
package/dist/chunks/init.mjs
CHANGED
|
@@ -8,13 +8,13 @@ import { $fetch } from 'ofetch';
|
|
|
8
8
|
import { resolve, relative, join } from 'pathe';
|
|
9
9
|
import { hasTTY } from 'std-env';
|
|
10
10
|
import { x } from 'tinyexec';
|
|
11
|
-
import { r as runCommand } from '../shared/cli-nightly.
|
|
11
|
+
import { r as runCommand } from '../shared/cli-nightly.DnuaFfgK.mjs';
|
|
12
12
|
import { l as logger } from '../shared/cli-nightly.B9AmABr3.mjs';
|
|
13
|
-
import { a as logLevelArgs, c as cwdArgs } from '../shared/cli-nightly.
|
|
13
|
+
import { a as logLevelArgs, c as cwdArgs } from '../shared/cli-nightly.-ulLD85N.mjs';
|
|
14
14
|
import 'node:url';
|
|
15
15
|
import 'node:crypto';
|
|
16
16
|
import 'node:path';
|
|
17
|
-
import '../shared/cli-nightly.
|
|
17
|
+
import '../shared/cli-nightly.BzQmGASk.mjs';
|
|
18
18
|
import 'consola';
|
|
19
19
|
|
|
20
20
|
const themeColor = "\x1B[38;2;0;220;130m";
|
package/dist/chunks/prepare.mjs
CHANGED
|
@@ -4,7 +4,7 @@ import { resolve, relative } from 'pathe';
|
|
|
4
4
|
import { a as clearBuildDir } from '../shared/cli-nightly.DPmMxQ6h.mjs';
|
|
5
5
|
import { l as loadKit } from '../shared/cli-nightly.qKvs7FJ2.mjs';
|
|
6
6
|
import { l as logger } from '../shared/cli-nightly.B9AmABr3.mjs';
|
|
7
|
-
import { l as legacyRootDirArgs, e as envNameArgs, a as logLevelArgs, c as cwdArgs, d as dotEnvArgs } from '../shared/cli-nightly.
|
|
7
|
+
import { l as legacyRootDirArgs, e as envNameArgs, a as logLevelArgs, c as cwdArgs, d as dotEnvArgs } from '../shared/cli-nightly.-ulLD85N.mjs';
|
|
8
8
|
import 'node:fs';
|
|
9
9
|
import 'node:url';
|
|
10
10
|
import 'exsolve';
|
package/dist/chunks/preview.mjs
CHANGED
|
@@ -9,7 +9,7 @@ import { resolve } from 'pathe';
|
|
|
9
9
|
import { x } from 'tinyexec';
|
|
10
10
|
import { l as loadKit } from '../shared/cli-nightly.qKvs7FJ2.mjs';
|
|
11
11
|
import { l as logger } from '../shared/cli-nightly.B9AmABr3.mjs';
|
|
12
|
-
import { d as dotEnvArgs, l as legacyRootDirArgs, e as envNameArgs, a as logLevelArgs, c as cwdArgs } from '../shared/cli-nightly.
|
|
12
|
+
import { d as dotEnvArgs, l as legacyRootDirArgs, e as envNameArgs, a as logLevelArgs, c as cwdArgs } from '../shared/cli-nightly.-ulLD85N.mjs';
|
|
13
13
|
import 'node:url';
|
|
14
14
|
import 'exsolve';
|
|
15
15
|
import 'consola';
|
package/dist/chunks/search.mjs
CHANGED
|
@@ -3,7 +3,7 @@ import { colors } from 'consola/utils';
|
|
|
3
3
|
import Fuse from 'fuse.js';
|
|
4
4
|
import { upperFirst, kebabCase } from 'scule';
|
|
5
5
|
import { l as logger } from '../shared/cli-nightly.B9AmABr3.mjs';
|
|
6
|
-
import { c as cwdArgs } from '../shared/cli-nightly.
|
|
6
|
+
import { c as cwdArgs } from '../shared/cli-nightly.-ulLD85N.mjs';
|
|
7
7
|
import { g as getNuxtVersion, f as fetchModules, c as checkNuxtCompatibility } from '../shared/cli-nightly.jA1DRKbi.mjs';
|
|
8
8
|
import 'consola';
|
|
9
9
|
import 'node:path';
|
package/dist/chunks/test.mjs
CHANGED
|
@@ -2,7 +2,7 @@ import process from 'node:process';
|
|
|
2
2
|
import { defineCommand } from 'citty';
|
|
3
3
|
import { resolve } from 'pathe';
|
|
4
4
|
import { l as logger } from '../shared/cli-nightly.B9AmABr3.mjs';
|
|
5
|
-
import { l as legacyRootDirArgs, a as logLevelArgs, c as cwdArgs } from '../shared/cli-nightly.
|
|
5
|
+
import { l as legacyRootDirArgs, a as logLevelArgs, c as cwdArgs } from '../shared/cli-nightly.-ulLD85N.mjs';
|
|
6
6
|
import 'consola';
|
|
7
7
|
import 'node:path';
|
|
8
8
|
import 'std-env';
|
|
@@ -6,7 +6,7 @@ import { readTSConfig } from 'pkg-types';
|
|
|
6
6
|
import { isBun } from 'std-env';
|
|
7
7
|
import { x } from 'tinyexec';
|
|
8
8
|
import { l as loadKit } from '../shared/cli-nightly.qKvs7FJ2.mjs';
|
|
9
|
-
import { l as legacyRootDirArgs, d as dotEnvArgs, a as logLevelArgs, c as cwdArgs } from '../shared/cli-nightly.
|
|
9
|
+
import { l as legacyRootDirArgs, d as dotEnvArgs, a as logLevelArgs, c as cwdArgs } from '../shared/cli-nightly.-ulLD85N.mjs';
|
|
10
10
|
import 'node:url';
|
|
11
11
|
import 'node:path';
|
|
12
12
|
import 'consola';
|
package/dist/chunks/upgrade.mjs
CHANGED
|
@@ -9,7 +9,7 @@ import { l as loadKit } from '../shared/cli-nightly.qKvs7FJ2.mjs';
|
|
|
9
9
|
import { l as logger } from '../shared/cli-nightly.B9AmABr3.mjs';
|
|
10
10
|
import { c as cleanupNuxtDirs, n as nuxtVersionToGitIdentifier } from '../shared/cli-nightly.Bu_9IHj2.mjs';
|
|
11
11
|
import { g as getPackageManagerVersion } from '../shared/cli-nightly.BSm0_9Hr.mjs';
|
|
12
|
-
import { l as legacyRootDirArgs, a as logLevelArgs, c as cwdArgs } from '../shared/cli-nightly.
|
|
12
|
+
import { l as legacyRootDirArgs, a as logLevelArgs, c as cwdArgs } from '../shared/cli-nightly.-ulLD85N.mjs';
|
|
13
13
|
import 'node:url';
|
|
14
14
|
import 'exsolve';
|
|
15
15
|
import 'consola';
|
package/dist/dev/index.d.mts
CHANGED
|
@@ -65,9 +65,6 @@ declare class NuxtDevServer extends EventEmitter<DevServerEventMap> {
|
|
|
65
65
|
};
|
|
66
66
|
constructor(options: NuxtDevServerOptions);
|
|
67
67
|
_renderError(req: IncomingMessage, res: ServerResponse): void;
|
|
68
|
-
resolveLoadingTemplate(): Promise<(params: {
|
|
69
|
-
loading: string;
|
|
70
|
-
}) => string>;
|
|
71
68
|
_renderLoadingScreen(req: IncomingMessage, res: ServerResponse): Promise<void>;
|
|
72
69
|
init(): Promise<void>;
|
|
73
70
|
load(reload?: boolean, reason?: string): Promise<void>;
|
package/dist/dev/index.d.ts
CHANGED
|
@@ -65,9 +65,6 @@ declare class NuxtDevServer extends EventEmitter<DevServerEventMap> {
|
|
|
65
65
|
};
|
|
66
66
|
constructor(options: NuxtDevServerOptions);
|
|
67
67
|
_renderError(req: IncomingMessage, res: ServerResponse): void;
|
|
68
|
-
resolveLoadingTemplate(): Promise<(params: {
|
|
69
|
-
loading: string;
|
|
70
|
-
}) => string>;
|
|
71
68
|
_renderLoadingScreen(req: IncomingMessage, res: ServerResponse): Promise<void>;
|
|
72
69
|
init(): Promise<void>;
|
|
73
70
|
load(reload?: boolean, reason?: string): Promise<void>;
|
package/dist/dev/index.mjs
CHANGED
|
@@ -4,6 +4,8 @@ import 'defu';
|
|
|
4
4
|
import 'node:events';
|
|
5
5
|
import 'node:fs';
|
|
6
6
|
import 'node:fs/promises';
|
|
7
|
+
import 'node:url';
|
|
8
|
+
import 'exsolve';
|
|
7
9
|
import 'h3';
|
|
8
10
|
import 'listhen';
|
|
9
11
|
import 'pathe';
|
|
@@ -14,8 +16,6 @@ import '../shared/cli-nightly.DPmMxQ6h.mjs';
|
|
|
14
16
|
import '../shared/cli-nightly.B9AmABr3.mjs';
|
|
15
17
|
import 'consola';
|
|
16
18
|
import '../shared/cli-nightly.qKvs7FJ2.mjs';
|
|
17
|
-
import 'node:url';
|
|
18
|
-
import 'exsolve';
|
|
19
19
|
import '../shared/cli-nightly.Bu_9IHj2.mjs';
|
|
20
20
|
import 'ohash';
|
|
21
21
|
import 'youch';
|
package/dist/index.mjs
CHANGED
|
@@ -121,7 +121,7 @@ async function checkEngines() {
|
|
|
121
121
|
}
|
|
122
122
|
|
|
123
123
|
const name = "@nuxt/cli-nightly";
|
|
124
|
-
const version = "3.26.0-
|
|
124
|
+
const version = "3.26.0-20250707-092336-ac2d954";
|
|
125
125
|
const description = "Nuxt CLI";
|
|
126
126
|
|
|
127
127
|
const main = defineCommand({
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import process from 'node:process';
|
|
2
2
|
import { fileURLToPath } from 'node:url';
|
|
3
3
|
import { defineCommand, runCommand as runCommand$1 } from 'citty';
|
|
4
|
-
import { b as commands, c as cwdArgs, s as setupGlobalConsole, f as checkEngines } from './cli-nightly.
|
|
4
|
+
import { b as commands, c as cwdArgs, s as setupGlobalConsole, f as checkEngines } from './cli-nightly.-ulLD85N.mjs';
|
|
5
5
|
import nodeCrypto from 'node:crypto';
|
|
6
6
|
import { resolve } from 'node:path';
|
|
7
7
|
import { provider } from 'std-env';
|
|
8
|
-
import { d as description, v as version, n as name } from './cli-nightly.
|
|
8
|
+
import { d as description, v as version, n as name } from './cli-nightly.BzQmGASk.mjs';
|
|
9
9
|
import { l as logger } from './cli-nightly.B9AmABr3.mjs';
|
|
10
10
|
|
|
11
11
|
if (!globalThis.crypto) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nuxt/cli-nightly",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "3.26.0-
|
|
4
|
+
"version": "3.26.0-20250707-092336-ac2d954",
|
|
5
5
|
"description": "Nuxt CLI",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"repository": {
|
|
@@ -51,24 +51,24 @@
|
|
|
51
51
|
"ohash": "^2.0.11",
|
|
52
52
|
"pathe": "^2.0.3",
|
|
53
53
|
"perfect-debounce": "^1.0.0",
|
|
54
|
-
"pkg-types": "^2.
|
|
54
|
+
"pkg-types": "^2.2.0",
|
|
55
55
|
"scule": "^1.3.0",
|
|
56
56
|
"semver": "^7.7.2",
|
|
57
57
|
"std-env": "^3.9.0",
|
|
58
58
|
"tinyexec": "^1.0.1",
|
|
59
59
|
"ufo": "^1.6.1",
|
|
60
|
-
"youch": "^4.1.0-beta.
|
|
60
|
+
"youch": "^4.1.0-beta.10"
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|
|
63
63
|
"@nuxt/schema": "^3.17.6",
|
|
64
|
-
"@types/node": "^22.
|
|
64
|
+
"@types/node": "^22.16.0",
|
|
65
65
|
"get-port-please": "^3.1.2",
|
|
66
|
-
"rollup": "^4.44.
|
|
66
|
+
"rollup": "^4.44.2",
|
|
67
67
|
"rollup-plugin-visualizer": "^6.0.3",
|
|
68
68
|
"typescript": "^5.8.3",
|
|
69
69
|
"unbuild": "^3.5.0",
|
|
70
70
|
"unplugin-purge-polyfills": "^0.1.0",
|
|
71
71
|
"vitest": "^3.2.4",
|
|
72
|
-
"youch": "^4.1.0-beta.
|
|
72
|
+
"youch": "^4.1.0-beta.10"
|
|
73
73
|
}
|
|
74
74
|
}
|