CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/npm-update-notifier

Update notifications for your CLI app

Overall
score

97%

Overview
Eval results
Files

rubric.jsonevals/scenario-10/

{
  "context": "This criteria evaluates how well the engineer uses update-notifier's message templating capabilities, specifically focusing on custom message templates with placeholder substitution and boxen styling options.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Update notifier initialization",
      "description": "Correctly imports and initializes update-notifier with package information (pkg.name and pkg.version)",
      "max_score": 15
    },
    {
      "name": "Custom message template",
      "description": "Uses the message option in notify() to specify a custom message template string",
      "max_score": 20
    },
    {
      "name": "Placeholder substitution",
      "description": "Correctly uses template placeholders: {packageName}, {currentVersion}, {latestVersion}, and {updateCommand} in the custom message",
      "max_score": 25
    },
    {
      "name": "Boxen options configuration",
      "description": "Uses the boxenOptions parameter in notify() to configure box styling properties",
      "max_score": 20
    },
    {
      "name": "Border customization",
      "description": "Customizes border appearance using borderStyle and borderColor properties in boxenOptions",
      "max_score": 15
    },
    {
      "name": "Additional box styling",
      "description": "Applies additional boxen styling options such as padding, margin, or alignment",
      "max_score": 5
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/npm-update-notifier

tile.json