@nuxt/devtools-kit 4.0.0-alpha.3 → 4.0.0-alpha.4

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
@@ -2,8 +2,9 @@ import * as _nuxt_schema from '@nuxt/schema';
2
2
  import { BirpcGroup } from 'birpc';
3
3
  import { ChildProcess } from 'node:child_process';
4
4
  import { Result } from 'tinyexec';
5
- import { M as ModuleCustomTab, N as NuxtDevtoolsInfo, S as SubprocessOptions, T as TerminalState } from './shared/devtools-kit.CijV1blW.cjs';
5
+ import { M as ModuleCustomTab, N as NuxtDevtoolsInfo, S as SubprocessOptions, T as TerminalState } from './shared/devtools-kit.B9_r_x-R.cjs';
6
6
  import 'vue';
7
+ import '@vitejs/devtools-kit';
7
8
  import 'nuxt/schema';
8
9
  import 'unimport';
9
10
  import 'vue-router';
package/dist/index.d.mts CHANGED
@@ -2,8 +2,9 @@ import * as _nuxt_schema from '@nuxt/schema';
2
2
  import { BirpcGroup } from 'birpc';
3
3
  import { ChildProcess } from 'node:child_process';
4
4
  import { Result } from 'tinyexec';
5
- import { M as ModuleCustomTab, N as NuxtDevtoolsInfo, S as SubprocessOptions, T as TerminalState } from './shared/devtools-kit.CijV1blW.mjs';
5
+ import { M as ModuleCustomTab, N as NuxtDevtoolsInfo, S as SubprocessOptions, T as TerminalState } from './shared/devtools-kit.B9_r_x-R.mjs';
6
6
  import 'vue';
7
+ import '@vitejs/devtools-kit';
7
8
  import 'nuxt/schema';
8
9
  import 'unimport';
9
10
  import 'vue-router';
package/dist/index.d.ts CHANGED
@@ -2,8 +2,9 @@ import * as _nuxt_schema from '@nuxt/schema';
2
2
  import { BirpcGroup } from 'birpc';
3
3
  import { ChildProcess } from 'node:child_process';
4
4
  import { Result } from 'tinyexec';
5
- import { M as ModuleCustomTab, N as NuxtDevtoolsInfo, S as SubprocessOptions, T as TerminalState } from './shared/devtools-kit.CijV1blW.js';
5
+ import { M as ModuleCustomTab, N as NuxtDevtoolsInfo, S as SubprocessOptions, T as TerminalState } from './shared/devtools-kit.B9_r_x-R.js';
6
6
  import 'vue';
7
+ import '@vitejs/devtools-kit';
7
8
  import 'nuxt/schema';
8
9
  import 'unimport';
9
10
  import 'vue-router';
@@ -1,4 +1,5 @@
1
1
  import { VNode, MaybeRefOrGetter } from 'vue';
2
+ import { DevToolsNodeContext } from '@vitejs/devtools-kit';
2
3
  import { BirpcGroup } from 'birpc';
3
4
  import { Component, NuxtOptions, NuxtPage, NuxtLayout, NuxtApp, NuxtDebugModuleMutationRecord, Nuxt } from 'nuxt/schema';
4
5
  import { Import, UnimportMeta } from 'unimport';
@@ -595,7 +596,7 @@ interface TerminalState extends TerminalInfo {
595
596
  interface ServerFunctions {
596
597
  getServerConfig: () => NuxtOptions;
597
598
  getServerDebugContext: () => Promise<ServerDebugContext | undefined>;
598
- getServerData: (token: string) => Promise<NuxtServerData>;
599
+ getServerData: () => Promise<NuxtServerData>;
599
600
  getServerRuntimeConfig: () => Record<string, any>;
600
601
  getModuleOptions: () => ModuleOptions;
601
602
  getComponents: () => Component[];
@@ -614,36 +615,36 @@ interface ServerFunctions {
614
615
  clearOptions: () => Promise<void>;
615
616
  checkForUpdateFor: (name: string) => Promise<PackageUpdateInfo | undefined>;
616
617
  getNpmCommand: (command: NpmCommandType, packageName: string, options?: NpmCommandOptions) => Promise<string[] | undefined>;
617
- runNpmCommand: (token: string, command: NpmCommandType, packageName: string, options?: NpmCommandOptions) => Promise<{
618
+ runNpmCommand: (command: NpmCommandType, packageName: string, options?: NpmCommandOptions) => Promise<{
618
619
  processId: string;
619
620
  } | undefined>;
620
621
  getTerminals: () => TerminalInfo[];
621
- getTerminalDetail: (token: string, id: string) => Promise<TerminalInfo | undefined>;
622
- runTerminalAction: (token: string, id: string, action: TerminalAction) => Promise<boolean>;
622
+ getTerminalDetail: (id: string) => Promise<TerminalInfo | undefined>;
623
+ runTerminalAction: (id: string, action: TerminalAction) => Promise<boolean>;
623
624
  getStorageMounts: () => Promise<StorageMounts>;
624
625
  getStorageKeys: (base?: string) => Promise<string[]>;
625
- getStorageItem: (token: string, key: string) => Promise<StorageValue>;
626
- setStorageItem: (token: string, key: string, value: StorageValue) => Promise<void>;
627
- removeStorageItem: (token: string, key: string) => Promise<void>;
626
+ getStorageItem: (key: string) => Promise<StorageValue>;
627
+ setStorageItem: (key: string, value: StorageValue) => Promise<void>;
628
+ removeStorageItem: (key: string) => Promise<void>;
628
629
  getAnalyzeBuildInfo: () => Promise<AnalyzeBuildsInfo>;
629
630
  generateAnalyzeBuildName: () => Promise<string>;
630
- startAnalyzeBuild: (token: string, name: string) => Promise<string>;
631
- clearAnalyzeBuilds: (token: string, names?: string[]) => Promise<void>;
632
- getImageMeta: (token: string, filepath: string) => Promise<ImageMeta | undefined>;
633
- getTextAssetContent: (token: string, filepath: string, limit?: number) => Promise<string | undefined>;
634
- writeStaticAssets: (token: string, file: AssetEntry[], folder: string) => Promise<string[]>;
635
- deleteStaticAsset: (token: string, filepath: string) => Promise<void>;
636
- renameStaticAsset: (token: string, oldPath: string, newPath: string) => Promise<void>;
631
+ startAnalyzeBuild: (name: string) => Promise<string>;
632
+ clearAnalyzeBuilds: (names?: string[]) => Promise<void>;
633
+ getImageMeta: (filepath: string) => Promise<ImageMeta | undefined>;
634
+ getTextAssetContent: (filepath: string, limit?: number) => Promise<string | undefined>;
635
+ writeStaticAssets: (file: AssetEntry[], folder: string) => Promise<string[]>;
636
+ deleteStaticAsset: (filepath: string) => Promise<void>;
637
+ renameStaticAsset: (oldPath: string, newPath: string) => Promise<void>;
637
638
  telemetryEvent: (payload: object, immediate?: boolean) => void;
638
639
  customTabAction: (name: string, action: number) => Promise<boolean>;
639
- enablePages: (token: string) => Promise<void>;
640
+ enablePages: () => Promise<void>;
640
641
  openInEditor: (filepath: string) => Promise<boolean>;
641
- restartNuxt: (token: string, hard?: boolean) => Promise<void>;
642
- installNuxtModule: (token: string, name: string, dry?: boolean) => Promise<InstallModuleReturn>;
643
- uninstallNuxtModule: (token: string, name: string, dry?: boolean) => Promise<InstallModuleReturn>;
642
+ restartNuxt: (hard?: boolean) => Promise<void>;
643
+ installNuxtModule: (name: string, dry?: boolean) => Promise<InstallModuleReturn>;
644
+ uninstallNuxtModule: (name: string, dry?: boolean) => Promise<InstallModuleReturn>;
644
645
  enableTimeline: (dry: boolean) => Promise<[string, string]>;
645
646
  requestForAuth: (info?: string, origin?: string) => Promise<void>;
646
- verifyAuthToken: (token: string) => Promise<boolean>;
647
+ verifyAuthToken: () => Promise<boolean>;
647
648
  }
648
649
  interface ClientFunctions {
649
650
  refresh: (event: ClientUpdateEvent) => void;
@@ -694,6 +695,10 @@ interface NuxtDevtoolsServerContext {
694
695
  nuxt: Nuxt;
695
696
  options: ModuleOptions;
696
697
  rpc: NuxtDevtoolsRpc;
698
+ /**
699
+ * The Vite DevTools Kit context, available after connection.
700
+ */
701
+ devtoolsKit: DevToolsNodeContext | undefined;
697
702
  /**
698
703
  * Hook to open file in editor
699
704
  */
@@ -702,10 +707,6 @@ interface NuxtDevtoolsServerContext {
702
707
  * Invalidate client cache for a function and ask for re-fetching
703
708
  */
704
709
  refresh: (event: keyof ServerFunctions) => void;
705
- /**
706
- * @deprecated Auth is now handled by Vite DevTools. This is a noop.
707
- */
708
- ensureDevAuthToken: (token: string) => Promise<void>;
709
710
  extendServerRpc: <ClientFunctions extends object = Record<string, unknown>, ServerFunctions extends object = Record<string, unknown>>(name: string, functions: ServerFunctions) => BirpcGroup<ClientFunctions, ServerFunctions>;
710
711
  }
711
712
  interface NuxtDevtoolsInfo {
@@ -1,4 +1,5 @@
1
1
  import { VNode, MaybeRefOrGetter } from 'vue';
2
+ import { DevToolsNodeContext } from '@vitejs/devtools-kit';
2
3
  import { BirpcGroup } from 'birpc';
3
4
  import { Component, NuxtOptions, NuxtPage, NuxtLayout, NuxtApp, NuxtDebugModuleMutationRecord, Nuxt } from 'nuxt/schema';
4
5
  import { Import, UnimportMeta } from 'unimport';
@@ -595,7 +596,7 @@ interface TerminalState extends TerminalInfo {
595
596
  interface ServerFunctions {
596
597
  getServerConfig: () => NuxtOptions;
597
598
  getServerDebugContext: () => Promise<ServerDebugContext | undefined>;
598
- getServerData: (token: string) => Promise<NuxtServerData>;
599
+ getServerData: () => Promise<NuxtServerData>;
599
600
  getServerRuntimeConfig: () => Record<string, any>;
600
601
  getModuleOptions: () => ModuleOptions;
601
602
  getComponents: () => Component[];
@@ -614,36 +615,36 @@ interface ServerFunctions {
614
615
  clearOptions: () => Promise<void>;
615
616
  checkForUpdateFor: (name: string) => Promise<PackageUpdateInfo | undefined>;
616
617
  getNpmCommand: (command: NpmCommandType, packageName: string, options?: NpmCommandOptions) => Promise<string[] | undefined>;
617
- runNpmCommand: (token: string, command: NpmCommandType, packageName: string, options?: NpmCommandOptions) => Promise<{
618
+ runNpmCommand: (command: NpmCommandType, packageName: string, options?: NpmCommandOptions) => Promise<{
618
619
  processId: string;
619
620
  } | undefined>;
620
621
  getTerminals: () => TerminalInfo[];
621
- getTerminalDetail: (token: string, id: string) => Promise<TerminalInfo | undefined>;
622
- runTerminalAction: (token: string, id: string, action: TerminalAction) => Promise<boolean>;
622
+ getTerminalDetail: (id: string) => Promise<TerminalInfo | undefined>;
623
+ runTerminalAction: (id: string, action: TerminalAction) => Promise<boolean>;
623
624
  getStorageMounts: () => Promise<StorageMounts>;
624
625
  getStorageKeys: (base?: string) => Promise<string[]>;
625
- getStorageItem: (token: string, key: string) => Promise<StorageValue>;
626
- setStorageItem: (token: string, key: string, value: StorageValue) => Promise<void>;
627
- removeStorageItem: (token: string, key: string) => Promise<void>;
626
+ getStorageItem: (key: string) => Promise<StorageValue>;
627
+ setStorageItem: (key: string, value: StorageValue) => Promise<void>;
628
+ removeStorageItem: (key: string) => Promise<void>;
628
629
  getAnalyzeBuildInfo: () => Promise<AnalyzeBuildsInfo>;
629
630
  generateAnalyzeBuildName: () => Promise<string>;
630
- startAnalyzeBuild: (token: string, name: string) => Promise<string>;
631
- clearAnalyzeBuilds: (token: string, names?: string[]) => Promise<void>;
632
- getImageMeta: (token: string, filepath: string) => Promise<ImageMeta | undefined>;
633
- getTextAssetContent: (token: string, filepath: string, limit?: number) => Promise<string | undefined>;
634
- writeStaticAssets: (token: string, file: AssetEntry[], folder: string) => Promise<string[]>;
635
- deleteStaticAsset: (token: string, filepath: string) => Promise<void>;
636
- renameStaticAsset: (token: string, oldPath: string, newPath: string) => Promise<void>;
631
+ startAnalyzeBuild: (name: string) => Promise<string>;
632
+ clearAnalyzeBuilds: (names?: string[]) => Promise<void>;
633
+ getImageMeta: (filepath: string) => Promise<ImageMeta | undefined>;
634
+ getTextAssetContent: (filepath: string, limit?: number) => Promise<string | undefined>;
635
+ writeStaticAssets: (file: AssetEntry[], folder: string) => Promise<string[]>;
636
+ deleteStaticAsset: (filepath: string) => Promise<void>;
637
+ renameStaticAsset: (oldPath: string, newPath: string) => Promise<void>;
637
638
  telemetryEvent: (payload: object, immediate?: boolean) => void;
638
639
  customTabAction: (name: string, action: number) => Promise<boolean>;
639
- enablePages: (token: string) => Promise<void>;
640
+ enablePages: () => Promise<void>;
640
641
  openInEditor: (filepath: string) => Promise<boolean>;
641
- restartNuxt: (token: string, hard?: boolean) => Promise<void>;
642
- installNuxtModule: (token: string, name: string, dry?: boolean) => Promise<InstallModuleReturn>;
643
- uninstallNuxtModule: (token: string, name: string, dry?: boolean) => Promise<InstallModuleReturn>;
642
+ restartNuxt: (hard?: boolean) => Promise<void>;
643
+ installNuxtModule: (name: string, dry?: boolean) => Promise<InstallModuleReturn>;
644
+ uninstallNuxtModule: (name: string, dry?: boolean) => Promise<InstallModuleReturn>;
644
645
  enableTimeline: (dry: boolean) => Promise<[string, string]>;
645
646
  requestForAuth: (info?: string, origin?: string) => Promise<void>;
646
- verifyAuthToken: (token: string) => Promise<boolean>;
647
+ verifyAuthToken: () => Promise<boolean>;
647
648
  }
648
649
  interface ClientFunctions {
649
650
  refresh: (event: ClientUpdateEvent) => void;
@@ -694,6 +695,10 @@ interface NuxtDevtoolsServerContext {
694
695
  nuxt: Nuxt;
695
696
  options: ModuleOptions;
696
697
  rpc: NuxtDevtoolsRpc;
698
+ /**
699
+ * The Vite DevTools Kit context, available after connection.
700
+ */
701
+ devtoolsKit: DevToolsNodeContext | undefined;
697
702
  /**
698
703
  * Hook to open file in editor
699
704
  */
@@ -702,10 +707,6 @@ interface NuxtDevtoolsServerContext {
702
707
  * Invalidate client cache for a function and ask for re-fetching
703
708
  */
704
709
  refresh: (event: keyof ServerFunctions) => void;
705
- /**
706
- * @deprecated Auth is now handled by Vite DevTools. This is a noop.
707
- */
708
- ensureDevAuthToken: (token: string) => Promise<void>;
709
710
  extendServerRpc: <ClientFunctions extends object = Record<string, unknown>, ServerFunctions extends object = Record<string, unknown>>(name: string, functions: ServerFunctions) => BirpcGroup<ClientFunctions, ServerFunctions>;
710
711
  }
711
712
  interface NuxtDevtoolsInfo {
@@ -1,4 +1,5 @@
1
1
  import { VNode, MaybeRefOrGetter } from 'vue';
2
+ import { DevToolsNodeContext } from '@vitejs/devtools-kit';
2
3
  import { BirpcGroup } from 'birpc';
3
4
  import { Component, NuxtOptions, NuxtPage, NuxtLayout, NuxtApp, NuxtDebugModuleMutationRecord, Nuxt } from 'nuxt/schema';
4
5
  import { Import, UnimportMeta } from 'unimport';
@@ -595,7 +596,7 @@ interface TerminalState extends TerminalInfo {
595
596
  interface ServerFunctions {
596
597
  getServerConfig: () => NuxtOptions;
597
598
  getServerDebugContext: () => Promise<ServerDebugContext | undefined>;
598
- getServerData: (token: string) => Promise<NuxtServerData>;
599
+ getServerData: () => Promise<NuxtServerData>;
599
600
  getServerRuntimeConfig: () => Record<string, any>;
600
601
  getModuleOptions: () => ModuleOptions;
601
602
  getComponents: () => Component[];
@@ -614,36 +615,36 @@ interface ServerFunctions {
614
615
  clearOptions: () => Promise<void>;
615
616
  checkForUpdateFor: (name: string) => Promise<PackageUpdateInfo | undefined>;
616
617
  getNpmCommand: (command: NpmCommandType, packageName: string, options?: NpmCommandOptions) => Promise<string[] | undefined>;
617
- runNpmCommand: (token: string, command: NpmCommandType, packageName: string, options?: NpmCommandOptions) => Promise<{
618
+ runNpmCommand: (command: NpmCommandType, packageName: string, options?: NpmCommandOptions) => Promise<{
618
619
  processId: string;
619
620
  } | undefined>;
620
621
  getTerminals: () => TerminalInfo[];
621
- getTerminalDetail: (token: string, id: string) => Promise<TerminalInfo | undefined>;
622
- runTerminalAction: (token: string, id: string, action: TerminalAction) => Promise<boolean>;
622
+ getTerminalDetail: (id: string) => Promise<TerminalInfo | undefined>;
623
+ runTerminalAction: (id: string, action: TerminalAction) => Promise<boolean>;
623
624
  getStorageMounts: () => Promise<StorageMounts>;
624
625
  getStorageKeys: (base?: string) => Promise<string[]>;
625
- getStorageItem: (token: string, key: string) => Promise<StorageValue>;
626
- setStorageItem: (token: string, key: string, value: StorageValue) => Promise<void>;
627
- removeStorageItem: (token: string, key: string) => Promise<void>;
626
+ getStorageItem: (key: string) => Promise<StorageValue>;
627
+ setStorageItem: (key: string, value: StorageValue) => Promise<void>;
628
+ removeStorageItem: (key: string) => Promise<void>;
628
629
  getAnalyzeBuildInfo: () => Promise<AnalyzeBuildsInfo>;
629
630
  generateAnalyzeBuildName: () => Promise<string>;
630
- startAnalyzeBuild: (token: string, name: string) => Promise<string>;
631
- clearAnalyzeBuilds: (token: string, names?: string[]) => Promise<void>;
632
- getImageMeta: (token: string, filepath: string) => Promise<ImageMeta | undefined>;
633
- getTextAssetContent: (token: string, filepath: string, limit?: number) => Promise<string | undefined>;
634
- writeStaticAssets: (token: string, file: AssetEntry[], folder: string) => Promise<string[]>;
635
- deleteStaticAsset: (token: string, filepath: string) => Promise<void>;
636
- renameStaticAsset: (token: string, oldPath: string, newPath: string) => Promise<void>;
631
+ startAnalyzeBuild: (name: string) => Promise<string>;
632
+ clearAnalyzeBuilds: (names?: string[]) => Promise<void>;
633
+ getImageMeta: (filepath: string) => Promise<ImageMeta | undefined>;
634
+ getTextAssetContent: (filepath: string, limit?: number) => Promise<string | undefined>;
635
+ writeStaticAssets: (file: AssetEntry[], folder: string) => Promise<string[]>;
636
+ deleteStaticAsset: (filepath: string) => Promise<void>;
637
+ renameStaticAsset: (oldPath: string, newPath: string) => Promise<void>;
637
638
  telemetryEvent: (payload: object, immediate?: boolean) => void;
638
639
  customTabAction: (name: string, action: number) => Promise<boolean>;
639
- enablePages: (token: string) => Promise<void>;
640
+ enablePages: () => Promise<void>;
640
641
  openInEditor: (filepath: string) => Promise<boolean>;
641
- restartNuxt: (token: string, hard?: boolean) => Promise<void>;
642
- installNuxtModule: (token: string, name: string, dry?: boolean) => Promise<InstallModuleReturn>;
643
- uninstallNuxtModule: (token: string, name: string, dry?: boolean) => Promise<InstallModuleReturn>;
642
+ restartNuxt: (hard?: boolean) => Promise<void>;
643
+ installNuxtModule: (name: string, dry?: boolean) => Promise<InstallModuleReturn>;
644
+ uninstallNuxtModule: (name: string, dry?: boolean) => Promise<InstallModuleReturn>;
644
645
  enableTimeline: (dry: boolean) => Promise<[string, string]>;
645
646
  requestForAuth: (info?: string, origin?: string) => Promise<void>;
646
- verifyAuthToken: (token: string) => Promise<boolean>;
647
+ verifyAuthToken: () => Promise<boolean>;
647
648
  }
648
649
  interface ClientFunctions {
649
650
  refresh: (event: ClientUpdateEvent) => void;
@@ -694,6 +695,10 @@ interface NuxtDevtoolsServerContext {
694
695
  nuxt: Nuxt;
695
696
  options: ModuleOptions;
696
697
  rpc: NuxtDevtoolsRpc;
698
+ /**
699
+ * The Vite DevTools Kit context, available after connection.
700
+ */
701
+ devtoolsKit: DevToolsNodeContext | undefined;
697
702
  /**
698
703
  * Hook to open file in editor
699
704
  */
@@ -702,10 +707,6 @@ interface NuxtDevtoolsServerContext {
702
707
  * Invalidate client cache for a function and ask for re-fetching
703
708
  */
704
709
  refresh: (event: keyof ServerFunctions) => void;
705
- /**
706
- * @deprecated Auth is now handled by Vite DevTools. This is a noop.
707
- */
708
- ensureDevAuthToken: (token: string) => Promise<void>;
709
710
  extendServerRpc: <ClientFunctions extends object = Record<string, unknown>, ServerFunctions extends object = Record<string, unknown>>(name: string, functions: ServerFunctions) => BirpcGroup<ClientFunctions, ServerFunctions>;
710
711
  }
711
712
  interface NuxtDevtoolsInfo {
package/dist/types.d.cts CHANGED
@@ -1,5 +1,5 @@
1
- import { a as ServerFunctions, H as HookInfo, P as PluginMetric, L as LoadingTimeMetric } from './shared/devtools-kit.CijV1blW.cjs';
2
- export { A as AnalyzeBuildMeta, b as AnalyzeBuildsInfo, c as AssetEntry, d as AssetInfo, e as AssetType, f as AutoImportsWithMetadata, B as BasicModuleInfo, C as CategorizedTabs, g as ClientFunctions, h as ClientUpdateEvent, i as CodeServerOptions, j as CodeServerType, k as CodeSnippet, l as CompatibilityStatus, m as ComponentRelationship, n as ComponentWithRelationships, G as GitHubContributor, I as ImageMeta, o as InstallModuleReturn, p as InstalledModuleInfo, q as MaintainerInfo, r as ModuleBuiltinTab, s as ModuleCompatibility, M as ModuleCustomTab, t as ModuleIframeTabLazyOptions, u as ModuleIframeView, v as ModuleLaunchAction, w as ModuleLaunchView, x as ModuleOptions, y as ModuleStaticInfo, z as ModuleStats, D as ModuleTabInfo, E as ModuleType, F as ModuleVNodeView, J as ModuleView, K as NpmCommandOptions, O as NpmCommandType, Q as NuxtDevToolsOptions, N as NuxtDevtoolsInfo, R as NuxtDevtoolsRpc, U as NuxtDevtoolsServerContext, V as NuxtServerData, W as PackageManagerName, X as PackageUpdateInfo, Y as Payload, Z as PluginInfoWithMetic, _ as RouteInfo, $ as ScannedNitroTasks, a0 as ServerDebugContext, a1 as ServerDebugModuleMutationRecord, a2 as ServerRouteInfo, a3 as ServerRouteInput, a4 as ServerRouteInputType, a5 as ServerTaskInfo, S as SubprocessOptions, a6 as TabCategory, a7 as TerminalAction, a8 as TerminalBase, a9 as TerminalInfo, T as TerminalState, aa as VSCodeIntegrationOptions, ab as VSCodeTunnelOptions, ac as VueInspectorClient, ad as VueInspectorData } from './shared/devtools-kit.CijV1blW.cjs';
1
+ import { a as ServerFunctions, H as HookInfo, P as PluginMetric, L as LoadingTimeMetric } from './shared/devtools-kit.B9_r_x-R.cjs';
2
+ export { A as AnalyzeBuildMeta, b as AnalyzeBuildsInfo, c as AssetEntry, d as AssetInfo, e as AssetType, f as AutoImportsWithMetadata, B as BasicModuleInfo, C as CategorizedTabs, g as ClientFunctions, h as ClientUpdateEvent, i as CodeServerOptions, j as CodeServerType, k as CodeSnippet, l as CompatibilityStatus, m as ComponentRelationship, n as ComponentWithRelationships, G as GitHubContributor, I as ImageMeta, o as InstallModuleReturn, p as InstalledModuleInfo, q as MaintainerInfo, r as ModuleBuiltinTab, s as ModuleCompatibility, M as ModuleCustomTab, t as ModuleIframeTabLazyOptions, u as ModuleIframeView, v as ModuleLaunchAction, w as ModuleLaunchView, x as ModuleOptions, y as ModuleStaticInfo, z as ModuleStats, D as ModuleTabInfo, E as ModuleType, F as ModuleVNodeView, J as ModuleView, K as NpmCommandOptions, O as NpmCommandType, Q as NuxtDevToolsOptions, N as NuxtDevtoolsInfo, R as NuxtDevtoolsRpc, U as NuxtDevtoolsServerContext, V as NuxtServerData, W as PackageManagerName, X as PackageUpdateInfo, Y as Payload, Z as PluginInfoWithMetic, _ as RouteInfo, $ as ScannedNitroTasks, a0 as ServerDebugContext, a1 as ServerDebugModuleMutationRecord, a2 as ServerRouteInfo, a3 as ServerRouteInput, a4 as ServerRouteInputType, a5 as ServerTaskInfo, S as SubprocessOptions, a6 as TabCategory, a7 as TerminalAction, a8 as TerminalBase, a9 as TerminalInfo, T as TerminalState, aa as VSCodeIntegrationOptions, ab as VSCodeTunnelOptions, ac as VueInspectorClient, ad as VueInspectorData } from './shared/devtools-kit.B9_r_x-R.cjs';
3
3
  import { Hookable } from 'hookable';
4
4
  import { NuxtApp } from 'nuxt/app';
5
5
  import { AppConfig } from 'nuxt/schema';
@@ -7,6 +7,7 @@ import { $Fetch } from 'ofetch';
7
7
  import { BuiltinLanguage } from 'shiki';
8
8
  import { Ref } from 'vue';
9
9
  import { StackFrame } from 'error-stack-parser-es';
10
+ import '@vitejs/devtools-kit';
10
11
  import 'birpc';
11
12
  import 'unimport';
12
13
  import 'vue-router';
package/dist/types.d.mts CHANGED
@@ -1,5 +1,5 @@
1
- import { a as ServerFunctions, H as HookInfo, P as PluginMetric, L as LoadingTimeMetric } from './shared/devtools-kit.CijV1blW.mjs';
2
- export { A as AnalyzeBuildMeta, b as AnalyzeBuildsInfo, c as AssetEntry, d as AssetInfo, e as AssetType, f as AutoImportsWithMetadata, B as BasicModuleInfo, C as CategorizedTabs, g as ClientFunctions, h as ClientUpdateEvent, i as CodeServerOptions, j as CodeServerType, k as CodeSnippet, l as CompatibilityStatus, m as ComponentRelationship, n as ComponentWithRelationships, G as GitHubContributor, I as ImageMeta, o as InstallModuleReturn, p as InstalledModuleInfo, q as MaintainerInfo, r as ModuleBuiltinTab, s as ModuleCompatibility, M as ModuleCustomTab, t as ModuleIframeTabLazyOptions, u as ModuleIframeView, v as ModuleLaunchAction, w as ModuleLaunchView, x as ModuleOptions, y as ModuleStaticInfo, z as ModuleStats, D as ModuleTabInfo, E as ModuleType, F as ModuleVNodeView, J as ModuleView, K as NpmCommandOptions, O as NpmCommandType, Q as NuxtDevToolsOptions, N as NuxtDevtoolsInfo, R as NuxtDevtoolsRpc, U as NuxtDevtoolsServerContext, V as NuxtServerData, W as PackageManagerName, X as PackageUpdateInfo, Y as Payload, Z as PluginInfoWithMetic, _ as RouteInfo, $ as ScannedNitroTasks, a0 as ServerDebugContext, a1 as ServerDebugModuleMutationRecord, a2 as ServerRouteInfo, a3 as ServerRouteInput, a4 as ServerRouteInputType, a5 as ServerTaskInfo, S as SubprocessOptions, a6 as TabCategory, a7 as TerminalAction, a8 as TerminalBase, a9 as TerminalInfo, T as TerminalState, aa as VSCodeIntegrationOptions, ab as VSCodeTunnelOptions, ac as VueInspectorClient, ad as VueInspectorData } from './shared/devtools-kit.CijV1blW.mjs';
1
+ import { a as ServerFunctions, H as HookInfo, P as PluginMetric, L as LoadingTimeMetric } from './shared/devtools-kit.B9_r_x-R.mjs';
2
+ export { A as AnalyzeBuildMeta, b as AnalyzeBuildsInfo, c as AssetEntry, d as AssetInfo, e as AssetType, f as AutoImportsWithMetadata, B as BasicModuleInfo, C as CategorizedTabs, g as ClientFunctions, h as ClientUpdateEvent, i as CodeServerOptions, j as CodeServerType, k as CodeSnippet, l as CompatibilityStatus, m as ComponentRelationship, n as ComponentWithRelationships, G as GitHubContributor, I as ImageMeta, o as InstallModuleReturn, p as InstalledModuleInfo, q as MaintainerInfo, r as ModuleBuiltinTab, s as ModuleCompatibility, M as ModuleCustomTab, t as ModuleIframeTabLazyOptions, u as ModuleIframeView, v as ModuleLaunchAction, w as ModuleLaunchView, x as ModuleOptions, y as ModuleStaticInfo, z as ModuleStats, D as ModuleTabInfo, E as ModuleType, F as ModuleVNodeView, J as ModuleView, K as NpmCommandOptions, O as NpmCommandType, Q as NuxtDevToolsOptions, N as NuxtDevtoolsInfo, R as NuxtDevtoolsRpc, U as NuxtDevtoolsServerContext, V as NuxtServerData, W as PackageManagerName, X as PackageUpdateInfo, Y as Payload, Z as PluginInfoWithMetic, _ as RouteInfo, $ as ScannedNitroTasks, a0 as ServerDebugContext, a1 as ServerDebugModuleMutationRecord, a2 as ServerRouteInfo, a3 as ServerRouteInput, a4 as ServerRouteInputType, a5 as ServerTaskInfo, S as SubprocessOptions, a6 as TabCategory, a7 as TerminalAction, a8 as TerminalBase, a9 as TerminalInfo, T as TerminalState, aa as VSCodeIntegrationOptions, ab as VSCodeTunnelOptions, ac as VueInspectorClient, ad as VueInspectorData } from './shared/devtools-kit.B9_r_x-R.mjs';
3
3
  import { Hookable } from 'hookable';
4
4
  import { NuxtApp } from 'nuxt/app';
5
5
  import { AppConfig } from 'nuxt/schema';
@@ -7,6 +7,7 @@ import { $Fetch } from 'ofetch';
7
7
  import { BuiltinLanguage } from 'shiki';
8
8
  import { Ref } from 'vue';
9
9
  import { StackFrame } from 'error-stack-parser-es';
10
+ import '@vitejs/devtools-kit';
10
11
  import 'birpc';
11
12
  import 'unimport';
12
13
  import 'vue-router';
package/dist/types.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { a as ServerFunctions, H as HookInfo, P as PluginMetric, L as LoadingTimeMetric } from './shared/devtools-kit.CijV1blW.js';
2
- export { A as AnalyzeBuildMeta, b as AnalyzeBuildsInfo, c as AssetEntry, d as AssetInfo, e as AssetType, f as AutoImportsWithMetadata, B as BasicModuleInfo, C as CategorizedTabs, g as ClientFunctions, h as ClientUpdateEvent, i as CodeServerOptions, j as CodeServerType, k as CodeSnippet, l as CompatibilityStatus, m as ComponentRelationship, n as ComponentWithRelationships, G as GitHubContributor, I as ImageMeta, o as InstallModuleReturn, p as InstalledModuleInfo, q as MaintainerInfo, r as ModuleBuiltinTab, s as ModuleCompatibility, M as ModuleCustomTab, t as ModuleIframeTabLazyOptions, u as ModuleIframeView, v as ModuleLaunchAction, w as ModuleLaunchView, x as ModuleOptions, y as ModuleStaticInfo, z as ModuleStats, D as ModuleTabInfo, E as ModuleType, F as ModuleVNodeView, J as ModuleView, K as NpmCommandOptions, O as NpmCommandType, Q as NuxtDevToolsOptions, N as NuxtDevtoolsInfo, R as NuxtDevtoolsRpc, U as NuxtDevtoolsServerContext, V as NuxtServerData, W as PackageManagerName, X as PackageUpdateInfo, Y as Payload, Z as PluginInfoWithMetic, _ as RouteInfo, $ as ScannedNitroTasks, a0 as ServerDebugContext, a1 as ServerDebugModuleMutationRecord, a2 as ServerRouteInfo, a3 as ServerRouteInput, a4 as ServerRouteInputType, a5 as ServerTaskInfo, S as SubprocessOptions, a6 as TabCategory, a7 as TerminalAction, a8 as TerminalBase, a9 as TerminalInfo, T as TerminalState, aa as VSCodeIntegrationOptions, ab as VSCodeTunnelOptions, ac as VueInspectorClient, ad as VueInspectorData } from './shared/devtools-kit.CijV1blW.js';
1
+ import { a as ServerFunctions, H as HookInfo, P as PluginMetric, L as LoadingTimeMetric } from './shared/devtools-kit.B9_r_x-R.js';
2
+ export { A as AnalyzeBuildMeta, b as AnalyzeBuildsInfo, c as AssetEntry, d as AssetInfo, e as AssetType, f as AutoImportsWithMetadata, B as BasicModuleInfo, C as CategorizedTabs, g as ClientFunctions, h as ClientUpdateEvent, i as CodeServerOptions, j as CodeServerType, k as CodeSnippet, l as CompatibilityStatus, m as ComponentRelationship, n as ComponentWithRelationships, G as GitHubContributor, I as ImageMeta, o as InstallModuleReturn, p as InstalledModuleInfo, q as MaintainerInfo, r as ModuleBuiltinTab, s as ModuleCompatibility, M as ModuleCustomTab, t as ModuleIframeTabLazyOptions, u as ModuleIframeView, v as ModuleLaunchAction, w as ModuleLaunchView, x as ModuleOptions, y as ModuleStaticInfo, z as ModuleStats, D as ModuleTabInfo, E as ModuleType, F as ModuleVNodeView, J as ModuleView, K as NpmCommandOptions, O as NpmCommandType, Q as NuxtDevToolsOptions, N as NuxtDevtoolsInfo, R as NuxtDevtoolsRpc, U as NuxtDevtoolsServerContext, V as NuxtServerData, W as PackageManagerName, X as PackageUpdateInfo, Y as Payload, Z as PluginInfoWithMetic, _ as RouteInfo, $ as ScannedNitroTasks, a0 as ServerDebugContext, a1 as ServerDebugModuleMutationRecord, a2 as ServerRouteInfo, a3 as ServerRouteInput, a4 as ServerRouteInputType, a5 as ServerTaskInfo, S as SubprocessOptions, a6 as TabCategory, a7 as TerminalAction, a8 as TerminalBase, a9 as TerminalInfo, T as TerminalState, aa as VSCodeIntegrationOptions, ab as VSCodeTunnelOptions, ac as VueInspectorClient, ad as VueInspectorData } from './shared/devtools-kit.B9_r_x-R.js';
3
3
  import { Hookable } from 'hookable';
4
4
  import { NuxtApp } from 'nuxt/app';
5
5
  import { AppConfig } from 'nuxt/schema';
@@ -7,6 +7,7 @@ import { $Fetch } from 'ofetch';
7
7
  import { BuiltinLanguage } from 'shiki';
8
8
  import { Ref } from 'vue';
9
9
  import { StackFrame } from 'error-stack-parser-es';
10
+ import '@vitejs/devtools-kit';
10
11
  import 'birpc';
11
12
  import 'unimport';
12
13
  import 'vue-router';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@nuxt/devtools-kit",
3
3
  "type": "module",
4
- "version": "4.0.0-alpha.3",
4
+ "version": "4.0.0-alpha.4",
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
- "tinyexec": "^1.0.4"
45
+ "tinyexec": "^1.1.1"
46
46
  },
47
47
  "devDependencies": {
48
48
  "@nuxt/schema": "^4.4.2",