noaignite / create-ignite-app

Boilerplate for React with Next.js and MUI
17 stars 2 forks source link

Storybook v7 #92

Closed maeertin closed 1 year ago

maeertin commented 1 year ago

This PR migrates to Storybook version 7.

Due to this upgrade stories should no longer be written in commonJS. This means that the src/pages.stories.js file can no longer automatically generate out pages based on the config from src/api/__mock__/cms/pages.js. Furthermore, story files are now prefixed with its component name. This was done to get storybook test runner to successfully perform smoke tests.

adamsoderstrom commented 1 year ago

Sweet, @maeertin! Will try to have a look later today.