tessl install tessl/npm-lerna--init@6.6.0Create a new Lerna repo or upgrade an existing repo to the current version of Lerna
Agent Success
Agent success rate when using this tile
75%
Improvement
Agent success rate improvement when using this tile compared to baseline
1.36x
Baseline
Agent success rate without this tile
55%
{
"context": "This criteria evaluates how well the engineer uses Lerna's task caching and optimization capabilities to configure a monorepo for improved build performance. The focus is on properly utilizing Lerna's caching infrastructure, including cache configuration, task output definitions, and task dependency pipelines.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Lerna initialization",
"description": "Uses Lerna commands or APIs to initialize or configure the monorepo caching system (e.g., spawning 'lerna add-caching', 'lerna init', or programmatically configuring lerna.json/nx.json)",
"max_score": 25
},
{
"name": "Cache configuration file",
"description": "Creates or modifies nx.json or lerna.json to enable task caching with appropriate structure including targetDefaults or cacheableOperations",
"max_score": 20
},
{
"name": "Cacheable tasks definition",
"description": "Properly defines which tasks/scripts are cacheable by configuring target defaults or cacheable operations in the configuration (e.g., specifying 'build' and 'test' as cacheable targets)",
"max_score": 20
},
{
"name": "Task output patterns",
"description": "Specifies output patterns for cacheable tasks using the outputs property in nx.json targetDefaults (e.g., outputs: ['{projectRoot}/dist/**', '{projectRoot}/build/**'])",
"max_score": 20
},
{
"name": "Task dependencies pipeline",
"description": "Configures task execution order using dependsOn property in nx.json targetDefaults to define which tasks must complete before others (e.g., test depends on build)",
"max_score": 15
}
]
}