-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade storybook to v8.5.8 #917
Conversation
The file is TypeScript already, no need for type comments. Plus the type comment is outdated and pulls the wrong package. Signed-off-by: Simon Ser <[email protected]>
Currently the glob pattern matches too many files: it walks all of node_modules/ and tries to find stories in there. This is made more obvious with storybook v8.5.6, which warns about duplicate stories, for instance: ../node_modules/@osrd-project/ui-warped-map/src/stories/SampleMap.stories.ts,../ui-warped-map/src/stories/SampleMap.stories.ts: Duplicate stories with id: warpedmap-sample-maps--path-longer Make the glob pattern more restrictive to avoid this. Signed-off-by: Simon Ser <[email protected]>
Signed-off-by: Simon Ser <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM tested
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't need to update the package.json
as well ?
Here it's a bugfix version upgrade, so we don't need to (the code in this PR works fine with both the old and new versions of storybook). Side note, dependabot also doesn't update During a minor version upgrade, it's indeed best to bump the version in |
See individual commits.