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.
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 fromsrc/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.