Create a new Lerna repo or upgrade an existing repo to the current version of Lerna
75
{
"context": "This criteria evaluates how well the engineer uses Lerna's independent versioning features to build a CLI tool for managing package versions in a monorepo. The focus is on proper usage of Lerna's init, version, and list commands with independent versioning mode.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Independent versioning initialization",
"description": "Uses `lerna init` with the `--independent` flag or sets `version: 'independent'` in lerna.json to properly configure the monorepo for independent versioning mode.",
"max_score": 25
},
{
"name": "Lerna version command",
"description": "Uses `lerna version` command to bump package versions. Should use appropriate flags such as `--no-git-tag-version`, `--no-push`, or `--yes` for non-interactive operation.",
"max_score": 25
},
{
"name": "Package-specific versioning",
"description": "Correctly targets specific packages for version bumping using package selection (e.g., using the package name as argument or filtering mechanisms) and specifies the version bump type (major, minor, patch).",
"max_score": 20
},
{
"name": "Lerna list command",
"description": "Uses `lerna list` or `lerna ls` command to display packages. May use flags like `--long`, `--json`, or `--all` to control output format.",
"max_score": 20
},
{
"name": "Non-interactive mode",
"description": "Properly configures Lerna commands to run without user prompts using flags like `--yes`, `--no-git-tag-version`, or similar non-interactive options.",
"max_score": 10
}
]
}Install with Tessl CLI
npx tessl i tessl/npm-lerna--initdocs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10