()
| 77 | } |
| 78 | |
| 79 | async function main() { |
| 80 | try { |
| 81 | console.log("🚀 Starting package builds...\n"); |
| 82 | |
| 83 | // Phase 1: Build foundation packages (no local dependencies) |
| 84 | await buildPackagesInParallel(["config-types", "terminal-security"]); |
| 85 | |
| 86 | // Phase 2: Build packages that depend on config-types |
| 87 | await buildPackagesInParallel(["fetch", "config-yaml", "llm-info"]); |
| 88 | |
| 89 | // Phase 3: Build packages that depend on other local packages |
| 90 | await buildPackagesInParallel(["openai-adapters", "continue-sdk"]); |
| 91 | |
| 92 | console.log("🎉 All packages built successfully!"); |
| 93 | } catch (error) { |
| 94 | console.error("💥 Build failed:", error.message); |
| 95 | process.exit(1); |
| 96 | } |
| 97 | } |
| 98 | |
| 99 | if (require.main === module) { |
| 100 | main(); |
no test coverage detected