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 tool that automatically updates dependency versions across packages in a monorepo when package versions change. The tool should identify which packages depend on updated packages and synchronize their dependency declarations.
@generates
/**
* Finds all packages in the monorepo that depend on the specified package
* @param {string} packageName - The name of the package to check
* @returns {Promise<string[]>} Array of dependent package names
*/
async function findDependents(packageName) {
// IMPLEMENTATION HERE
}
/**
* Synchronizes dependency version references across packages after a version update
* @param {string} packageName - The package that was updated
* @param {string} newVersion - The new version of the package
* @returns {Promise<void>}
*/
async function syncDependencyVersions(packageName, newVersion) {
// IMPLEMENTATION HERE
}
/**
* Performs version bumping on packages in the monorepo
* @param {Object} options - Version bump options
* @param {string} options.bump - Version bump type: 'major', 'minor', or 'patch'
* @param {boolean} options.changedOnly - If true, only version packages with changes since last release
* @returns {Promise<Map<string, string>>} Map of package names to their new versions
*/
async function bumpVersions(options) {
// IMPLEMENTATION HERE
}
module.exports = {
findDependents,
syncDependencyVersions,
bumpVersions,
};Provides monorepo management and versioning capabilities, including package discovery, version bumping, change detection, and dependency graph analysis.
@satisfied-by