@zhin.js/plugin-60s 1.1.3 → 1.1.5

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.
Files changed (2) hide show
  1. package/README.md +2 -4
  2. package/package.json +6 -6
package/README.md CHANGED
@@ -7,14 +7,12 @@
7
7
  ## 安装
8
8
 
9
9
  ```bash
10
- npm install @zhin.js/plugin-60s
11
- # 或
12
- pnpm add @zhin.js/plugin-60s
10
+ pnpm exec zhin install @zhin.js/plugin-60s
13
11
  ```
14
12
 
15
13
  ## 配置
16
14
 
17
- 在 `zhin.config.yml` 中添加插件:
15
+ 在应用目录运行安装命令,会安装依赖并挂载到 `package.json#zhin.plugins`,实例名为 `60s`。在 `zhin.config.yml` 的实例节点修改配置:
18
16
 
19
17
  ```yaml
20
18
  plugins:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zhin.js/plugin-60s",
3
- "version": "1.1.3",
3
+ "version": "1.1.5",
4
4
  "description": "60s API aggregation plugin for Zhin.js — news, weather, hot searches, utilities (Plugin Runtime)",
5
5
  "type": "module",
6
6
  "main": "./lib/index.js",
@@ -46,19 +46,19 @@
46
46
  },
47
47
  "license": "MIT",
48
48
  "dependencies": {
49
- "@zhin.js/tool": "1.1.3",
50
- "@zhin.js/skill": "1.1.3"
49
+ "@zhin.js/tool": "1.1.5",
50
+ "@zhin.js/skill": "1.1.5"
51
51
  },
52
52
  "devDependencies": {
53
53
  "typescript": "^6.0.3",
54
54
  "vitest": "^4.1.10",
55
55
  "zod": "^4.4.3",
56
- "zhin.js": "1.1.5"
56
+ "zhin.js": "1.1.8"
57
57
  },
58
58
  "peerDependencies": {
59
59
  "zod": "^4.0.0",
60
- "@zhin.js/command": "^1.1.4",
61
- "zhin.js": "^1.1.5"
60
+ "@zhin.js/command": "^1.1.6",
61
+ "zhin.js": "^1.1.8"
62
62
  },
63
63
  "peerDependenciesMeta": {
64
64
  "@zhin.js/command": {