Running npm audit in data-bridge reports 1 high vulnerability, namely Storybook being updated with a semver-major version.
Updating to Storybook 6 is not a straightforward task, as data-bridge uses the following storybook packages which also need to be updated accordingly:
"@storybook/addon-a11y": "^5.3.21", "@storybook/addon-actions": "^5.3.21", "@storybook/addon-docs": "^5.3.21", "@storybook/addon-knobs": "^5.3.21", "@storybook/addon-links": "^5.3.21", "@storybook/addons": "^5.3.21", "@storybook/vue": "^5.3.21",
As expected, there are quite a few breaking changes. Luckily the Storybook team wrote a migration guide.
Acceptance criteria ⛺✨ :
- Storybook and all its packages used in data-bridge are updated to the latest major version 6
- All stories look and behave as before
- Optionally, the new syntax for writing stories is used instead of storiesOf(), as advised in step 3 of the migration guide, because the old way will be deprecated in version 7.
- Optionally, we use Storybook Controls, “the no-code successor to Knobs”.