@vitejs/devtools 0.0.0-alpha.14 → 0.0.0-alpha.15

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,4 +1,4 @@
1
- import { a as ansis_default, c as fromNodeMiddleware, d as createDevToolsContext, i as getPort, l as sendRedirect, n as createDevToolsMiddleware, o as createApp, r as MARK_NODE, s as eventHandler, t as DevTools, u as toNodeListener } from "./plugins-C-9mB5Hx.js";
1
+ import { a as ansis_default, c as fromNodeMiddleware, d as createDevToolsContext, i as getPort, l as sendRedirect, n as createDevToolsMiddleware, o as createApp, r as MARK_NODE, s as eventHandler, t as DevTools, u as toNodeListener } from "./plugins-CMhTYtP5.js";
2
2
  import { t as dirClientStandalone } from "./dirs-DcSK9l9L.js";
3
3
  import { existsSync } from "node:fs";
4
4
  import sirv from "sirv";
@@ -1,5 +1,5 @@
1
- import "./plugins-C-9mB5Hx.js";
1
+ import "./plugins-CMhTYtP5.js";
2
2
  import "./dirs-DcSK9l9L.js";
3
- import { n as start, t as build } from "./cli-commands-BRo4A4PO.js";
3
+ import { n as start, t as build } from "./cli-commands-B_cK7BjS.js";
4
4
 
5
5
  export { build, start };
package/dist/cli.js CHANGED
@@ -1,6 +1,6 @@
1
- import "./plugins-C-9mB5Hx.js";
1
+ import "./plugins-CMhTYtP5.js";
2
2
  import "./dirs-DcSK9l9L.js";
3
- import { n as start, t as build } from "./cli-commands-BRo4A4PO.js";
3
+ import { n as start, t as build } from "./cli-commands-B_cK7BjS.js";
4
4
  import process from "node:process";
5
5
  import cac from "cac";
6
6
 
@@ -1,4 +1,4 @@
1
- import { n as createDocksContext, o as useLocalStorage } from "../webcomponents-BWyvxCU8.js";
1
+ import { n as createDocksContext, o as useLocalStorage } from "../webcomponents--5hckJ4R.js";
2
2
  import { getDevToolsRpcClient } from "@vitejs/devtools-kit/client";
3
3
 
4
4
  //#region src/client/inject/index.ts
@@ -5,7 +5,7 @@
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
6
  <title>Vite DevTools</title>
7
7
  <meta name="description" content="Vite DevTools" />
8
- <script type="module" crossorigin src="./assets/index-D8I_zW-0.js"></script>
8
+ <script type="module" crossorigin src="./assets/index-C8DHrtPi.js"></script>
9
9
  <link rel="stylesheet" crossorigin href="./assets/index-cEBqyH_x.css">
10
10
  </head>
11
11
  <body class="font-sans dark:text-white dark:bg-black">
@@ -1,3 +1,3 @@
1
- import { a as PresistedDomViewsManager, i as PresistedDomHolder, n as createDocksContext, r as DockEmbedded, t as DEFAULT_DOCK_PANEL_STORE } from "../webcomponents-BWyvxCU8.js";
1
+ import { a as PresistedDomViewsManager, i as PresistedDomHolder, n as createDocksContext, r as DockEmbedded, t as DEFAULT_DOCK_PANEL_STORE } from "../webcomponents--5hckJ4R.js";
2
2
 
3
3
  export { DEFAULT_DOCK_PANEL_STORE, DockEmbedded, PresistedDomHolder, PresistedDomViewsManager, createDocksContext };
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { d as createDevToolsContext, n as createDevToolsMiddleware, t as DevTools } from "./plugins-C-9mB5Hx.js";
1
+ import { d as createDevToolsContext, n as createDevToolsMiddleware, t as DevTools } from "./plugins-CMhTYtP5.js";
2
2
  import "./dirs-DcSK9l9L.js";
3
3
 
4
4
  export { DevTools, createDevToolsContext, createDevToolsMiddleware };
@@ -1312,10 +1312,9 @@ function DevToolsServer() {
1312
1312
  const map = /* @__PURE__ */ new Map();
1313
1313
  for (const dock of docks) {
1314
1314
  const id$1 = `${dock.type}:${dock.id}`;
1315
- if (dock.type === "action") map.set(id$1, dock.action || dock.import);
1315
+ if (dock.type === "action") map.set(id$1, dock.action);
1316
1316
  else if (dock.type === "custom-render") map.set(id$1, dock.renderer);
1317
1317
  else if (dock.type === "iframe" && dock.clientScript) map.set(id$1, dock.clientScript);
1318
- else if ("import" in dock) map.set(id$1, dock.import);
1319
1318
  }
1320
1319
  return [
1321
1320
  `export const importsMap = {`,
@@ -7710,7 +7710,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
7710
7710
  ref: viewsContainer,
7711
7711
  class: "absolute inset-0"
7712
7712
  }, null, 512)
7713
- ], 4)), [[vShow, unref(context).docks.selected && unref(context).docks.selected.type === "action"]]);
7713
+ ], 4)), [[vShow, unref(context).docks.selected && unref(context).docks.selected.type !== "action"]]);
7714
7714
  };
7715
7715
  }
7716
7716
  });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vitejs/devtools",
3
3
  "type": "module",
4
- "version": "0.0.0-alpha.14",
4
+ "version": "0.0.0-alpha.15",
5
5
  "description": "Vite DevTools",
6
6
  "author": "VoidZero Inc.",
7
7
  "license": "MIT",
@@ -50,20 +50,20 @@
50
50
  "pathe": "^2.0.3",
51
51
  "sirv": "^3.0.2",
52
52
  "ws": "^8.18.3",
53
- "@vitejs/devtools-kit": "0.0.0-alpha.14",
54
- "@vitejs/devtools-rpc": "0.0.0-alpha.14",
55
- "@vitejs/devtools-vite": "0.0.0-alpha.14"
53
+ "@vitejs/devtools-rpc": "0.0.0-alpha.15",
54
+ "@vitejs/devtools-vite": "0.0.0-alpha.15",
55
+ "@vitejs/devtools-kit": "0.0.0-alpha.15"
56
56
  },
57
57
  "devDependencies": {
58
58
  "@vitejs/plugin-vue": "^6.0.1",
59
- "tsdown": "^0.15.12",
59
+ "tsdown": "^0.16.1",
60
60
  "typescript": "^5.9.3",
61
61
  "unplugin-vue": "^7.0.4",
62
62
  "vite": "npm:rolldown-vite@^7.2.2",
63
63
  "vue": "^3.5.24",
64
64
  "vue-tsc": "^3.1.3",
65
- "@vitejs/devtools": "0.0.0-alpha.14",
66
- "@vitejs/devtools-vite": "0.0.0-alpha.14"
65
+ "@vitejs/devtools": "0.0.0-alpha.15",
66
+ "@vitejs/devtools-vite": "0.0.0-alpha.15"
67
67
  },
68
68
  "scripts": {
69
69
  "build": "pnpm build:js && pnpm build:standalone",