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

Framework main.js field for v7 store #16296

Closed
5 tasks
shilman opened this issue Oct 11, 2021 · 1 comment
Closed
5 tasks

Framework main.js field for v7 store #16296

shilman opened this issue Oct 11, 2021 · 1 comment

Comments

@shilman
Copy link
Member

shilman commented Oct 11, 2021

Before:

addons: ['@storybook/react', '@storybook/addon-essentials']

After:

framework: '@storybook/react',
addons: ['@storybook/addon-essentials']
  • Add to builder/presets handling
  • Add framework: x to CLI for forward-compatibility
  • Add error handling (when you don't provide it, or when there's bad exports)
  • Add documentation
  • Local framework definition?

Frameworks

A framework must provide:

In addition can be a preset that provides various other preset functions (webpack, etc.)

@shilman
Copy link
Member Author

shilman commented Oct 19, 2021

Yo-ho-ho!! I just released https://github.com/storybookjs/storybook/releases/tag/v6.4.0-beta.15 containing PR #16393 that references this issue. Upgrade today to the @next NPM tag to try it out!

npx sb upgrade --prerelease

Closing this issue. Please re-open if you think there's still more to do.

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

No branches or pull requests

1 participant