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

@ -19,7 +19,8 @@
"qwen-channel-plugin-example-server": "dist/start-server.js"
},
"scripts": {
"build": "tsc --build"
"build": "tsc --build",
"prepublishOnly": "npm run build"
},
"dependencies": {
"@qwen-code/channel-base": "file:../base",