Skip to content

Commit

Permalink
Addon-essentials: Remove docs from essentials (#9093)
Browse files Browse the repository at this point in the history
Addon-essentials: Remove docs from essentials
  • Loading branch information
shilman authored Dec 7, 2019
2 parents 8cca68d + 6f81b2d commit 9b2afd6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion addons/essentials/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
3 changes: 1 addition & 2 deletions addons/essentials/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import { logger } from '@storybook/node-logger';
type PresetOptions = {
actions?: any;
backgrounds?: any;
docs?: any;
knobs?: any;
links?: any;
viewport?: any;
Expand All @@ -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))
Expand Down

1 comment on commit 9b2afd6

@vercel
Copy link

@vercel vercel bot commented on 9b2afd6 Dec 7, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.