@modern-js/devtools-kit 0.0.0-next-20240305082938 → 0.0.0-next-20240306180957

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/client.d.ts CHANGED
@@ -37,6 +37,7 @@ export declare class ClientDefinition {
37
37
  assets: AssetDefinition;
38
38
  doctor: DoctorDefinition;
39
39
  announcement: AnnouncementDefinition;
40
+ plugins: string[];
40
41
  }
41
42
  export interface IframeTabView {
42
43
  type: 'iframe';
package/dist/client.js CHANGED
@@ -73,6 +73,7 @@ class ClientDefinition {
73
73
  this.assets = new AssetDefinition();
74
74
  this.doctor = new DoctorDefinition();
75
75
  this.announcement = new AnnouncementDefinition();
76
+ this.plugins = [];
76
77
  }
77
78
  }
78
79
  // Annotate the CommonJS export names for ESM import in node:
@@ -1,5 +1,4 @@
1
1
  import { Hookable } from 'hookable';
2
- import { ReactNode } from 'react';
3
2
  import { Tab } from './node';
4
3
  declare global {
5
4
  interface Window {
@@ -8,7 +7,6 @@ declare global {
8
7
  }
9
8
  export declare const RUNTIME_GLOBALS = "__modern_js_global";
10
9
  export interface GlobalHooks {
11
- 'tab:render': () => ReactNode;
12
10
  'tab:list': (tabs: Tab[]) => void;
13
11
  }
14
12
  export type RuntimeGlobals = Hookable<GlobalHooks>;
package/package.json CHANGED
@@ -21,7 +21,7 @@
21
21
  "modern",
22
22
  "modern.js"
23
23
  ],
24
- "version": "0.0.0-next-20240305082938",
24
+ "version": "0.0.0-next-20240306180957",
25
25
  "jsnext:source": "./src/index.ts",
26
26
  "types": "./dist/index.d.ts",
27
27
  "main": "./dist/index.js",
@@ -63,8 +63,8 @@
63
63
  "ws": "^8.13.0",
64
64
  "@rsdoctor/types": "^0.1.3",
65
65
  "@rsdoctor/utils": "^0.1.3",
66
- "@modern-js/types": "0.0.0-next-20240305082938",
67
- "@modern-js/utils": "0.0.0-next-20240305082938"
66
+ "@modern-js/types": "0.0.0-next-20240306180957",
67
+ "@modern-js/utils": "0.0.0-next-20240306180957"
68
68
  },
69
69
  "devDependencies": {
70
70
  "@babel/core": "^7.23.2",
@@ -79,13 +79,13 @@
79
79
  "react": "~18.2.0",
80
80
  "type-fest": "^4.1.0",
81
81
  "typescript": "^5",
82
- "@modern-js/app-tools": "0.0.0-next-20240305082938",
83
- "@modern-js/core": "0.0.0-next-20240305082938",
84
- "@modern-js/module-tools": "0.0.0-next-20240305082938",
85
- "@modern-js/types": "0.0.0-next-20240305082938",
86
- "@modern-js/uni-builder": "0.0.0-next-20240305082938",
87
- "@scripts/jest-config": "0.0.0-next-20240305082938",
88
- "@scripts/build": "0.0.0-next-20240305082938"
82
+ "@modern-js/app-tools": "0.0.0-next-20240306180957",
83
+ "@modern-js/core": "0.0.0-next-20240306180957",
84
+ "@modern-js/module-tools": "0.0.0-next-20240306180957",
85
+ "@modern-js/types": "0.0.0-next-20240306180957",
86
+ "@modern-js/uni-builder": "0.0.0-next-20240306180957",
87
+ "@scripts/build": "0.0.0-next-20240306180957",
88
+ "@scripts/jest-config": "0.0.0-next-20240306180957"
89
89
  },
90
90
  "peerDependencies": {
91
91
  "react": "~18.2.0"