CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/npm-lerna--init

Create a new Lerna repo or upgrade an existing repo to the current version of Lerna

75

1.36x
Overview
Eval results
Files

rubric.jsonevals/scenario-6/

{
  "context": "This criteria evaluates how well the engineer uses Lerna's workspace management and cleanup capabilities to build a monorepo cleanup tool. The focus is on proper utilization of Lerna's package discovery, filtering, and cleanup commands.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Package Discovery",
      "description": "Uses Lerna's package discovery functionality (e.g., 'lerna list' or 'lerna ls' command, or @lerna/project class) to identify all packages in the workspace",
      "max_score": 25
    },
    {
      "name": "Cleanup Command Usage",
      "description": "Uses Lerna's clean command (e.g., 'lerna clean' via child_process or @lerna/clean module) to remove node_modules directories from packages",
      "max_score": 30
    },
    {
      "name": "Package Filtering",
      "description": "Implements scoped cleaning using Lerna's filtering options (e.g., --scope flag or package filtering methods) to target specific packages by pattern",
      "max_score": 20
    },
    {
      "name": "Dry-Run Mode",
      "description": "Implements preview functionality using Lerna's capabilities to show what would be cleaned without performing actual cleanup (e.g., listing packages and checking for node_modules existence, or using appropriate Lerna flags)",
      "max_score": 15
    },
    {
      "name": "Command Integration",
      "description": "Properly integrates with Lerna's command-line interface or programmatic API, handling command execution and output appropriately",
      "max_score": 10
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/npm-lerna--init

tile.json