Phase G — Installs workspace dependencies and builds all workspace packages with the configured package manager.
const deps = new DependencyPhase();const result = await deps.Run({ Dir: '/path/to/install', Tag: 'v6.1.0', PackageManager: 'pnpm', Emitter: emitter });if (result.BuildPartial) { console.log('Partial build — CodeGen will fix remaining packages');} Copy
const deps = new DependencyPhase();const result = await deps.Run({ Dir: '/path/to/install', Tag: 'v6.1.0', PackageManager: 'pnpm', Emitter: emitter });if (result.BuildPartial) { console.log('Partial build — CodeGen will fix remaining packages');}
Execute the dependency phase: workspace scaffold, install, then build.
Dependency input with directory, package manager, and emitter.
Install/build status and collected warnings.
With code INSTALL_FAILED or INSTALL_TIMEOUT on install failure.
INSTALL_FAILED
INSTALL_TIMEOUT
With code BUILD_FAILED or BUILD_TIMEOUT on non-codegen build failure.
BUILD_FAILED
BUILD_TIMEOUT
Phase G — Installs workspace dependencies and builds all workspace packages with the configured package manager.
Example