@nuxt/devtools-kit-nightly 3.2.4-29562007.6edb6d3 → 3.2.4-29562025.ae68d3b
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.cjs +27 -20
- package/dist/index.d.cts +6 -3
- package/dist/index.d.mts +6 -3
- package/dist/index.d.ts +6 -3
- package/dist/index.mjs +27 -20
- package/dist/shared/{devtools-kit-nightly.BE8MVpwl.d.cts → devtools-kit-nightly.Cbdofr7K.d.cts} +5 -2
- package/dist/shared/{devtools-kit-nightly.BE8MVpwl.d.mts → devtools-kit-nightly.Cbdofr7K.d.mts} +5 -2
- package/dist/shared/{devtools-kit-nightly.BE8MVpwl.d.ts → devtools-kit-nightly.Cbdofr7K.d.ts} +5 -2
- package/dist/types.d.cts +3 -3
- package/dist/types.d.mts +3 -3
- package/dist/types.d.ts +3 -3
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const kit = require('@nuxt/kit');
|
|
4
|
-
const
|
|
4
|
+
const tinyexec = require('tinyexec');
|
|
5
5
|
|
|
6
6
|
function addCustomTab(tab, nuxt = kit.useNuxt()) {
|
|
7
7
|
nuxt.hook("devtools:customTabs", async (tabs) => {
|
|
@@ -17,50 +17,52 @@ function startSubprocess(execaOptions, tabOptions, nuxt = kit.useNuxt()) {
|
|
|
17
17
|
const id = tabOptions.id;
|
|
18
18
|
let restarting = false;
|
|
19
19
|
function start() {
|
|
20
|
-
const
|
|
20
|
+
const proc = tinyexec.x(
|
|
21
21
|
execaOptions.command,
|
|
22
22
|
execaOptions.args,
|
|
23
23
|
{
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
24
|
+
nodeOptions: {
|
|
25
|
+
...execaOptions.nodeOptions,
|
|
26
|
+
env: {
|
|
27
|
+
...process.env,
|
|
28
|
+
COLORS: "true",
|
|
29
|
+
FORCE_COLOR: "true",
|
|
30
|
+
...execaOptions.env,
|
|
31
|
+
...execaOptions.nodeOptions?.env,
|
|
32
|
+
__CLI_ARGV__: void 0
|
|
33
|
+
}
|
|
32
34
|
}
|
|
33
35
|
}
|
|
34
36
|
);
|
|
35
37
|
nuxt.callHook("devtools:terminal:write", { id, data: `> ${[execaOptions.command, ...execaOptions.args || []].join(" ")}
|
|
36
38
|
|
|
37
39
|
` });
|
|
38
|
-
|
|
40
|
+
proc.process?.stdout?.on("data", (data) => {
|
|
39
41
|
nuxt.callHook("devtools:terminal:write", { id, data: data.toString() });
|
|
40
42
|
});
|
|
41
|
-
|
|
43
|
+
proc.process?.stderr?.on("data", (data) => {
|
|
42
44
|
nuxt.callHook("devtools:terminal:write", { id, data: data.toString() });
|
|
43
45
|
});
|
|
44
|
-
|
|
46
|
+
proc.process?.on("exit", (code) => {
|
|
45
47
|
if (!restarting) {
|
|
46
48
|
nuxt.callHook("devtools:terminal:write", { id, data: `
|
|
47
|
-
> process
|
|
49
|
+
> process terminated with ${code}
|
|
48
50
|
` });
|
|
49
51
|
nuxt.callHook("devtools:terminal:exit", { id, code: code || 0 });
|
|
50
52
|
}
|
|
51
53
|
});
|
|
52
|
-
return
|
|
54
|
+
return proc;
|
|
53
55
|
}
|
|
54
56
|
register();
|
|
55
57
|
nuxt.hook("close", () => {
|
|
56
58
|
terminate();
|
|
57
59
|
});
|
|
58
|
-
let
|
|
60
|
+
let result = start();
|
|
59
61
|
function restart() {
|
|
60
62
|
restarting = true;
|
|
61
|
-
|
|
63
|
+
result.kill();
|
|
62
64
|
clear();
|
|
63
|
-
|
|
65
|
+
result = start();
|
|
64
66
|
restarting = false;
|
|
65
67
|
}
|
|
66
68
|
function clear() {
|
|
@@ -70,7 +72,7 @@ function startSubprocess(execaOptions, tabOptions, nuxt = kit.useNuxt()) {
|
|
|
70
72
|
function terminate() {
|
|
71
73
|
restarting = false;
|
|
72
74
|
try {
|
|
73
|
-
|
|
75
|
+
result.kill();
|
|
74
76
|
} catch {
|
|
75
77
|
}
|
|
76
78
|
nuxt.callHook("devtools:terminal:remove", { id });
|
|
@@ -84,7 +86,12 @@ function startSubprocess(execaOptions, tabOptions, nuxt = kit.useNuxt()) {
|
|
|
84
86
|
});
|
|
85
87
|
}
|
|
86
88
|
return {
|
|
87
|
-
|
|
89
|
+
/** @deprecated Use `getResult()` instead */
|
|
90
|
+
getProcess: () => {
|
|
91
|
+
console.warn("[nuxt-devtools] `getProcess()` is deprecated, use `getResult()` instead.");
|
|
92
|
+
return result.process;
|
|
93
|
+
},
|
|
94
|
+
getResult: () => result,
|
|
88
95
|
terminate,
|
|
89
96
|
restart,
|
|
90
97
|
clear
|
package/dist/index.d.cts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import * as _nuxt_schema from '@nuxt/schema';
|
|
2
2
|
import { BirpcGroup } from 'birpc';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { ChildProcess } from 'node:child_process';
|
|
4
|
+
import { Result } from 'tinyexec';
|
|
5
|
+
import { M as ModuleCustomTab, N as NuxtDevtoolsInfo, S as SubprocessOptions, T as TerminalState } from './shared/devtools-kit-nightly.Cbdofr7K.cjs';
|
|
5
6
|
import 'vue';
|
|
6
7
|
import 'nuxt/schema';
|
|
7
8
|
import 'unimport';
|
|
@@ -24,7 +25,9 @@ declare function refreshCustomTabs(nuxt?: _nuxt_schema.Nuxt): void | Promise<any
|
|
|
24
25
|
* Create a subprocess that handled by the DevTools.
|
|
25
26
|
*/
|
|
26
27
|
declare function startSubprocess(execaOptions: SubprocessOptions, tabOptions: TerminalState, nuxt?: _nuxt_schema.Nuxt): {
|
|
27
|
-
|
|
28
|
+
/** @deprecated Use `getResult()` instead */
|
|
29
|
+
getProcess: () => ChildProcess | undefined;
|
|
30
|
+
getResult: () => Result;
|
|
28
31
|
terminate: () => void;
|
|
29
32
|
restart: () => void;
|
|
30
33
|
clear: () => void;
|
package/dist/index.d.mts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import * as _nuxt_schema from '@nuxt/schema';
|
|
2
2
|
import { BirpcGroup } from 'birpc';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { ChildProcess } from 'node:child_process';
|
|
4
|
+
import { Result } from 'tinyexec';
|
|
5
|
+
import { M as ModuleCustomTab, N as NuxtDevtoolsInfo, S as SubprocessOptions, T as TerminalState } from './shared/devtools-kit-nightly.Cbdofr7K.mjs';
|
|
5
6
|
import 'vue';
|
|
6
7
|
import 'nuxt/schema';
|
|
7
8
|
import 'unimport';
|
|
@@ -24,7 +25,9 @@ declare function refreshCustomTabs(nuxt?: _nuxt_schema.Nuxt): void | Promise<any
|
|
|
24
25
|
* Create a subprocess that handled by the DevTools.
|
|
25
26
|
*/
|
|
26
27
|
declare function startSubprocess(execaOptions: SubprocessOptions, tabOptions: TerminalState, nuxt?: _nuxt_schema.Nuxt): {
|
|
27
|
-
|
|
28
|
+
/** @deprecated Use `getResult()` instead */
|
|
29
|
+
getProcess: () => ChildProcess | undefined;
|
|
30
|
+
getResult: () => Result;
|
|
28
31
|
terminate: () => void;
|
|
29
32
|
restart: () => void;
|
|
30
33
|
clear: () => void;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import * as _nuxt_schema from '@nuxt/schema';
|
|
2
2
|
import { BirpcGroup } from 'birpc';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { ChildProcess } from 'node:child_process';
|
|
4
|
+
import { Result } from 'tinyexec';
|
|
5
|
+
import { M as ModuleCustomTab, N as NuxtDevtoolsInfo, S as SubprocessOptions, T as TerminalState } from './shared/devtools-kit-nightly.Cbdofr7K.js';
|
|
5
6
|
import 'vue';
|
|
6
7
|
import 'nuxt/schema';
|
|
7
8
|
import 'unimport';
|
|
@@ -24,7 +25,9 @@ declare function refreshCustomTabs(nuxt?: _nuxt_schema.Nuxt): void | Promise<any
|
|
|
24
25
|
* Create a subprocess that handled by the DevTools.
|
|
25
26
|
*/
|
|
26
27
|
declare function startSubprocess(execaOptions: SubprocessOptions, tabOptions: TerminalState, nuxt?: _nuxt_schema.Nuxt): {
|
|
27
|
-
|
|
28
|
+
/** @deprecated Use `getResult()` instead */
|
|
29
|
+
getProcess: () => ChildProcess | undefined;
|
|
30
|
+
getResult: () => Result;
|
|
28
31
|
terminate: () => void;
|
|
29
32
|
restart: () => void;
|
|
30
33
|
clear: () => void;
|
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useNuxt } from '@nuxt/kit';
|
|
2
|
-
import {
|
|
2
|
+
import { x } from 'tinyexec';
|
|
3
3
|
|
|
4
4
|
function addCustomTab(tab, nuxt = useNuxt()) {
|
|
5
5
|
nuxt.hook("devtools:customTabs", async (tabs) => {
|
|
@@ -15,50 +15,52 @@ function startSubprocess(execaOptions, tabOptions, nuxt = useNuxt()) {
|
|
|
15
15
|
const id = tabOptions.id;
|
|
16
16
|
let restarting = false;
|
|
17
17
|
function start() {
|
|
18
|
-
const
|
|
18
|
+
const proc = x(
|
|
19
19
|
execaOptions.command,
|
|
20
20
|
execaOptions.args,
|
|
21
21
|
{
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
22
|
+
nodeOptions: {
|
|
23
|
+
...execaOptions.nodeOptions,
|
|
24
|
+
env: {
|
|
25
|
+
...process.env,
|
|
26
|
+
COLORS: "true",
|
|
27
|
+
FORCE_COLOR: "true",
|
|
28
|
+
...execaOptions.env,
|
|
29
|
+
...execaOptions.nodeOptions?.env,
|
|
30
|
+
__CLI_ARGV__: void 0
|
|
31
|
+
}
|
|
30
32
|
}
|
|
31
33
|
}
|
|
32
34
|
);
|
|
33
35
|
nuxt.callHook("devtools:terminal:write", { id, data: `> ${[execaOptions.command, ...execaOptions.args || []].join(" ")}
|
|
34
36
|
|
|
35
37
|
` });
|
|
36
|
-
|
|
38
|
+
proc.process?.stdout?.on("data", (data) => {
|
|
37
39
|
nuxt.callHook("devtools:terminal:write", { id, data: data.toString() });
|
|
38
40
|
});
|
|
39
|
-
|
|
41
|
+
proc.process?.stderr?.on("data", (data) => {
|
|
40
42
|
nuxt.callHook("devtools:terminal:write", { id, data: data.toString() });
|
|
41
43
|
});
|
|
42
|
-
|
|
44
|
+
proc.process?.on("exit", (code) => {
|
|
43
45
|
if (!restarting) {
|
|
44
46
|
nuxt.callHook("devtools:terminal:write", { id, data: `
|
|
45
|
-
> process
|
|
47
|
+
> process terminated with ${code}
|
|
46
48
|
` });
|
|
47
49
|
nuxt.callHook("devtools:terminal:exit", { id, code: code || 0 });
|
|
48
50
|
}
|
|
49
51
|
});
|
|
50
|
-
return
|
|
52
|
+
return proc;
|
|
51
53
|
}
|
|
52
54
|
register();
|
|
53
55
|
nuxt.hook("close", () => {
|
|
54
56
|
terminate();
|
|
55
57
|
});
|
|
56
|
-
let
|
|
58
|
+
let result = start();
|
|
57
59
|
function restart() {
|
|
58
60
|
restarting = true;
|
|
59
|
-
|
|
61
|
+
result.kill();
|
|
60
62
|
clear();
|
|
61
|
-
|
|
63
|
+
result = start();
|
|
62
64
|
restarting = false;
|
|
63
65
|
}
|
|
64
66
|
function clear() {
|
|
@@ -68,7 +70,7 @@ function startSubprocess(execaOptions, tabOptions, nuxt = useNuxt()) {
|
|
|
68
70
|
function terminate() {
|
|
69
71
|
restarting = false;
|
|
70
72
|
try {
|
|
71
|
-
|
|
73
|
+
result.kill();
|
|
72
74
|
} catch {
|
|
73
75
|
}
|
|
74
76
|
nuxt.callHook("devtools:terminal:remove", { id });
|
|
@@ -82,7 +84,12 @@ function startSubprocess(execaOptions, tabOptions, nuxt = useNuxt()) {
|
|
|
82
84
|
});
|
|
83
85
|
}
|
|
84
86
|
return {
|
|
85
|
-
|
|
87
|
+
/** @deprecated Use `getResult()` instead */
|
|
88
|
+
getProcess: () => {
|
|
89
|
+
console.warn("[nuxt-devtools] `getProcess()` is deprecated, use `getResult()` instead.");
|
|
90
|
+
return result.process;
|
|
91
|
+
},
|
|
92
|
+
getResult: () => result,
|
|
86
93
|
terminate,
|
|
87
94
|
restart,
|
|
88
95
|
clear
|
package/dist/shared/{devtools-kit-nightly.BE8MVpwl.d.cts → devtools-kit-nightly.Cbdofr7K.d.cts}
RENAMED
|
@@ -7,7 +7,7 @@ import { Nitro, StorageMounts } from 'nitropack';
|
|
|
7
7
|
import { StorageValue } from 'unstorage';
|
|
8
8
|
import { ResolvedConfig } from 'vite';
|
|
9
9
|
import { NuxtAnalyzeMeta } from '@nuxt/schema';
|
|
10
|
-
import {
|
|
10
|
+
import { SpawnOptions } from 'node:child_process';
|
|
11
11
|
|
|
12
12
|
type TabCategory = 'pinned' | 'app' | 'vue-devtools' | 'analyze' | 'server' | 'modules' | 'documentation' | 'advanced';
|
|
13
13
|
|
|
@@ -577,9 +577,12 @@ interface TerminalBase {
|
|
|
577
577
|
icon?: string;
|
|
578
578
|
}
|
|
579
579
|
type TerminalAction = 'restart' | 'terminate' | 'clear' | 'remove';
|
|
580
|
-
interface SubprocessOptions
|
|
580
|
+
interface SubprocessOptions {
|
|
581
581
|
command: string;
|
|
582
582
|
args?: string[];
|
|
583
|
+
cwd?: string;
|
|
584
|
+
env?: Record<string, string | undefined>;
|
|
585
|
+
nodeOptions?: SpawnOptions;
|
|
583
586
|
}
|
|
584
587
|
interface TerminalInfo extends TerminalBase {
|
|
585
588
|
/**
|
package/dist/shared/{devtools-kit-nightly.BE8MVpwl.d.mts → devtools-kit-nightly.Cbdofr7K.d.mts}
RENAMED
|
@@ -7,7 +7,7 @@ import { Nitro, StorageMounts } from 'nitropack';
|
|
|
7
7
|
import { StorageValue } from 'unstorage';
|
|
8
8
|
import { ResolvedConfig } from 'vite';
|
|
9
9
|
import { NuxtAnalyzeMeta } from '@nuxt/schema';
|
|
10
|
-
import {
|
|
10
|
+
import { SpawnOptions } from 'node:child_process';
|
|
11
11
|
|
|
12
12
|
type TabCategory = 'pinned' | 'app' | 'vue-devtools' | 'analyze' | 'server' | 'modules' | 'documentation' | 'advanced';
|
|
13
13
|
|
|
@@ -577,9 +577,12 @@ interface TerminalBase {
|
|
|
577
577
|
icon?: string;
|
|
578
578
|
}
|
|
579
579
|
type TerminalAction = 'restart' | 'terminate' | 'clear' | 'remove';
|
|
580
|
-
interface SubprocessOptions
|
|
580
|
+
interface SubprocessOptions {
|
|
581
581
|
command: string;
|
|
582
582
|
args?: string[];
|
|
583
|
+
cwd?: string;
|
|
584
|
+
env?: Record<string, string | undefined>;
|
|
585
|
+
nodeOptions?: SpawnOptions;
|
|
583
586
|
}
|
|
584
587
|
interface TerminalInfo extends TerminalBase {
|
|
585
588
|
/**
|
package/dist/shared/{devtools-kit-nightly.BE8MVpwl.d.ts → devtools-kit-nightly.Cbdofr7K.d.ts}
RENAMED
|
@@ -7,7 +7,7 @@ import { Nitro, StorageMounts } from 'nitropack';
|
|
|
7
7
|
import { StorageValue } from 'unstorage';
|
|
8
8
|
import { ResolvedConfig } from 'vite';
|
|
9
9
|
import { NuxtAnalyzeMeta } from '@nuxt/schema';
|
|
10
|
-
import {
|
|
10
|
+
import { SpawnOptions } from 'node:child_process';
|
|
11
11
|
|
|
12
12
|
type TabCategory = 'pinned' | 'app' | 'vue-devtools' | 'analyze' | 'server' | 'modules' | 'documentation' | 'advanced';
|
|
13
13
|
|
|
@@ -577,9 +577,12 @@ interface TerminalBase {
|
|
|
577
577
|
icon?: string;
|
|
578
578
|
}
|
|
579
579
|
type TerminalAction = 'restart' | 'terminate' | 'clear' | 'remove';
|
|
580
|
-
interface SubprocessOptions
|
|
580
|
+
interface SubprocessOptions {
|
|
581
581
|
command: string;
|
|
582
582
|
args?: string[];
|
|
583
|
+
cwd?: string;
|
|
584
|
+
env?: Record<string, string | undefined>;
|
|
585
|
+
nodeOptions?: SpawnOptions;
|
|
583
586
|
}
|
|
584
587
|
interface TerminalInfo extends TerminalBase {
|
|
585
588
|
/**
|
package/dist/types.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as ServerFunctions, C as ClientFunctions, H as HookInfo, P as PluginMetric, L as LoadingTimeMetric } from './shared/devtools-kit-nightly.
|
|
2
|
-
export { A as AnalyzeBuildMeta, b as AnalyzeBuildsInfo, c as AssetEntry, d as AssetInfo, e as AssetType, f as AutoImportsWithMetadata, B as BasicModuleInfo, g as CategorizedTabs, h as ClientUpdateEvent, i as CodeServerOptions, j as CodeServerType, k as CodeSnippet, l as CompatibilityStatus, m as ComponentRelationship, n as ComponentWithRelationships, G as GetWizardArgs, o as GitHubContributor, I as ImageMeta, p as InstallModuleReturn, q as InstalledModuleInfo, r as MaintainerInfo, s as ModuleBuiltinTab, t as ModuleCompatibility, M as ModuleCustomTab, u as ModuleGlobalOptions, v as ModuleIframeTabLazyOptions, w as ModuleIframeView, x as ModuleLaunchAction, y as ModuleLaunchView, z as ModuleOptions, D as ModuleStaticInfo, E as ModuleStats, F as ModuleTabInfo, J as ModuleType, K as ModuleVNodeView, O as ModuleView, Q as NpmCommandOptions, R as NpmCommandType, U as NuxtDevToolsOptions, N as NuxtDevtoolsInfo, V as NuxtDevtoolsServerContext, W as NuxtServerData, X as PackageManagerName, Y as PackageUpdateInfo, Z as Payload, _ as PluginInfoWithMetic, $ as RouteInfo, a0 as ScannedNitroTasks, a1 as ServerDebugContext, a2 as ServerDebugModuleMutationRecord, a3 as ServerRouteInfo, a4 as ServerRouteInput, a5 as ServerRouteInputType, a6 as ServerTaskInfo, S as SubprocessOptions, a7 as TabCategory, a8 as TerminalAction, a9 as TerminalBase, aa as TerminalInfo, T as TerminalState, ab as VSCodeIntegrationOptions, ac as VSCodeTunnelOptions, ad as VueInspectorClient, ae as VueInspectorData, af as WizardActions, ag as WizardFunctions } from './shared/devtools-kit-nightly.
|
|
1
|
+
import { a as ServerFunctions, C as ClientFunctions, H as HookInfo, P as PluginMetric, L as LoadingTimeMetric } from './shared/devtools-kit-nightly.Cbdofr7K.cjs';
|
|
2
|
+
export { A as AnalyzeBuildMeta, b as AnalyzeBuildsInfo, c as AssetEntry, d as AssetInfo, e as AssetType, f as AutoImportsWithMetadata, B as BasicModuleInfo, g as CategorizedTabs, h as ClientUpdateEvent, i as CodeServerOptions, j as CodeServerType, k as CodeSnippet, l as CompatibilityStatus, m as ComponentRelationship, n as ComponentWithRelationships, G as GetWizardArgs, o as GitHubContributor, I as ImageMeta, p as InstallModuleReturn, q as InstalledModuleInfo, r as MaintainerInfo, s as ModuleBuiltinTab, t as ModuleCompatibility, M as ModuleCustomTab, u as ModuleGlobalOptions, v as ModuleIframeTabLazyOptions, w as ModuleIframeView, x as ModuleLaunchAction, y as ModuleLaunchView, z as ModuleOptions, D as ModuleStaticInfo, E as ModuleStats, F as ModuleTabInfo, J as ModuleType, K as ModuleVNodeView, O as ModuleView, Q as NpmCommandOptions, R as NpmCommandType, U as NuxtDevToolsOptions, N as NuxtDevtoolsInfo, V as NuxtDevtoolsServerContext, W as NuxtServerData, X as PackageManagerName, Y as PackageUpdateInfo, Z as Payload, _ as PluginInfoWithMetic, $ as RouteInfo, a0 as ScannedNitroTasks, a1 as ServerDebugContext, a2 as ServerDebugModuleMutationRecord, a3 as ServerRouteInfo, a4 as ServerRouteInput, a5 as ServerRouteInputType, a6 as ServerTaskInfo, S as SubprocessOptions, a7 as TabCategory, a8 as TerminalAction, a9 as TerminalBase, aa as TerminalInfo, T as TerminalState, ab as VSCodeIntegrationOptions, ac as VSCodeTunnelOptions, ad as VueInspectorClient, ae as VueInspectorData, af as WizardActions, ag as WizardFunctions } from './shared/devtools-kit-nightly.Cbdofr7K.cjs';
|
|
3
3
|
import { BirpcReturn } from 'birpc';
|
|
4
4
|
import { Hookable } from 'hookable';
|
|
5
5
|
import { NuxtApp } from 'nuxt/app';
|
|
@@ -14,7 +14,7 @@ import 'nitropack';
|
|
|
14
14
|
import 'unstorage';
|
|
15
15
|
import 'vite';
|
|
16
16
|
import '@nuxt/schema';
|
|
17
|
-
import '
|
|
17
|
+
import 'node:child_process';
|
|
18
18
|
|
|
19
19
|
interface TimelineEventFunction {
|
|
20
20
|
type: 'function';
|
package/dist/types.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as ServerFunctions, C as ClientFunctions, H as HookInfo, P as PluginMetric, L as LoadingTimeMetric } from './shared/devtools-kit-nightly.
|
|
2
|
-
export { A as AnalyzeBuildMeta, b as AnalyzeBuildsInfo, c as AssetEntry, d as AssetInfo, e as AssetType, f as AutoImportsWithMetadata, B as BasicModuleInfo, g as CategorizedTabs, h as ClientUpdateEvent, i as CodeServerOptions, j as CodeServerType, k as CodeSnippet, l as CompatibilityStatus, m as ComponentRelationship, n as ComponentWithRelationships, G as GetWizardArgs, o as GitHubContributor, I as ImageMeta, p as InstallModuleReturn, q as InstalledModuleInfo, r as MaintainerInfo, s as ModuleBuiltinTab, t as ModuleCompatibility, M as ModuleCustomTab, u as ModuleGlobalOptions, v as ModuleIframeTabLazyOptions, w as ModuleIframeView, x as ModuleLaunchAction, y as ModuleLaunchView, z as ModuleOptions, D as ModuleStaticInfo, E as ModuleStats, F as ModuleTabInfo, J as ModuleType, K as ModuleVNodeView, O as ModuleView, Q as NpmCommandOptions, R as NpmCommandType, U as NuxtDevToolsOptions, N as NuxtDevtoolsInfo, V as NuxtDevtoolsServerContext, W as NuxtServerData, X as PackageManagerName, Y as PackageUpdateInfo, Z as Payload, _ as PluginInfoWithMetic, $ as RouteInfo, a0 as ScannedNitroTasks, a1 as ServerDebugContext, a2 as ServerDebugModuleMutationRecord, a3 as ServerRouteInfo, a4 as ServerRouteInput, a5 as ServerRouteInputType, a6 as ServerTaskInfo, S as SubprocessOptions, a7 as TabCategory, a8 as TerminalAction, a9 as TerminalBase, aa as TerminalInfo, T as TerminalState, ab as VSCodeIntegrationOptions, ac as VSCodeTunnelOptions, ad as VueInspectorClient, ae as VueInspectorData, af as WizardActions, ag as WizardFunctions } from './shared/devtools-kit-nightly.
|
|
1
|
+
import { a as ServerFunctions, C as ClientFunctions, H as HookInfo, P as PluginMetric, L as LoadingTimeMetric } from './shared/devtools-kit-nightly.Cbdofr7K.mjs';
|
|
2
|
+
export { A as AnalyzeBuildMeta, b as AnalyzeBuildsInfo, c as AssetEntry, d as AssetInfo, e as AssetType, f as AutoImportsWithMetadata, B as BasicModuleInfo, g as CategorizedTabs, h as ClientUpdateEvent, i as CodeServerOptions, j as CodeServerType, k as CodeSnippet, l as CompatibilityStatus, m as ComponentRelationship, n as ComponentWithRelationships, G as GetWizardArgs, o as GitHubContributor, I as ImageMeta, p as InstallModuleReturn, q as InstalledModuleInfo, r as MaintainerInfo, s as ModuleBuiltinTab, t as ModuleCompatibility, M as ModuleCustomTab, u as ModuleGlobalOptions, v as ModuleIframeTabLazyOptions, w as ModuleIframeView, x as ModuleLaunchAction, y as ModuleLaunchView, z as ModuleOptions, D as ModuleStaticInfo, E as ModuleStats, F as ModuleTabInfo, J as ModuleType, K as ModuleVNodeView, O as ModuleView, Q as NpmCommandOptions, R as NpmCommandType, U as NuxtDevToolsOptions, N as NuxtDevtoolsInfo, V as NuxtDevtoolsServerContext, W as NuxtServerData, X as PackageManagerName, Y as PackageUpdateInfo, Z as Payload, _ as PluginInfoWithMetic, $ as RouteInfo, a0 as ScannedNitroTasks, a1 as ServerDebugContext, a2 as ServerDebugModuleMutationRecord, a3 as ServerRouteInfo, a4 as ServerRouteInput, a5 as ServerRouteInputType, a6 as ServerTaskInfo, S as SubprocessOptions, a7 as TabCategory, a8 as TerminalAction, a9 as TerminalBase, aa as TerminalInfo, T as TerminalState, ab as VSCodeIntegrationOptions, ac as VSCodeTunnelOptions, ad as VueInspectorClient, ae as VueInspectorData, af as WizardActions, ag as WizardFunctions } from './shared/devtools-kit-nightly.Cbdofr7K.mjs';
|
|
3
3
|
import { BirpcReturn } from 'birpc';
|
|
4
4
|
import { Hookable } from 'hookable';
|
|
5
5
|
import { NuxtApp } from 'nuxt/app';
|
|
@@ -14,7 +14,7 @@ import 'nitropack';
|
|
|
14
14
|
import 'unstorage';
|
|
15
15
|
import 'vite';
|
|
16
16
|
import '@nuxt/schema';
|
|
17
|
-
import '
|
|
17
|
+
import 'node:child_process';
|
|
18
18
|
|
|
19
19
|
interface TimelineEventFunction {
|
|
20
20
|
type: 'function';
|
package/dist/types.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as ServerFunctions, C as ClientFunctions, H as HookInfo, P as PluginMetric, L as LoadingTimeMetric } from './shared/devtools-kit-nightly.
|
|
2
|
-
export { A as AnalyzeBuildMeta, b as AnalyzeBuildsInfo, c as AssetEntry, d as AssetInfo, e as AssetType, f as AutoImportsWithMetadata, B as BasicModuleInfo, g as CategorizedTabs, h as ClientUpdateEvent, i as CodeServerOptions, j as CodeServerType, k as CodeSnippet, l as CompatibilityStatus, m as ComponentRelationship, n as ComponentWithRelationships, G as GetWizardArgs, o as GitHubContributor, I as ImageMeta, p as InstallModuleReturn, q as InstalledModuleInfo, r as MaintainerInfo, s as ModuleBuiltinTab, t as ModuleCompatibility, M as ModuleCustomTab, u as ModuleGlobalOptions, v as ModuleIframeTabLazyOptions, w as ModuleIframeView, x as ModuleLaunchAction, y as ModuleLaunchView, z as ModuleOptions, D as ModuleStaticInfo, E as ModuleStats, F as ModuleTabInfo, J as ModuleType, K as ModuleVNodeView, O as ModuleView, Q as NpmCommandOptions, R as NpmCommandType, U as NuxtDevToolsOptions, N as NuxtDevtoolsInfo, V as NuxtDevtoolsServerContext, W as NuxtServerData, X as PackageManagerName, Y as PackageUpdateInfo, Z as Payload, _ as PluginInfoWithMetic, $ as RouteInfo, a0 as ScannedNitroTasks, a1 as ServerDebugContext, a2 as ServerDebugModuleMutationRecord, a3 as ServerRouteInfo, a4 as ServerRouteInput, a5 as ServerRouteInputType, a6 as ServerTaskInfo, S as SubprocessOptions, a7 as TabCategory, a8 as TerminalAction, a9 as TerminalBase, aa as TerminalInfo, T as TerminalState, ab as VSCodeIntegrationOptions, ac as VSCodeTunnelOptions, ad as VueInspectorClient, ae as VueInspectorData, af as WizardActions, ag as WizardFunctions } from './shared/devtools-kit-nightly.
|
|
1
|
+
import { a as ServerFunctions, C as ClientFunctions, H as HookInfo, P as PluginMetric, L as LoadingTimeMetric } from './shared/devtools-kit-nightly.Cbdofr7K.js';
|
|
2
|
+
export { A as AnalyzeBuildMeta, b as AnalyzeBuildsInfo, c as AssetEntry, d as AssetInfo, e as AssetType, f as AutoImportsWithMetadata, B as BasicModuleInfo, g as CategorizedTabs, h as ClientUpdateEvent, i as CodeServerOptions, j as CodeServerType, k as CodeSnippet, l as CompatibilityStatus, m as ComponentRelationship, n as ComponentWithRelationships, G as GetWizardArgs, o as GitHubContributor, I as ImageMeta, p as InstallModuleReturn, q as InstalledModuleInfo, r as MaintainerInfo, s as ModuleBuiltinTab, t as ModuleCompatibility, M as ModuleCustomTab, u as ModuleGlobalOptions, v as ModuleIframeTabLazyOptions, w as ModuleIframeView, x as ModuleLaunchAction, y as ModuleLaunchView, z as ModuleOptions, D as ModuleStaticInfo, E as ModuleStats, F as ModuleTabInfo, J as ModuleType, K as ModuleVNodeView, O as ModuleView, Q as NpmCommandOptions, R as NpmCommandType, U as NuxtDevToolsOptions, N as NuxtDevtoolsInfo, V as NuxtDevtoolsServerContext, W as NuxtServerData, X as PackageManagerName, Y as PackageUpdateInfo, Z as Payload, _ as PluginInfoWithMetic, $ as RouteInfo, a0 as ScannedNitroTasks, a1 as ServerDebugContext, a2 as ServerDebugModuleMutationRecord, a3 as ServerRouteInfo, a4 as ServerRouteInput, a5 as ServerRouteInputType, a6 as ServerTaskInfo, S as SubprocessOptions, a7 as TabCategory, a8 as TerminalAction, a9 as TerminalBase, aa as TerminalInfo, T as TerminalState, ab as VSCodeIntegrationOptions, ac as VSCodeTunnelOptions, ad as VueInspectorClient, ae as VueInspectorData, af as WizardActions, ag as WizardFunctions } from './shared/devtools-kit-nightly.Cbdofr7K.js';
|
|
3
3
|
import { BirpcReturn } from 'birpc';
|
|
4
4
|
import { Hookable } from 'hookable';
|
|
5
5
|
import { NuxtApp } from 'nuxt/app';
|
|
@@ -14,7 +14,7 @@ import 'nitropack';
|
|
|
14
14
|
import 'unstorage';
|
|
15
15
|
import 'vite';
|
|
16
16
|
import '@nuxt/schema';
|
|
17
|
-
import '
|
|
17
|
+
import 'node:child_process';
|
|
18
18
|
|
|
19
19
|
interface TimelineEventFunction {
|
|
20
20
|
type: 'function';
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nuxt/devtools-kit-nightly",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "3.2.4-
|
|
4
|
+
"version": "3.2.4-29562025.ae68d3b",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://devtools.nuxt.com/module/utils-kit",
|
|
7
7
|
"repository": {
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"@nuxt/kit": "^4.4.2",
|
|
45
|
-
"
|
|
45
|
+
"tinyexec": "^1.0.4"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@nuxt/schema": "^4.4.2",
|