Can't parse components with `stories` in the name

Created on 19 February 2024, 4 months ago
Updated 13 March 2024, 3 months ago

Thanks for your work on this! I think it will add a lot more flexibility when writing stories.

Problem/Motivation

If a component has `stories` in it's name, the drush command will choke on the component's twig file.

Steps to reproduce

  1. Create an SD Component called related-stories with an associated related-stories.twig file.
  2. run drush storybook:generate-all-stories
  3. Notice the command fails when it tries to read related-stories.twig as if it were a stories.yml

Proposed resolution

Fix the regex filter.

πŸ“Œ Task
Status

Fixed

Version

1.0

Component

Other tooling

Created by

πŸ‡ΊπŸ‡ΈUnited States pixelwhip

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.69.0 2024