chore: remove deprecated storybook plugin (#4309)

* fix babel warnings

* remove addon-info
This commit is contained in:
Jack Kavanagh authored and GitHub committed 2021-12-16 14:38:49 +00:00
1 parent dc56a993f9
commit b2c94ebbdb
4 files changed
+11 -3138

No files matched your search

@@ -0,0 +1,2 @@
/** @type { import('@babel/core').TransformOptions } */
module.exports = require('../../insomnia-app/.babelrc.js')
@@ -1,9 +1,7 @@
import { configure, addDecorator } from '@storybook/react';
import { withContexts } from '@storybook/addon-contexts/react';
import { contexts } from './configs/contexts';
import { withInfo } from '@storybook/addon-info';
addDecorator(withContexts(contexts));
addDecorator(withInfo({ inline: true }));
configure(require.context('../src', true, /\.stories\.tsx?$/), module);
File diff suppressed because it is too large. Load diff
@@ -36,7 +36,6 @@
"@babel/plugin-proposal-optional-chaining": "^7.12.7",
"@babel/plugin-transform-runtime": "^7.12.10",
"@storybook/addon-contexts": "^5.3.21",
"@storybook/addon-info": "^5.3.21",
"@storybook/addon-knobs": "^6.2.9",
"@storybook/react": "^6.2.9",
"@svgr/cli": "^5.5.0",
@@ -51,7 +50,6 @@
"@types/ramda": "^0.27.44",
"@types/react": "^16.14.5",
"@types/react-dom": "^16.9.12",
"@types/storybook__addon-info": "^5.2.3",
"@types/styled-components": "^4.4.3",
"@types/testing-library__jest-dom": "^5.9.5",
"@types/testing-library__react-hooks": "^4.0.0",