chore(channels): add plugin-example to build pipeline and prepublish script

- Add plugin-example to build order in scripts/build.js
- Add prepublishOnly script to auto-build before npm publish

This ensures the plugin-example package is built during the main build process and automatically compiled before publishing to npm.

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
This commit is contained in:
tanzhenxin 2026-04-01 12:22:33 +08:00
parent 7bbd5e6471
commit f61517c40c
2 changed files with 3 additions and 1 deletions

View file

@ -51,6 +51,7 @@ const buildOrder = [
'packages/channels/telegram',
'packages/channels/weixin',
'packages/channels/dingtalk',
'packages/channels/plugin-example',
'packages/cli',
'packages/webui',
'packages/sdk-typescript',