@nuxt/cli-nightly 3.30.0-20251029-210522-3a92d84 → 3.30.0-20251030-113745-b8ea409
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/{add-BGMHIn5L.mjs → add-CHVmfYrF.mjs} +1 -1
- package/dist/{add-CHYEpn7Y.mjs → add-DAUI-5jB.mjs} +1 -1
- package/dist/add-UF9L_ur5.mjs +10 -0
- package/dist/{analyze-Coe2kTBZ.mjs → analyze-B7ie7_6H.mjs} +3 -3
- package/dist/{banner-95R8hV4o.mjs → banner-CWBLwDiB.mjs} +1 -1
- package/dist/build-BEXmJONc.mjs +9 -0
- package/dist/{build-DkB8uZtZ.mjs → build-CVr-ruAe.mjs} +4 -4
- package/dist/{cleanup-8GRakeLu.mjs → cleanup-X4v95Xqm.mjs} +3 -3
- package/dist/dev/index.d.mts +10 -39
- package/dist/dev/index.mjs +5 -4
- package/dist/{dev-DsH3xiyp.mjs → dev-BYEMtZLe.mjs} +157 -161
- package/dist/dev-CD5a8ssT.mjs +8 -0
- package/dist/{dev-child-CJxOnht6.mjs → dev-child-Dcs4VQnN.mjs} +1 -1
- package/dist/dev-nr2jb3A5.mjs +278 -0
- package/dist/{generate-B328yidV.mjs → generate-DZJF1Xf_.mjs} +5 -5
- package/dist/index.mjs +16 -16
- package/dist/{info-Cnnyy7W4.mjs → info-CAy5OGO8.mjs} +2 -2
- package/dist/{init-CvLYtdn1.mjs → init-DxB4kjq8.mjs} +4 -4
- package/dist/{module-BUBa48Be.mjs → module-gIxjhGid.mjs} +2 -2
- package/dist/{nuxt-Cc9ZTk7m.mjs → nuxt-CfBR40hD.mjs} +1 -1
- package/dist/{prepare-xI978yFg.mjs → prepare-DjR-jyiQ.mjs} +2 -2
- package/dist/prepare-ZByeo9vQ.mjs +7 -0
- package/dist/{preview-BEqrL1ey.mjs → preview-CgpLKg-X.mjs} +1 -1
- package/dist/{search-DCyXfxzn.mjs → search-D_JLXbhF.mjs} +1 -1
- package/dist/{typecheck-DCWe7Iej.mjs → typecheck-egvrxpjV.mjs} +1 -1
- package/dist/{upgrade-BMSFcUWJ.mjs → upgrade-Bsj6DJXO.mjs} +3 -3
- package/package.json +2 -3
- package/dist/add-qJhPcmZB.mjs +0 -10
- package/dist/build-BebJ09xA.mjs +0 -9
- package/dist/dev-Bv3ZMKhd.mjs +0 -7
- package/dist/dev-lAMCAq4V.mjs +0 -344
- package/dist/prepare-B0KOhO-L.mjs +0 -7
- /package/dist/{env-Dz4K_NkM.mjs → env-CamzysGq.mjs} +0 -0
- /package/dist/{fs-ewAp6tjM.mjs → fs--ofMleGo.mjs} +0 -0
- /package/dist/{kit-xFxVGu6d.mjs → kit-f7zsnm10.mjs} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { o as logLevelArgs, t as cwdArgs } from "./_shared-C3vB2YLc.mjs";
|
|
2
2
|
import { t as logger } from "./logger-Dk0gkCkX.mjs";
|
|
3
|
-
import { t as loadKit } from "./kit-
|
|
3
|
+
import { t as loadKit } from "./kit-f7zsnm10.mjs";
|
|
4
4
|
import process from "node:process";
|
|
5
5
|
import { defineCommand } from "citty";
|
|
6
6
|
import { existsSync, promises } from "node:fs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { o as logLevelArgs, t as cwdArgs } from "./_shared-C3vB2YLc.mjs";
|
|
2
2
|
import { t as logger } from "./logger-Dk0gkCkX.mjs";
|
|
3
3
|
import { t as getNuxtVersion } from "./versions-CSy_3o_-.mjs";
|
|
4
|
-
import { t as prepare_default } from "./prepare-
|
|
4
|
+
import { t as prepare_default } from "./prepare-DjR-jyiQ.mjs";
|
|
5
5
|
import { n as fetchModules, r as getRegistryFromContent, t as checkNuxtCompatibility } from "./_utils-DTrPahho.mjs";
|
|
6
6
|
import { join } from "node:path";
|
|
7
7
|
import process from "node:process";
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import "./_shared-C3vB2YLc.mjs";
|
|
2
|
+
import "./logger-Dk0gkCkX.mjs";
|
|
3
|
+
import "./kit-f7zsnm10.mjs";
|
|
4
|
+
import "./fs--ofMleGo.mjs";
|
|
5
|
+
import { t as add_default } from "./add-DAUI-5jB.mjs";
|
|
6
|
+
import "./versions-CSy_3o_-.mjs";
|
|
7
|
+
import "./prepare-DjR-jyiQ.mjs";
|
|
8
|
+
import "./_utils-DTrPahho.mjs";
|
|
9
|
+
|
|
10
|
+
export { add_default as default };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { a as legacyRootDirArgs, i as extendsArgs, n as dotEnvArgs, o as logLevelArgs, t as cwdArgs } from "./_shared-C3vB2YLc.mjs";
|
|
2
2
|
import { t as logger } from "./logger-Dk0gkCkX.mjs";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { t as overrideEnv } from "./env-
|
|
3
|
+
import { t as loadKit } from "./kit-f7zsnm10.mjs";
|
|
4
|
+
import { n as clearDir } from "./fs--ofMleGo.mjs";
|
|
5
|
+
import { t as overrideEnv } from "./env-CamzysGq.mjs";
|
|
6
6
|
import process from "node:process";
|
|
7
7
|
import { defineCommand } from "citty";
|
|
8
8
|
import { defu as defu$1 } from "defu";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as logger } from "./logger-Dk0gkCkX.mjs";
|
|
2
|
-
import { n as tryResolveNuxt } from "./kit-
|
|
2
|
+
import { n as tryResolveNuxt } from "./kit-f7zsnm10.mjs";
|
|
3
3
|
import { readFileSync } from "node:fs";
|
|
4
4
|
import { resolveModulePath } from "exsolve";
|
|
5
5
|
import { colors } from "consola/utils";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import "./_shared-C3vB2YLc.mjs";
|
|
2
|
+
import "./logger-Dk0gkCkX.mjs";
|
|
3
|
+
import "./kit-f7zsnm10.mjs";
|
|
4
|
+
import "./banner-CWBLwDiB.mjs";
|
|
5
|
+
import "./fs--ofMleGo.mjs";
|
|
6
|
+
import "./env-CamzysGq.mjs";
|
|
7
|
+
import { t as build_default } from "./build-CVr-ruAe.mjs";
|
|
8
|
+
|
|
9
|
+
export { build_default as default };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { a as legacyRootDirArgs, i as extendsArgs, n as dotEnvArgs, o as logLevelArgs, r as envNameArgs, t as cwdArgs } from "./_shared-C3vB2YLc.mjs";
|
|
2
2
|
import { t as logger } from "./logger-Dk0gkCkX.mjs";
|
|
3
|
-
import { t as
|
|
4
|
-
import { t as
|
|
5
|
-
import { t as
|
|
6
|
-
import { t as
|
|
3
|
+
import { t as loadKit } from "./kit-f7zsnm10.mjs";
|
|
4
|
+
import { t as showVersions } from "./banner-CWBLwDiB.mjs";
|
|
5
|
+
import { t as clearBuildDir } from "./fs--ofMleGo.mjs";
|
|
6
|
+
import { t as overrideEnv } from "./env-CamzysGq.mjs";
|
|
7
7
|
import process from "node:process";
|
|
8
8
|
import { defineCommand } from "citty";
|
|
9
9
|
import { relative, resolve } from "pathe";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { a as legacyRootDirArgs, t as cwdArgs } from "./_shared-C3vB2YLc.mjs";
|
|
2
2
|
import "./logger-Dk0gkCkX.mjs";
|
|
3
|
-
import "./
|
|
4
|
-
import
|
|
5
|
-
import { t as cleanupNuxtDirs } from "./nuxt-
|
|
3
|
+
import { t as loadKit } from "./kit-f7zsnm10.mjs";
|
|
4
|
+
import "./fs--ofMleGo.mjs";
|
|
5
|
+
import { t as cleanupNuxtDirs } from "./nuxt-CfBR40hD.mjs";
|
|
6
6
|
import { defineCommand } from "citty";
|
|
7
7
|
import { resolve } from "pathe";
|
|
8
8
|
|
package/dist/dev/index.d.mts
CHANGED
|
@@ -1,17 +1,13 @@
|
|
|
1
|
-
import { HTTPSOptions, ListenOptions, ListenURL, Listener } from "listhen";
|
|
2
|
-
import { IncomingMessage, RequestListener, ServerResponse } from "node:http";
|
|
3
1
|
import EventEmitter from "node:events";
|
|
2
|
+
import { ListenOptions, Listener } from "listhen";
|
|
4
3
|
import { DotenvOptions } from "c12";
|
|
5
4
|
import { NuxtConfig } from "@nuxt/schema";
|
|
6
|
-
import {
|
|
5
|
+
import { RequestListener } from "node:http";
|
|
7
6
|
|
|
8
7
|
//#region ../nuxi/src/dev/utils.d.ts
|
|
9
8
|
|
|
10
9
|
interface NuxtDevContext {
|
|
11
10
|
cwd: string;
|
|
12
|
-
public?: boolean;
|
|
13
|
-
hostname?: string;
|
|
14
|
-
publicURLs?: string[];
|
|
15
11
|
args: {
|
|
16
12
|
clear: boolean;
|
|
17
13
|
logLevel: string;
|
|
@@ -19,12 +15,6 @@ interface NuxtDevContext {
|
|
|
19
15
|
envName: string;
|
|
20
16
|
extends?: string;
|
|
21
17
|
};
|
|
22
|
-
proxy?: {
|
|
23
|
-
url?: string;
|
|
24
|
-
urls?: ListenURL[];
|
|
25
|
-
https?: boolean | HTTPSOptions;
|
|
26
|
-
addr?: AddressInfo;
|
|
27
|
-
};
|
|
28
18
|
}
|
|
29
19
|
interface NuxtDevServerOptions {
|
|
30
20
|
cwd: string;
|
|
@@ -32,14 +22,14 @@ interface NuxtDevServerOptions {
|
|
|
32
22
|
dotenv: DotenvOptions;
|
|
33
23
|
envName?: string;
|
|
34
24
|
clear?: boolean;
|
|
35
|
-
defaults: NuxtConfig;
|
|
36
25
|
overrides: NuxtConfig;
|
|
37
26
|
loadingTemplate?: ({
|
|
38
27
|
loading
|
|
39
28
|
}: {
|
|
40
29
|
loading: string;
|
|
41
30
|
}) => string;
|
|
42
|
-
|
|
31
|
+
showBanner?: boolean;
|
|
32
|
+
listenOverrides?: Partial<ListenOptions>;
|
|
43
33
|
}
|
|
44
34
|
interface DevServerEventMap {
|
|
45
35
|
"loading:error": [error: Error];
|
|
@@ -48,32 +38,16 @@ interface DevServerEventMap {
|
|
|
48
38
|
"restart": [];
|
|
49
39
|
}
|
|
50
40
|
declare class NuxtDevServer extends EventEmitter<DevServerEventMap> {
|
|
41
|
+
#private;
|
|
51
42
|
private options;
|
|
52
|
-
private _handler?;
|
|
53
|
-
private _distWatcher?;
|
|
54
|
-
private _configWatcher?;
|
|
55
|
-
private _currentNuxt?;
|
|
56
|
-
private _loadingMessage?;
|
|
57
|
-
private _loadingError?;
|
|
58
|
-
private _fileChangeTracker;
|
|
59
|
-
private cwd;
|
|
60
43
|
loadDebounced: (reload?: boolean, reason?: string) => void;
|
|
61
44
|
handler: RequestListener;
|
|
62
|
-
listener:
|
|
63
|
-
_url?: string;
|
|
64
|
-
address: Omit<AddressInfo, "family"> & {
|
|
65
|
-
socketPath: string;
|
|
66
|
-
} | AddressInfo;
|
|
67
|
-
};
|
|
45
|
+
listener: Listener;
|
|
68
46
|
constructor(options: NuxtDevServerOptions);
|
|
69
|
-
_renderError(req: IncomingMessage, res: ServerResponse): void;
|
|
70
|
-
_renderLoadingScreen(req: IncomingMessage, res: ServerResponse): Promise<void>;
|
|
71
47
|
init(): Promise<void>;
|
|
72
48
|
closeWatchers(): void;
|
|
73
49
|
load(reload?: boolean, reason?: string): Promise<void>;
|
|
74
50
|
close(): Promise<void>;
|
|
75
|
-
_load(reload?: boolean, reason?: string): Promise<void>;
|
|
76
|
-
_watchConfig(): void;
|
|
77
51
|
}
|
|
78
52
|
//#endregion
|
|
79
53
|
//#region ../nuxi/src/dev/index.d.ts
|
|
@@ -81,18 +55,15 @@ interface InitializeOptions {
|
|
|
81
55
|
data?: {
|
|
82
56
|
overrides?: NuxtConfig;
|
|
83
57
|
};
|
|
58
|
+
listenOverrides?: Partial<ListenOptions>;
|
|
59
|
+
showBanner?: boolean;
|
|
84
60
|
}
|
|
85
61
|
interface InitializeReturn {
|
|
86
|
-
listener:
|
|
87
|
-
_url?: string;
|
|
88
|
-
address: (Omit<AddressInfo, "family"> & {
|
|
89
|
-
socketPath: string;
|
|
90
|
-
}) | AddressInfo;
|
|
91
|
-
};
|
|
62
|
+
listener: Listener;
|
|
92
63
|
close: () => Promise<void>;
|
|
93
64
|
onReady: (callback: (address: string) => void) => void;
|
|
94
65
|
onRestart: (callback: (devServer: NuxtDevServer) => void) => void;
|
|
95
66
|
}
|
|
96
|
-
declare function initialize(devContext: NuxtDevContext, ctx?: InitializeOptions
|
|
67
|
+
declare function initialize(devContext: NuxtDevContext, ctx?: InitializeOptions): Promise<InitializeReturn>;
|
|
97
68
|
//#endregion
|
|
98
69
|
export { initialize };
|
package/dist/dev/index.mjs
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import "../logger-Dk0gkCkX.mjs";
|
|
2
|
-
import { t as initialize } from "../dev-
|
|
3
|
-
import "../
|
|
4
|
-
import "../
|
|
5
|
-
import "../
|
|
2
|
+
import { t as initialize } from "../dev-BYEMtZLe.mjs";
|
|
3
|
+
import "../kit-f7zsnm10.mjs";
|
|
4
|
+
import "../banner-CWBLwDiB.mjs";
|
|
5
|
+
import "../fs--ofMleGo.mjs";
|
|
6
|
+
import "../nuxt-CfBR40hD.mjs";
|
|
6
7
|
|
|
7
8
|
export { initialize };
|