@nuxt/devtools-kit 0.8.3 → 0.8.5

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.7078bc03.cjs';
4
+ import { M as ModuleCustomTab, S as SubprocessOptions, T as TerminalState, N as NuxtDevtoolsInfo } from './shared/devtools-kit.ddf4b3f2.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.7078bc03.mjs';
4
+ import { M as ModuleCustomTab, S as SubprocessOptions, T as TerminalState, N as NuxtDevtoolsInfo } from './shared/devtools-kit.ddf4b3f2.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.7078bc03.js';
4
+ import { M as ModuleCustomTab, S as SubprocessOptions, T as TerminalState, N as NuxtDevtoolsInfo } from './shared/devtools-kit.ddf4b3f2.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,26 @@ 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
+ sidebarExpanded: boolean;
452
+ sidebarScrollable: boolean;
442
453
  };
443
454
  serverRoutes: {
444
455
  selectedRoute: ServerRouteInfo | null;
@@ -550,6 +561,7 @@ interface ServerFunctions {
550
561
  writeStaticAssets(token: string, file: AssetEntry[], folder: string): Promise<string[]>;
551
562
  deleteStaticAsset(token: string, filepath: string): Promise<void>;
552
563
  renameStaticAsset(token: string, oldPath: string, newPath: string): Promise<void>;
564
+ telemetryEvent(payload: object, immediate?: boolean): void;
553
565
  customTabAction(name: string, action: number): Promise<boolean>;
554
566
  runWizard<T extends WizardActions>(token: string, name: T, ...args: GetWizardArgs<T>): Promise<void>;
555
567
  openInEditor(filepath: string): Promise<boolean>;
@@ -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,26 @@ 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
+ sidebarExpanded: boolean;
452
+ sidebarScrollable: boolean;
442
453
  };
443
454
  serverRoutes: {
444
455
  selectedRoute: ServerRouteInfo | null;
@@ -550,6 +561,7 @@ interface ServerFunctions {
550
561
  writeStaticAssets(token: string, file: AssetEntry[], folder: string): Promise<string[]>;
551
562
  deleteStaticAsset(token: string, filepath: string): Promise<void>;
552
563
  renameStaticAsset(token: string, oldPath: string, newPath: string): Promise<void>;
564
+ telemetryEvent(payload: object, immediate?: boolean): void;
553
565
  customTabAction(name: string, action: number): Promise<boolean>;
554
566
  runWizard<T extends WizardActions>(token: string, name: T, ...args: GetWizardArgs<T>): Promise<void>;
555
567
  openInEditor(filepath: string): Promise<boolean>;
@@ -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,26 @@ 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
+ sidebarExpanded: boolean;
452
+ sidebarScrollable: boolean;
442
453
  };
443
454
  serverRoutes: {
444
455
  selectedRoute: ServerRouteInfo | null;
@@ -550,6 +561,7 @@ interface ServerFunctions {
550
561
  writeStaticAssets(token: string, file: AssetEntry[], folder: string): Promise<string[]>;
551
562
  deleteStaticAsset(token: string, filepath: string): Promise<void>;
552
563
  renameStaticAsset(token: string, oldPath: string, newPath: string): Promise<void>;
564
+ telemetryEvent(payload: object, immediate?: boolean): void;
553
565
  customTabAction(name: string, action: number): Promise<boolean>;
554
566
  runWizard<T extends WizardActions>(token: string, name: T, ...args: GetWizardArgs<T>): Promise<void>;
555
567
  openInEditor(filepath: string): Promise<boolean>;
package/dist/types.d.cts CHANGED
@@ -1,5 +1,5 @@
1
- import { V as VueInspectorData, a as VueInspectorClient, H as HookInfo, P as PluginMetric, L as LoadingTimeMetric, b as ServerFunctions } from './shared/devtools-kit.7078bc03.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.7078bc03.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.ddf4b3f2.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.ddf4b3f2.cjs';
3
3
  import { Ref } from 'vue';
4
4
  import { AppConfig } from 'nuxt/schema';
5
5
  import { NuxtApp } from 'nuxt/dist/app/nuxt';
package/dist/types.d.mts CHANGED
@@ -1,5 +1,5 @@
1
- import { V as VueInspectorData, a as VueInspectorClient, H as HookInfo, P as PluginMetric, L as LoadingTimeMetric, b as ServerFunctions } from './shared/devtools-kit.7078bc03.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.7078bc03.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.ddf4b3f2.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.ddf4b3f2.mjs';
3
3
  import { Ref } from 'vue';
4
4
  import { AppConfig } from 'nuxt/schema';
5
5
  import { NuxtApp } from 'nuxt/dist/app/nuxt';
package/dist/types.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { V as VueInspectorData, a as VueInspectorClient, H as HookInfo, P as PluginMetric, L as LoadingTimeMetric, b as ServerFunctions } from './shared/devtools-kit.7078bc03.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.7078bc03.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.ddf4b3f2.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.ddf4b3f2.js';
3
3
  import { Ref } from 'vue';
4
4
  import { AppConfig } from 'nuxt/schema';
5
5
  import { NuxtApp } from 'nuxt/dist/app/nuxt';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@nuxt/devtools-kit",
3
3
  "type": "module",
4
- "version": "0.8.3",
4
+ "version": "0.8.5",
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.6.5",
32
+ "nuxt": "^3.7.3",
33
33
  "vite": "*"
34
34
  },
35
35
  "dependencies": {
36
- "@nuxt/kit": "^3.7.1",
37
- "@nuxt/schema": "^3.7.1",
36
+ "@nuxt/kit": "^3.7.3",
37
+ "@nuxt/schema": "^3.7.3",
38
38
  "execa": "^7.2.0"
39
39
  },
40
40
  "devDependencies": {
@@ -43,7 +43,7 @@
43
43
  "hookable": "^5.5.3",
44
44
  "unbuild": "^2.0.0",
45
45
  "unimport": "^3.3.0",
46
- "vite-plugin-vue-inspector": "^3.6.0",
46
+ "vite-plugin-vue-inspector": "^3.7.1",
47
47
  "vue-router": "^4.2.4"
48
48
  },
49
49
  "scripts": {