Skip to content

Commit 936bfc4

Browse files
committed
fix: add semver 7.x to fix storybook build in CI
Storybook 10 imports semver/functions/sort.js which only exists in semver 7.x. The root-level semver was 6.x (needed by babel), causing ESM resolution in Node 20.x to fail in CI. Adding semver ^7.x as a direct dependency forces the root-level version to 7.x, which is backwards compatible with 6.x consumers.
1 parent e2b72c4 commit 936bfc4

File tree

2 files changed

+23
-39
lines changed

2 files changed

+23
-39
lines changed

0 commit comments

Comments
 (0)