Angular Build Architect builder for ng-packagr library packaging (deprecated)
89
{
"context": "This criteria evaluates how well the engineer understands and implements the @angular-devkit/build-ng-packagr package's build caching capabilities. The focus is on correctly implementing environment-aware caching, version-isolated cache directories, and stale cache purging as implemented in the package's cache management system.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Environment-aware caching",
"description": "Correctly implements the three caching environment modes ('local', 'ci', 'all') with proper logic to check the environment type against the cacheMetadata.environment setting, matching the behavior described in the package's cache strategy system.",
"max_score": 25
},
{
"name": "WebContainer detection",
"description": "Properly disables caching when isWebContainer is true, regardless of other settings, matching the package's behavior for browser-based environments like StackBlitz.",
"max_score": 15
},
{
"name": "Cache enabled override",
"description": "Correctly handles the cacheMetadata.enabled boolean property as an override that takes precedence when explicitly set to false, following the package's explicit enable/disable pattern.",
"max_score": 15
},
{
"name": "Version-isolated paths",
"description": "Generates cache directory paths in the format 'baseDirectory/v{majorVersion}/{packageName}' that isolates caches by Angular version, matching the package's version isolation strategy (e.g., '.angular/cache/v19/ng-packagr').",
"max_score": 20
},
{
"name": "Stale cache purging",
"description": "Implements purgeStaleCache to identify and remove cache directories from previous versions while preserving the current version's cache, using asynchronous file system operations similar to the package's parallel purging approach.",
"max_score": 25
}
]
}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