@nuxt/devtools-kit 0.7.0 → 0.7.2

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.
@@ -536,6 +536,8 @@ interface ServerFunctions {
536
536
  name: string;
537
537
  data: string;
538
538
  }[], path: string): Promise<string[]>;
539
+ deleteStaticAsset(token: string, file: string): Promise<void>;
540
+ renameStaticAsset(token: string, oldPath: string, newPath: string): Promise<void>;
539
541
  customTabAction(name: string, action: number): Promise<boolean>;
540
542
  runWizard<T extends WizardActions>(token: string, name: T, ...args: GetWizardArgs<T>): Promise<void>;
541
543
  openInEditor(filepath: string): Promise<boolean>;
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 './hooks-983cdddc.js';
4
+ import { M as ModuleCustomTab, S as SubprocessOptions, T as TerminalState, N as NuxtDevtoolsInfo } from './hooks-0eadb420.js';
5
5
  import 'vue';
6
6
  import 'nuxt/schema';
7
7
  import 'nitropack';
@@ -1,4 +1,4 @@
1
1
  import type { Ref } from 'vue';
2
- import type { NuxtDevtoolsIframeClient } from '../../src/_types/client-api';
2
+ import type { NuxtDevtoolsIframeClient } from '../types';
3
3
  export declare function onDevtoolsClientConnected(fn: (client: NuxtDevtoolsIframeClient) => void): (() => void) | undefined;
4
4
  export declare function useDevtoolsClient(): Ref<NuxtDevtoolsIframeClient | undefined>;
package/dist/types.d.ts CHANGED
@@ -1,10 +1,11 @@
1
- import { V as VueInspectorData, a as VueInspectorClient, L as LoadingTimeMetric, H as HookInfo, P as PluginMetric, b as ServerFunctions } from './hooks-983cdddc.js';
2
- export { $ as AnalyzeBuildMeta, a0 as AnalyzeBuildsInfo, J as AssetInfo, F as AssetType, A as AutoImportsWithMetadata, B as BasicModuleInfo, C as CategorizedTabs, X as ClientFunctions, Y as ClientUpdateEvent, K as CodeSnippet, z as CompatibilityStatus, O as ComponentRelationship, U as GetWizardArgs, G as GitHubContributor, I as ImageMeta, _ as InstallModuleReturn, w as InstalledModuleInfo, E as MaintainerInfo, i as ModuleBuiltinTab, y as ModuleCompatibility, M as ModuleCustomTab, a2 as ModuleGlobalOptions, h as ModuleIframeTabLazyOptions, d as ModuleIframeView, f as ModuleLaunchAction, c as ModuleLaunchView, a1 as ModuleOptions, x as ModuleStaticInfo, j as ModuleTabInfo, D as ModuleType, e as ModuleVNodeView, g as ModuleView, q as NpmCommandOptions, p as NpmCommandType, a5 as NuxtDevToolsOptions, N as NuxtDevtoolsInfo, Z 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, a6 as TabCategory, l as TerminalAction, k as TerminalBase, m as TerminalInfo, T as TerminalState, a3 as VSCodeIntegrationOptions, a4 as VSCodeTunnelOptions, Q as WizardActions, W as WizardFunctions } from './hooks-983cdddc.js';
1
+ import { V as VueInspectorData, a as VueInspectorClient, L as LoadingTimeMetric, H as HookInfo, P as PluginMetric, b as ServerFunctions } from './hooks-0eadb420.js';
2
+ export { $ as AnalyzeBuildMeta, a0 as AnalyzeBuildsInfo, J as AssetInfo, F as AssetType, A as AutoImportsWithMetadata, B as BasicModuleInfo, C as CategorizedTabs, X as ClientFunctions, Y as ClientUpdateEvent, K as CodeSnippet, z as CompatibilityStatus, O as ComponentRelationship, U as GetWizardArgs, G as GitHubContributor, I as ImageMeta, _ as InstallModuleReturn, w as InstalledModuleInfo, E as MaintainerInfo, i as ModuleBuiltinTab, y as ModuleCompatibility, M as ModuleCustomTab, a2 as ModuleGlobalOptions, h as ModuleIframeTabLazyOptions, d as ModuleIframeView, f as ModuleLaunchAction, c as ModuleLaunchView, a1 as ModuleOptions, x as ModuleStaticInfo, j as ModuleTabInfo, D as ModuleType, e as ModuleVNodeView, g as ModuleView, q as NpmCommandOptions, p as NpmCommandType, a5 as NuxtDevToolsOptions, N as NuxtDevtoolsInfo, Z 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, a6 as TabCategory, l as TerminalAction, k as TerminalBase, m as TerminalInfo, T as TerminalState, a3 as VSCodeIntegrationOptions, a4 as VSCodeTunnelOptions, Q as WizardActions, W as WizardFunctions } from './hooks-0eadb420.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
+ import { Lang } from 'shiki-es';
8
9
  import { StackFrame } from 'error-stack-parser-es';
9
10
  import 'nitropack';
10
11
  import 'unstorage';
@@ -123,7 +124,7 @@ interface NuxtDevtoolsHostClient {
123
124
  }
124
125
  interface NuxtDevtoolsClient {
125
126
  rpc: BirpcReturn<ServerFunctions>;
126
- renderCodeHighlight: (code: string, lang: string, lines?: boolean, theme?: string) => {
127
+ renderCodeHighlight: (code: string, lang?: Lang) => {
127
128
  code: string;
128
129
  supported: boolean;
129
130
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@nuxt/devtools-kit",
3
3
  "type": "module",
4
- "version": "0.7.0",
4
+ "version": "0.7.2",
5
5
  "license": "MIT",
6
6
  "repository": "nuxt/devtools",
7
7
  "exports": {
@@ -29,13 +29,13 @@
29
29
  "*.mjs"
30
30
  ],
31
31
  "peerDependencies": {
32
- "nuxt": "^3.6.1",
32
+ "nuxt": "^3.6.5",
33
33
  "vite": "*"
34
34
  },
35
35
  "dependencies": {
36
- "@nuxt/kit": "^3.6.2",
37
- "@nuxt/schema": "^3.6.2",
38
- "execa": "^7.1.1"
36
+ "@nuxt/kit": "^3.6.5",
37
+ "@nuxt/schema": "^3.6.5",
38
+ "execa": "^7.2.0"
39
39
  },
40
40
  "devDependencies": {
41
41
  "birpc": "^0.2.12",
@@ -43,7 +43,7 @@
43
43
  "hookable": "^5.5.3",
44
44
  "unbuild": "^1.2.1",
45
45
  "unimport": "^3.1.0",
46
- "vite-plugin-vue-inspector": "^3.4.2",
46
+ "vite-plugin-vue-inspector": "^3.5.0",
47
47
  "vue-router": "^4.2.4"
48
48
  },
49
49
  "scripts": {