CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/npm-storybook--builder-webpack4

Webpack 4-based builder for Storybook that provides framework-agnostic build engine for preview iframe compilation and bundling.

91

1.01x
Overview
Eval results
Files

rubric.jsonevals/scenario-8/

{
  "context": "This criteria evaluates the engineer's ability to use Storybook's configuration system to set up main and preview configuration files. The focus is on proper use of the stories array, addons array, framework object, and parameters object as defined by Storybook's configuration API.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Stories Array Configuration",
      "description": "Correctly configures the 'stories' array in main config with glob patterns (e.g., 'src/components/**/*.stories.js', 'src/pages/**/*.stories.js') to define story file locations. The array must contain exactly 2 patterns as specified.",
      "max_score": 25
    },
    {
      "name": "Addons Array Setup",
      "description": "Properly sets up the 'addons' array in main config with all 3 required addons: '@storybook/addon-essentials', '@storybook/addon-links', and '@storybook/addon-a11y'. Each addon must be registered correctly.",
      "max_score": 25
    },
    {
      "name": "Framework Configuration",
      "description": "Correctly configures the 'framework' property in main config with an object containing 'name' set to '@storybook/react-vite' (or equivalent React + Vite framework identifier). This demonstrates understanding of Storybook's framework selection API.",
      "max_score": 25
    },
    {
      "name": "Parameters Object",
      "description": "Properly exports a 'parameters' object in preview config containing 'layout' set to 'centered' and 'backgrounds' configured with the specified light and dark color values. This demonstrates understanding of Storybook's parameters system for global configuration.",
      "max_score": 25
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/npm-storybook--builder-webpack4

tile.json