@vue/devtools-api 9.0.0-beta.0 → 9.0.0-rc.1
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-node.d.mts +4 -5
- package/dist/index-node.mjs +0 -2
- package/package.json +15 -21
- package/dist/index-node.cjs +0 -16
- package/dist/index-node.cjs.map +0 -1
- package/dist/index-node.d.cts +0 -8
- package/dist/index-node.mjs.map +0 -1
- package/dist/index.cjs +0 -26
- package/dist/index.d.cts +0 -2
package/dist/index-node.d.mts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { PluginDescriptor, PluginSetupFunction } from "@vue/devtools-kit";
|
|
2
2
|
//#region src/index-node.d.ts
|
|
3
|
-
declare function setupDevToolsPlugin(_pluginDescriptor: PluginDescriptor, _setupFn: PluginSetupFunction): void;
|
|
4
|
-
declare function onDevToolsConnected(_callback: () => void): Promise<void>;
|
|
5
|
-
declare function onDevToolsClientConnected(_callback: () => void): Promise<void>;
|
|
3
|
+
export declare function setupDevToolsPlugin(_pluginDescriptor: PluginDescriptor, _setupFn: PluginSetupFunction): void;
|
|
4
|
+
export declare function onDevToolsConnected(_callback: () => void): Promise<void>;
|
|
5
|
+
export declare function onDevToolsClientConnected(_callback: () => void): Promise<void>;
|
|
6
6
|
//#endregion
|
|
7
|
-
export {
|
|
8
|
-
//# sourceMappingURL=index-node.d.mts.map
|
|
7
|
+
export { setupDevToolsPlugin as setupDevtoolsPlugin };
|
package/dist/index-node.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vue/devtools-api",
|
|
3
|
-
"version": "9.0.0-
|
|
3
|
+
"version": "9.0.0-rc.1",
|
|
4
4
|
"description": "Public plugin API for Vue DevTools",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "webfansplz",
|
|
@@ -16,37 +16,31 @@
|
|
|
16
16
|
],
|
|
17
17
|
"type": "module",
|
|
18
18
|
"sideEffects": false,
|
|
19
|
-
"main": "./dist/index.
|
|
19
|
+
"main": "./dist/index.mjs",
|
|
20
20
|
"module": "./dist/index.mjs",
|
|
21
21
|
"types": "./dist/index.d.mts",
|
|
22
22
|
"exports": {
|
|
23
23
|
".": {
|
|
24
24
|
"node": {
|
|
25
|
-
"
|
|
26
|
-
|
|
27
|
-
"default": "./dist/index-node.mjs"
|
|
28
|
-
},
|
|
29
|
-
"require": {
|
|
30
|
-
"types": "./dist/index-node.d.cts",
|
|
31
|
-
"default": "./dist/index-node.cjs"
|
|
32
|
-
}
|
|
25
|
+
"types": "./dist/index-node.d.mts",
|
|
26
|
+
"default": "./dist/index-node.mjs"
|
|
33
27
|
},
|
|
34
|
-
"
|
|
35
|
-
|
|
36
|
-
"default": "./dist/index.mjs"
|
|
37
|
-
},
|
|
38
|
-
"require": {
|
|
39
|
-
"types": "./dist/index.d.cts",
|
|
40
|
-
"default": "./dist/index.cjs"
|
|
41
|
-
}
|
|
28
|
+
"types": "./dist/index.d.mts",
|
|
29
|
+
"default": "./dist/index.mjs"
|
|
42
30
|
},
|
|
43
31
|
"./package.json": "./package.json"
|
|
44
32
|
},
|
|
45
33
|
"dependencies": {
|
|
46
|
-
"@vue/devtools-kit": "9.0.0-
|
|
34
|
+
"@vue/devtools-kit": "9.0.0-rc.1"
|
|
35
|
+
},
|
|
36
|
+
"devDependencies": {
|
|
37
|
+
"tsdown": "^0.23.0"
|
|
38
|
+
},
|
|
39
|
+
"engines": {
|
|
40
|
+
"node": ">=22.12.0"
|
|
47
41
|
},
|
|
48
42
|
"scripts": {
|
|
49
|
-
"build": "
|
|
50
|
-
"dev": "
|
|
43
|
+
"build": "tsdown",
|
|
44
|
+
"dev": "tsdown --watch"
|
|
51
45
|
}
|
|
52
46
|
}
|
package/dist/index-node.cjs
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
//#region src/index-node.ts
|
|
3
|
-
function setupDevToolsPlugin(_pluginDescriptor, _setupFn) {}
|
|
4
|
-
function onDevToolsConnected(_callback) {
|
|
5
|
-
return new Promise(() => {});
|
|
6
|
-
}
|
|
7
|
-
function onDevToolsClientConnected(_callback) {
|
|
8
|
-
return new Promise(() => {});
|
|
9
|
-
}
|
|
10
|
-
//#endregion
|
|
11
|
-
exports.onDevToolsClientConnected = onDevToolsClientConnected;
|
|
12
|
-
exports.onDevToolsConnected = onDevToolsConnected;
|
|
13
|
-
exports.setupDevToolsPlugin = setupDevToolsPlugin;
|
|
14
|
-
exports.setupDevtoolsPlugin = setupDevToolsPlugin;
|
|
15
|
-
|
|
16
|
-
//# sourceMappingURL=index-node.cjs.map
|
package/dist/index-node.cjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index-node.cjs","names":[],"sources":["../src/index-node.ts"],"sourcesContent":["import type { PluginDescriptor, PluginSetupFunction } from '@vue/devtools-kit'\n\nexport function setupDevToolsPlugin(\n _pluginDescriptor: PluginDescriptor,\n _setupFn: PluginSetupFunction,\n): void {}\n\nexport { setupDevToolsPlugin as setupDevtoolsPlugin }\n\nexport function onDevToolsConnected(_callback: () => void): Promise<void> {\n return new Promise<void>(() => {})\n}\n\nexport function onDevToolsClientConnected(_callback: () => void): Promise<void> {\n return new Promise<void>(() => {})\n}\n"],"mappings":";;AAEA,SAAgB,oBACd,mBACA,UACM,CAAC;AAIT,SAAgB,oBAAoB,WAAsC;CACxE,OAAO,IAAI,cAAoB,CAAC,CAAC;AACnC;AAEA,SAAgB,0BAA0B,WAAsC;CAC9E,OAAO,IAAI,cAAoB,CAAC,CAAC;AACnC"}
|
package/dist/index-node.d.cts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { PluginDescriptor, PluginSetupFunction } from "@vue/devtools-kit";
|
|
2
|
-
//#region src/index-node.d.ts
|
|
3
|
-
declare function setupDevToolsPlugin(_pluginDescriptor: PluginDescriptor, _setupFn: PluginSetupFunction): void;
|
|
4
|
-
declare function onDevToolsConnected(_callback: () => void): Promise<void>;
|
|
5
|
-
declare function onDevToolsClientConnected(_callback: () => void): Promise<void>;
|
|
6
|
-
//#endregion
|
|
7
|
-
export { onDevToolsClientConnected, onDevToolsConnected, setupDevToolsPlugin, setupDevToolsPlugin as setupDevtoolsPlugin };
|
|
8
|
-
//# sourceMappingURL=index-node.d.cts.map
|
package/dist/index-node.mjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index-node.mjs","names":[],"sources":["../src/index-node.ts"],"sourcesContent":["import type { PluginDescriptor, PluginSetupFunction } from '@vue/devtools-kit'\n\nexport function setupDevToolsPlugin(\n _pluginDescriptor: PluginDescriptor,\n _setupFn: PluginSetupFunction,\n): void {}\n\nexport { setupDevToolsPlugin as setupDevtoolsPlugin }\n\nexport function onDevToolsConnected(_callback: () => void): Promise<void> {\n return new Promise<void>(() => {})\n}\n\nexport function onDevToolsClientConnected(_callback: () => void): Promise<void> {\n return new Promise<void>(() => {})\n}\n"],"mappings":";AAEA,SAAgB,oBACd,mBACA,UACM,CAAC;AAIT,SAAgB,oBAAoB,WAAsC;CACxE,OAAO,IAAI,cAAoB,CAAC,CAAC;AACnC;AAEA,SAAgB,0BAA0B,WAAsC;CAC9E,OAAO,IAAI,cAAoB,CAAC,CAAC;AACnC"}
|
package/dist/index.cjs
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
let _vue_devtools_kit = require("@vue/devtools-kit");
|
|
3
|
-
Object.defineProperty(exports, "onDevToolsClientConnected", {
|
|
4
|
-
enumerable: true,
|
|
5
|
-
get: function() {
|
|
6
|
-
return _vue_devtools_kit.onDevToolsClientConnected;
|
|
7
|
-
}
|
|
8
|
-
});
|
|
9
|
-
Object.defineProperty(exports, "onDevToolsConnected", {
|
|
10
|
-
enumerable: true,
|
|
11
|
-
get: function() {
|
|
12
|
-
return _vue_devtools_kit.onDevToolsConnected;
|
|
13
|
-
}
|
|
14
|
-
});
|
|
15
|
-
Object.defineProperty(exports, "setupDevToolsPlugin", {
|
|
16
|
-
enumerable: true,
|
|
17
|
-
get: function() {
|
|
18
|
-
return _vue_devtools_kit.setupDevToolsPlugin;
|
|
19
|
-
}
|
|
20
|
-
});
|
|
21
|
-
Object.defineProperty(exports, "setupDevtoolsPlugin", {
|
|
22
|
-
enumerable: true,
|
|
23
|
-
get: function() {
|
|
24
|
-
return _vue_devtools_kit.setupDevToolsPlugin;
|
|
25
|
-
}
|
|
26
|
-
});
|
package/dist/index.d.cts
DELETED