@vitejs/devtools 0.0.0-alpha.21 → 0.0.0-alpha.22
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/chunk-CwIu-FEx.js +29 -0
- package/dist/{cli-commands-CkG1gOFc.js → cli-commands-91HuPBSu.js} +3 -4
- package/dist/cli-commands.js +2 -2
- package/dist/cli.js +2 -2
- package/dist/client/inject.js +1 -1
- package/dist/client/standalone/assets/{index-Dpn5Nv-R.js → index-DvusdnNm.js} +3 -3
- package/dist/client/standalone/index.html +1 -1
- package/dist/client/webcomponents.d.ts +1 -1
- package/dist/client/webcomponents.js +7252 -5
- package/dist/dirs.js +1 -1
- package/dist/{index-CWvzFILY.d.ts → index-CLc-E8sF.d.ts} +77 -12
- package/dist/index.d.ts +4 -2
- package/dist/index.js +1 -1
- package/dist/{plugins-Chcj6ENu.js → plugins-C1AF2q2c.js} +424 -220
- package/package.json +7 -6
- /package/dist/{dirs-C0s1Ghvy.js → dirs-BJIz1OY5.js} +0 -0
- /package/dist/{docks-BuqYBItp.js → docks-C4khS_Su.js} +0 -0
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
//#region rolldown:runtime
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __commonJSMin = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
12
|
+
key = keys[i];
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except) {
|
|
14
|
+
__defProp(to, key, {
|
|
15
|
+
get: ((k) => from[k]).bind(null, key),
|
|
16
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
return to;
|
|
22
|
+
};
|
|
23
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
24
|
+
value: mod,
|
|
25
|
+
enumerable: true
|
|
26
|
+
}) : target, mod));
|
|
27
|
+
|
|
28
|
+
//#endregion
|
|
29
|
+
export { __toESM as n, __commonJSMin as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as createApp, c as sendRedirect, d as ansis_default, i as getPort, l as toNodeListener, n as createDevToolsMiddleware, o as eventHandler, r as MARK_NODE, s as fromNodeMiddleware, t as DevTools, u as createDevToolsContext } from "./plugins-
|
|
2
|
-
import { t as dirClientStandalone } from "./dirs-
|
|
1
|
+
import { a as createApp, c as sendRedirect, d as ansis_default, i as getPort, l as toNodeListener, n as createDevToolsMiddleware, o as eventHandler, r as MARK_NODE, s as fromNodeMiddleware, t as DevTools, u as createDevToolsContext } from "./plugins-C1AF2q2c.js";
|
|
2
|
+
import { t as dirClientStandalone } from "./dirs-BJIz1OY5.js";
|
|
3
3
|
import { resolveConfig } from "vite";
|
|
4
4
|
import process from "node:process";
|
|
5
5
|
import { existsSync } from "node:fs";
|
|
@@ -43,8 +43,7 @@ async function start(options) {
|
|
|
43
43
|
const { host } = options;
|
|
44
44
|
const port = await getPort({
|
|
45
45
|
host,
|
|
46
|
-
port: options.port == null ? void 0 : +options.port
|
|
47
|
-
portRange: [9999, 15e3]
|
|
46
|
+
port: options.port == null ? void 0 : +options.port
|
|
48
47
|
});
|
|
49
48
|
const devtools = await startStandaloneDevTools({ cwd: options.root });
|
|
50
49
|
const { h3 } = await createDevToolsMiddleware({
|
package/dist/cli-commands.js
CHANGED
package/dist/cli.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./plugins-
|
|
2
|
-
import { n as start, t as build } from "./cli-commands-
|
|
1
|
+
import "./plugins-C1AF2q2c.js";
|
|
2
|
+
import { n as start, t as build } from "./cli-commands-91HuPBSu.js";
|
|
3
3
|
import process from "node:process";
|
|
4
4
|
import cac from "cac";
|
|
5
5
|
|
package/dist/client/inject.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { F as markRaw, I as reactive, L as ref, M as watchEffect, c as useLocalStorage, g as computed, i as BUILTIN_ENTRIES, n as createDockEntryState, r as useDocksEntries, t as DEFAULT_DOCK_PANEL_STORE, z as toRefs } from "../docks-
|
|
1
|
+
import { F as markRaw, I as reactive, L as ref, M as watchEffect, c as useLocalStorage, g as computed, i as BUILTIN_ENTRIES, n as createDockEntryState, r as useDocksEntries, t as DEFAULT_DOCK_PANEL_STORE, z as toRefs } from "../docks-C4khS_Su.js";
|
|
2
2
|
import { getDevToolsRpcClient } from "@vitejs/devtools-kit/client";
|
|
3
3
|
|
|
4
4
|
//#region src/client/webcomponents/state/setup-script.ts
|