@modern-js/plugin-devtools 0.0.0-next-20250508124750 → 0.0.0-next-20250512033455
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 +3 -1
- package/dist/plugins/http.d.ts +0 -1
- package/dist/runtime.d.ts +0 -1
- package/dist/types/common.d.ts +2 -3
- package/dist/utils/module.d.ts +0 -1
- package/dist/utils/socket.d.ts +0 -1
- package/package.json +14 -14
package/dist/cli.js
CHANGED
|
@@ -159,7 +159,9 @@ 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"
|
|
162
|
+
api.builderHooks.callHookWith((hooks) => hooks.forEach((hook) => hook()), "onExit", {
|
|
163
|
+
exitCode: 0
|
|
164
|
+
});
|
|
163
165
|
});
|
|
164
166
|
}
|
|
165
167
|
};
|
package/dist/plugins/http.d.ts
CHANGED
package/dist/runtime.d.ts
CHANGED
package/dist/types/common.d.ts
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
2
1
|
import type { AppTools, AppToolsHooks, CliPlugin } from '@modern-js/app-tools';
|
|
3
2
|
import type { BaseHooks } from '@modern-js/core';
|
|
4
3
|
import type { DevtoolsContext, ServerManifest } from '@modern-js/devtools-kit/node';
|
|
5
|
-
import type {
|
|
4
|
+
import type { ServerPluginLegacy, ToThreads } from '@modern-js/server-core';
|
|
6
5
|
import type { RsbuildPluginAPI } from '@rsbuild/core';
|
|
7
6
|
import type { Hookable } from 'hookable';
|
|
8
7
|
export type CliPluginAPI = Parameters<NonNullable<CliPlugin<AppTools>['setup']>>[0];
|
|
9
|
-
export type ServerPluginAPI = Parameters<NonNullable<
|
|
8
|
+
export type ServerPluginAPI = Parameters<NonNullable<ServerPluginLegacy['setup']>>[0];
|
|
10
9
|
export type BufferLike = string | Buffer | DataView | number | ArrayBufferView | Uint8Array | ArrayBuffer | SharedArrayBuffer | ReadonlyArray<any> | ReadonlyArray<number> | {
|
|
11
10
|
valueOf: () => ArrayBuffer;
|
|
12
11
|
} | {
|
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-20250512033455",
|
|
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-20250512033455",
|
|
60
|
+
"@modern-js/devtools-kit": "0.0.0-next-20250512033455",
|
|
61
|
+
"@modern-js/utils": "0.0.0-next-20250512033455"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
|
-
"@rsbuild/core": "1.
|
|
64
|
+
"@rsbuild/core": "1.3.18",
|
|
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-20250512033455",
|
|
72
|
+
"@modern-js/core": "0.0.0-next-20250512033455",
|
|
73
|
+
"@modern-js/module-tools": "0.0.0-next-20250512033455",
|
|
74
|
+
"@modern-js/runtime": "0.0.0-next-20250512033455",
|
|
75
|
+
"@modern-js/server-core": "0.0.0-next-20250512033455",
|
|
76
|
+
"@modern-js/types": "0.0.0-next-20250512033455",
|
|
77
|
+
"@modern-js/uni-builder": "0.0.0-next-20250512033455",
|
|
78
|
+
"@scripts/build": "0.0.0-next-20250512033455"
|
|
79
79
|
},
|
|
80
80
|
"peerDependencies": {
|
|
81
|
-
"@modern-js/runtime": "0.0.0-next-
|
|
81
|
+
"@modern-js/runtime": "0.0.0-next-20250512033455"
|
|
82
82
|
},
|
|
83
83
|
"peerDependenciesMeta": {
|
|
84
84
|
"@modern-js/runtime": {
|