@nuxt/devtools-kit 0.8.4 → 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 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.8143bd0b.cjs';
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.8143bd0b.mjs';
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.8143bd0b.js';
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';
@@ -376,6 +376,12 @@ interface ModuleOptions {
376
376
  exclude?: (string | RegExp | ((item: Import) => boolean))[];
377
377
  };
378
378
  };
379
+ /**
380
+ * Enable anonymous telemetry, helping us improve Nuxt DevTools.
381
+ *
382
+ * By default it will respect global Nuxt telemetry settings.
383
+ */
384
+ telemetry?: boolean;
379
385
  }
380
386
  interface ModuleGlobalOptions {
381
387
  /**
@@ -424,21 +430,25 @@ interface VSCodeTunnelOptions {
424
430
  name?: string;
425
431
  }
426
432
  interface NuxtDevToolsOptions {
433
+ behavior: {
434
+ telemetry: boolean | null;
435
+ };
427
436
  ui: {
428
- componentsView: 'list' | 'graph';
429
- componentsGraphShowNodeModules: boolean;
430
437
  componentsGraphShowGlobalComponents: boolean;
431
- componentsGraphShowPages: boolean;
432
438
  componentsGraphShowLayouts: boolean;
439
+ componentsGraphShowNodeModules: boolean;
440
+ componentsGraphShowPages: boolean;
433
441
  componentsGraphShowWorkspace: boolean;
442
+ componentsView: 'list' | 'graph';
443
+ hiddenTabCategories: string[];
444
+ hiddenTabs: string[];
434
445
  interactionCloseOnOutsideClick: boolean;
446
+ minimizePanelInactive: number;
447
+ pinnedTabs: string[];
448
+ scale: number;
435
449
  showExperimentalFeatures: boolean;
436
450
  showHelpButtons: boolean;
437
- scale: number;
438
- hiddenTabs: string[];
439
- hiddenTabCategories: string[];
440
- pinnedTabs: string[];
441
- minimizePanelInactive: number;
451
+ showPanel: boolean | null;
442
452
  sidebarExpanded: boolean;
443
453
  sidebarScrollable: boolean;
444
454
  };
@@ -446,6 +456,7 @@ interface NuxtDevToolsOptions {
446
456
  selectedRoute: ServerRouteInfo | null;
447
457
  view: 'tree' | 'list';
448
458
  inputDefaults: Record<string, ServerRouteInput[]>;
459
+ sendFrom: 'app' | 'devtools';
449
460
  };
450
461
  assets: {
451
462
  view: 'grid' | 'list';
@@ -536,8 +547,8 @@ interface ServerFunctions {
536
547
  processId: string;
537
548
  } | undefined>;
538
549
  getTerminals(): TerminalInfo[];
539
- getTerminalDetail(token: string, id: string): TerminalInfo | undefined;
540
- 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>;
541
552
  getStorageMounts(): Promise<StorageMounts>;
542
553
  getStorageKeys(base?: string): Promise<string[]>;
543
554
  getStorageItem(token: string, key: string): Promise<StorageValue>;
@@ -552,10 +563,11 @@ interface ServerFunctions {
552
563
  writeStaticAssets(token: string, file: AssetEntry[], folder: string): Promise<string[]>;
553
564
  deleteStaticAsset(token: string, filepath: string): Promise<void>;
554
565
  renameStaticAsset(token: string, oldPath: string, newPath: string): Promise<void>;
566
+ telemetryEvent(payload: object, immediate?: boolean): void;
555
567
  customTabAction(name: string, action: number): Promise<boolean>;
556
568
  runWizard<T extends WizardActions>(token: string, name: T, ...args: GetWizardArgs<T>): Promise<void>;
557
569
  openInEditor(filepath: string): Promise<boolean>;
558
- requestForAuth(info?: string): Promise<void>;
570
+ requestForAuth(info?: string, origin?: string): Promise<void>;
559
571
  verifyAuthToken(token: string): Promise<boolean>;
560
572
  restartNuxt(hard?: boolean): Promise<void>;
561
573
  installNuxtModule(token: string, name: string, dry?: boolean): Promise<InstallModuleReturn>;
@@ -376,6 +376,12 @@ interface ModuleOptions {
376
376
  exclude?: (string | RegExp | ((item: Import) => boolean))[];
377
377
  };
378
378
  };
379
+ /**
380
+ * Enable anonymous telemetry, helping us improve Nuxt DevTools.
381
+ *
382
+ * By default it will respect global Nuxt telemetry settings.
383
+ */
384
+ telemetry?: boolean;
379
385
  }
380
386
  interface ModuleGlobalOptions {
381
387
  /**
@@ -424,21 +430,25 @@ interface VSCodeTunnelOptions {
424
430
  name?: string;
425
431
  }
426
432
  interface NuxtDevToolsOptions {
433
+ behavior: {
434
+ telemetry: boolean | null;
435
+ };
427
436
  ui: {
428
- componentsView: 'list' | 'graph';
429
- componentsGraphShowNodeModules: boolean;
430
437
  componentsGraphShowGlobalComponents: boolean;
431
- componentsGraphShowPages: boolean;
432
438
  componentsGraphShowLayouts: boolean;
439
+ componentsGraphShowNodeModules: boolean;
440
+ componentsGraphShowPages: boolean;
433
441
  componentsGraphShowWorkspace: boolean;
442
+ componentsView: 'list' | 'graph';
443
+ hiddenTabCategories: string[];
444
+ hiddenTabs: string[];
434
445
  interactionCloseOnOutsideClick: boolean;
446
+ minimizePanelInactive: number;
447
+ pinnedTabs: string[];
448
+ scale: number;
435
449
  showExperimentalFeatures: boolean;
436
450
  showHelpButtons: boolean;
437
- scale: number;
438
- hiddenTabs: string[];
439
- hiddenTabCategories: string[];
440
- pinnedTabs: string[];
441
- minimizePanelInactive: number;
451
+ showPanel: boolean | null;
442
452
  sidebarExpanded: boolean;
443
453
  sidebarScrollable: boolean;
444
454
  };
@@ -446,6 +456,7 @@ interface NuxtDevToolsOptions {
446
456
  selectedRoute: ServerRouteInfo | null;
447
457
  view: 'tree' | 'list';
448
458
  inputDefaults: Record<string, ServerRouteInput[]>;
459
+ sendFrom: 'app' | 'devtools';
449
460
  };
450
461
  assets: {
451
462
  view: 'grid' | 'list';
@@ -536,8 +547,8 @@ interface ServerFunctions {
536
547
  processId: string;
537
548
  } | undefined>;
538
549
  getTerminals(): TerminalInfo[];
539
- getTerminalDetail(token: string, id: string): TerminalInfo | undefined;
540
- 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>;
541
552
  getStorageMounts(): Promise<StorageMounts>;
542
553
  getStorageKeys(base?: string): Promise<string[]>;
543
554
  getStorageItem(token: string, key: string): Promise<StorageValue>;
@@ -552,10 +563,11 @@ interface ServerFunctions {
552
563
  writeStaticAssets(token: string, file: AssetEntry[], folder: string): Promise<string[]>;
553
564
  deleteStaticAsset(token: string, filepath: string): Promise<void>;
554
565
  renameStaticAsset(token: string, oldPath: string, newPath: string): Promise<void>;
566
+ telemetryEvent(payload: object, immediate?: boolean): void;
555
567
  customTabAction(name: string, action: number): Promise<boolean>;
556
568
  runWizard<T extends WizardActions>(token: string, name: T, ...args: GetWizardArgs<T>): Promise<void>;
557
569
  openInEditor(filepath: string): Promise<boolean>;
558
- requestForAuth(info?: string): Promise<void>;
570
+ requestForAuth(info?: string, origin?: string): Promise<void>;
559
571
  verifyAuthToken(token: string): Promise<boolean>;
560
572
  restartNuxt(hard?: boolean): Promise<void>;
561
573
  installNuxtModule(token: string, name: string, dry?: boolean): Promise<InstallModuleReturn>;
@@ -376,6 +376,12 @@ interface ModuleOptions {
376
376
  exclude?: (string | RegExp | ((item: Import) => boolean))[];
377
377
  };
378
378
  };
379
+ /**
380
+ * Enable anonymous telemetry, helping us improve Nuxt DevTools.
381
+ *
382
+ * By default it will respect global Nuxt telemetry settings.
383
+ */
384
+ telemetry?: boolean;
379
385
  }
380
386
  interface ModuleGlobalOptions {
381
387
  /**
@@ -424,21 +430,25 @@ interface VSCodeTunnelOptions {
424
430
  name?: string;
425
431
  }
426
432
  interface NuxtDevToolsOptions {
433
+ behavior: {
434
+ telemetry: boolean | null;
435
+ };
427
436
  ui: {
428
- componentsView: 'list' | 'graph';
429
- componentsGraphShowNodeModules: boolean;
430
437
  componentsGraphShowGlobalComponents: boolean;
431
- componentsGraphShowPages: boolean;
432
438
  componentsGraphShowLayouts: boolean;
439
+ componentsGraphShowNodeModules: boolean;
440
+ componentsGraphShowPages: boolean;
433
441
  componentsGraphShowWorkspace: boolean;
442
+ componentsView: 'list' | 'graph';
443
+ hiddenTabCategories: string[];
444
+ hiddenTabs: string[];
434
445
  interactionCloseOnOutsideClick: boolean;
446
+ minimizePanelInactive: number;
447
+ pinnedTabs: string[];
448
+ scale: number;
435
449
  showExperimentalFeatures: boolean;
436
450
  showHelpButtons: boolean;
437
- scale: number;
438
- hiddenTabs: string[];
439
- hiddenTabCategories: string[];
440
- pinnedTabs: string[];
441
- minimizePanelInactive: number;
451
+ showPanel: boolean | null;
442
452
  sidebarExpanded: boolean;
443
453
  sidebarScrollable: boolean;
444
454
  };
@@ -446,6 +456,7 @@ interface NuxtDevToolsOptions {
446
456
  selectedRoute: ServerRouteInfo | null;
447
457
  view: 'tree' | 'list';
448
458
  inputDefaults: Record<string, ServerRouteInput[]>;
459
+ sendFrom: 'app' | 'devtools';
449
460
  };
450
461
  assets: {
451
462
  view: 'grid' | 'list';
@@ -536,8 +547,8 @@ interface ServerFunctions {
536
547
  processId: string;
537
548
  } | undefined>;
538
549
  getTerminals(): TerminalInfo[];
539
- getTerminalDetail(token: string, id: string): TerminalInfo | undefined;
540
- 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>;
541
552
  getStorageMounts(): Promise<StorageMounts>;
542
553
  getStorageKeys(base?: string): Promise<string[]>;
543
554
  getStorageItem(token: string, key: string): Promise<StorageValue>;
@@ -552,10 +563,11 @@ interface ServerFunctions {
552
563
  writeStaticAssets(token: string, file: AssetEntry[], folder: string): Promise<string[]>;
553
564
  deleteStaticAsset(token: string, filepath: string): Promise<void>;
554
565
  renameStaticAsset(token: string, oldPath: string, newPath: string): Promise<void>;
566
+ telemetryEvent(payload: object, immediate?: boolean): void;
555
567
  customTabAction(name: string, action: number): Promise<boolean>;
556
568
  runWizard<T extends WizardActions>(token: string, name: T, ...args: GetWizardArgs<T>): Promise<void>;
557
569
  openInEditor(filepath: string): Promise<boolean>;
558
- requestForAuth(info?: string): Promise<void>;
570
+ requestForAuth(info?: string, origin?: string): Promise<void>;
559
571
  verifyAuthToken(token: string): Promise<boolean>;
560
572
  restartNuxt(hard?: boolean): Promise<void>;
561
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.8143bd0b.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.8143bd0b.cjs';
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.8143bd0b.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.8143bd0b.mjs';
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.8143bd0b.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.8143bd0b.js';
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.8.4",
4
+ "version": "1.0.0-beta.0",
5
5
  "license": "MIT",
6
6
  "repository": "nuxt/devtools",
7
7
  "exports": {
@@ -23,18 +23,18 @@
23
23
  "main": "./dist/index.cjs",
24
24
  "types": "./dist/index.d.ts",
25
25
  "files": [
26
- "dist",
27
- "*.d.ts",
28
26
  "*.cjs",
29
- "*.mjs"
27
+ "*.d.ts",
28
+ "*.mjs",
29
+ "dist"
30
30
  ],
31
31
  "peerDependencies": {
32
- "nuxt": "^3.7.3",
32
+ "nuxt": "^3.7.4",
33
33
  "vite": "*"
34
34
  },
35
35
  "dependencies": {
36
- "@nuxt/kit": "^3.7.3",
37
- "@nuxt/schema": "^3.7.3",
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.4"
47
+ "vue-router": "^4.2.5"
48
48
  },
49
49
  "scripts": {
50
50
  "build": "unbuild",