CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/npm-grunt-env

Grunt plugin for specifying environment variable configurations in task chains

81

0.98x
Overview
Eval results
Files

rubric.jsonevals/scenario-4/

{
  "context": "Evaluates how effectively the solution leverages grunt-env to ingest environment variables from external config files via the src pipeline. Emphasizes using built-in parsing and merge behaviors rather than reimplementing them.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Env task src",
      "description": "Configures the grunt-env `env` multi-task with the provided file paths using the `src` field so the plugin applies parsed values to process.env instead of hand-rolled parsing.",
      "max_score": 30
    },
    {
      "name": "Format coverage",
      "description": "Relies on grunt-env parsing support (or `grunt-env/lib/utils.parse`) to handle .env/INI, JSON, and YAML files in the `src` list without reimplementing format readers.",
      "max_score": 25
    },
    {
      "name": "Order precedence",
      "description": "Preserves the ordering of the `src` array so later files override earlier ones, using grunt-env's merging behavior rather than custom merge logic that loses sequence.",
      "max_score": 25
    },
    {
      "name": "Override control",
      "description": "Implements the preserve-existing option by using grunt-env capabilities (e.g., `options.add`/`replace` or equivalent plugin flags) to avoid overwriting pre-set environment variables when requested.",
      "max_score": 20
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/npm-grunt-env

tile.json