@nuxt/devtools-kit 0.4.2 → 0.4.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/{client-api-690096c8.d.ts → client-api-11f14301.d.ts} +1 -1
- package/dist/{hooks-1302b71e.d.ts → hooks-90586526.d.ts} +5 -1
- package/dist/iframe-client.d.ts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/{rpc-ca77a6c9.d.ts → rpc-3d013fbe.d.ts} +3 -2
- package/dist/types.d.ts +3 -3
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@ import { AppConfig } from 'nuxt/schema';
|
|
|
2
2
|
import { NuxtApp } from 'nuxt/dist/app/nuxt';
|
|
3
3
|
import { Hookable } from 'hookable';
|
|
4
4
|
import { BirpcReturn } from 'birpc';
|
|
5
|
-
import { v as VueInspectorData, V as VueInspectorClient, H as HookInfo, q as PluginMetric, F as ServerFunctions } from './rpc-
|
|
5
|
+
import { v as VueInspectorData, V as VueInspectorClient, H as HookInfo, q as PluginMetric, F as ServerFunctions } from './rpc-3d013fbe.js';
|
|
6
6
|
|
|
7
7
|
interface NuxtDevtoolsClientHooks {
|
|
8
8
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { M as ModuleCustomTab, J as ClientFunctions, F as ServerFunctions, T as TerminalState } from './rpc-
|
|
1
|
+
import { M as ModuleCustomTab, J as ClientFunctions, F as ServerFunctions, T as TerminalState } from './rpc-3d013fbe.js';
|
|
2
2
|
import { BirpcGroup } from 'birpc';
|
|
3
3
|
import { Nuxt } from 'nuxt/schema';
|
|
4
4
|
|
|
@@ -86,6 +86,10 @@ interface NuxtDevtoolsServerContext {
|
|
|
86
86
|
nuxt: Nuxt;
|
|
87
87
|
options: ModuleOptions;
|
|
88
88
|
rpc: BirpcGroup<ClientFunctions, ServerFunctions>;
|
|
89
|
+
/**
|
|
90
|
+
* Hook to open file in editor
|
|
91
|
+
*/
|
|
92
|
+
openInEditorHooks: ((filepath: string) => boolean | void | Promise<boolean | void>)[];
|
|
89
93
|
/**
|
|
90
94
|
* Invalidate client cache for a function and ask for re-fetching
|
|
91
95
|
*/
|
package/dist/iframe-client.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { Ref } from 'vue';
|
|
2
|
-
import { c as NuxtDevtoolsIframeClient } from './client-api-
|
|
2
|
+
import { c as NuxtDevtoolsIframeClient } from './client-api-11f14301.js';
|
|
3
3
|
import 'nuxt/schema';
|
|
4
4
|
import 'nuxt/dist/app/nuxt';
|
|
5
5
|
import 'hookable';
|
|
6
6
|
import 'birpc';
|
|
7
|
-
import './rpc-
|
|
7
|
+
import './rpc-3d013fbe.js';
|
|
8
8
|
import 'nitropack';
|
|
9
9
|
import 'unstorage';
|
|
10
10
|
import 'vue-router';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as execa from 'execa';
|
|
2
2
|
import * as _nuxt_schema from '@nuxt/schema';
|
|
3
3
|
import { BirpcGroup } from 'birpc';
|
|
4
|
-
import { N as NuxtDevtoolsInfo } from './hooks-
|
|
5
|
-
import { M as ModuleCustomTab, S as SubprocessOptions, T as TerminalState } from './rpc-
|
|
4
|
+
import { N as NuxtDevtoolsInfo } from './hooks-90586526.js';
|
|
5
|
+
import { M as ModuleCustomTab, S as SubprocessOptions, T as TerminalState } from './rpc-3d013fbe.js';
|
|
6
6
|
import 'nuxt/schema';
|
|
7
7
|
import 'nitropack';
|
|
8
8
|
import 'unstorage';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { NuxtOptions, NuxtPage, NuxtLayout } from 'nuxt/schema';
|
|
1
|
+
import { NuxtOptions, NuxtPage, NuxtLayout, NuxtApp } from 'nuxt/schema';
|
|
2
2
|
import { StorageMounts } from 'nitropack';
|
|
3
3
|
import { StorageValue } from 'unstorage';
|
|
4
4
|
import { VNode, Component } from 'vue';
|
|
@@ -312,6 +312,7 @@ interface ServerFunctions {
|
|
|
312
312
|
getServerLayouts(): NuxtLayout[];
|
|
313
313
|
getStaticAssets(): Promise<AssetInfo[]>;
|
|
314
314
|
getServerRoutes(): Promise<ServerRouteInfo[]>;
|
|
315
|
+
getServerApp(): NuxtApp | undefined;
|
|
315
316
|
checkForUpdateFor(name: string): Promise<PackageUpdateInfo | undefined>;
|
|
316
317
|
getPackageManager(): Promise<PackageManagerName>;
|
|
317
318
|
getNpmCommand(command: NpmCommandType, packageName: string, options?: NpmCommandOptions): Promise<string[] | undefined>;
|
|
@@ -334,7 +335,7 @@ interface ServerFunctions {
|
|
|
334
335
|
}[], path: string): Promise<string[]>;
|
|
335
336
|
customTabAction(name: string, action: number): Promise<boolean>;
|
|
336
337
|
runWizard<T extends WizardActions>(name: T, ...args: GetWizardArgs<T>): Promise<void>;
|
|
337
|
-
openInEditor(filepath: string):
|
|
338
|
+
openInEditor(filepath: string): Promise<boolean>;
|
|
338
339
|
restartNuxt(hard?: boolean): Promise<void>;
|
|
339
340
|
}
|
|
340
341
|
interface ClientFunctions {
|
package/dist/types.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { b as ModuleGlobalOptions, M as ModuleOptions, N as NuxtDevtoolsInfo, a as NuxtDevtoolsServerContext, V as VSCodeIntegrationOptions, c as VSCodeTunnelOptions } from './hooks-
|
|
2
|
-
export { x as AssetInfo, w as AssetType, A as AutoImportsWithMetadata, B as BasicModuleInfo, J as ClientFunctions, K as ClientUpdateEvent, y as CodeSnippet, C as CompatibilityStatus, z as ComponentRelationship, E as GetWizardArgs, G as GitHubContributor, H as HookInfo, I as ImageMeta, u as MaintainerInfo, g as ModuleBuiltinTab, s as ModuleCompatibility, M as ModuleCustomTab, f as ModuleIframeTabLazyOptions, b as ModuleIframeView, d as ModuleLaunchAction, a as ModuleLaunchView, r as ModuleMetric, h as ModuleTabInfo, t as ModuleType, c as ModuleVNodeView, e as ModuleView, m as NpmCommandOptions, N as NpmCommandType, l as PackageManagerName, P as PackageUpdateInfo, o as Payload, p as PluginInfoWithMetic, q as PluginMetric, R as RouteInfo, F as ServerFunctions, n as ServerRouteInfo, S as SubprocessOptions, L as TabCategory, j as TerminalAction, i as TerminalBase, k as TerminalInfo, T as TerminalState, V as VueInspectorClient, v as VueInspectorData, D as WizardActions, W as WizardFunctions } from './rpc-
|
|
3
|
-
export { b as NuxtDevtoolsClient, N as NuxtDevtoolsClientHooks, d as NuxtDevtoolsGlobal, a as NuxtDevtoolsHostClient, c as NuxtDevtoolsIframeClient } from './client-api-
|
|
1
|
+
export { b as ModuleGlobalOptions, M as ModuleOptions, N as NuxtDevtoolsInfo, a as NuxtDevtoolsServerContext, V as VSCodeIntegrationOptions, c as VSCodeTunnelOptions } from './hooks-90586526.js';
|
|
2
|
+
export { x as AssetInfo, w as AssetType, A as AutoImportsWithMetadata, B as BasicModuleInfo, J as ClientFunctions, K as ClientUpdateEvent, y as CodeSnippet, C as CompatibilityStatus, z as ComponentRelationship, E as GetWizardArgs, G as GitHubContributor, H as HookInfo, I as ImageMeta, u as MaintainerInfo, g as ModuleBuiltinTab, s as ModuleCompatibility, M as ModuleCustomTab, f as ModuleIframeTabLazyOptions, b as ModuleIframeView, d as ModuleLaunchAction, a as ModuleLaunchView, r as ModuleMetric, h as ModuleTabInfo, t as ModuleType, c as ModuleVNodeView, e as ModuleView, m as NpmCommandOptions, N as NpmCommandType, l as PackageManagerName, P as PackageUpdateInfo, o as Payload, p as PluginInfoWithMetic, q as PluginMetric, R as RouteInfo, F as ServerFunctions, n as ServerRouteInfo, S as SubprocessOptions, L as TabCategory, j as TerminalAction, i as TerminalBase, k as TerminalInfo, T as TerminalState, V as VueInspectorClient, v as VueInspectorData, D as WizardActions, W as WizardFunctions } from './rpc-3d013fbe.js';
|
|
3
|
+
export { b as NuxtDevtoolsClient, N as NuxtDevtoolsClientHooks, d as NuxtDevtoolsGlobal, a as NuxtDevtoolsHostClient, c as NuxtDevtoolsIframeClient } from './client-api-11f14301.js';
|
|
4
4
|
import 'birpc';
|
|
5
5
|
import 'nuxt/schema';
|
|
6
6
|
import 'nitropack';
|