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-10/

{
  "context": "This evaluation assesses the engineer's ability to use Lerna's versioning functionality, specifically the --build-metadata flag for adding semver-compatible build metadata to package versions. The criteria focus exclusively on proper usage of Lerna's API and commands.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Lerna version command",
      "description": "Uses Lerna's 'version' command (e.g., via 'lerna version' CLI or programmatic API) to perform version bumps",
      "max_score": 30
    },
    {
      "name": "Build metadata flag",
      "description": "Correctly uses the --build-metadata flag/option when invoking Lerna's version command to append custom build metadata",
      "max_score": 25
    },
    {
      "name": "Version bump types",
      "description": "Properly passes version bump types (patch, minor, major) to Lerna's version command",
      "max_score": 20
    },
    {
      "name": "Metadata format",
      "description": "Build metadata is correctly formatted according to semver specification (appended with + prefix, no modification of the metadata string itself needed as Lerna handles this)",
      "max_score": 15
    },
    {
      "name": "Conditional metadata",
      "description": "Correctly handles the optional nature of build metadata - only passes --build-metadata to Lerna when metadata is provided by the user",
      "max_score": 10
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/npm-lerna--init

tile.json