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

BREAKING CHANGEs in storybook #3024

Closed
4 tasks
droshev opened this issue Dec 26, 2021 · 0 comments · Fixed by #3036
Closed
4 tasks

BREAKING CHANGEs in storybook #3024

droshev opened this issue Dec 26, 2021 · 0 comments · Fixed by #3036

Comments

@droshev
Copy link
Contributor

droshev commented Dec 26, 2021

We are running our documentation on storybook.

Some of the latest version packages bring some breaking changes for us:

vendors~main~b9cf3951.b716f196.iframe.bundle.js:2 CSF .story annotations deprecated; annotate story functions directly:
- StoryFn.story.name => StoryFn.storyName
- StoryFn.story.(parameters|decorators) => StoryFn.(parameters|decorators)
See https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#hoisted-csf-annotations for details and codemod.
deprecated @ vendors~main~b9cf3951.b716f196.iframe.bundle.js:2
normalizeV2 @ vendors~main~253ae210.562d1fab.iframe.bundle.js:2
(anonymous) @ vendors~main~253ae210.562d1fab.iframe.bundle.js:2
(anonymous) @ vendors~main~253ae210.562d1fab.iframe.bundle.js:2
(anonymous) @ vendors~main~253ae210.562d1fab.iframe.bundle.js:2
ConfigApi.configure @ vendors~main~253ae210.562d1fab.iframe.bundle.js:2
(anonymous) @ vendors~main~253ae210.562d1fab.iframe.bundle.js:2
configure @ vendors~main~253ae210.562d1fab.iframe.bundle.js:2
(anonymous) @ main~6c8e061a.857d7267.iframe.bundle.js:1
917 @ main~6c8e061a.857d7267.iframe.bundle.js:1
__webpack_require__ @ runtime~main.5bc59b88.iframe.bundle.js:1
1055 @ main~798ab416.ed160f89.iframe.bundle.js:1
__webpack_require__ @ runtime~main.5bc59b88.iframe.bundle.js:1
checkDeferredModules @ runtime~main.5bc59b88.iframe.bundle.js:1
webpackJsonpCallback @ runtime~main.5bc59b88.iframe.bundle.js:1
(anonymous) @ main~2d53a87a.d202d6ce.iframe.bundle.js:1
vendors~main.81ed1c4760c25f8a6a33.manager.bundle.js:2 parameters.options.showRoots is deprecated and will be removed in Storybook 7.0.
To change this setting, use `addons.setConfig`. See https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#deprecated-immutable-options-parameters
  
deprecated @ vendors~main.81ed1c4760c25f8a6a33.manager.bundle.js:2
(anonymous) @ vendors~main.81ed1c4760c25f8a6a33.manager.bundle.js:2
checkDeprecatedOptionParameters @ vendors~main.81ed1c4760c25f8a6a33.manager.bundle.js:2
handler @ vendors~main.81ed1c4760c25f8a6a33.manager.bundle.js:2
(anonymous) @ vendors~main.81ed1c4760c25f8a6a33.manager.bundle.js:2
handleEvent @ vendors~main.81ed1c4760c25f8a6a33.manager.bundle.js:2
(anonymous) @ vendors~main.81ed1c4760c25f8a6a33.manager.bundle.js:2
handler @ vendors~main.81ed1c4760c25f8a6a33.manager.bundle.js:2
handleEvent @ vendors~main.81ed1c4760c25f8a6a33.manager.bundle.js:2
postMessage (async)
(anonymous) @ vendors~main~253ae210.562d1fab.iframe.bundle.js:2
send @ vendors~main~253ae210.562d1fab.iframe.bundle.js:2
handler @ vendors~main~253ae210.562d1fab.iframe.bundle.js:2
emit @ vendors~main~253ae210.562d1fab.iframe.bundle.js:2
StoryStore.pushToManager @ vendors~main~253ae210.562d1fab.iframe.bundle.js:2
finishConfiguring @ vendors~main~253ae210.562d1fab.iframe.bundle.js:2
ConfigApi.configure @ vendors~main~253ae210.562d1fab.iframe.bundle.js:2
(anonymous) @ vendors~main~253ae210.562d1fab.iframe.bundle.js:2
configure @ vendors~main~253ae210.562d1fab.iframe.bundle.js:2
(anonymous) @ main~6c8e061a.857d7267.iframe.bundle.js:1
917 @ main~6c8e061a.857d7267.iframe.bundle.js:1
__webpack_require__ @ runtime~main.5bc59b88.iframe.bundle.js:1
1055 @ main~798ab416.ed160f89.iframe.bundle.js:1
__webpack_require__ @ runtime~main.5bc59b88.iframe.bundle.js:1
checkDeferredModules @ runtime~main.5bc59b88.iframe.bundle.js:1
webpackJsonpCallback @ runtime~main.5bc59b88.iframe.bundle.js:1
(anonymous) @ main~2d53a87a.d202d6ce.iframe.bundle.js:1
vendors~main.81ed1c4760c25f8a6a33.manager.bundle.js:2 parameters.options.theme is deprecated and will be removed in Storybook 7.0.
To change this setting, use `addons.setConfig`. See https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#deprecated-immutable-options-parameters
@droshev droshev added this to the Sprint 78 - New York milestone Dec 26, 2021
@droshev droshev changed the title migrate to the latest storybook BREAKING CHANGEs in storybook Dec 26, 2021
@platon-rov platon-rov mentioned this issue Dec 29, 2021
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants