@zhin.js/process-monitor 3.0.15 → 3.0.16
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/commands/process-status.js +1 -1
- package/commands/process-status.ts +1 -1
- package/package.json +7 -5
- package/plugin.js +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Generated by build-plugin-runtime-entries.mjs. Do not edit.
|
|
2
|
-
import { defineCommand } from '
|
|
2
|
+
import { defineCommand } from 'zhin.js/command';
|
|
3
3
|
import { formatProcessStatus } from "../lib/monitor.js";
|
|
4
4
|
export default defineCommand({
|
|
5
5
|
description: '查看进程监控状态(PID、运行时长、重启统计)',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zhin.js/process-monitor",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.16",
|
|
4
4
|
"description": "进程监控与重启通知插件 (Plugin Runtime)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./lib/index.js",
|
|
@@ -38,14 +38,13 @@
|
|
|
38
38
|
"directory": "plugins/features/process-monitor"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@zhin.js/
|
|
42
|
-
"@zhin.js/plugin-runtime": "1.1.6",
|
|
43
|
-
"@zhin.js/tool": "1.0.10"
|
|
41
|
+
"@zhin.js/tool": "1.0.11"
|
|
44
42
|
},
|
|
45
43
|
"devDependencies": {
|
|
46
44
|
"@types/node": "^26.1.2",
|
|
47
45
|
"typescript": "^6.0.3",
|
|
48
|
-
"vitest": "^4.1.10"
|
|
46
|
+
"vitest": "^4.1.10",
|
|
47
|
+
"zhin.js": "6.0.10"
|
|
49
48
|
},
|
|
50
49
|
"engines": {
|
|
51
50
|
"node": "^20.19.0 || >=22.12.0"
|
|
@@ -72,6 +71,9 @@
|
|
|
72
71
|
],
|
|
73
72
|
"plugins": []
|
|
74
73
|
},
|
|
74
|
+
"peerDependencies": {
|
|
75
|
+
"zhin.js": "6.0.10"
|
|
76
|
+
},
|
|
75
77
|
"scripts": {
|
|
76
78
|
"build": "tsc",
|
|
77
79
|
"clean": "rimraf lib",
|
package/plugin.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Generated by build-plugin-runtime-entries.mjs. Do not edit.
|
|
2
|
-
import { definePlugin } from '
|
|
2
|
+
import { definePlugin } from 'zhin.js';
|
|
3
3
|
import { resolveProcessMonitorConfig, startProcessMonitor, } from "./lib/monitor.js";
|
|
4
4
|
/**
|
|
5
5
|
* Process monitor Plugin Runtime cutover:
|