CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/npm-babel--preset-stage-0

Deprecated Babel preset for stage 0 plugins that provides migration guidelines to explicit plugin configurations

80

1.21x
Overview
Eval results
Files

rubric.jsonevals/scenario-4/

{
  "context": "Evaluates whether the solution relies on @babel/core configuration resolution to build the summary of presets and plugins, honoring environment and caller metadata. Checks focus on using Babel APIs to load config, expand config items, and report the resolved file paths and options.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Config loading",
      "description": "Uses @babel/core config resolution (e.g., loadPartialConfig or loadOptions) with the provided cwd/filename instead of manually reading config files, and captures the discovered config path.",
      "max_score": 25
    },
    {
      "name": "Env and caller",
      "description": "Passes envName and caller values through to the Babel config loader so env- or caller-guarded presets/plugins appear only when the metadata matches.",
      "max_score": 20
    },
    {
      "name": "Preset resolution",
      "description": "Normalizes presets via Babel helpers (resolvePreset, createConfigItem, or ConfigItem data from loadPartialConfig) to extract ordered names, options, and absolute file paths rather than manual string handling.",
      "max_score": 20
    },
    {
      "name": "Plugin resolution",
      "description": "Normalizes plugins using Babel helpers (resolvePlugin, createConfigItem, or ConfigItem data) to produce ordered names, options, and absolute file paths based on Babel's resolution rather than custom parsing.",
      "max_score": 20
    },
    {
      "name": "Resolved paths",
      "description": "Derives configPath and item file locations directly from Babel resolution outputs (e.g., config.options.configFile/babelrc and ConfigItem.file), ensuring reported paths match Babel's resolved absolute paths.",
      "max_score": 15
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/npm-babel--preset-stage-0

tile.json