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%
Build a command-line tool that runs tasks across multiple packages in a monorepo with filtering and output aggregation capabilities.
Your tool should:
The tool accepts:
The tool returns:
@generates
/**
* Executes an npm script across multiple packages in a monorepo
*
* @param {string} scriptName - The npm script to run (e.g., "build", "test")
* @param {Object} options - Configuration options
* @param {string[]} [options.scope] - Package name patterns to include
* @param {string[]} [options.ignore] - Package name patterns to exclude
* @param {string} [options.cwd] - Working directory containing the monorepo
* @returns {Promise<{success: boolean, results: Array<{package: string, success: boolean, error?: string}>}>}
*/
async function runScript(scriptName, options) {
// IMPLEMENTATION HERE
}
module.exports = {
runScript
};Provides monorepo management and task execution capabilities.
@satisfied-by