@modern-js/plugin-devtools 0.0.0-next-20240701110742 → 0.0.0-next-20240702030948

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.
@@ -35,6 +35,7 @@ var import_path = __toESM(require("path"));
35
35
  var import_node = require("@modern-js/devtools-kit/node");
36
36
  var import_utils = require("@modern-js/utils");
37
37
  var import_p_defer = __toESM(require("p-defer"));
38
+ var import_package = __toESM(require("../../package.json"));
38
39
  const pluginManifest = {
39
40
  name: "manifest",
40
41
  async setup(api) {
@@ -48,7 +49,8 @@ const pluginManifest = {
48
49
  const routesManifest = await import_utils.fs.readJSON(routesManifestName);
49
50
  const manifest = {
50
51
  ...api.vars.state,
51
- routeAssets: routesManifest.routeAssets
52
+ routeAssets: routesManifest.routeAssets,
53
+ version: import_package.default.version
52
54
  };
53
55
  const port = (_api_vars_http = api.vars.http) === null || _api_vars_http === void 0 ? void 0 : _api_vars_http.port;
54
56
  if (port) {
package/package.json CHANGED
@@ -15,7 +15,7 @@
15
15
  "modern",
16
16
  "modern.js"
17
17
  ],
18
- "version": "0.0.0-next-20240701110742",
18
+ "version": "0.0.0-next-20240702030948",
19
19
  "jsnext:source": "./src/index.ts",
20
20
  "types": "./dist/index.d.ts",
21
21
  "main": "./dist/index.js",
@@ -55,9 +55,9 @@
55
55
  "valtio": "^1.11.1",
56
56
  "ws": "^8.13.0",
57
57
  "hookable": "^5.5.3",
58
- "@modern-js/devtools-client": "0.0.0-next-20240701110742",
59
- "@modern-js/devtools-kit": "0.0.0-next-20240701110742",
60
- "@modern-js/utils": "0.0.0-next-20240701110742"
58
+ "@modern-js/devtools-client": "0.0.0-next-20240702030948",
59
+ "@modern-js/devtools-kit": "0.0.0-next-20240702030948",
60
+ "@modern-js/utils": "0.0.0-next-20240702030948"
61
61
  },
62
62
  "devDependencies": {
63
63
  "@swc/helpers": "0.5.3",
@@ -66,17 +66,17 @@
66
66
  "type-fest": "^4.1.0",
67
67
  "typescript": "^5",
68
68
  "@rsbuild/core": "0.7.10",
69
- "@modern-js/core": "0.0.0-next-20240701110742",
70
- "@modern-js/app-tools": "0.0.0-next-20240701110742",
71
- "@modern-js/runtime": "0.0.0-next-20240701110742",
72
- "@modern-js/module-tools": "0.0.0-next-20240701110742",
73
- "@modern-js/types": "0.0.0-next-20240701110742",
74
- "@modern-js/server-core": "0.0.0-next-20240701110742",
75
- "@modern-js/uni-builder": "0.0.0-next-20240701110742",
76
- "@scripts/build": "0.0.0-next-20240701110742"
69
+ "@modern-js/app-tools": "0.0.0-next-20240702030948",
70
+ "@modern-js/core": "0.0.0-next-20240702030948",
71
+ "@modern-js/module-tools": "0.0.0-next-20240702030948",
72
+ "@modern-js/server-core": "0.0.0-next-20240702030948",
73
+ "@modern-js/runtime": "0.0.0-next-20240702030948",
74
+ "@modern-js/types": "0.0.0-next-20240702030948",
75
+ "@scripts/build": "0.0.0-next-20240702030948",
76
+ "@modern-js/uni-builder": "0.0.0-next-20240702030948"
77
77
  },
78
78
  "peerDependencies": {
79
- "@modern-js/runtime": "0.0.0-next-20240701110742"
79
+ "@modern-js/runtime": "0.0.0-next-20240702030948"
80
80
  },
81
81
  "peerDependenciesMeta": {
82
82
  "@modern-js/runtime": {
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes