@devframes/plugin-inspect 0.9.0-beta.2 → 0.9.0-beta.4

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/cli.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { n as inspectDevframe } from "./src-DXMxyuay.mjs";
1
+ import { n as inspectDevframe } from "./src-ED6O11wu.mjs";
2
2
  import { createCac } from "devframe/adapters/cac";
3
3
  //#region src/cli.ts
4
4
  /**
package/dist/index.mjs CHANGED
@@ -1,2 +1,2 @@
1
- import { n as inspectDevframe, t as createInspectDevframe } from "./src-DXMxyuay.mjs";
1
+ import { n as inspectDevframe, t as createInspectDevframe } from "./src-ED6O11wu.mjs";
2
2
  export { createInspectDevframe, inspectDevframe as default };
@@ -4,7 +4,7 @@ import { fileURLToPath } from "node:url";
4
4
  import { defineDevframe } from "devframe";
5
5
  //#region package.json
6
6
  var name = "@devframes/plugin-inspect";
7
- var version = "0.9.0-beta.2";
7
+ var version = "0.9.0-beta.4";
8
8
  var description = "Devframe plugin that inspects the RPC registry, shared state, and agent surface of a connection.";
9
9
  var homepage = "https://github.com/devframes/devframe#readme";
10
10
  //#endregion
package/dist/vite.d.mts CHANGED
@@ -1,11 +1,11 @@
1
- import { DevframeVitePlugin, ViteDevBridgeOptions } from "devframe/helpers/vite";
1
+ import { DevframeViteOptions, DevframeVitePlugin } from "@devframes/vite/dev-spa";
2
2
  //#region src/vite.d.ts
3
3
  /**
4
4
  * Mount the inspector into an existing Vite dev server. In the default
5
5
  * static-mount mode it serves the built SPA at `/__devframes_plugin_inspect/`;
6
- * pass `{ devMiddleware: true }` for the bridge mode where the host owns
7
- * the SPA and devframe runs a side-car RPC + WS server.
6
+ * pass `{ bridge: true }` for the bridge mode where the host owns the SPA
7
+ * and devframe runs a side-car RPC + WS server.
8
8
  */
9
- declare function inspectVitePlugin(options?: ViteDevBridgeOptions): DevframeVitePlugin;
9
+ declare function inspectVitePlugin(options?: DevframeViteOptions): DevframeVitePlugin;
10
10
  //#endregion
11
- export { type ViteDevBridgeOptions, inspectVitePlugin };
11
+ export { type DevframeViteOptions, inspectVitePlugin };
package/dist/vite.mjs CHANGED
@@ -1,14 +1,14 @@
1
- import { n as inspectDevframe } from "./src-DXMxyuay.mjs";
2
- import { viteDevBridge } from "devframe/helpers/vite";
1
+ import { n as inspectDevframe } from "./src-ED6O11wu.mjs";
2
+ import { devframeVite } from "@devframes/vite/dev-spa";
3
3
  //#region src/vite.ts
4
4
  /**
5
5
  * Mount the inspector into an existing Vite dev server. In the default
6
6
  * static-mount mode it serves the built SPA at `/__devframes_plugin_inspect/`;
7
- * pass `{ devMiddleware: true }` for the bridge mode where the host owns
8
- * the SPA and devframe runs a side-car RPC + WS server.
7
+ * pass `{ bridge: true }` for the bridge mode where the host owns the SPA
8
+ * and devframe runs a side-car RPC + WS server.
9
9
  */
10
10
  function inspectVitePlugin(options) {
11
- return viteDevBridge(inspectDevframe, options);
11
+ return devframeVite(inspectDevframe, options);
12
12
  }
13
13
  //#endregion
14
14
  export { inspectVitePlugin };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@devframes/plugin-inspect",
3
3
  "type": "module",
4
- "version": "0.9.0-beta.2",
4
+ "version": "0.9.0-beta.4",
5
5
  "description": "Devframe plugin that inspects the RPC registry, shared state, and agent surface of a connection.",
6
6
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
7
7
  "license": "MIT",
@@ -38,7 +38,7 @@
38
38
  ],
39
39
  "peerDependencies": {
40
40
  "vite": "^7.0.0 || ^8.0.0",
41
- "devframe": "0.9.0-beta.2"
41
+ "devframe": "0.9.0-beta.4"
42
42
  },
43
43
  "peerDependenciesMeta": {
44
44
  "vite": {
@@ -47,7 +47,8 @@
47
47
  },
48
48
  "dependencies": {
49
49
  "cac": "^7.0.0",
50
- "nostics": "^1.2.0"
50
+ "nostics": "^1.2.0",
51
+ "@devframes/vite": "0.9.0-beta.4"
51
52
  },
52
53
  "devDependencies": {
53
54
  "@antfu/design": "^0.3.4",
@@ -69,8 +70,8 @@
69
70
  "vitest": "^4.1.10",
70
71
  "vue": "^3.5.41",
71
72
  "ws": "^8.21.3",
72
- "@devframes/hub": "0.9.0-beta.2",
73
- "devframe": "0.9.0-beta.2"
73
+ "@devframes/hub": "0.9.0-beta.4",
74
+ "devframe": "0.9.0-beta.4"
74
75
  },
75
76
  "scripts": {
76
77
  "build": "tsdown && vite build --config src/spa/vite.config.ts",