Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions scripts/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,11 @@ execSync('npm run generate', { stdio: 'inherit', cwd: root });
// 2. web-templates (embeddable web templates - used by cli)
// 3. channel-base (base channel infrastructure - used by channel adapters and cli)
// 4. channel adapters (depend on channel-base)
// 5. cli (depends on core, web-templates, channel packages)
// 6. webui (shared UI components - used by vscode companion)
// 7. sdk (no internal dependencies)
// 8. vscode-ide-companion (depends on webui)
// 5. acp-bridge (depends on core - used by cli)
// 6. cli (depends on core, acp-bridge, web-templates, channel packages)
// 7. webui (shared UI components - used by vscode companion)
// 8. sdk (no internal dependencies)
// 9. vscode-ide-companion (depends on webui)
const buildOrder = [
'packages/core',
'packages/web-templates',
Expand All @@ -50,6 +51,7 @@ const buildOrder = [
'packages/channels/weixin',
'packages/channels/dingtalk',
'packages/channels/plugin-example',
'packages/acp-bridge',
'packages/cli',
'packages/webui',
'packages/sdk-typescript',
Expand Down
5 changes: 4 additions & 1 deletion scripts/version.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,11 @@ if (cliPackageJson.config?.sandboxImageUri) {
}

// 7. Run `npm install` to update package-lock.json.
// --ignore-scripts prevents the root `prepare` lifecycle from triggering a
// redundant full build that fails with TS5055 when dist/ already exists from
// the initial `npm ci` install.
run(
'npm install --workspace packages/cli --workspace packages/core --workspace packages/channels/base --workspace packages/channels/plugin-example --package-lock-only',
'npm install --workspace packages/cli --workspace packages/core --workspace packages/channels/base --workspace packages/channels/plugin-example --package-lock-only --ignore-scripts',
);

console.log(`Successfully bumped versions to v${newVersion}.`);
Loading