diff --git a/addons/essentials/package.json b/addons/essentials/package.json index c11a6f0bec40..6dd44c19c7b1 100644 --- a/addons/essentials/package.json +++ b/addons/essentials/package.json @@ -29,7 +29,6 @@ "dependencies": { "@storybook/addon-actions": "5.3.0-beta.19", "@storybook/addon-backgrounds": "5.3.0-beta.19", - "@storybook/addon-docs": "5.3.0-beta.19", "@storybook/addon-knobs": "5.3.0-beta.19", "@storybook/addon-links": "5.3.0-beta.19", "@storybook/addon-viewport": "5.3.0-beta.19", diff --git a/addons/essentials/src/index.ts b/addons/essentials/src/index.ts index 6f823726a56c..e54700b9284b 100644 --- a/addons/essentials/src/index.ts +++ b/addons/essentials/src/index.ts @@ -4,7 +4,6 @@ import { logger } from '@storybook/node-logger'; type PresetOptions = { actions?: any; backgrounds?: any; - docs?: any; knobs?: any; links?: any; viewport?: any; @@ -27,7 +26,7 @@ const isInstalled = (addon: string) => { const makeAddon = (key: string) => `@storybook/addon-${key}`; export function presets(options: PresetOptions = {}) { - const presetAddons = ['docs', 'knobs'] + const presetAddons = ['knobs'] .filter(key => (options as any)[key] !== false) .map(key => makeAddon(key)) .filter(addon => !isInstalled(addon))