@vitejs/devtools-vite 0.0.0-alpha.9 → 0.4.3
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/{dirs-K_XnRVOr.js → dirs.mjs} +1 -3
- package/dist/index.d.mts +101 -0
- package/dist/index.mjs +2254 -0
- package/dist/nitro.json +3 -3
- package/dist/public/200.html +1 -1
- package/dist/public/404.html +1 -1
- package/dist/public/_nuxt/0fZFclj2.js +2 -0
- package/dist/public/_nuxt/457Jr4Pr.js +1 -0
- package/dist/public/_nuxt/B1xYalZA.js +1 -0
- package/dist/public/_nuxt/BDNMzG2s.js +1 -0
- package/dist/public/_nuxt/BJv-YGcz.js +1 -0
- package/dist/public/_nuxt/BKuuhLmM.js +1 -0
- package/dist/public/_nuxt/BjJFp2QE.js +1 -0
- package/dist/public/_nuxt/C3lVFA1Q.js +1 -0
- package/dist/public/_nuxt/CAlSLYmJ.js +1 -0
- package/dist/public/_nuxt/CHXuaNaj.js +1 -0
- package/dist/public/_nuxt/CJwKXY9k.js +1 -0
- package/dist/public/_nuxt/CQYaOgKz.js +1 -0
- package/dist/public/_nuxt/CWPpjZx6.js +1 -0
- package/dist/public/_nuxt/CeVkPjP7.js +12 -0
- package/dist/public/_nuxt/D3MExTHO.js +3 -0
- package/dist/public/_nuxt/K3CNNOBf.js +2 -0
- package/dist/public/_nuxt/NLJpu4QF.js +1 -0
- package/dist/public/_nuxt/QSP1yWcH.js +1 -0
- package/dist/public/_nuxt/builds/latest.json +1 -1
- package/dist/public/_nuxt/builds/meta/d3f7ed61-b5b0-435f-9c70-ecd6f63b3201.json +1 -0
- package/dist/public/_nuxt/diff.worker-DFeiLCV8.js +10 -0
- package/dist/public/_nuxt/entry.CzwuNVVL.css +1 -0
- package/dist/public/_nuxt/error-404.YVLV_SWG.css +1 -0
- package/dist/public/_nuxt/error-500.DoVxOHYG.css +1 -0
- package/dist/public/_nuxt/filepath.CX8PXv9n.css +1 -0
- package/dist/public/_nuxt/graph.qvMalRQi.css +1 -0
- package/dist/public/_nuxt/plugins.CtM-Tp_V.css +1 -0
- package/dist/public/_nuxt/rpc.CVTFzytL.css +1 -0
- package/dist/public/favicon.svg +127 -12
- package/dist/public/fonts/dmmono-53a90e28.woff2 +0 -0
- package/dist/public/fonts/dmmono-cd6ed524.woff2 +0 -0
- package/dist/public/fonts/dmsans-54dbf8a8.woff2 +0 -0
- package/dist/public/fonts/dmsans-c55bbe7a.woff2 +0 -0
- package/dist/public/index.html +1 -1
- package/package.json +30 -51
- package/dist/dirs.js +0 -3
- package/dist/index.d.ts +0 -146
- package/dist/index.js +0 -1508
- package/dist/public/_nuxt/17ealR8P.js +0 -1
- package/dist/public/_nuxt/2OALqkc2.js +0 -1
- package/dist/public/_nuxt/AuXMpmu_.js +0 -1
- package/dist/public/_nuxt/B-LCQpq9.js +0 -2
- package/dist/public/_nuxt/B-MkobAt.js +0 -1
- package/dist/public/_nuxt/BFwdTbGt.js +0 -1
- package/dist/public/_nuxt/BQPGP7j8.js +0 -1
- package/dist/public/_nuxt/B_mZ82Ef.js +0 -1
- package/dist/public/_nuxt/BkcJ9YuP.js +0 -33
- package/dist/public/_nuxt/Bs1eUuZt.js +0 -1
- package/dist/public/_nuxt/C2Zn9dj_.js +0 -1
- package/dist/public/_nuxt/CIZ7KSXz.js +0 -1
- package/dist/public/_nuxt/CSwEzrF7.js +0 -11
- package/dist/public/_nuxt/CbzAqNxs.js +0 -1
- package/dist/public/_nuxt/ChaI2u-J.js +0 -1
- package/dist/public/_nuxt/CmZYssbg.js +0 -1
- package/dist/public/_nuxt/Cnct9GAr.js +0 -1
- package/dist/public/_nuxt/Cq2KqeQT.js +0 -1
- package/dist/public/_nuxt/Cql2HFZJ.js +0 -1
- package/dist/public/_nuxt/D-ZnEyqr.js +0 -1
- package/dist/public/_nuxt/D03ETnho.js +0 -1
- package/dist/public/_nuxt/D2Zr4_9a.js +0 -1
- package/dist/public/_nuxt/D7AVRXB9.js +0 -1
- package/dist/public/_nuxt/DL1ysgP5.js +0 -1
- package/dist/public/_nuxt/DP5rIU2b.js +0 -1
- package/dist/public/_nuxt/DQtLZa7C.js +0 -1
- package/dist/public/_nuxt/DcamI1aQ.js +0 -1
- package/dist/public/_nuxt/DnpfwSMy.js +0 -1
- package/dist/public/_nuxt/HzvsUJ0F.js +0 -1
- package/dist/public/_nuxt/Jdu9jmuG.js +0 -1
- package/dist/public/_nuxt/LMGHh3hZ.js +0 -1
- package/dist/public/_nuxt/SO3ppn9m.js +0 -1
- package/dist/public/_nuxt/VirtualList.lGV_3v2U.css +0 -1
- package/dist/public/_nuxt/X7aOo9pb.js +0 -1
- package/dist/public/_nuxt/_hSlj5r4.js +0 -1
- package/dist/public/_nuxt/_session_.B0BbH92J.css +0 -1
- package/dist/public/_nuxt/builds/meta/ef0d166a-8482-442c-9350-f2a451006de7.json +0 -1
- package/dist/public/_nuxt/diff.worker-DCsgdfuV.js +0 -10
- package/dist/public/_nuxt/entry.D6FiGaDn.css +0 -1
- package/dist/public/_nuxt/error-404.CCdr3eE4.css +0 -1
- package/dist/public/_nuxt/error-500.D-vBsHK_.css +0 -1
- package/dist/public/_nuxt/lxg2Cb0s.js +0 -1
- package/dist/public/_nuxt/mIZU4Om9.js +0 -1
- package/dist/public/_nuxt/qkzn-X0p.js +0 -1
- package/dist/public/_nuxt/vzoJapJG.js +0 -1
- package/dist/public/vite-devtools.svg +0 -17
- /package/dist/{dirs.d.ts → dirs.d.mts} +0 -0
package/dist/index.d.mts
ADDED
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import { PluginWithDevTools } from "@vitejs/devtools-kit";
|
|
2
|
+
import { PluginOption } from "vite";
|
|
3
|
+
//#region src/node/inspect/plugin.d.ts
|
|
4
|
+
declare function DevToolsViteInspect(): PluginWithDevTools;
|
|
5
|
+
//#endregion
|
|
6
|
+
//#region src/node/inspect/types.d.ts
|
|
7
|
+
interface ViteInspectQuery {
|
|
8
|
+
vite: string;
|
|
9
|
+
env: string;
|
|
10
|
+
}
|
|
11
|
+
interface ViteInspectErrorInfo {
|
|
12
|
+
message: string;
|
|
13
|
+
stack: string[];
|
|
14
|
+
raw?: unknown;
|
|
15
|
+
}
|
|
16
|
+
interface ViteInspectTransformInfo {
|
|
17
|
+
name: string;
|
|
18
|
+
plugin_id?: number;
|
|
19
|
+
result?: string | null;
|
|
20
|
+
start: number;
|
|
21
|
+
end: number;
|
|
22
|
+
order?: string;
|
|
23
|
+
sourcemaps?: unknown;
|
|
24
|
+
error?: ViteInspectErrorInfo;
|
|
25
|
+
}
|
|
26
|
+
interface ViteInspectResolveIdInfo {
|
|
27
|
+
name: string;
|
|
28
|
+
plugin_id?: number;
|
|
29
|
+
result: string;
|
|
30
|
+
start: number;
|
|
31
|
+
end: number;
|
|
32
|
+
error?: unknown;
|
|
33
|
+
}
|
|
34
|
+
interface ViteInspectModulePluginMetric {
|
|
35
|
+
name: string;
|
|
36
|
+
transform?: number;
|
|
37
|
+
resolveId?: number;
|
|
38
|
+
}
|
|
39
|
+
interface ViteInspectModuleInfo {
|
|
40
|
+
id: string;
|
|
41
|
+
deps: string[];
|
|
42
|
+
importers: string[];
|
|
43
|
+
plugins: ViteInspectModulePluginMetric[];
|
|
44
|
+
virtual: boolean;
|
|
45
|
+
totalTime: number;
|
|
46
|
+
invokeCount: number;
|
|
47
|
+
sourceSize: number;
|
|
48
|
+
distSize: number;
|
|
49
|
+
}
|
|
50
|
+
interface ViteInspectPluginMetric {
|
|
51
|
+
name: string;
|
|
52
|
+
plugin_id?: number;
|
|
53
|
+
enforce?: 'pre' | 'post';
|
|
54
|
+
transform: {
|
|
55
|
+
invokeCount: number;
|
|
56
|
+
totalTime: number;
|
|
57
|
+
};
|
|
58
|
+
resolveId: {
|
|
59
|
+
invokeCount: number;
|
|
60
|
+
totalTime: number;
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
interface ViteInspectModuleTransformInfo {
|
|
64
|
+
resolvedId: string;
|
|
65
|
+
transforms: ViteInspectTransformInfo[];
|
|
66
|
+
}
|
|
67
|
+
type ViteInspectPluginCallType = 'resolve' | 'load' | 'transform';
|
|
68
|
+
interface ViteInspectPluginCallInfo {
|
|
69
|
+
type: ViteInspectPluginCallType;
|
|
70
|
+
id: string;
|
|
71
|
+
duration: number;
|
|
72
|
+
plugin_id: number;
|
|
73
|
+
plugin_name: string;
|
|
74
|
+
module: string;
|
|
75
|
+
graphModuleId?: string;
|
|
76
|
+
timestamp_start: number;
|
|
77
|
+
timestamp_end: number;
|
|
78
|
+
unchanged?: boolean;
|
|
79
|
+
}
|
|
80
|
+
interface ViteInspectPluginDetails {
|
|
81
|
+
plugin_name: string;
|
|
82
|
+
plugin_id: number;
|
|
83
|
+
calls: ViteInspectPluginCallInfo[];
|
|
84
|
+
resolveIdMetrics: ViteInspectPluginCallInfo[];
|
|
85
|
+
loadMetrics: ViteInspectPluginCallInfo[];
|
|
86
|
+
transformMetrics: ViteInspectPluginCallInfo[];
|
|
87
|
+
}
|
|
88
|
+
interface ViteInspectMiddlewareMetric {
|
|
89
|
+
self: number;
|
|
90
|
+
total: number;
|
|
91
|
+
name: string;
|
|
92
|
+
}
|
|
93
|
+
interface ViteInspectServerMetrics {
|
|
94
|
+
middleware: Record<string, ViteInspectMiddlewareMetric[]>;
|
|
95
|
+
}
|
|
96
|
+
//#endregion
|
|
97
|
+
//#region src/node/plugin.d.ts
|
|
98
|
+
declare function DevToolsViteUI(): PluginOption;
|
|
99
|
+
declare function DevToolsViteUIPlugin(): PluginWithDevTools;
|
|
100
|
+
//#endregion
|
|
101
|
+
export { DevToolsViteInspect, DevToolsViteUI, DevToolsViteUIPlugin, ViteInspectErrorInfo, ViteInspectMiddlewareMetric, ViteInspectModuleInfo, ViteInspectModulePluginMetric, ViteInspectModuleTransformInfo, ViteInspectPluginCallInfo, ViteInspectPluginCallType, ViteInspectPluginDetails, ViteInspectPluginMetric, ViteInspectQuery, ViteInspectResolveIdInfo, ViteInspectServerMetrics, ViteInspectTransformInfo };
|