@zhin.js/plugin-group-suite 2.0.1 → 3.0.0
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/README.md +3 -3
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -26,8 +26,8 @@ node scripts/deprecate-group-legacy-packages.mjs
|
|
|
26
26
|
```yaml
|
|
27
27
|
plugins:
|
|
28
28
|
- "@zhin.js/plugin-group-suite"
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
|
|
30
|
+
# 可选:stats / 群分析 等 html 段自动出图(pnpm add @zhin.js/html-renderer,无需写 plugins 列表)
|
|
31
31
|
|
|
32
32
|
database:
|
|
33
33
|
dialect: sqlite
|
|
@@ -64,7 +64,7 @@ groupSuite:
|
|
|
64
64
|
|
|
65
65
|
`stats`、`mystats`、`群分析` 等命令返回 **`segment.html({ html })`**,由出站链统一处理:
|
|
66
66
|
|
|
67
|
-
- 安装 **`@zhin.js/
|
|
67
|
+
- 安装 **`@zhin.js/html-renderer`**(`pnpm add`,无需 plugins 列表)→ 自动渲染为 PNG 卡片
|
|
68
68
|
- 未安装 → core 从 HTML 自动剥离纯文本(零业务侧 detect)
|
|
69
69
|
|
|
70
70
|
卡片 HTML 在 `stats-card.ts` / `analysis-card.ts` 中用 **`@zhin.js/satori`** 的 `h()` 与内置组件构建,视觉对齐 test-bot 的 `zt-report-card`。
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zhin.js/plugin-group-suite",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0",
|
|
4
4
|
"description": "Zhin.js 群运营套件 — 群管、签到、统计、日常分析、问答(合并原 5 个插件)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./lib/index.js",
|
|
@@ -39,19 +39,19 @@
|
|
|
39
39
|
},
|
|
40
40
|
"license": "MIT",
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@zhin.js/satori": "0.
|
|
42
|
+
"@zhin.js/satori": "1.0.15"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"typescript": "^6.0.3",
|
|
46
|
-
"
|
|
47
|
-
"zhin.js": "
|
|
46
|
+
"zhin.js": "4.1.0",
|
|
47
|
+
"@zhin.js/html-renderer": "1.0.1"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|
|
50
|
-
"zhin.js": "4.0
|
|
51
|
-
"@zhin.js/
|
|
50
|
+
"zhin.js": "4.1.0",
|
|
51
|
+
"@zhin.js/html-renderer": "1.0.1"
|
|
52
52
|
},
|
|
53
53
|
"peerDependenciesMeta": {
|
|
54
|
-
"@zhin.js/
|
|
54
|
+
"@zhin.js/html-renderer": {
|
|
55
55
|
"optional": true
|
|
56
56
|
}
|
|
57
57
|
},
|