Skip to content

[BUG] emulsify init command for Standalone starter theme installs Storybook 7 instead of 8 #347

@brunorios1

Description

@brunorios1

Describe the bug
I'm trying to create a Drupal standalone theme, without relying on the Drupal emulsify theme as a base theme.
I'm following the instructions on the "Standalone (for prototyping outside of a CMS install)" section of this page: https://www.emulsify.info/docs/emulsify-drupal
The problem is that when I run emulsify init "My Awesome Theme" --platform drupal ., I get Storybook 7 although emulsify-core already supports Storybook 8.
The same problem happens if I try to create a platform agnostic theme omitting the --platform flag, like this: emulsify init "My Awesome Theme" .

Image

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Emulsify (Drupal) Standalone installation docs'
  2. In terminal, run emulsify init "My Awesome Theme" --platform drupal .
  3. Open package.json in the root of the generated "my_awesome_theme" standalone theme folder.
  4. See "storybook": "^7.5.1" in "dependencies".

Expected behavior
Storybook 8 is expected since emulsify-core already supports it.

Additional Context
$ emulsify --version
1.11.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions