@nuxt/devtools-kit 0.8.5 → 1.0.0-beta.0
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.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/shared/{devtools-kit.ddf4b3f2.d.cts → devtools-kit.6aa604ca.d.cts} +5 -3
- package/dist/shared/{devtools-kit.ddf4b3f2.d.mts → devtools-kit.6aa604ca.d.mts} +5 -3
- package/dist/shared/{devtools-kit.ddf4b3f2.d.ts → devtools-kit.6aa604ca.d.ts} +5 -3
- package/dist/types.d.cts +4 -2
- package/dist/types.d.mts +4 -2
- package/dist/types.d.ts +4 -2
- package/package.json +5 -5
package/dist/index.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as execa from 'execa';
|
|
2
2
|
import * as _nuxt_schema from '@nuxt/schema';
|
|
3
3
|
import { BirpcGroup } from 'birpc';
|
|
4
|
-
import { M as ModuleCustomTab, S as SubprocessOptions, T as TerminalState, N as NuxtDevtoolsInfo } from './shared/devtools-kit.
|
|
4
|
+
import { M as ModuleCustomTab, S as SubprocessOptions, T as TerminalState, N as NuxtDevtoolsInfo } from './shared/devtools-kit.6aa604ca.cjs';
|
|
5
5
|
import 'vue';
|
|
6
6
|
import 'nuxt/schema';
|
|
7
7
|
import 'nitropack';
|
package/dist/index.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as execa from 'execa';
|
|
2
2
|
import * as _nuxt_schema from '@nuxt/schema';
|
|
3
3
|
import { BirpcGroup } from 'birpc';
|
|
4
|
-
import { M as ModuleCustomTab, S as SubprocessOptions, T as TerminalState, N as NuxtDevtoolsInfo } from './shared/devtools-kit.
|
|
4
|
+
import { M as ModuleCustomTab, S as SubprocessOptions, T as TerminalState, N as NuxtDevtoolsInfo } from './shared/devtools-kit.6aa604ca.mjs';
|
|
5
5
|
import 'vue';
|
|
6
6
|
import 'nuxt/schema';
|
|
7
7
|
import 'nitropack';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as execa from 'execa';
|
|
2
2
|
import * as _nuxt_schema from '@nuxt/schema';
|
|
3
3
|
import { BirpcGroup } from 'birpc';
|
|
4
|
-
import { M as ModuleCustomTab, S as SubprocessOptions, T as TerminalState, N as NuxtDevtoolsInfo } from './shared/devtools-kit.
|
|
4
|
+
import { M as ModuleCustomTab, S as SubprocessOptions, T as TerminalState, N as NuxtDevtoolsInfo } from './shared/devtools-kit.6aa604ca.js';
|
|
5
5
|
import 'vue';
|
|
6
6
|
import 'nuxt/schema';
|
|
7
7
|
import 'nitropack';
|
|
@@ -448,6 +448,7 @@ interface NuxtDevToolsOptions {
|
|
|
448
448
|
scale: number;
|
|
449
449
|
showExperimentalFeatures: boolean;
|
|
450
450
|
showHelpButtons: boolean;
|
|
451
|
+
showPanel: boolean | null;
|
|
451
452
|
sidebarExpanded: boolean;
|
|
452
453
|
sidebarScrollable: boolean;
|
|
453
454
|
};
|
|
@@ -455,6 +456,7 @@ interface NuxtDevToolsOptions {
|
|
|
455
456
|
selectedRoute: ServerRouteInfo | null;
|
|
456
457
|
view: 'tree' | 'list';
|
|
457
458
|
inputDefaults: Record<string, ServerRouteInput[]>;
|
|
459
|
+
sendFrom: 'app' | 'devtools';
|
|
458
460
|
};
|
|
459
461
|
assets: {
|
|
460
462
|
view: 'grid' | 'list';
|
|
@@ -545,8 +547,8 @@ interface ServerFunctions {
|
|
|
545
547
|
processId: string;
|
|
546
548
|
} | undefined>;
|
|
547
549
|
getTerminals(): TerminalInfo[];
|
|
548
|
-
getTerminalDetail(token: string, id: string): TerminalInfo | undefined
|
|
549
|
-
runTerminalAction(id: string, action: TerminalAction): Promise<boolean>;
|
|
550
|
+
getTerminalDetail(token: string, id: string): Promise<TerminalInfo | undefined>;
|
|
551
|
+
runTerminalAction(token: string, id: string, action: TerminalAction): Promise<boolean>;
|
|
550
552
|
getStorageMounts(): Promise<StorageMounts>;
|
|
551
553
|
getStorageKeys(base?: string): Promise<string[]>;
|
|
552
554
|
getStorageItem(token: string, key: string): Promise<StorageValue>;
|
|
@@ -565,7 +567,7 @@ interface ServerFunctions {
|
|
|
565
567
|
customTabAction(name: string, action: number): Promise<boolean>;
|
|
566
568
|
runWizard<T extends WizardActions>(token: string, name: T, ...args: GetWizardArgs<T>): Promise<void>;
|
|
567
569
|
openInEditor(filepath: string): Promise<boolean>;
|
|
568
|
-
requestForAuth(info?: string): Promise<void>;
|
|
570
|
+
requestForAuth(info?: string, origin?: string): Promise<void>;
|
|
569
571
|
verifyAuthToken(token: string): Promise<boolean>;
|
|
570
572
|
restartNuxt(hard?: boolean): Promise<void>;
|
|
571
573
|
installNuxtModule(token: string, name: string, dry?: boolean): Promise<InstallModuleReturn>;
|
|
@@ -448,6 +448,7 @@ interface NuxtDevToolsOptions {
|
|
|
448
448
|
scale: number;
|
|
449
449
|
showExperimentalFeatures: boolean;
|
|
450
450
|
showHelpButtons: boolean;
|
|
451
|
+
showPanel: boolean | null;
|
|
451
452
|
sidebarExpanded: boolean;
|
|
452
453
|
sidebarScrollable: boolean;
|
|
453
454
|
};
|
|
@@ -455,6 +456,7 @@ interface NuxtDevToolsOptions {
|
|
|
455
456
|
selectedRoute: ServerRouteInfo | null;
|
|
456
457
|
view: 'tree' | 'list';
|
|
457
458
|
inputDefaults: Record<string, ServerRouteInput[]>;
|
|
459
|
+
sendFrom: 'app' | 'devtools';
|
|
458
460
|
};
|
|
459
461
|
assets: {
|
|
460
462
|
view: 'grid' | 'list';
|
|
@@ -545,8 +547,8 @@ interface ServerFunctions {
|
|
|
545
547
|
processId: string;
|
|
546
548
|
} | undefined>;
|
|
547
549
|
getTerminals(): TerminalInfo[];
|
|
548
|
-
getTerminalDetail(token: string, id: string): TerminalInfo | undefined
|
|
549
|
-
runTerminalAction(id: string, action: TerminalAction): Promise<boolean>;
|
|
550
|
+
getTerminalDetail(token: string, id: string): Promise<TerminalInfo | undefined>;
|
|
551
|
+
runTerminalAction(token: string, id: string, action: TerminalAction): Promise<boolean>;
|
|
550
552
|
getStorageMounts(): Promise<StorageMounts>;
|
|
551
553
|
getStorageKeys(base?: string): Promise<string[]>;
|
|
552
554
|
getStorageItem(token: string, key: string): Promise<StorageValue>;
|
|
@@ -565,7 +567,7 @@ interface ServerFunctions {
|
|
|
565
567
|
customTabAction(name: string, action: number): Promise<boolean>;
|
|
566
568
|
runWizard<T extends WizardActions>(token: string, name: T, ...args: GetWizardArgs<T>): Promise<void>;
|
|
567
569
|
openInEditor(filepath: string): Promise<boolean>;
|
|
568
|
-
requestForAuth(info?: string): Promise<void>;
|
|
570
|
+
requestForAuth(info?: string, origin?: string): Promise<void>;
|
|
569
571
|
verifyAuthToken(token: string): Promise<boolean>;
|
|
570
572
|
restartNuxt(hard?: boolean): Promise<void>;
|
|
571
573
|
installNuxtModule(token: string, name: string, dry?: boolean): Promise<InstallModuleReturn>;
|
|
@@ -448,6 +448,7 @@ interface NuxtDevToolsOptions {
|
|
|
448
448
|
scale: number;
|
|
449
449
|
showExperimentalFeatures: boolean;
|
|
450
450
|
showHelpButtons: boolean;
|
|
451
|
+
showPanel: boolean | null;
|
|
451
452
|
sidebarExpanded: boolean;
|
|
452
453
|
sidebarScrollable: boolean;
|
|
453
454
|
};
|
|
@@ -455,6 +456,7 @@ interface NuxtDevToolsOptions {
|
|
|
455
456
|
selectedRoute: ServerRouteInfo | null;
|
|
456
457
|
view: 'tree' | 'list';
|
|
457
458
|
inputDefaults: Record<string, ServerRouteInput[]>;
|
|
459
|
+
sendFrom: 'app' | 'devtools';
|
|
458
460
|
};
|
|
459
461
|
assets: {
|
|
460
462
|
view: 'grid' | 'list';
|
|
@@ -545,8 +547,8 @@ interface ServerFunctions {
|
|
|
545
547
|
processId: string;
|
|
546
548
|
} | undefined>;
|
|
547
549
|
getTerminals(): TerminalInfo[];
|
|
548
|
-
getTerminalDetail(token: string, id: string): TerminalInfo | undefined
|
|
549
|
-
runTerminalAction(id: string, action: TerminalAction): Promise<boolean>;
|
|
550
|
+
getTerminalDetail(token: string, id: string): Promise<TerminalInfo | undefined>;
|
|
551
|
+
runTerminalAction(token: string, id: string, action: TerminalAction): Promise<boolean>;
|
|
550
552
|
getStorageMounts(): Promise<StorageMounts>;
|
|
551
553
|
getStorageKeys(base?: string): Promise<string[]>;
|
|
552
554
|
getStorageItem(token: string, key: string): Promise<StorageValue>;
|
|
@@ -565,7 +567,7 @@ interface ServerFunctions {
|
|
|
565
567
|
customTabAction(name: string, action: number): Promise<boolean>;
|
|
566
568
|
runWizard<T extends WizardActions>(token: string, name: T, ...args: GetWizardArgs<T>): Promise<void>;
|
|
567
569
|
openInEditor(filepath: string): Promise<boolean>;
|
|
568
|
-
requestForAuth(info?: string): Promise<void>;
|
|
570
|
+
requestForAuth(info?: string, origin?: string): Promise<void>;
|
|
569
571
|
verifyAuthToken(token: string): Promise<boolean>;
|
|
570
572
|
restartNuxt(hard?: boolean): Promise<void>;
|
|
571
573
|
installNuxtModule(token: string, name: string, dry?: boolean): Promise<InstallModuleReturn>;
|
package/dist/types.d.cts
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import { V as VueInspectorData, a as VueInspectorClient, H as HookInfo, P as PluginMetric, L as LoadingTimeMetric, b as ServerFunctions } from './shared/devtools-kit.
|
|
2
|
-
export { a1 as AnalyzeBuildMeta, a2 as AnalyzeBuildsInfo, K as AssetEntry, J as AssetInfo, F as AssetType, A as AutoImportsWithMetadata, B as BasicModuleInfo, C as CategorizedTabs, Z as ClientFunctions, _ as ClientUpdateEvent, O as CodeSnippet, z as CompatibilityStatus, Q as ComponentRelationship, U as ComponentWithRelationships, Y as GetWizardArgs, G as GitHubContributor, I as ImageMeta, a0 as InstallModuleReturn, w as InstalledModuleInfo, E as MaintainerInfo, i as ModuleBuiltinTab, y as ModuleCompatibility, M as ModuleCustomTab, a4 as ModuleGlobalOptions, h as ModuleIframeTabLazyOptions, d as ModuleIframeView, f as ModuleLaunchAction, c as ModuleLaunchView, a3 as ModuleOptions, x as ModuleStaticInfo, j as ModuleTabInfo, D as ModuleType, e as ModuleVNodeView, g as ModuleView, q as NpmCommandOptions, p as NpmCommandType, a7 as NuxtDevToolsOptions, N as NuxtDevtoolsInfo, $ as NuxtDevtoolsServerContext, o as PackageManagerName, n as PackageUpdateInfo, u as Payload, v as PluginInfoWithMetic, R as RouteInfo, r as ServerRouteInfo, t as ServerRouteInput, s as ServerRouteInputType, S as SubprocessOptions, a8 as TabCategory, l as TerminalAction, k as TerminalBase, m as TerminalInfo, T as TerminalState, a5 as VSCodeIntegrationOptions, a6 as VSCodeTunnelOptions, X as WizardActions, W as WizardFunctions } from './shared/devtools-kit.
|
|
1
|
+
import { V as VueInspectorData, a as VueInspectorClient, H as HookInfo, P as PluginMetric, L as LoadingTimeMetric, b as ServerFunctions } from './shared/devtools-kit.6aa604ca.cjs';
|
|
2
|
+
export { a1 as AnalyzeBuildMeta, a2 as AnalyzeBuildsInfo, K as AssetEntry, J as AssetInfo, F as AssetType, A as AutoImportsWithMetadata, B as BasicModuleInfo, C as CategorizedTabs, Z as ClientFunctions, _ as ClientUpdateEvent, O as CodeSnippet, z as CompatibilityStatus, Q as ComponentRelationship, U as ComponentWithRelationships, Y as GetWizardArgs, G as GitHubContributor, I as ImageMeta, a0 as InstallModuleReturn, w as InstalledModuleInfo, E as MaintainerInfo, i as ModuleBuiltinTab, y as ModuleCompatibility, M as ModuleCustomTab, a4 as ModuleGlobalOptions, h as ModuleIframeTabLazyOptions, d as ModuleIframeView, f as ModuleLaunchAction, c as ModuleLaunchView, a3 as ModuleOptions, x as ModuleStaticInfo, j as ModuleTabInfo, D as ModuleType, e as ModuleVNodeView, g as ModuleView, q as NpmCommandOptions, p as NpmCommandType, a7 as NuxtDevToolsOptions, N as NuxtDevtoolsInfo, $ as NuxtDevtoolsServerContext, o as PackageManagerName, n as PackageUpdateInfo, u as Payload, v as PluginInfoWithMetic, R as RouteInfo, r as ServerRouteInfo, t as ServerRouteInput, s as ServerRouteInputType, S as SubprocessOptions, a8 as TabCategory, l as TerminalAction, k as TerminalBase, m as TerminalInfo, T as TerminalState, a5 as VSCodeIntegrationOptions, a6 as VSCodeTunnelOptions, X as WizardActions, W as WizardFunctions } from './shared/devtools-kit.6aa604ca.cjs';
|
|
3
3
|
import { Ref } from 'vue';
|
|
4
4
|
import { AppConfig } from 'nuxt/schema';
|
|
5
5
|
import { NuxtApp } from 'nuxt/dist/app/nuxt';
|
|
6
6
|
import { Hookable } from 'hookable';
|
|
7
7
|
import { BirpcReturn } from 'birpc';
|
|
8
8
|
import { BuiltinLanguage } from 'shikiji';
|
|
9
|
+
import { $Fetch } from 'ofetch';
|
|
9
10
|
import { StackFrame } from 'error-stack-parser-es';
|
|
10
11
|
import 'nitropack';
|
|
11
12
|
import 'unstorage';
|
|
@@ -138,6 +139,7 @@ interface NuxtDevtoolsHostClient {
|
|
|
138
139
|
appConfig: AppConfig;
|
|
139
140
|
colorMode: Ref<'dark' | 'light'>;
|
|
140
141
|
frameState: Ref<DevToolsFrameState>;
|
|
142
|
+
$fetch: $Fetch;
|
|
141
143
|
};
|
|
142
144
|
metrics: {
|
|
143
145
|
clientHooks(): HookInfo[];
|
package/dist/types.d.mts
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import { V as VueInspectorData, a as VueInspectorClient, H as HookInfo, P as PluginMetric, L as LoadingTimeMetric, b as ServerFunctions } from './shared/devtools-kit.
|
|
2
|
-
export { a1 as AnalyzeBuildMeta, a2 as AnalyzeBuildsInfo, K as AssetEntry, J as AssetInfo, F as AssetType, A as AutoImportsWithMetadata, B as BasicModuleInfo, C as CategorizedTabs, Z as ClientFunctions, _ as ClientUpdateEvent, O as CodeSnippet, z as CompatibilityStatus, Q as ComponentRelationship, U as ComponentWithRelationships, Y as GetWizardArgs, G as GitHubContributor, I as ImageMeta, a0 as InstallModuleReturn, w as InstalledModuleInfo, E as MaintainerInfo, i as ModuleBuiltinTab, y as ModuleCompatibility, M as ModuleCustomTab, a4 as ModuleGlobalOptions, h as ModuleIframeTabLazyOptions, d as ModuleIframeView, f as ModuleLaunchAction, c as ModuleLaunchView, a3 as ModuleOptions, x as ModuleStaticInfo, j as ModuleTabInfo, D as ModuleType, e as ModuleVNodeView, g as ModuleView, q as NpmCommandOptions, p as NpmCommandType, a7 as NuxtDevToolsOptions, N as NuxtDevtoolsInfo, $ as NuxtDevtoolsServerContext, o as PackageManagerName, n as PackageUpdateInfo, u as Payload, v as PluginInfoWithMetic, R as RouteInfo, r as ServerRouteInfo, t as ServerRouteInput, s as ServerRouteInputType, S as SubprocessOptions, a8 as TabCategory, l as TerminalAction, k as TerminalBase, m as TerminalInfo, T as TerminalState, a5 as VSCodeIntegrationOptions, a6 as VSCodeTunnelOptions, X as WizardActions, W as WizardFunctions } from './shared/devtools-kit.
|
|
1
|
+
import { V as VueInspectorData, a as VueInspectorClient, H as HookInfo, P as PluginMetric, L as LoadingTimeMetric, b as ServerFunctions } from './shared/devtools-kit.6aa604ca.mjs';
|
|
2
|
+
export { a1 as AnalyzeBuildMeta, a2 as AnalyzeBuildsInfo, K as AssetEntry, J as AssetInfo, F as AssetType, A as AutoImportsWithMetadata, B as BasicModuleInfo, C as CategorizedTabs, Z as ClientFunctions, _ as ClientUpdateEvent, O as CodeSnippet, z as CompatibilityStatus, Q as ComponentRelationship, U as ComponentWithRelationships, Y as GetWizardArgs, G as GitHubContributor, I as ImageMeta, a0 as InstallModuleReturn, w as InstalledModuleInfo, E as MaintainerInfo, i as ModuleBuiltinTab, y as ModuleCompatibility, M as ModuleCustomTab, a4 as ModuleGlobalOptions, h as ModuleIframeTabLazyOptions, d as ModuleIframeView, f as ModuleLaunchAction, c as ModuleLaunchView, a3 as ModuleOptions, x as ModuleStaticInfo, j as ModuleTabInfo, D as ModuleType, e as ModuleVNodeView, g as ModuleView, q as NpmCommandOptions, p as NpmCommandType, a7 as NuxtDevToolsOptions, N as NuxtDevtoolsInfo, $ as NuxtDevtoolsServerContext, o as PackageManagerName, n as PackageUpdateInfo, u as Payload, v as PluginInfoWithMetic, R as RouteInfo, r as ServerRouteInfo, t as ServerRouteInput, s as ServerRouteInputType, S as SubprocessOptions, a8 as TabCategory, l as TerminalAction, k as TerminalBase, m as TerminalInfo, T as TerminalState, a5 as VSCodeIntegrationOptions, a6 as VSCodeTunnelOptions, X as WizardActions, W as WizardFunctions } from './shared/devtools-kit.6aa604ca.mjs';
|
|
3
3
|
import { Ref } from 'vue';
|
|
4
4
|
import { AppConfig } from 'nuxt/schema';
|
|
5
5
|
import { NuxtApp } from 'nuxt/dist/app/nuxt';
|
|
6
6
|
import { Hookable } from 'hookable';
|
|
7
7
|
import { BirpcReturn } from 'birpc';
|
|
8
8
|
import { BuiltinLanguage } from 'shikiji';
|
|
9
|
+
import { $Fetch } from 'ofetch';
|
|
9
10
|
import { StackFrame } from 'error-stack-parser-es';
|
|
10
11
|
import 'nitropack';
|
|
11
12
|
import 'unstorage';
|
|
@@ -138,6 +139,7 @@ interface NuxtDevtoolsHostClient {
|
|
|
138
139
|
appConfig: AppConfig;
|
|
139
140
|
colorMode: Ref<'dark' | 'light'>;
|
|
140
141
|
frameState: Ref<DevToolsFrameState>;
|
|
142
|
+
$fetch: $Fetch;
|
|
141
143
|
};
|
|
142
144
|
metrics: {
|
|
143
145
|
clientHooks(): HookInfo[];
|
package/dist/types.d.ts
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import { V as VueInspectorData, a as VueInspectorClient, H as HookInfo, P as PluginMetric, L as LoadingTimeMetric, b as ServerFunctions } from './shared/devtools-kit.
|
|
2
|
-
export { a1 as AnalyzeBuildMeta, a2 as AnalyzeBuildsInfo, K as AssetEntry, J as AssetInfo, F as AssetType, A as AutoImportsWithMetadata, B as BasicModuleInfo, C as CategorizedTabs, Z as ClientFunctions, _ as ClientUpdateEvent, O as CodeSnippet, z as CompatibilityStatus, Q as ComponentRelationship, U as ComponentWithRelationships, Y as GetWizardArgs, G as GitHubContributor, I as ImageMeta, a0 as InstallModuleReturn, w as InstalledModuleInfo, E as MaintainerInfo, i as ModuleBuiltinTab, y as ModuleCompatibility, M as ModuleCustomTab, a4 as ModuleGlobalOptions, h as ModuleIframeTabLazyOptions, d as ModuleIframeView, f as ModuleLaunchAction, c as ModuleLaunchView, a3 as ModuleOptions, x as ModuleStaticInfo, j as ModuleTabInfo, D as ModuleType, e as ModuleVNodeView, g as ModuleView, q as NpmCommandOptions, p as NpmCommandType, a7 as NuxtDevToolsOptions, N as NuxtDevtoolsInfo, $ as NuxtDevtoolsServerContext, o as PackageManagerName, n as PackageUpdateInfo, u as Payload, v as PluginInfoWithMetic, R as RouteInfo, r as ServerRouteInfo, t as ServerRouteInput, s as ServerRouteInputType, S as SubprocessOptions, a8 as TabCategory, l as TerminalAction, k as TerminalBase, m as TerminalInfo, T as TerminalState, a5 as VSCodeIntegrationOptions, a6 as VSCodeTunnelOptions, X as WizardActions, W as WizardFunctions } from './shared/devtools-kit.
|
|
1
|
+
import { V as VueInspectorData, a as VueInspectorClient, H as HookInfo, P as PluginMetric, L as LoadingTimeMetric, b as ServerFunctions } from './shared/devtools-kit.6aa604ca.js';
|
|
2
|
+
export { a1 as AnalyzeBuildMeta, a2 as AnalyzeBuildsInfo, K as AssetEntry, J as AssetInfo, F as AssetType, A as AutoImportsWithMetadata, B as BasicModuleInfo, C as CategorizedTabs, Z as ClientFunctions, _ as ClientUpdateEvent, O as CodeSnippet, z as CompatibilityStatus, Q as ComponentRelationship, U as ComponentWithRelationships, Y as GetWizardArgs, G as GitHubContributor, I as ImageMeta, a0 as InstallModuleReturn, w as InstalledModuleInfo, E as MaintainerInfo, i as ModuleBuiltinTab, y as ModuleCompatibility, M as ModuleCustomTab, a4 as ModuleGlobalOptions, h as ModuleIframeTabLazyOptions, d as ModuleIframeView, f as ModuleLaunchAction, c as ModuleLaunchView, a3 as ModuleOptions, x as ModuleStaticInfo, j as ModuleTabInfo, D as ModuleType, e as ModuleVNodeView, g as ModuleView, q as NpmCommandOptions, p as NpmCommandType, a7 as NuxtDevToolsOptions, N as NuxtDevtoolsInfo, $ as NuxtDevtoolsServerContext, o as PackageManagerName, n as PackageUpdateInfo, u as Payload, v as PluginInfoWithMetic, R as RouteInfo, r as ServerRouteInfo, t as ServerRouteInput, s as ServerRouteInputType, S as SubprocessOptions, a8 as TabCategory, l as TerminalAction, k as TerminalBase, m as TerminalInfo, T as TerminalState, a5 as VSCodeIntegrationOptions, a6 as VSCodeTunnelOptions, X as WizardActions, W as WizardFunctions } from './shared/devtools-kit.6aa604ca.js';
|
|
3
3
|
import { Ref } from 'vue';
|
|
4
4
|
import { AppConfig } from 'nuxt/schema';
|
|
5
5
|
import { NuxtApp } from 'nuxt/dist/app/nuxt';
|
|
6
6
|
import { Hookable } from 'hookable';
|
|
7
7
|
import { BirpcReturn } from 'birpc';
|
|
8
8
|
import { BuiltinLanguage } from 'shikiji';
|
|
9
|
+
import { $Fetch } from 'ofetch';
|
|
9
10
|
import { StackFrame } from 'error-stack-parser-es';
|
|
10
11
|
import 'nitropack';
|
|
11
12
|
import 'unstorage';
|
|
@@ -138,6 +139,7 @@ interface NuxtDevtoolsHostClient {
|
|
|
138
139
|
appConfig: AppConfig;
|
|
139
140
|
colorMode: Ref<'dark' | 'light'>;
|
|
140
141
|
frameState: Ref<DevToolsFrameState>;
|
|
142
|
+
$fetch: $Fetch;
|
|
141
143
|
};
|
|
142
144
|
metrics: {
|
|
143
145
|
clientHooks(): HookInfo[];
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nuxt/devtools-kit",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "1.0.0-beta.0",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": "nuxt/devtools",
|
|
7
7
|
"exports": {
|
|
@@ -29,12 +29,12 @@
|
|
|
29
29
|
"dist"
|
|
30
30
|
],
|
|
31
31
|
"peerDependencies": {
|
|
32
|
-
"nuxt": "^3.7.
|
|
32
|
+
"nuxt": "^3.7.4",
|
|
33
33
|
"vite": "*"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@nuxt/kit": "^3.7.
|
|
37
|
-
"@nuxt/schema": "^3.7.
|
|
36
|
+
"@nuxt/kit": "^3.7.4",
|
|
37
|
+
"@nuxt/schema": "^3.7.4",
|
|
38
38
|
"execa": "^7.2.0"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"unbuild": "^2.0.0",
|
|
45
45
|
"unimport": "^3.3.0",
|
|
46
46
|
"vite-plugin-vue-inspector": "^3.7.1",
|
|
47
|
-
"vue-router": "^4.2.
|
|
47
|
+
"vue-router": "^4.2.5"
|
|
48
48
|
},
|
|
49
49
|
"scripts": {
|
|
50
50
|
"build": "unbuild",
|