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

add backwards support for manager-api package rename #20006

Merged
merged 3 commits into from
Nov 29, 2022

Conversation

ndelangen
Copy link
Member

@ndelangen ndelangen commented Nov 29, 2022

Issue:

I got this report:
https://cdn.discordapp.com/attachments/915642585761075280/1047054415040876614/Screenshot_2022-11-29_at_08.39.50.png

What I did

I think might be because the api package was renamed to manager-api, but I did not add an alias for it, or add it to the globals definitions object.

Honestly I would have figured this to be effectively handled by the code here:

export * from '@storybook/manager-api';

But maybe not?
Perhaps version conflicts can appear now, that still have the actual code, which is a problem.

If that's the case, this change should fix that.

@ndelangen ndelangen added the bug label Nov 29, 2022
@ndelangen ndelangen self-assigned this Nov 29, 2022
@ndelangen ndelangen merged commit d2d835f into next Nov 29, 2022
@ndelangen ndelangen deleted the fix/add-legacy-manager-alias branch November 29, 2022 23:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants