@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.
@@ -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 { onDevToolsClientConnected, onDevToolsConnected, setupDevToolsPlugin, setupDevToolsPlugin as setupDevtoolsPlugin };
8
- //# sourceMappingURL=index-node.d.mts.map
7
+ export { setupDevToolsPlugin as setupDevtoolsPlugin };
@@ -8,5 +8,3 @@ function onDevToolsClientConnected(_callback) {
8
8
  }
9
9
  //#endregion
10
10
  export { onDevToolsClientConnected, onDevToolsConnected, setupDevToolsPlugin, setupDevToolsPlugin as setupDevtoolsPlugin };
11
-
12
- //# sourceMappingURL=index-node.mjs.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vue/devtools-api",
3
- "version": "9.0.0-beta.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.cjs",
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
- "import": {
26
- "types": "./dist/index-node.d.mts",
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
- "import": {
35
- "types": "./dist/index.d.mts",
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-beta.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": "vp pack",
50
- "dev": "vp pack --watch"
43
+ "build": "tsdown",
44
+ "dev": "tsdown --watch"
51
45
  }
52
46
  }
@@ -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
@@ -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"}
@@ -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
@@ -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
@@ -1,2 +0,0 @@
1
- import { onDevToolsClientConnected, onDevToolsConnected, setupDevToolsPlugin, setupDevToolsPlugin as setupDevtoolsPlugin } from "@vue/devtools-kit";
2
- export { onDevToolsClientConnected, onDevToolsConnected, setupDevToolsPlugin, setupDevtoolsPlugin };