create-zhin-app 1.0.61 → 1.0.62
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-zhin-app",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.62",
|
|
4
4
|
"description": "Create a new zhin bot project",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"fs-extra": "^11.4.0",
|
|
16
16
|
"inquirer": "^14.0.2",
|
|
17
17
|
"yaml": "^2.9.0",
|
|
18
|
-
"@zhin.js/scaffold-wizard": "0.2.
|
|
18
|
+
"@zhin.js/scaffold-wizard": "0.2.5"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
21
|
"@types/fs-extra": "^11.0.4",
|
|
@@ -20,7 +20,7 @@ tags:
|
|
|
20
20
|
|
|
21
21
|
引导创建一个符合 **Plugin Runtime** 的新插件。唯一启动路径是 `zhin runtime start`;插件即 package,`plugin.ts` 必须 default-export `definePlugin()`。
|
|
22
22
|
|
|
23
|
-
**禁止**再脚手架 `usePlugin()` / `MessageCommand` / `src/index.ts`
|
|
23
|
+
**禁止**再脚手架 `usePlugin()` / `MessageCommand` / `src/index.ts` 命令式注册——`zhin.js/node` 与 `bootstrapNode` 已删除,唯一入口是 Plugin Runtime。
|
|
24
24
|
|
|
25
25
|
## 适用场景
|
|
26
26
|
|