Angular Build Architect builder for ng-packagr library packaging (deprecated)
89
{
"context": "This criteria evaluates how well the engineer utilizes the @angular-devkit/architect package's BuilderContext API to implement a status-reporting builder. The focus is on proper usage of context methods for metadata access, status reporting, progress tracking, and lifecycle management.",
"type": "weighted_checklist",
"checklist": [
{
"name": "BuilderContext Usage",
"description": "Uses BuilderContext parameter correctly in the executeStatusReporter function signature to access workspace and build information",
"max_score": 10
},
{
"name": "Metadata Retrieval",
"description": "Uses context.getProjectMetadata() or context.target to access project information from the workspace configuration",
"max_score": 20
},
{
"name": "Status Reporting",
"description": "Uses context.reportStatus() to report status messages at different phases (starting, in-progress, completed) of the build lifecycle",
"max_score": 25
},
{
"name": "Progress Reporting",
"description": "Uses context.reportProgress() with appropriate current and total parameters to show incremental build progress (e.g., 1/3, 2/3, 3/3)",
"max_score": 25
},
{
"name": "Teardown Registration",
"description": "Uses context.addTeardown() to register a cleanup function that executes after the builder completes",
"max_score": 15
},
{
"name": "Builder Registration",
"description": "Uses createBuilder() from @angular-devkit/architect to properly register the builder function and export it as default",
"max_score": 5
}
]
}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