Angular Build Architect builder for ng-packagr library packaging (deprecated)
89
Build a simple library build status reporter that uses the Angular Architect builder system to execute an ng-packagr build and report its status.
Your solution should implement a function that:
success: boolean indicating if the build succeededduration: number representing the build duration in millisecondserror: optional string with error message if the build failedThe function should:
@generates
export interface BuildStatusResult {
success: boolean;
duration: number;
error?: string;
}
export function buildLibraryAndReport(
projectPath: string,
tsConfigPath: string,
context: BuilderContext
): Promise<BuildStatusResult>;Provides the Angular Architect builder for ng-packagr library packaging.
Provides the BuilderContext interface for builder execution.
Provides Observable utilities for handling asynchronous build operations.
Install with Tessl CLI
npx tessl i tessl/npm-angular-devkit--build-ng-packagrdocs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10