Skip to content
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

Router: Add storyNameFromExport to avoid breaking changes #9320

Merged
merged 2 commits into from
Jan 4, 2020

Conversation

shilman
Copy link
Member

@shilman shilman commented Jan 4, 2020

Issue: N/A

What I did

See #9099 (comment)

This was present in 5.2, and shouldn't be deleted until 6.0

How to test

N/A

@shilman shilman added the maintenance User-facing maintenance tasks label Jan 4, 2020
@vercel
Copy link

vercel bot commented Jan 4, 2020

This pull request is being automatically deployed with ZEIT Now (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://zeit.co/storybook/monorepo/gwyetm0cq
✅ Preview: https://monorepo-git-shilman-fix-router-exports.storybook.now.sh

@shilman shilman requested a review from Hypnosphi January 4, 2020 01:16
@shilman shilman added bug and removed maintenance User-facing maintenance tasks labels Jan 4, 2020
@shilman shilman added this to the 5.3.0 milestone Jan 4, 2020
@@ -2,7 +2,7 @@ import qs from 'qs';
import memoize from 'memoizerific';

// FIXME: Remove in SB 6.0
export { toId, parseKind, sanitize } from '@storybook/csf';
export { toId, parseKind, sanitize, storyNameFromExport } from '@storybook/csf';
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we can also wrap those re-exports in deprecate, to stimulate migration

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea!

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

Successfully merging this pull request may close these issues.

2 participants