MCPcopy Create free account
hub / github.com/continuedev/continue / main

Function main

scripts/build-packages.js:79–97  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

77}
78
79async 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
99if (require.main === module) {
100 main();

Callers 1

build-packages.jsFile · 0.70

Calls 3

buildPackagesInParallelFunction · 0.85
errorMethod · 0.80
logMethod · 0.65

Tested by

no test coverage detected