feat(build): add channel-base package to build order

This adds the new channel-base package to the build order, positioned
before cli since cli depends on it.

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
This commit is contained in:
tanzhenxin 2026-03-27 08:17:00 +00:00
parent a700ce8186
commit 5dfcfd63c0

View file

@ -37,14 +37,16 @@ execSync('npm run generate', { stdio: 'inherit', cwd: root });
// 1. test-utils (no internal dependencies)
// 2. core (foundation package)
// 3. web-templates (embeddable web templates - used by cli)
// 4. cli (depends on core, test-utils, web-templates)
// 5. webui (shared UI components - used by vscode companion)
// 6. sdk (no internal dependencies)
// 7. vscode-ide-companion (depends on webui)
// 4. channel-base (base channel infrastructure - used by channel adapters and cli)
// 5. cli (depends on core, test-utils, web-templates, channel-base)
// 6. webui (shared UI components - used by vscode companion)
// 7. sdk (no internal dependencies)
// 8. vscode-ide-companion (depends on webui)
const buildOrder = [
'packages/test-utils',
'packages/core',
'packages/web-templates',
'packages/channels/base',
'packages/cli',
'packages/webui',
'packages/sdk-typescript',