Skip to content

[Bug]: incorrect Stroybook version number in package.json #25811

Closed

Description

Describe the bug

Caret incorrectly added (report)

Running yarn dlx storybook@8.0.0-alpha.14 upgrade puts Storybook dependencies into the package.json with a caret, although it should be listed without.

Caret incorrectly omitted (report)

After installation, exact version numbers are added to the package.json instead of versions with a caret specifier.

Doubled version number (report)

If you then run npx storybook@next add @storybook/addon-themes@8.0.0-alpha.14, it will try to install @storybook/addon-themes@8.0.0-alpha.14@^8.0.0-alpha.14. (first, it probably shouldn't use the caret, second there's the parsing issue)

image

To Reproduce

No response

System

Project: React Vite sandbox with yarn pnp
Version: 8.0.0-alpha.14

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Type

No type

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions