@modern-js/plugin-devtools 0.0.0-next-20250430162008 → 0.0.0-next-20250508124750
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.js +1 -3
- package/dist/plugins/http.d.ts +1 -0
- package/dist/runtime.d.ts +1 -0
- package/dist/types/common.d.ts +3 -2
- package/dist/utils/module.d.ts +1 -0
- package/dist/utils/socket.d.ts +1 -0
- package/package.json +14 -14
package/dist/cli.js
CHANGED
|
@@ -159,9 +159,7 @@ const devtoolsPlugin = (inlineOptions = {}) => {
|
|
|
159
159
|
await api.builderHooks.callHook("onAfterBuild", params);
|
|
160
160
|
});
|
|
161
161
|
builderApi.onExit(() => {
|
|
162
|
-
api.builderHooks.callHookWith((hooks) => hooks.forEach((hook) => hook()), "onExit"
|
|
163
|
-
exitCode: 0
|
|
164
|
-
});
|
|
162
|
+
api.builderHooks.callHookWith((hooks) => hooks.forEach((hook) => hook()), "onExit");
|
|
165
163
|
});
|
|
166
164
|
}
|
|
167
165
|
};
|
package/dist/plugins/http.d.ts
CHANGED
package/dist/runtime.d.ts
CHANGED
package/dist/types/common.d.ts
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
1
2
|
import type { AppTools, AppToolsHooks, CliPlugin } from '@modern-js/app-tools';
|
|
2
3
|
import type { BaseHooks } from '@modern-js/core';
|
|
3
4
|
import type { DevtoolsContext, ServerManifest } from '@modern-js/devtools-kit/node';
|
|
4
|
-
import type {
|
|
5
|
+
import type { ServerPlugin, ToThreads } from '@modern-js/server-core';
|
|
5
6
|
import type { RsbuildPluginAPI } from '@rsbuild/core';
|
|
6
7
|
import type { Hookable } from 'hookable';
|
|
7
8
|
export type CliPluginAPI = Parameters<NonNullable<CliPlugin<AppTools>['setup']>>[0];
|
|
8
|
-
export type ServerPluginAPI = Parameters<NonNullable<
|
|
9
|
+
export type ServerPluginAPI = Parameters<NonNullable<ServerPlugin['setup']>>[0];
|
|
9
10
|
export type BufferLike = string | Buffer | DataView | number | ArrayBufferView | Uint8Array | ArrayBuffer | SharedArrayBuffer | ReadonlyArray<any> | ReadonlyArray<number> | {
|
|
10
11
|
valueOf: () => ArrayBuffer;
|
|
11
12
|
} | {
|
package/dist/utils/module.d.ts
CHANGED
package/dist/utils/socket.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"modern",
|
|
16
16
|
"modern.js"
|
|
17
17
|
],
|
|
18
|
-
"version": "0.0.0-next-
|
|
18
|
+
"version": "0.0.0-next-20250508124750",
|
|
19
19
|
"jsnext:source": "./src/index.ts",
|
|
20
20
|
"types": "./dist/index.d.ts",
|
|
21
21
|
"main": "./dist/index.js",
|
|
@@ -56,29 +56,29 @@
|
|
|
56
56
|
"ufo": "^1.3.0",
|
|
57
57
|
"valtio": "^1.11.1",
|
|
58
58
|
"ws": "^8.13.0",
|
|
59
|
-
"@modern-js/devtools-client": "0.0.0-next-
|
|
60
|
-
"@modern-js/devtools-kit": "0.0.0-next-
|
|
61
|
-
"@modern-js/utils": "0.0.0-next-
|
|
59
|
+
"@modern-js/devtools-client": "0.0.0-next-20250508124750",
|
|
60
|
+
"@modern-js/devtools-kit": "0.0.0-next-20250508124750",
|
|
61
|
+
"@modern-js/utils": "0.0.0-next-20250508124750"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
|
-
"@rsbuild/core": "1.
|
|
64
|
+
"@rsbuild/core": "1.2.19",
|
|
65
65
|
"@swc/helpers": "0.5.13",
|
|
66
66
|
"@types/node": "^14",
|
|
67
67
|
"@types/react-devtools-inline": "^4.24.8",
|
|
68
68
|
"@types/ws": "^8.5.5",
|
|
69
69
|
"type-fest": "^4.1.0",
|
|
70
70
|
"typescript": "^5",
|
|
71
|
-
"@modern-js/app-tools": "0.0.0-next-
|
|
72
|
-
"@modern-js/core": "0.0.0-next-
|
|
73
|
-
"@modern-js/module-tools": "0.0.0-next-
|
|
74
|
-
"@modern-js/runtime": "0.0.0-next-
|
|
75
|
-
"@modern-js/server-core": "0.0.0-next-
|
|
76
|
-
"@modern-js/types": "0.0.0-next-
|
|
77
|
-
"@
|
|
78
|
-
"@
|
|
71
|
+
"@modern-js/app-tools": "0.0.0-next-20250508124750",
|
|
72
|
+
"@modern-js/core": "0.0.0-next-20250508124750",
|
|
73
|
+
"@modern-js/module-tools": "0.0.0-next-20250508124750",
|
|
74
|
+
"@modern-js/runtime": "0.0.0-next-20250508124750",
|
|
75
|
+
"@modern-js/server-core": "0.0.0-next-20250508124750",
|
|
76
|
+
"@modern-js/types": "0.0.0-next-20250508124750",
|
|
77
|
+
"@scripts/build": "0.0.0-next-20250508124750",
|
|
78
|
+
"@modern-js/uni-builder": "0.0.0-next-20250508124750"
|
|
79
79
|
},
|
|
80
80
|
"peerDependencies": {
|
|
81
|
-
"@modern-js/runtime": "0.0.0-next-
|
|
81
|
+
"@modern-js/runtime": "0.0.0-next-20250508124750"
|
|
82
82
|
},
|
|
83
83
|
"peerDependenciesMeta": {
|
|
84
84
|
"@modern-js/runtime": {
|