diff --git a/addons/essentials/package.json b/addons/essentials/package.json index 5780270ffce..cb5ac9480ce 100644 --- a/addons/essentials/package.json +++ b/addons/essentials/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-essentials", - "version": "5.3.0-beta.16", + "version": "5.3.0-beta.18", "description": "Curated addons to bring out the best of Storybook", "keywords": [ "addon", @@ -27,15 +27,15 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addon-actions": "5.3.0-beta.16", - "@storybook/addon-backgrounds": "5.3.0-beta.16", - "@storybook/addon-docs": "5.3.0-beta.16", - "@storybook/addon-knobs": "5.3.0-beta.16", - "@storybook/addon-links": "5.3.0-beta.16", - "@storybook/addon-viewport": "5.3.0-beta.16", - "@storybook/addons": "5.3.0-beta.16", - "@storybook/api": "5.3.0-beta.16", - "@storybook/node-logger": "5.3.0-beta.16", + "@storybook/addon-actions": "5.3.0-beta.18", + "@storybook/addon-backgrounds": "5.3.0-beta.18", + "@storybook/addon-docs": "5.3.0-beta.18", + "@storybook/addon-knobs": "5.3.0-beta.18", + "@storybook/addon-links": "5.3.0-beta.18", + "@storybook/addon-viewport": "5.3.0-beta.18", + "@storybook/addons": "5.3.0-beta.18", + "@storybook/api": "5.3.0-beta.18", + "@storybook/node-logger": "5.3.0-beta.18", "ts-dedent": "^1.1.0" }, "devDependencies": { diff --git a/examples/cra-ts-essentials/.storybook/config.ts b/examples/cra-ts-essentials/.storybook/config.ts deleted file mode 100644 index 0a0a64e2816..00000000000 --- a/examples/cra-ts-essentials/.storybook/config.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { configure } from '@storybook/react'; - -// automatically import all files ending in *.stories.(tsx|jsx) -configure(require.context('../src/stories', true, /\.stories\.[tj]sx?$/), module); diff --git a/examples/cra-ts-essentials/.storybook/main.js b/examples/cra-ts-essentials/.storybook/main.js new file mode 100644 index 00000000000..1fe1cb3ce2d --- /dev/null +++ b/examples/cra-ts-essentials/.storybook/main.js @@ -0,0 +1,12 @@ +module.exports = { + stories: ['../src/**/*.stories.tsx'], + presets: [ + '@storybook/preset-create-react-app', + { + name: '@storybook/addon-essentials', + options: { + backgrounds: false, + }, + }, + ], +}; diff --git a/examples/cra-ts-essentials/.storybook/presets.js b/examples/cra-ts-essentials/.storybook/presets.js deleted file mode 100644 index d8c66cc2673..00000000000 --- a/examples/cra-ts-essentials/.storybook/presets.js +++ /dev/null @@ -1,9 +0,0 @@ -module.exports = [ - '@storybook/preset-create-react-app', - { - name: '@storybook/addon-essentials', - options: { - backgrounds: false, - }, - }, -]; diff --git a/examples/cra-ts-essentials/package.json b/examples/cra-ts-essentials/package.json index 47b06343f7d..36a4af0e123 100644 --- a/examples/cra-ts-essentials/package.json +++ b/examples/cra-ts-essentials/package.json @@ -1,6 +1,6 @@ { "name": "cra-ts-essentials", - "version": "5.3.0-beta.16", + "version": "5.3.0-beta.18", "private": true, "scripts": { "build": "react-scripts build", @@ -36,9 +36,9 @@ "typescript": "3.7.2" }, "devDependencies": { - "@storybook/addon-essentials": "5.3.0-beta.16", - "@storybook/addons": "5.3.0-beta.16", + "@storybook/addon-essentials": "5.3.0-beta.18", + "@storybook/addons": "5.3.0-beta.18", "@storybook/preset-create-react-app": "^1.2.0", - "@storybook/react": "5.3.0-beta.16" + "@storybook/react": "5.3.0-beta.18" } }