From 98fa5cd11769cb03950649cea918cb62c6ff0d2f Mon Sep 17 00:00:00 2001 From: Dan Green Date: Mon, 11 Dec 2017 17:52:28 -0500 Subject: [PATCH 01/19] (#1736) Adds Ability to re-render a story programatically in react Also adds support for redux DevTools in react/client --- app/react/src/client/index.js | 9 ++++++++- app/react/src/client/preview/index.js | 10 +++++++++- 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/app/react/src/client/index.js b/app/react/src/client/index.js index da10136436b..889ca11bfa2 100644 --- a/app/react/src/client/index.js +++ b/app/react/src/client/index.js @@ -4,7 +4,14 @@ import deprecate from 'util-deprecate'; import { action as deprecatedAction } from '@storybook/addon-actions'; import { linkTo as deprecatedLinkTo } from '@storybook/addon-links'; -export { storiesOf, setAddon, addDecorator, configure, getStorybook } from './preview'; +export { + storiesOf, + setAddon, + addDecorator, + configure, + getStorybook, + forceReRender, +} from './preview'; export const action = deprecate( deprecatedAction, diff --git a/app/react/src/client/preview/index.js b/app/react/src/client/preview/index.js index 60508441eee..8aa17f744e8 100644 --- a/app/react/src/client/preview/index.js +++ b/app/react/src/client/preview/index.js @@ -20,7 +20,13 @@ const isBrowser = !(navigator.userAgent.indexOf('Node.js') > -1); const storyStore = new StoryStore(); -const reduxStore = createStore(reducer); +/* eslint-disable no-underscore-dangle */ +const reduxStore = createStore( + reducer, + window.__REDUX_DEVTOOLS_EXTENSION__ && + window.__REDUX_DEVTOOLS_EXTENSION__({ name: 'Storybook Preview', instanceId: 'sbPreview' }) +); +/* eslint-enable */ const context = { storyStore, reduxStore }; if (isBrowser) { @@ -53,3 +59,5 @@ const renderUI = () => { }; reduxStore.subscribe(renderUI); + +export const forceReRender = () => renderUI(); From 45f3a7f98e48c1bfeec0d7a2d9210e9701692cc3 Mon Sep 17 00:00:00 2001 From: Dan Green Date: Mon, 11 Dec 2017 18:46:55 -0500 Subject: [PATCH 02/19] (#1736) Add cra example for force re-render --- .../src/stories/force-rerender.stories.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 examples/cra-kitchen-sink/src/stories/force-rerender.stories.js diff --git a/examples/cra-kitchen-sink/src/stories/force-rerender.stories.js b/examples/cra-kitchen-sink/src/stories/force-rerender.stories.js new file mode 100644 index 00000000000..92b83adfdcc --- /dev/null +++ b/examples/cra-kitchen-sink/src/stories/force-rerender.stories.js @@ -0,0 +1,12 @@ +import React from 'react'; +import { storiesOf, forceReRender } from '@storybook/react'; + +let count = 0; +const increment = () => { + count += 1; + forceReRender(); +}; + +storiesOf('Force ReRender', module).add('button', () => ( + +)); From d4609e449e6644fd23e18c83416edd0a712ab9bb Mon Sep 17 00:00:00 2001 From: Dan Green Date: Tue, 26 Dec 2017 21:57:28 -0500 Subject: [PATCH 03/19] (#1736) Update forceReRender to not rely on a bug --- app/react/src/client/preview/index.js | 2 +- app/react/src/client/preview/render.js | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/react/src/client/preview/index.js b/app/react/src/client/preview/index.js index 8aa17f744e8..bb7723c1aa8 100644 --- a/app/react/src/client/preview/index.js +++ b/app/react/src/client/preview/index.js @@ -60,4 +60,4 @@ const renderUI = () => { reduxStore.subscribe(renderUI); -export const forceReRender = () => renderUI(); +export const forceReRender = () => render(context, true); diff --git a/app/react/src/client/preview/render.js b/app/react/src/client/preview/render.js index 1e16b7b1068..7f7a9e8ba1d 100644 --- a/app/react/src/client/preview/render.js +++ b/app/react/src/client/preview/render.js @@ -38,7 +38,7 @@ export function renderException(error) { logger.error(error.stack); } -export function renderMain(data, storyStore) { +export function renderMain(data, storyStore, forceRender) { if (storyStore.size() === 0) return null; const NoPreview = () =>

No Preview Available!

; @@ -55,7 +55,7 @@ export function renderMain(data, storyStore) { // renderMain() gets executed after each action. Actions will cause the whole // story to re-render without this check. // https://github.com/storybooks/react-storybook/issues/116 - if (selectedKind === previousKind && previousStory === selectedStory) { + if (!forceRender && selectedKind === previousKind && previousStory === selectedStory) { return null; } @@ -100,14 +100,14 @@ export function renderMain(data, storyStore) { return null; } -export default function renderPreview({ reduxStore, storyStore }) { +export default function renderPreview({ reduxStore, storyStore }, forceRender = false) { const state = reduxStore.getState(); if (state.error) { return renderException(state.error); } try { - return renderMain(state, storyStore); + return renderMain(state, storyStore, forceRender); } catch (ex) { return renderException(ex); } From 597387c8389dc631d97a724524b8f860f0830cca Mon Sep 17 00:00:00 2001 From: Dan Green Date: Wed, 27 Dec 2017 10:28:53 -0500 Subject: [PATCH 04/19] (#1736) Add forceReRender support for Angular and Vue --- app/angular/src/client/preview/index.js | 2 ++ app/angular/src/client/preview/render.js | 8 ++++---- app/react/src/client/preview/index.js | 6 +----- app/vue/src/client/preview/index.js | 2 ++ app/vue/src/client/preview/render.js | 8 ++++---- 5 files changed, 13 insertions(+), 13 deletions(-) diff --git a/app/angular/src/client/preview/index.js b/app/angular/src/client/preview/index.js index e24954c1785..be920eba40a 100644 --- a/app/angular/src/client/preview/index.js +++ b/app/angular/src/client/preview/index.js @@ -53,3 +53,5 @@ const renderUI = () => { }; reduxStore.subscribe(renderUI); + +export const forceReRender = () => render(context, true); diff --git a/app/angular/src/client/preview/render.js b/app/angular/src/client/preview/render.js index f7f8e71ba62..d53d9534227 100644 --- a/app/angular/src/client/preview/render.js +++ b/app/angular/src/client/preview/render.js @@ -22,7 +22,7 @@ export function renderException(error) { logger.error(error.stack); } -export function renderMain(data, storyStore) { +export function renderMain(data, storyStore, forceRender) { if (storyStore.size() === 0) return null; const { selectedKind, selectedStory } = data; @@ -39,7 +39,7 @@ export function renderMain(data, storyStore) { // https://github.com/storybooks/react-storybook/issues/116 const reRender = selectedKind !== previousKind || previousStory !== selectedStory; - if (reRender) { + if (reRender || forceRender) { // We need to unmount the existing set of components in the DOM node. // Otherwise, React may not recrease instances for every story run. // This could leads to issues like below: @@ -54,14 +54,14 @@ export function renderMain(data, storyStore) { return renderNgApp(story, context, reRender); } -export default function renderPreview({ reduxStore, storyStore }) { +export default function renderPreview({ reduxStore, storyStore }, forceRender = false) { const state = reduxStore.getState(); if (state.error) { return renderException(state.error); } try { - return renderMain(state, storyStore); + return renderMain(state, storyStore, forceRender); } catch (ex) { return renderException(ex); } diff --git a/app/react/src/client/preview/index.js b/app/react/src/client/preview/index.js index b241e551227..73371148635 100644 --- a/app/react/src/client/preview/index.js +++ b/app/react/src/client/preview/index.js @@ -22,11 +22,7 @@ const isBrowser = const storyStore = new StoryStore(); /* eslint-disable no-underscore-dangle */ -const reduxStore = createStore( - reducer, - window.__REDUX_DEVTOOLS_EXTENSION__ && - window.__REDUX_DEVTOOLS_EXTENSION__({ name: 'Storybook Preview', instanceId: 'sbPreview' }) -); +const reduxStore = createStore(reducer); /* eslint-enable */ const context = { storyStore, reduxStore }; diff --git a/app/vue/src/client/preview/index.js b/app/vue/src/client/preview/index.js index 32a10109a78..a3d7bf380ba 100644 --- a/app/vue/src/client/preview/index.js +++ b/app/vue/src/client/preview/index.js @@ -54,3 +54,5 @@ const renderUI = () => { }; reduxStore.subscribe(renderUI); + +export const forceReRender = () => render(context, true); diff --git a/app/vue/src/client/preview/render.js b/app/vue/src/client/preview/render.js index ae5e4cf1611..caf6a9a8365 100644 --- a/app/vue/src/client/preview/render.js +++ b/app/vue/src/client/preview/render.js @@ -49,7 +49,7 @@ function renderRoot(options) { app = new Vue(options); } -export function renderMain(data, storyStore) { +export function renderMain(data, storyStore, forceRender) { if (storyStore.size() === 0) return; const { selectedKind, selectedStory } = data; @@ -60,7 +60,7 @@ export function renderMain(data, storyStore) { // renderMain() gets executed after each action. Actions will cause the whole // story to re-render without this check. // https://github.com/storybooks/react-storybook/issues/116 - if (selectedKind !== previousKind || previousStory !== selectedStory) { + if (forceRender || selectedKind !== previousKind || previousStory !== selectedStory) { // We need to unmount the existing set of components in the DOM node. // Otherwise, React may not recrease instances for every story run. // This could leads to issues like below: @@ -97,14 +97,14 @@ export function renderMain(data, storyStore) { }); } -export default function renderPreview({ reduxStore, storyStore }) { +export default function renderPreview({ reduxStore, storyStore }, forceRender = false) { const state = reduxStore.getState(); if (state.error) { return renderException(state.error); } try { - return renderMain(state, storyStore); + return renderMain(state, storyStore, forceRender); } catch (ex) { return renderException(ex); } From 31a68d7b90b8930bb046600c636e5abdfee373ef Mon Sep 17 00:00:00 2001 From: Dan Green Date: Wed, 27 Dec 2017 11:15:36 -0500 Subject: [PATCH 05/19] (#1736) Update Force ReRender storyshot --- .../stories/__snapshots__/force-rerender.stories.storyshot | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 examples/cra-kitchen-sink/src/stories/__snapshots__/force-rerender.stories.storyshot diff --git a/examples/cra-kitchen-sink/src/stories/__snapshots__/force-rerender.stories.storyshot b/examples/cra-kitchen-sink/src/stories/__snapshots__/force-rerender.stories.storyshot new file mode 100644 index 00000000000..fd64ff4e772 --- /dev/null +++ b/examples/cra-kitchen-sink/src/stories/__snapshots__/force-rerender.stories.storyshot @@ -0,0 +1,7 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`Storyshots Force ReRender button 1`] = ` + +`; From c34ad1f5105db20242aa2d1f5fb2a74407c9afd1 Mon Sep 17 00:00:00 2001 From: igor Date: Thu, 28 Dec 2017 09:09:24 +0200 Subject: [PATCH 06/19] Separate stories from the index.ts --- .../src/stories/addon-actions.stories.ts | 23 +++ .../src/stories/addon-knobs.stories.ts | 69 +++++++ .../src/stories/addon-notes.stories.ts | 33 +++ .../src/stories/custom-metadata.stories.ts | 67 +++++++ examples/angular-cli/src/stories/index.ts | 189 +----------------- 5 files changed, 195 insertions(+), 186 deletions(-) create mode 100644 examples/angular-cli/src/stories/addon-actions.stories.ts create mode 100644 examples/angular-cli/src/stories/addon-knobs.stories.ts create mode 100644 examples/angular-cli/src/stories/addon-notes.stories.ts create mode 100644 examples/angular-cli/src/stories/custom-metadata.stories.ts diff --git a/examples/angular-cli/src/stories/addon-actions.stories.ts b/examples/angular-cli/src/stories/addon-actions.stories.ts new file mode 100644 index 00000000000..8154940d723 --- /dev/null +++ b/examples/angular-cli/src/stories/addon-actions.stories.ts @@ -0,0 +1,23 @@ +import { storiesOf } from '@storybook/angular'; +import { action } from '@storybook/addon-actions'; +import { Button } from '@storybook/angular/demo'; + +storiesOf('Addon Actions', module) + .add('Action only', () => ({ + component: Button, + props: { + text: 'Action only', + onClick: action('log 1') + } + })) + .add('Action and method', () => ({ + component: Button, + props: { + text: 'Action and Method', + onClick: e => { + console.log(e); + e.preventDefault(); + action('log2')(e.target); + } + } + })); diff --git a/examples/angular-cli/src/stories/addon-knobs.stories.ts b/examples/angular-cli/src/stories/addon-knobs.stories.ts new file mode 100644 index 00000000000..f3528056afd --- /dev/null +++ b/examples/angular-cli/src/stories/addon-knobs.stories.ts @@ -0,0 +1,69 @@ +import { storiesOf } from '@storybook/angular'; +import { action } from '@storybook/addon-actions'; + +import { + withKnobs, + text, + number, + boolean, + array, + select, + color, + date, + button, +} from '@storybook/addon-knobs/angular'; + +import { SimpleKnobsComponent } from './knobs.component'; +import { AllKnobsComponent } from './all-knobs.component'; + +storiesOf('Addon Knobs', module) + .addDecorator(withKnobs) + .add('Simple', () => { + const name = text('Name', 'John Doe'); + const age = number('Age', 44); + + return { + component: SimpleKnobsComponent, + props: { + name, + age + } + }; + }) + .add('All knobs', () => { + const name = text('Name', 'Jane'); + const stock = number('Stock', 20, { + range: true, + min: 0, + max: 30, + step: 5, + }); + const fruits = { + apples: 'Apple', + bananas: 'Banana', + cherries: 'Cherry', + }; + const fruit = select('Fruit', fruits, 'apple'); + const price = number('Price', 2.25); + + const border = color('Border', 'deeppink'); + const today = date('Today', new Date('Jan 20 2017')); + const items = array('Items', ['Laptop', 'Book', 'Whiskey']); + const nice = boolean('Nice', true); + button('Arbitrary action', action('You clicked it!')); + + return { + component: AllKnobsComponent, + props: { + name, + stock, + fruits, + fruit, + price, + border, + today, + items, + nice + } + }; + }); diff --git a/examples/angular-cli/src/stories/addon-notes.stories.ts b/examples/angular-cli/src/stories/addon-notes.stories.ts new file mode 100644 index 00000000000..bee7284d04e --- /dev/null +++ b/examples/angular-cli/src/stories/addon-notes.stories.ts @@ -0,0 +1,33 @@ +import { storiesOf } from '@storybook/angular'; +import { withNotes } from '@storybook/addon-notes'; +import { Button } from '@storybook/angular/demo'; + +storiesOf('Addon Notes', module) + .add( + 'Simple note', + withNotes({ text: 'My notes on some button' })(() => ({ + component: Button, + props: { + text: 'Notes on some Button', + onClick: () => {}, + } + })) + ) + .add( + 'Note with HTML', + withNotes({ + text: ` +

My notes on emojis

+ + It's not all that important to be honest, but.. + + Emojis are great, I love emojis, in fact I like using them in my Component notes too! 😇 + `, + })(() => ({ + component: Button, + props: { + text: 'Notes with HTML', + onClick: () => {}, + } + })) + ); diff --git a/examples/angular-cli/src/stories/custom-metadata.stories.ts b/examples/angular-cli/src/stories/custom-metadata.stories.ts new file mode 100644 index 00000000000..80e014205ae --- /dev/null +++ b/examples/angular-cli/src/stories/custom-metadata.stories.ts @@ -0,0 +1,67 @@ +import { storiesOf } from '@storybook/angular'; +import { withKnobs, text } from '@storybook/addon-knobs/angular'; + +import { NameComponent } from './name.component'; +import { CustomPipePipe } from './custom.pipe'; +import { DummyService } from './moduleMetadata/dummy.service'; +import { ServiceComponent } from './moduleMetadata/service.component' + +storiesOf('Custom Pipe', module) + .add('Default', () => ({ + component: NameComponent, + props: { + field: 'foobar', + }, + moduleMetadata: { + imports: [], + schemas: [], + declarations: [CustomPipePipe], + providers: [] + } + })); + +storiesOf('Custom Pipe/With Knobs', module) + .addDecorator(withKnobs) + .add('NameComponent', () => ({ + component: NameComponent, + props: { + field: text('field', 'foobar'), + }, + moduleMetadata: { + imports: [], + schemas: [], + declarations: [CustomPipePipe], + providers: [] + } + })); + +storiesOf('Custom ngModule metadata', module) + .add('simple', () => ({ + component: ServiceComponent, + props: { + name: 'Static name' + }, + moduleMetadata: { + imports: [], + schemas: [], + declarations: [], + providers: [DummyService] + } + })) + .addDecorator(withKnobs) + .add('with knobs', () => { + const name = text('Name', 'Dynamic knob'); + + return { + component: ServiceComponent, + props: { + name + }, + moduleMetadata: { + imports: [], + schemas: [], + declarations: [], + providers: [DummyService] + } + }; + }); diff --git a/examples/angular-cli/src/stories/index.ts b/examples/angular-cli/src/stories/index.ts index d755b489884..08847b24574 100644 --- a/examples/angular-cli/src/stories/index.ts +++ b/examples/angular-cli/src/stories/index.ts @@ -1,35 +1,14 @@ import { storiesOf } from '@storybook/angular'; - -import { withNotes } from '@storybook/addon-notes'; -import { action } from '@storybook/addon-actions'; import { linkTo } from '@storybook/addon-links'; -import { - withKnobs, - text, - number, - boolean, - array, - select, - color, - date, - button, -} from '@storybook/addon-knobs/angular'; - import { Welcome, Button } from '@storybook/angular/demo'; -import { SimpleKnobsComponent } from './knobs.component'; -import { AllKnobsComponent } from './all-knobs.component'; import { AppComponent } from '../app/app.component'; -import { DummyService } from './moduleMetadata/dummy.service'; -import { ServiceComponent } from './moduleMetadata/service.component' -import { NameComponent } from './name.component'; -import { CustomPipePipe } from './custom.pipe'; storiesOf('Welcome', module) .add('to Storybook', () => ({ component: Welcome, props: {} - })) + })); storiesOf('Button', module) .add('with text', () => ({ @@ -45,7 +24,7 @@ storiesOf('Button', module) text: '😀 😎 👍 💯', onClick: () => {} } - })) + })); storiesOf('Another Button', module) .add('button with link to another story', () => ({ @@ -54,173 +33,11 @@ storiesOf('Another Button', module) text: 'Go to Welcome Story', onClick: linkTo('Welcome') } - })) + })); storiesOf('App Component', module) .add('Component with separate template', () => ({ component: AppComponent, props: {} - })) - -storiesOf('Addon Actions', module) - .add('Action only', () => ({ - component: Button, - props: { - text: 'Action only', - onClick: action('log 1') - } - })) - .add('Action and method', () => ({ - component: Button, - props: { - text: 'Action and Method', - onClick: e => { - console.log(e); - e.preventDefault(); - action('log2')(e.target); - } - } })); -storiesOf('Addon Notes', module) - .add( - 'Simple note', - withNotes({ text: 'My notes on some button' })(() => ({ - component: Button, - props: { - text: 'Notes on some Button', - onClick: () => {}, - } - })) - ) - .add( - 'Note with HTML', - withNotes({ - text: ` -

My notes on emojis

- - It's not all that important to be honest, but.. - - Emojis are great, I love emojis, in fact I like using them in my Component notes too! 😇 - `, - })(() => ({ - component: Button, - props: { - text: 'Notes with HTML', - onClick: () => {}, - } - })) - ); - - -storiesOf('Addon Knobs', module) - .addDecorator(withKnobs) - .add('Simple', () => { - const name = text('Name', 'John Doe'); - const age = number('Age', 44); - - return { - component: SimpleKnobsComponent, - props: { - name, - age - } - }; - }) - .add('All knobs', () => { - const name = text('Name', 'Jane'); - const stock = number('Stock', 20, { - range: true, - min: 0, - max: 30, - step: 5, - }); - const fruits = { - apples: 'Apple', - bananas: 'Banana', - cherries: 'Cherry', - }; - const fruit = select('Fruit', fruits, 'apple'); - const price = number('Price', 2.25); - - const border = color('Border', 'deeppink'); - const today = date('Today', new Date('Jan 20 2017')); - const items = array('Items', ['Laptop', 'Book', 'Whiskey']); - const nice = boolean('Nice', true); - button('Arbitrary action', action('You clicked it!')); - - return { - component: AllKnobsComponent, - props: { - name, - stock, - fruits, - fruit, - price, - border, - today, - items, - nice - } - }; - }); - -storiesOf('Custom ngModule metadata', module) - .add('simple', () => ({ - component: ServiceComponent, - props: { - name: 'Static name' - }, - moduleMetadata: { - imports: [], - schemas: [], - declarations: [], - providers: [DummyService] - } - })) - .addDecorator(withKnobs) - .add('with knobs', () => { - const name = text('Name', 'Dynamic knob'); - - return { - component: ServiceComponent, - props: { - name - }, - moduleMetadata: { - imports: [], - schemas: [], - declarations: [], - providers: [DummyService] - } - }; - }); - -storiesOf('Custom Pipe', module) - .add('Default', () => ({ - component: NameComponent, - props: { - field: 'foobar', - }, - moduleMetadata: { - imports: [], - schemas: [], - declarations: [CustomPipePipe], - providers: [] - } - })); - -storiesOf('Custom Pipe/With Knobs', module) - .addDecorator(withKnobs) - .add('NameComponent', () => ({ - component: NameComponent, - props: { - field: text('field', 'foobar'), - }, - moduleMetadata: { - imports: [], - schemas: [], - declarations: [CustomPipePipe], - providers: [] - } - })); From 99e71d409172113acc1e8a47ec4184a0f41fa252 Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Fri, 29 Dec 2017 01:16:09 +0900 Subject: [PATCH 07/19] 3.3.3 changelog --- CHANGELOG.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index b8f708103cc..e50f88cb797 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,24 @@ +# 3.3.3 + +2017-December-29 + +#### Bug Fixes + +- [app:angular] Fixed dependency injection for components [#2566](https://github.com/storybooks/storybook/pull/2566) +- Revert "Move everything from lodash to lodash-es" [#2591](https://github.com/storybooks/storybook/pull/2591) + +#### Maintenance + +- Update CLI snapshots as a postpublish step [#2565](https://github.com/storybooks/storybook/pull/2565) +- Add more `imports` eslint rules [#2589](https://github.com/storybooks/storybook/pull/2589) + +#### Dependency Upgrades + +- Upgraded `@storybook/addon-actions` in `/docs` from "3.2.18" to "3.3.1" [#2580](https://github.com/storybooks/storybook/pull/2580) +- Upgraded `@storybook/addon-links` in `/docs` from "3.2.18" to "3.3.1" [#2580](https://github.com/storybooks/storybook/pull/2580) +- Upgraded `@storybook/addons` in `/docs` from "3.2.18" to "3.3.1" [#2580](https://github.com/storybooks/storybook/pull/2580) +- Upgraded `@storybook/react` in `/docs` from "3.2.18" to "3.3.1" [#2580](https://github.com/storybooks/storybook/pull/2580) + # 3.3.2 2017-December-28 From 427b6b1e15fb5a33cef1efbb8f4ac837e5e1f21e Mon Sep 17 00:00:00 2001 From: "Dependencies.io Bot" Date: Thu, 28 Dec 2017 16:29:35 +0000 Subject: [PATCH 08/19] Update danger from 2.1.6 to 2.1.7 in / --- package.json | 2 +- yarn.lock | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 39c817fe2d2..c6301bc12aa 100644 --- a/package.json +++ b/package.json @@ -47,7 +47,7 @@ "codecov": "^3.0.0", "commander": "^2.12.2", "cross-env": "^5.1.3", - "danger": "^2.1.6", + "danger": "^2.1.7", "enzyme": "^3.2.0", "enzyme-adapter-react-16": "^1.1.1", "eslint": "^4.14.0", diff --git a/yarn.lock b/yarn.lock index d73951260eb..97abdf5e8a4 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3709,9 +3709,9 @@ damerau-levenshtein@^1.0.0: version "1.0.4" resolved "https://registry.yarnpkg.com/damerau-levenshtein/-/damerau-levenshtein-1.0.4.tgz#03191c432cb6eea168bb77f3a55ffdccb8978514" -danger@^2.1.6: - version "2.1.6" - resolved "https://registry.yarnpkg.com/danger/-/danger-2.1.6.tgz#ea4b3024cbef422286dc6bdb4d23da132d8ebbe5" +danger@^2.1.7: + version "2.1.7" + resolved "https://registry.yarnpkg.com/danger/-/danger-2.1.7.tgz#e896393ea3a5845ac4fde5a110af285ddbf23d0c" dependencies: babel-polyfill "7.0.0-alpha.19" chalk "^2.3.0" @@ -3721,6 +3721,7 @@ danger@^2.1.6: github "^13.0.1" hyperlinker "^1.0.0" jsome "^2.3.25" + json5 "^0.5.1" jsonpointer "^4.0.1" lodash.find "^4.6.0" lodash.includes "^4.3.0" @@ -14187,7 +14188,7 @@ vm-browserify@0.0.4: dependencies: indexof "0.0.1" -vm2@patriksimek/vm2#custom_files: +"vm2@github:patriksimek/vm2#custom_files": version "3.5.0" resolved "https://codeload.github.com/patriksimek/vm2/tar.gz/7e82f90ac705fc44fad044147cb0df09b4c79a57" From 88d4d7269d76d23d655de0d7aafe1c1d5f901311 Mon Sep 17 00:00:00 2001 From: "Dependencies.io Bot" Date: Thu, 28 Dec 2017 16:32:06 +0000 Subject: [PATCH 09/19] Update jest-enzyme from 4.0.1 to 4.0.2 in / --- package.json | 2 +- yarn.lock | 25 +++++++++++++++---------- 2 files changed, 16 insertions(+), 11 deletions(-) diff --git a/package.json b/package.json index c6301bc12aa..78976fc7079 100644 --- a/package.json +++ b/package.json @@ -69,7 +69,7 @@ "jest-config": "^22.0.4", "jest-diff": "^22.0.3", "jest-environment-jsdom": "^22.0.4", - "jest-enzyme": "^4.0.1", + "jest-enzyme": "^4.0.2", "jest-image-snapshot": "^2.2.1", "jest-jasmine2": "^22.0.4", "lerna": "^2.5.1", diff --git a/yarn.lock b/yarn.lock index 97abdf5e8a4..91a5e6f8a4a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2755,6 +2755,10 @@ circular-dependency-plugin@^4.2.1: version "4.3.0" resolved "https://registry.yarnpkg.com/circular-dependency-plugin/-/circular-dependency-plugin-4.3.0.tgz#2a12824e584546e1aeea5865b7bf234a11c4a695" +circular-json-es6@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/circular-json-es6/-/circular-json-es6-2.0.1.tgz#c9f4e37df74a655ced7245d31020bf5b5cd34ef6" + circular-json@^0.3.1: version "0.3.3" resolved "https://registry.yarnpkg.com/circular-json/-/circular-json-0.3.3.tgz#815c99ea84f6809529d2f45791bdf82711352d66" @@ -4315,13 +4319,14 @@ enzyme-adapter-utils@^1.3.0: object.assign "^4.0.4" prop-types "^15.6.0" -enzyme-matchers@^4.0.1: - version "4.0.1" - resolved "https://registry.yarnpkg.com/enzyme-matchers/-/enzyme-matchers-4.0.1.tgz#f3fb5e5e5e5ec9a19144d172605433fc7e9d9f5a" +enzyme-matchers@^4.0.2: + version "4.0.2" + resolved "https://registry.yarnpkg.com/enzyme-matchers/-/enzyme-matchers-4.0.2.tgz#3f4457d0d0da3e268af4bee9f222439dfca26214" dependencies: + circular-json-es6 "^2.0.1" deep-equal-ident "^1.1.1" -enzyme-to-json@^3.0.0, enzyme-to-json@^3.2.2: +enzyme-to-json@^3.2.2, enzyme-to-json@^3.3.0: version "3.3.0" resolved "https://registry.yarnpkg.com/enzyme-to-json/-/enzyme-to-json-3.3.0.tgz#553e23a09ffb4b0cf09287e2edf9c6539fddaa84" dependencies: @@ -7350,12 +7355,12 @@ jest-environment-node@^22.0.4: jest-mock "^22.0.3" jest-util "^22.0.4" -jest-enzyme@^4.0.1: - version "4.0.1" - resolved "https://registry.yarnpkg.com/jest-enzyme/-/jest-enzyme-4.0.1.tgz#9d13de2d194e09e12b71c9689afb2c066df30b0e" +jest-enzyme@^4.0.2: + version "4.0.2" + resolved "https://registry.yarnpkg.com/jest-enzyme/-/jest-enzyme-4.0.2.tgz#c3a87f311889819d51ae2639c9da412da07cfc4a" dependencies: - enzyme-matchers "^4.0.1" - enzyme-to-json "^3.0.0" + enzyme-matchers "^4.0.2" + enzyme-to-json "^3.3.0" jest-get-type@^21.2.0: version "21.2.0" @@ -14188,7 +14193,7 @@ vm-browserify@0.0.4: dependencies: indexof "0.0.1" -"vm2@github:patriksimek/vm2#custom_files": +vm2@patriksimek/vm2#custom_files: version "3.5.0" resolved "https://codeload.github.com/patriksimek/vm2/tar.gz/7e82f90ac705fc44fad044147cb0df09b4c79a57" From 0fda433771afbbbb88af12766bd60a879354f6b8 Mon Sep 17 00:00:00 2001 From: "Dependencies.io Bot" Date: Thu, 28 Dec 2017 16:34:35 +0000 Subject: [PATCH 10/19] Update @types/jasmine from 2.8.2 to 2.8.3 in examples/angular-cli --- examples/angular-cli/package.json | 2 +- yarn.lock | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/angular-cli/package.json b/examples/angular-cli/package.json index f2fddc02995..973b3d95be1 100644 --- a/examples/angular-cli/package.json +++ b/examples/angular-cli/package.json @@ -36,7 +36,7 @@ "@storybook/addon-notes": "^3.3.2", "@storybook/addons": "^3.3.2", "@storybook/angular": "^3.3.2", - "@types/jasmine": "~2.8.2", + "@types/jasmine": "~2.8.3", "@types/node": "~6.0.60", "codelyzer": "^3.1.2", "jasmine-core": "~2.8.0", diff --git a/yarn.lock b/yarn.lock index 91a5e6f8a4a..5fb997e075e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -283,9 +283,9 @@ version "3.0.1" resolved "https://registry.yarnpkg.com/@types/inline-style-prefixer/-/inline-style-prefixer-3.0.1.tgz#8541e636b029124b747952e9a28848286d2b5bf6" -"@types/jasmine@~2.8.2": - version "2.8.2" - resolved "https://registry.yarnpkg.com/@types/jasmine/-/jasmine-2.8.2.tgz#6ae4d8740c0da5d5a627df725b4eed71b8e36668" +"@types/jasmine@~2.8.3": + version "2.8.3" + resolved "https://registry.yarnpkg.com/@types/jasmine/-/jasmine-2.8.3.tgz#f910edc67d69393d562d10f8f3d205ea3f3306bf" "@types/lodash@^4.14.91": version "4.14.91" From 02a69e0b1bdaf088a973a5070f9f5d62d6ca5ea3 Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Thu, 28 Dec 2017 22:34:34 +0530 Subject: [PATCH 11/19] v3.3.3 --- addons/a11y/package.json | 4 +-- addons/actions/package.json | 2 +- addons/background/package.json | 2 +- addons/centered/package.json | 2 +- addons/events/package.json | 2 +- addons/graphql/package.json | 2 +- addons/info/package.json | 6 ++-- addons/jest/package.json | 4 +-- addons/knobs/package.json | 2 +- addons/links/package.json | 4 +-- addons/notes/package.json | 2 +- addons/options/package.json | 2 +- addons/storyshots/package.json | 10 +++--- addons/viewport/package.json | 4 +-- app/angular/package.json | 12 +++---- app/react-native/package.json | 12 +++---- app/react/package.json | 16 +++++----- app/vue/package.json | 12 +++---- examples/angular-cli/package.json | 12 +++---- examples/cra-kitchen-sink/package.json | 36 ++++++++++----------- examples/official-storybook/package.json | 34 ++++++++++---------- examples/vue-kitchen-sink/package.json | 18 +++++------ lerna.json | 2 +- lib/addons/package.json | 2 +- lib/channel-postmessage/package.json | 4 +-- lib/channel-websocket/package.json | 4 +-- lib/channels/package.json | 2 +- lib/cli/package.json | 40 ++++++++++++------------ lib/client-logger/package.json | 2 +- lib/codemod/package.json | 2 +- lib/components/package.json | 8 ++--- lib/node-logger/package.json | 2 +- lib/ui/package.json | 8 ++--- 33 files changed, 138 insertions(+), 138 deletions(-) diff --git a/addons/a11y/package.json b/addons/a11y/package.json index e71b9484c7c..68b7ffc37eb 100644 --- a/addons/a11y/package.json +++ b/addons/a11y/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-a11y", - "version": "3.3.2", + "version": "3.3.3", "description": "a11y addon for storybook", "keywords": [ "a11y", @@ -25,7 +25,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/components": "^3.3.2", + "@storybook/components": "^3.3.3", "axe-core": "^2.6.0", "prop-types": "^15.6.0" }, diff --git a/addons/actions/package.json b/addons/actions/package.json index c3418bec040..e00c2dbf766 100644 --- a/addons/actions/package.json +++ b/addons/actions/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-actions", - "version": "3.3.2", + "version": "3.3.3", "description": "Action Logger addon for storybook", "keywords": [ "storybook" diff --git a/addons/background/package.json b/addons/background/package.json index 0737cc9ade1..d0e1fde55f9 100644 --- a/addons/background/package.json +++ b/addons/background/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-backgrounds", - "version": "3.3.2", + "version": "3.3.3", "description": "A storybook addon to show different backgrounds for your preview", "keywords": [ "addon", diff --git a/addons/centered/package.json b/addons/centered/package.json index d5b4235b7f8..0a7041ae8ee 100644 --- a/addons/centered/package.json +++ b/addons/centered/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-centered", - "version": "3.3.2", + "version": "3.3.3", "description": "Storybook decorator to center components", "license": "MIT", "author": "Muhammed Thanish ", diff --git a/addons/events/package.json b/addons/events/package.json index e90c5c850c4..9c63ba8539a 100644 --- a/addons/events/package.json +++ b/addons/events/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-events", - "version": "3.3.2", + "version": "3.3.3", "description": "Add events to your Storybook stories.", "keywords": [ "addon", diff --git a/addons/graphql/package.json b/addons/graphql/package.json index 579c92860fd..4265eda57a0 100644 --- a/addons/graphql/package.json +++ b/addons/graphql/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-graphql", - "version": "3.3.2", + "version": "3.3.3", "description": "Storybook addon to display the GraphiQL IDE", "keywords": [ "storybook" diff --git a/addons/info/package.json b/addons/info/package.json index a24066f0e97..e3a8c66ddb8 100644 --- a/addons/info/package.json +++ b/addons/info/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-info", - "version": "3.3.2", + "version": "3.3.3", "description": "A Storybook addon to show additional information for your stories.", "license": "MIT", "main": "dist/index.js", @@ -15,8 +15,8 @@ "storybook": "start-storybook -p 9010" }, "dependencies": { - "@storybook/client-logger": "^3.3.2", - "@storybook/components": "^3.3.2", + "@storybook/client-logger": "^3.3.3", + "@storybook/components": "^3.3.3", "babel-runtime": "^6.26.0", "global": "^4.3.2", "marksy": "^6.0.1", diff --git a/addons/jest/package.json b/addons/jest/package.json index 0ba83af5cd7..cbfd8c07453 100644 --- a/addons/jest/package.json +++ b/addons/jest/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-jest", - "version": "3.3.2", + "version": "3.3.3", "description": "React storybook addon that show component jest report", "keywords": [ "addon", @@ -25,7 +25,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/components": "^3.3.2", + "@storybook/components": "^3.3.3", "glamor": "^2.20.40", "glamorous": "^4.11.2", "global": "^4.3.2", diff --git a/addons/knobs/package.json b/addons/knobs/package.json index 60b2b8a80df..542a155f900 100644 --- a/addons/knobs/package.json +++ b/addons/knobs/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-knobs", - "version": "3.3.2", + "version": "3.3.3", "description": "Storybook Addon Prop Editor Component", "license": "MIT", "main": "dist/index.js", diff --git a/addons/links/package.json b/addons/links/package.json index a5720000b31..9857314f1db 100644 --- a/addons/links/package.json +++ b/addons/links/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-links", - "version": "3.3.2", + "version": "3.3.3", "description": "Story Links addon for storybook", "keywords": [ "storybook" @@ -22,7 +22,7 @@ "storybook": "start-storybook -p 9001" }, "dependencies": { - "@storybook/components": "^3.3.2", + "@storybook/components": "^3.3.3", "global": "^4.3.2", "prop-types": "^15.5.10" }, diff --git a/addons/notes/package.json b/addons/notes/package.json index 5a585fad2a4..5bd3fe2d69f 100644 --- a/addons/notes/package.json +++ b/addons/notes/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-notes", - "version": "3.3.2", + "version": "3.3.3", "description": "Write notes for your Storybook stories.", "keywords": [ "addon", diff --git a/addons/options/package.json b/addons/options/package.json index 8f80ddeb525..fdea967bc5c 100644 --- a/addons/options/package.json +++ b/addons/options/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-options", - "version": "3.3.2", + "version": "3.3.3", "description": "Options addon for storybook", "keywords": [ "storybook" diff --git a/addons/storyshots/package.json b/addons/storyshots/package.json index 9974b6838de..36356a90379 100644 --- a/addons/storyshots/package.json +++ b/addons/storyshots/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-storyshots", - "version": "3.3.2", + "version": "3.3.3", "description": "StoryShots is a Jest Snapshot Testing Addon for Storybook.", "license": "MIT", "main": "dist/index.js", @@ -16,7 +16,7 @@ "example": "jest storyshot.test" }, "dependencies": { - "@storybook/channels": "^3.3.2", + "@storybook/channels": "^3.3.3", "babel-runtime": "^6.26.0", "glob": "^7.1.2", "global": "^4.3.2", @@ -25,8 +25,8 @@ "read-pkg-up": "^3.0.0" }, "devDependencies": { - "@storybook/addons": "^3.3.2", - "@storybook/react": "^3.3.2", + "@storybook/addons": "^3.3.3", + "@storybook/react": "^3.3.3", "babel-cli": "^6.26.0", "babel-jest": "^20.0.3", "babel-plugin-transform-runtime": "^6.23.0", @@ -40,7 +40,7 @@ "react-dom": "^16.1.0" }, "peerDependencies": { - "@storybook/addons": "^3.3.2", + "@storybook/addons": "^3.3.3", "babel-core": "^6.26.0 | ^7.0.0-0", "react": "*", "react-test-renderer": "*" diff --git a/addons/viewport/package.json b/addons/viewport/package.json index 8490db975a1..1ba6eaabee8 100644 --- a/addons/viewport/package.json +++ b/addons/viewport/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-viewport", - "version": "3.3.2", + "version": "3.3.3", "description": "Storybook addon to change the viewport size to mobile", "main": "register.js", "keywords": [ @@ -11,7 +11,7 @@ }, "license": "MIT", "dependencies": { - "@storybook/components": "^3.3.2", + "@storybook/components": "^3.3.3", "global": "^4.3.2", "prop-types": "^15.5.10" }, diff --git a/app/angular/package.json b/app/angular/package.json index 054edc091dc..4458d7d6409 100644 --- a/app/angular/package.json +++ b/app/angular/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/angular", - "version": "3.3.2", + "version": "3.3.3", "description": "Storybook for Anglar: Develop Angular Components in isolation with Hot Reloading.", "homepage": "https://github.com/storybooks/storybook/tree/master/apps/angular", "bugs": { @@ -23,11 +23,11 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addon-actions": "^3.3.2", - "@storybook/addon-links": "^3.3.2", - "@storybook/addons": "^3.3.2", - "@storybook/channel-postmessage": "^3.3.2", - "@storybook/ui": "^3.3.2", + "@storybook/addon-actions": "^3.3.3", + "@storybook/addon-links": "^3.3.3", + "@storybook/addons": "^3.3.3", + "@storybook/channel-postmessage": "^3.3.3", + "@storybook/ui": "^3.3.3", "airbnb-js-shims": "^1.1.1", "angular2-template-loader": "^0.6.2", "autoprefixer": "^7.1.1", diff --git a/app/react-native/package.json b/app/react-native/package.json index 35a6e6b8948..bd0d89fa2b9 100644 --- a/app/react-native/package.json +++ b/app/react-native/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/react-native", - "version": "3.3.2", + "version": "3.3.3", "description": "A better way to develop React Native Components for your app", "keywords": [ "react", @@ -25,11 +25,11 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addon-actions": "^3.3.2", - "@storybook/addon-links": "^3.3.2", - "@storybook/addons": "^3.3.2", - "@storybook/channel-websocket": "^3.3.2", - "@storybook/ui": "^3.3.2", + "@storybook/addon-actions": "^3.3.3", + "@storybook/addon-links": "^3.3.3", + "@storybook/addons": "^3.3.3", + "@storybook/channel-websocket": "^3.3.3", + "@storybook/ui": "^3.3.3", "autoprefixer": "^7.2.3", "babel-loader": "^7.1.2", "babel-plugin-syntax-async-functions": "^6.13.0", diff --git a/app/react/package.json b/app/react/package.json index 86841427026..73f2251914f 100644 --- a/app/react/package.json +++ b/app/react/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/react", - "version": "3.3.2", + "version": "3.3.3", "description": "Storybook for React: Develop React Component in isolation with Hot Reloading.", "homepage": "https://github.com/storybooks/storybook/tree/master/app/react", "bugs": { @@ -23,13 +23,13 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addon-actions": "^3.3.2", - "@storybook/addon-links": "^3.3.2", - "@storybook/addons": "^3.3.2", - "@storybook/channel-postmessage": "^3.3.2", - "@storybook/client-logger": "^3.3.2", - "@storybook/node-logger": "^3.3.2", - "@storybook/ui": "^3.3.2", + "@storybook/addon-actions": "^3.3.3", + "@storybook/addon-links": "^3.3.3", + "@storybook/addons": "^3.3.3", + "@storybook/channel-postmessage": "^3.3.3", + "@storybook/client-logger": "^3.3.3", + "@storybook/node-logger": "^3.3.3", + "@storybook/ui": "^3.3.3", "airbnb-js-shims": "^1.4.0", "autoprefixer": "^7.2.3", "babel-loader": "^7.1.2", diff --git a/app/vue/package.json b/app/vue/package.json index 6afc6be0502..59172c41441 100644 --- a/app/vue/package.json +++ b/app/vue/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/vue", - "version": "3.3.2", + "version": "3.3.3", "description": "Storybook for Vue: Develop Vue Component in isolation with Hot Reloading.", "homepage": "https://github.com/storybooks/storybook/tree/master/apps/vue", "bugs": { @@ -23,11 +23,11 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addon-actions": "^3.3.2", - "@storybook/addon-links": "^3.3.2", - "@storybook/addons": "^3.3.2", - "@storybook/channel-postmessage": "^3.3.2", - "@storybook/ui": "^3.3.2", + "@storybook/addon-actions": "^3.3.3", + "@storybook/addon-links": "^3.3.3", + "@storybook/addons": "^3.3.3", + "@storybook/channel-postmessage": "^3.3.3", + "@storybook/ui": "^3.3.3", "airbnb-js-shims": "^1.4.0", "autoprefixer": "^7.2.3", "babel-loader": "^7.1.2", diff --git a/examples/angular-cli/package.json b/examples/angular-cli/package.json index f2fddc02995..3f8854c56e7 100644 --- a/examples/angular-cli/package.json +++ b/examples/angular-cli/package.json @@ -1,6 +1,6 @@ { "name": "angular-cli", - "version": "3.3.2", + "version": "3.3.3", "license": "MIT", "scripts": { "ng": "ng", @@ -31,11 +31,11 @@ "@angular/cli": "1.6.3", "@angular/compiler-cli": "^5.0.0-beta.7", "@angular/language-service": "^5.0.0-beta.7", - "@storybook/addon-actions": "^3.3.2", - "@storybook/addon-links": "^3.3.2", - "@storybook/addon-notes": "^3.3.2", - "@storybook/addons": "^3.3.2", - "@storybook/angular": "^3.3.2", + "@storybook/addon-actions": "^3.3.3", + "@storybook/addon-links": "^3.3.3", + "@storybook/addon-notes": "^3.3.3", + "@storybook/addons": "^3.3.3", + "@storybook/angular": "^3.3.3", "@types/jasmine": "~2.8.2", "@types/node": "~6.0.60", "codelyzer": "^3.1.2", diff --git a/examples/cra-kitchen-sink/package.json b/examples/cra-kitchen-sink/package.json index 9fb266b7d0a..3128af748df 100644 --- a/examples/cra-kitchen-sink/package.json +++ b/examples/cra-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "cra-kitchen-sink", - "version": "3.3.2", + "version": "3.3.3", "scripts": { "build": "react-scripts build", "build-storybook": "build-storybook -s public", @@ -19,23 +19,23 @@ "react-dom": "^16.2.0" }, "devDependencies": { - "@storybook/addon-a11y": "^3.3.2", - "@storybook/addon-actions": "^3.3.2", - "@storybook/addon-backgrounds": "^3.3.2", - "@storybook/addon-centered": "^3.3.2", - "@storybook/addon-events": "^3.3.2", - "@storybook/addon-info": "^3.3.2", - "@storybook/addon-jest": "^3.3.2", - "@storybook/addon-knobs": "^3.3.2", - "@storybook/addon-links": "^3.3.2", - "@storybook/addon-notes": "^3.3.2", - "@storybook/addon-options": "^3.3.2", - "@storybook/addon-storyshots": "^3.3.2", - "@storybook/addon-viewport": "^3.3.2", - "@storybook/addons": "^3.3.2", - "@storybook/client-logger": "^3.3.2", - "@storybook/components": "^3.3.2", - "@storybook/react": "^3.3.2", + "@storybook/addon-a11y": "^3.3.3", + "@storybook/addon-actions": "^3.3.3", + "@storybook/addon-backgrounds": "^3.3.3", + "@storybook/addon-centered": "^3.3.3", + "@storybook/addon-events": "^3.3.3", + "@storybook/addon-info": "^3.3.3", + "@storybook/addon-jest": "^3.3.3", + "@storybook/addon-knobs": "^3.3.3", + "@storybook/addon-links": "^3.3.3", + "@storybook/addon-notes": "^3.3.3", + "@storybook/addon-options": "^3.3.3", + "@storybook/addon-storyshots": "^3.3.3", + "@storybook/addon-viewport": "^3.3.3", + "@storybook/addons": "^3.3.3", + "@storybook/client-logger": "^3.3.3", + "@storybook/components": "^3.3.3", + "@storybook/react": "^3.3.3", "babel-jest": "^22.0.4", "enzyme": "^3.2.0", "enzyme-adapter-react-16": "^1.1.0", diff --git a/examples/official-storybook/package.json b/examples/official-storybook/package.json index b2919cc61f5..5c420a41963 100644 --- a/examples/official-storybook/package.json +++ b/examples/official-storybook/package.json @@ -1,28 +1,28 @@ { "name": "official-storybook", - "version": "3.3.2", + "version": "3.3.3", "scripts": { "build-storybook": "build-storybook -c ./", "storybook": "start-storybook -p 9010 -c ./", "chromatic": "chromatic test --storybook-addon --exit-zero-on-changes --app-code $CHROMATIC_APP_CODE" }, "devDependencies": { - "@storybook/addon-a11y": "^3.3.2", - "@storybook/addon-actions": "^3.3.2", - "@storybook/addon-backgrounds": "^3.3.2", - "@storybook/addon-centered": "^3.3.2", - "@storybook/addon-events": "^3.3.2", - "@storybook/addon-info": "^3.3.2", - "@storybook/addon-jest": "^3.3.2", - "@storybook/addon-knobs": "^3.3.2", - "@storybook/addon-links": "^3.3.2", - "@storybook/addon-notes": "^3.3.2", - "@storybook/addon-options": "^3.3.2", - "@storybook/addon-storyshots": "^3.3.2", - "@storybook/addon-viewport": "^3.3.2", - "@storybook/addons": "^3.3.2", - "@storybook/components": "^3.3.2", - "@storybook/react": "^3.3.2", + "@storybook/addon-a11y": "^3.3.3", + "@storybook/addon-actions": "^3.3.3", + "@storybook/addon-backgrounds": "^3.3.3", + "@storybook/addon-centered": "^3.3.3", + "@storybook/addon-events": "^3.3.3", + "@storybook/addon-info": "^3.3.3", + "@storybook/addon-jest": "^3.3.3", + "@storybook/addon-knobs": "^3.3.3", + "@storybook/addon-links": "^3.3.3", + "@storybook/addon-notes": "^3.3.3", + "@storybook/addon-options": "^3.3.3", + "@storybook/addon-storyshots": "^3.3.3", + "@storybook/addon-viewport": "^3.3.3", + "@storybook/addons": "^3.3.3", + "@storybook/components": "^3.3.3", + "@storybook/react": "^3.3.3", "babel-jest": "^21.2.0", "enzyme": "^3.2.0", "enzyme-adapter-react-16": "^1.1.0", diff --git a/examples/vue-kitchen-sink/package.json b/examples/vue-kitchen-sink/package.json index b3f0e8c34a8..fbaf23bac52 100644 --- a/examples/vue-kitchen-sink/package.json +++ b/examples/vue-kitchen-sink/package.json @@ -1,16 +1,16 @@ { "name": "vue-example", - "version": "3.3.2", + "version": "3.3.3", "private": true, "devDependencies": { - "@storybook/addon-actions": "^3.3.2", - "@storybook/addon-centered": "^3.3.2", - "@storybook/addon-knobs": "^3.3.2", - "@storybook/addon-links": "^3.3.2", - "@storybook/addon-notes": "^3.3.2", - "@storybook/addon-viewport": "^3.3.2", - "@storybook/addons": "^3.3.2", - "@storybook/vue": "^3.3.2", + "@storybook/addon-actions": "^3.3.3", + "@storybook/addon-centered": "^3.3.3", + "@storybook/addon-knobs": "^3.3.3", + "@storybook/addon-links": "^3.3.3", + "@storybook/addon-notes": "^3.3.3", + "@storybook/addon-viewport": "^3.3.3", + "@storybook/addons": "^3.3.3", + "@storybook/vue": "^3.3.3", "babel-core": "^6.26.0", "babel-loader": "^7.1.2", "babel-preset-env": "^1.6.0", diff --git a/lerna.json b/lerna.json index 13da7c38a70..46ec685a3da 100644 --- a/lerna.json +++ b/lerna.json @@ -8,5 +8,5 @@ } }, "concurrency": 1, - "version": "3.3.2" + "version": "3.3.3" } diff --git a/lib/addons/package.json b/lib/addons/package.json index e36bb52d36c..0422d9bb515 100644 --- a/lib/addons/package.json +++ b/lib/addons/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addons", - "version": "3.3.2", + "version": "3.3.3", "description": "Storybook addons store", "keywords": [ "storybook" diff --git a/lib/channel-postmessage/package.json b/lib/channel-postmessage/package.json index eef0f106947..3088e503e36 100644 --- a/lib/channel-postmessage/package.json +++ b/lib/channel-postmessage/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/channel-postmessage", - "version": "3.3.2", + "version": "3.3.3", "description": "", "license": "MIT", "main": "dist/index.js", @@ -9,7 +9,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/channels": "^3.3.2", + "@storybook/channels": "^3.3.3", "global": "^4.3.2", "json-stringify-safe": "^5.0.1" } diff --git a/lib/channel-websocket/package.json b/lib/channel-websocket/package.json index 428b95a389a..65242457162 100644 --- a/lib/channel-websocket/package.json +++ b/lib/channel-websocket/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/channel-websocket", - "version": "3.3.2", + "version": "3.3.3", "description": "", "license": "MIT", "main": "dist/index.js", @@ -9,7 +9,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/channels": "^3.3.2", + "@storybook/channels": "^3.3.3", "global": "^4.3.2" } } diff --git a/lib/channels/package.json b/lib/channels/package.json index 4543d24afb1..beff98b89d0 100644 --- a/lib/channels/package.json +++ b/lib/channels/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/channels", - "version": "3.3.2", + "version": "3.3.3", "description": "", "license": "MIT", "main": "dist/index.js", diff --git a/lib/cli/package.json b/lib/cli/package.json index 9cab1f9e33e..b05193939a8 100644 --- a/lib/cli/package.json +++ b/lib/cli/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/cli", - "version": "3.3.2", + "version": "3.3.3", "description": "Storybook's CLI - easiest method of adding storybook to your projects", "keywords": [ "cli", @@ -25,7 +25,7 @@ "test": "cd test && ./run_tests.sh" }, "dependencies": { - "@storybook/codemod": "^3.3.2", + "@storybook/codemod": "^3.3.3", "babel-plugin-transform-runtime": "^6.23.0", "babel-preset-env": "^1.6.0", "babel-register": "^6.26.0", @@ -43,24 +43,24 @@ "update-notifier": "^2.3.0" }, "devDependencies": { - "@storybook/addon-actions": "^3.3.2", - "@storybook/addon-centered": "^3.3.2", - "@storybook/addon-graphql": "^3.3.2", - "@storybook/addon-info": "^3.3.2", - "@storybook/addon-knobs": "^3.3.2", - "@storybook/addon-links": "^3.3.2", - "@storybook/addon-notes": "^3.3.2", - "@storybook/addon-options": "^3.3.2", - "@storybook/addon-storyshots": "^3.3.2", - "@storybook/addons": "^3.3.2", - "@storybook/angular": "^3.3.2", - "@storybook/channel-postmessage": "^3.3.2", - "@storybook/channel-websocket": "^3.3.2", - "@storybook/channels": "^3.3.2", - "@storybook/react": "^3.3.2", - "@storybook/react-native": "^3.3.2", - "@storybook/ui": "^3.3.2", - "@storybook/vue": "^3.3.2", + "@storybook/addon-actions": "^3.3.3", + "@storybook/addon-centered": "^3.3.3", + "@storybook/addon-graphql": "^3.3.3", + "@storybook/addon-info": "^3.3.3", + "@storybook/addon-knobs": "^3.3.3", + "@storybook/addon-links": "^3.3.3", + "@storybook/addon-notes": "^3.3.3", + "@storybook/addon-options": "^3.3.3", + "@storybook/addon-storyshots": "^3.3.3", + "@storybook/addons": "^3.3.3", + "@storybook/angular": "^3.3.3", + "@storybook/channel-postmessage": "^3.3.3", + "@storybook/channel-websocket": "^3.3.3", + "@storybook/channels": "^3.3.3", + "@storybook/react": "^3.3.3", + "@storybook/react-native": "^3.3.3", + "@storybook/ui": "^3.3.3", + "@storybook/vue": "^3.3.3", "check-node-version": "2.1.0", "npx": "9.7.1" } diff --git a/lib/client-logger/package.json b/lib/client-logger/package.json index c0168ec0078..77cbf8242fa 100644 --- a/lib/client-logger/package.json +++ b/lib/client-logger/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/client-logger", - "version": "3.3.2", + "version": "3.3.3", "description": "", "license": "MIT", "main": "dist/index.js", diff --git a/lib/codemod/package.json b/lib/codemod/package.json index 9a4418a0d11..41a717b3350 100644 --- a/lib/codemod/package.json +++ b/lib/codemod/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/codemod", - "version": "3.3.2", + "version": "3.3.3", "description": "A collection of codemod scripts written with JSCodeshift", "license": "MIT", "main": "dist/index.js", diff --git a/lib/components/package.json b/lib/components/package.json index db35ee7b2a9..25cd4fbc608 100644 --- a/lib/components/package.json +++ b/lib/components/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/components", - "version": "3.3.2", + "version": "3.3.3", "description": "Core Storybook Components", "license": "MIT", "main": "dist/index.js", @@ -24,8 +24,8 @@ "react-dom": "*" }, "devDependencies": { - "@storybook/addon-actions": "^3.3.2", - "@storybook/addon-knobs": "^3.3.2", - "@storybook/react": "^3.3.2" + "@storybook/addon-actions": "^3.3.3", + "@storybook/addon-knobs": "^3.3.3", + "@storybook/react": "^3.3.3" } } diff --git a/lib/node-logger/package.json b/lib/node-logger/package.json index bf58f43b96d..39e728d7023 100644 --- a/lib/node-logger/package.json +++ b/lib/node-logger/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/node-logger", - "version": "3.3.2", + "version": "3.3.3", "description": "", "license": "MIT", "main": "dist/index.js", diff --git a/lib/ui/package.json b/lib/ui/package.json index d8e62cebafe..b6aea676ecb 100644 --- a/lib/ui/package.json +++ b/lib/ui/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/ui", - "version": "3.3.2", + "version": "3.3.3", "description": "Core Storybook UI", "license": "MIT", "main": "dist/index.js", @@ -15,7 +15,7 @@ "storybook": "start-storybook -p 9010" }, "dependencies": { - "@storybook/components": "^3.3.2", + "@storybook/components": "^3.3.3", "@storybook/mantra-core": "^1.7.2", "@storybook/react-komposer": "^2.0.3", "babel-runtime": "^6.26.0", @@ -44,7 +44,7 @@ "react-dom": "*" }, "devDependencies": { - "@storybook/addon-actions": "^3.3.2", - "@storybook/react": "^3.3.2" + "@storybook/addon-actions": "^3.3.3", + "@storybook/react": "^3.3.3" } } From 47dc12e32f0b5f551715a89d344e88b853816c0f Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Thu, 28 Dec 2017 22:56:01 +0530 Subject: [PATCH 12/19] 3.3.3 test snapshots --- lib/cli/test/snapshots/angular-cli/package.json | 8 ++++---- lib/cli/test/snapshots/meteor/package.json | 6 +++--- lib/cli/test/snapshots/react/package.json | 6 +++--- lib/cli/test/snapshots/react_native/package.json | 6 +++--- lib/cli/test/snapshots/react_native_scripts/package.json | 6 +++--- lib/cli/test/snapshots/react_project/package.json | 6 +++--- lib/cli/test/snapshots/react_scripts/package.json | 6 +++--- lib/cli/test/snapshots/sfc_vue/package.json | 6 +++--- .../snapshots/update_package_organisations/package.json | 2 +- lib/cli/test/snapshots/vue/package.json | 6 +++--- lib/cli/test/snapshots/webpack_react/package.json | 6 +++--- 11 files changed, 32 insertions(+), 32 deletions(-) diff --git a/lib/cli/test/snapshots/angular-cli/package.json b/lib/cli/test/snapshots/angular-cli/package.json index b9637133840..85ac701116e 100644 --- a/lib/cli/test/snapshots/angular-cli/package.json +++ b/lib/cli/test/snapshots/angular-cli/package.json @@ -44,10 +44,10 @@ "ts-node": "1.2.1", "tslint": "^4.3.0", "typescript": "~2.4.0", - "@storybook/angular": "^3.3.2", - "@storybook/addon-notes": "^3.3.2", - "@storybook/addon-actions": "^3.3.2", - "@storybook/addon-links": "^3.3.2", + "@storybook/angular": "^3.3.3", + "@storybook/addon-notes": "^3.3.3", + "@storybook/addon-actions": "^3.3.3", + "@storybook/addon-links": "^3.3.3", "@types/lodash-es": "^4.17.0" } } diff --git a/lib/cli/test/snapshots/meteor/package.json b/lib/cli/test/snapshots/meteor/package.json index cf7110e91b7..ca1a96b3746 100644 --- a/lib/cli/test/snapshots/meteor/package.json +++ b/lib/cli/test/snapshots/meteor/package.json @@ -18,8 +18,8 @@ "babel-preset-react": "^6.24.1", "babel-preset-stage-1": "^6.24.1", "babel-root-slash-import": "^1.1.0", - "@storybook/react": "^3.3.2", - "@storybook/addon-actions": "^3.3.2", - "@storybook/addon-links": "^3.3.2" + "@storybook/react": "^3.3.3", + "@storybook/addon-actions": "^3.3.3", + "@storybook/addon-links": "^3.3.3" } } diff --git a/lib/cli/test/snapshots/react/package.json b/lib/cli/test/snapshots/react/package.json index e02419d7ee2..7a80f78bd80 100644 --- a/lib/cli/test/snapshots/react/package.json +++ b/lib/cli/test/snapshots/react/package.json @@ -20,8 +20,8 @@ "rollup-plugin-commonjs": "^8.2.0", "rollup-plugin-node-resolve": "^3.0.0", "rollup-plugin-replace": "^1.1.1", - "@storybook/react": "^3.3.2", - "@storybook/addon-actions": "^3.3.2", - "@storybook/addon-links": "^3.3.2" + "@storybook/react": "^3.3.3", + "@storybook/addon-actions": "^3.3.3", + "@storybook/addon-links": "^3.3.3" } } diff --git a/lib/cli/test/snapshots/react_native/package.json b/lib/cli/test/snapshots/react_native/package.json index 5c03396a03c..2bc3d923e87 100644 --- a/lib/cli/test/snapshots/react_native/package.json +++ b/lib/cli/test/snapshots/react_native/package.json @@ -16,9 +16,9 @@ "babel-preset-react-native": "3.0.1", "jest": "20.0.4", "react-test-renderer": "16.0.0-alpha.12", - "@storybook/react-native": "^3.3.2", - "@storybook/addon-actions": "^3.3.2", - "@storybook/addon-links": "^3.3.2", + "@storybook/react-native": "^3.3.3", + "@storybook/addon-actions": "^3.3.3", + "@storybook/addon-links": "^3.3.3", "react-dom": "16.0.0-alpha.12", "prop-types": "^15.6.0" }, diff --git a/lib/cli/test/snapshots/react_native_scripts/package.json b/lib/cli/test/snapshots/react_native_scripts/package.json index 26f95edc6f4..5318e325150 100644 --- a/lib/cli/test/snapshots/react_native_scripts/package.json +++ b/lib/cli/test/snapshots/react_native_scripts/package.json @@ -6,9 +6,9 @@ "react-native-scripts": "1.3.1", "jest-expo": "~20.0.0", "react-test-renderer": "16.0.0-alpha.12", - "@storybook/react-native": "^3.3.2", - "@storybook/addon-actions": "^3.3.2", - "@storybook/addon-links": "^3.3.2", + "@storybook/react-native": "^3.3.3", + "@storybook/addon-actions": "^3.3.3", + "@storybook/addon-links": "^3.3.3", "react-dom": "16.0.0-alpha.12", "prop-types": "^15.6.0" }, diff --git a/lib/cli/test/snapshots/react_project/package.json b/lib/cli/test/snapshots/react_project/package.json index d7d25e77f7c..0ac17ba25e5 100644 --- a/lib/cli/test/snapshots/react_project/package.json +++ b/lib/cli/test/snapshots/react_project/package.json @@ -13,9 +13,9 @@ "babel-preset-react": "^6.24.1", "react": "^15.6.1", "react-dom": "^15.6.1", - "@storybook/react": "^3.3.2", - "@storybook/addon-actions": "^3.3.2", - "@storybook/addon-links": "^3.3.2" + "@storybook/react": "^3.3.3", + "@storybook/addon-actions": "^3.3.3", + "@storybook/addon-links": "^3.3.3" }, "peerDependencies": { "react": "*", diff --git a/lib/cli/test/snapshots/react_scripts/package.json b/lib/cli/test/snapshots/react_scripts/package.json index 38fe333c681..dbec1dbfe95 100644 --- a/lib/cli/test/snapshots/react_scripts/package.json +++ b/lib/cli/test/snapshots/react_scripts/package.json @@ -16,8 +16,8 @@ "build-storybook": "build-storybook -s public" }, "devDependencies": { - "@storybook/react": "^3.3.2", - "@storybook/addon-actions": "^3.3.2", - "@storybook/addon-links": "^3.3.2" + "@storybook/react": "^3.3.3", + "@storybook/addon-actions": "^3.3.3", + "@storybook/addon-links": "^3.3.3" } } diff --git a/lib/cli/test/snapshots/sfc_vue/package.json b/lib/cli/test/snapshots/sfc_vue/package.json index ef83a9354cb..71de4796336 100644 --- a/lib/cli/test/snapshots/sfc_vue/package.json +++ b/lib/cli/test/snapshots/sfc_vue/package.json @@ -49,9 +49,9 @@ "webpack-dev-middleware": "^1.10.0", "webpack-hot-middleware": "^2.18.0", "webpack-merge": "^4.1.0", - "@storybook/vue": "^3.3.2", - "@storybook/addon-actions": "^3.3.2", - "@storybook/addon-links": "^3.3.2", + "@storybook/vue": "^3.3.3", + "@storybook/addon-actions": "^3.3.3", + "@storybook/addon-links": "^3.3.3", "babel-preset-vue": "^2.0.0" }, "engines": { diff --git a/lib/cli/test/snapshots/update_package_organisations/package.json b/lib/cli/test/snapshots/update_package_organisations/package.json index 8820999a136..57fbecce5eb 100644 --- a/lib/cli/test/snapshots/update_package_organisations/package.json +++ b/lib/cli/test/snapshots/update_package_organisations/package.json @@ -8,7 +8,7 @@ "react-scripts": "0.9.x" }, "devDependencies": { - "@storybook/react": "^3.3.2" + "@storybook/react": "^3.3.3" }, "scripts": { "start": "react-scripts start", diff --git a/lib/cli/test/snapshots/vue/package.json b/lib/cli/test/snapshots/vue/package.json index c7c4b903a5f..a901816c16a 100644 --- a/lib/cli/test/snapshots/vue/package.json +++ b/lib/cli/test/snapshots/vue/package.json @@ -34,9 +34,9 @@ "rollup-plugin-serve": "^0.4.0", "rollup-plugin-vue": "^2.4.0", "rollup-watch": "^4.0.0", - "@storybook/vue": "^3.3.2", - "@storybook/addon-actions": "^3.3.2", - "@storybook/addon-links": "^3.3.2", + "@storybook/vue": "^3.3.3", + "@storybook/addon-actions": "^3.3.3", + "@storybook/addon-links": "^3.3.3", "babel-preset-vue": "^2.0.0" } } diff --git a/lib/cli/test/snapshots/webpack_react/package.json b/lib/cli/test/snapshots/webpack_react/package.json index 33bf7d1385d..0a8a02ea588 100644 --- a/lib/cli/test/snapshots/webpack_react/package.json +++ b/lib/cli/test/snapshots/webpack_react/package.json @@ -17,8 +17,8 @@ "babel-loader": "^7.1.2", "babel-preset-react": "^6.24.1", "webpack": "^3.5.5", - "@storybook/react": "^3.3.2", - "@storybook/addon-actions": "^3.3.2", - "@storybook/addon-links": "^3.3.2" + "@storybook/react": "^3.3.3", + "@storybook/addon-actions": "^3.3.3", + "@storybook/addon-links": "^3.3.3" } } From c9936f2dce7cbd72186e6f05b84d1480a3d5a7e3 Mon Sep 17 00:00:00 2001 From: "Dependencies.io Bot" Date: Thu, 28 Dec 2017 18:56:52 +0000 Subject: [PATCH 13/19] Update @storybook/addon-actions from 3.3.1 to 3.3.3 --- docs/package.json | 2 +- docs/yarn.lock | 15 +++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/docs/package.json b/docs/package.json index 83dd5df693d..e0d8330285b 100644 --- a/docs/package.json +++ b/docs/package.json @@ -18,7 +18,7 @@ "storybook": "start-storybook -p 9009 -s src/pages" }, "dependencies": { - "@storybook/addon-actions": "^3.3.1", + "@storybook/addon-actions": "^3.3.3", "@storybook/addon-links": "^3.3.1", "@storybook/addons": "^3.3.1", "@storybook/react": "^3.3.1", diff --git a/docs/yarn.lock b/docs/yarn.lock index 0a9c0f1a9b0..c7a5c1855ae 100644 --- a/docs/yarn.lock +++ b/docs/yarn.lock @@ -13,6 +13,17 @@ react-inspector "^2.2.2" uuid "^3.1.0" +"@storybook/addon-actions@^3.3.3": + version "3.3.3" + resolved "https://registry.yarnpkg.com/@storybook/addon-actions/-/addon-actions-3.3.3.tgz#468e3426eb8f109825d9b41bf77f206711fa74b3" + dependencies: + deep-equal "^1.0.1" + global "^4.3.2" + make-error "^1.3.2" + prop-types "^15.6.0" + react-inspector "^2.2.2" + uuid "^3.1.0" + "@storybook/addon-links@^3.3.1": version "3.3.1" resolved "https://registry.yarnpkg.com/@storybook/addon-links/-/addon-links-3.3.1.tgz#e3098a72aa09fefa8a1af6d114e002852d649be3" @@ -6581,6 +6592,10 @@ make-error@^1.3.0: version "1.3.0" resolved "https://registry.yarnpkg.com/make-error/-/make-error-1.3.0.tgz#52ad3a339ccf10ce62b4040b708fe707244b8b96" +make-error@^1.3.2: + version "1.3.2" + resolved "https://registry.yarnpkg.com/make-error/-/make-error-1.3.2.tgz#8762ffad2444dd8ff1f7c819629fa28e24fea1c4" + makeerror@1.0.x: version "1.0.11" resolved "https://registry.yarnpkg.com/makeerror/-/makeerror-1.0.11.tgz#e01a5c9109f2af79660e4e8b9587790184f5a96c" From a3d9fbf428baadbdc1b3c98a71c6d2e09e3ed618 Mon Sep 17 00:00:00 2001 From: "Dependencies.io Bot" Date: Thu, 28 Dec 2017 18:59:14 +0000 Subject: [PATCH 14/19] Update @storybook/addon-links from 3.3.1 to 3.3.3 --- docs/package.json | 2 +- docs/yarn.lock | 16 ++++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/docs/package.json b/docs/package.json index e0d8330285b..a2a09a875cd 100644 --- a/docs/package.json +++ b/docs/package.json @@ -19,7 +19,7 @@ }, "dependencies": { "@storybook/addon-actions": "^3.3.3", - "@storybook/addon-links": "^3.3.1", + "@storybook/addon-links": "^3.3.3", "@storybook/addons": "^3.3.1", "@storybook/react": "^3.3.1", "babel-cli": "^6.26.0", diff --git a/docs/yarn.lock b/docs/yarn.lock index c7a5c1855ae..b8525bc1de0 100644 --- a/docs/yarn.lock +++ b/docs/yarn.lock @@ -32,6 +32,14 @@ global "^4.3.2" prop-types "^15.5.10" +"@storybook/addon-links@^3.3.3": + version "3.3.3" + resolved "https://registry.yarnpkg.com/@storybook/addon-links/-/addon-links-3.3.3.tgz#b5fe29f3aa3d5fe812aa9d47240846bf4d040ad1" + dependencies: + "@storybook/components" "^3.3.3" + global "^4.3.2" + prop-types "^15.5.10" + "@storybook/addons@^3.3.1": version "3.3.1" resolved "https://registry.yarnpkg.com/@storybook/addons/-/addons-3.3.1.tgz#5be6114fd0c88e05788ad86ea0294cc5b9ee3598" @@ -60,6 +68,14 @@ glamorous "^4.11.2" prop-types "^15.6.0" +"@storybook/components@^3.3.3": + version "3.3.3" + resolved "https://registry.yarnpkg.com/@storybook/components/-/components-3.3.3.tgz#a01adb8eb065a9e9627d85d7268deb270b57d2de" + dependencies: + glamor "^2.20.40" + glamorous "^4.11.2" + prop-types "^15.6.0" + "@storybook/mantra-core@^1.7.2": version "1.7.2" resolved "https://registry.yarnpkg.com/@storybook/mantra-core/-/mantra-core-1.7.2.tgz#e10c7faca29769e97131e0e0308ef7cfb655b70c" From 72cb94e28571f2a4a8a471777d6ea722d1cb0685 Mon Sep 17 00:00:00 2001 From: "Dependencies.io Bot" Date: Thu, 28 Dec 2017 19:00:58 +0000 Subject: [PATCH 15/19] Update danger from 2.1.6 to 2.1.8 in / --- package.json | 2 +- yarn.lock | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 39c817fe2d2..fa976661829 100644 --- a/package.json +++ b/package.json @@ -47,7 +47,7 @@ "codecov": "^3.0.0", "commander": "^2.12.2", "cross-env": "^5.1.3", - "danger": "^2.1.6", + "danger": "^2.1.8", "enzyme": "^3.2.0", "enzyme-adapter-react-16": "^1.1.1", "eslint": "^4.14.0", diff --git a/yarn.lock b/yarn.lock index d73951260eb..ddfc0c919b3 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3709,9 +3709,9 @@ damerau-levenshtein@^1.0.0: version "1.0.4" resolved "https://registry.yarnpkg.com/damerau-levenshtein/-/damerau-levenshtein-1.0.4.tgz#03191c432cb6eea168bb77f3a55ffdccb8978514" -danger@^2.1.6: - version "2.1.6" - resolved "https://registry.yarnpkg.com/danger/-/danger-2.1.6.tgz#ea4b3024cbef422286dc6bdb4d23da132d8ebbe5" +danger@^2.1.8: + version "2.1.8" + resolved "https://registry.yarnpkg.com/danger/-/danger-2.1.8.tgz#11cb654831be528e068257846df2141f5b049b79" dependencies: babel-polyfill "7.0.0-alpha.19" chalk "^2.3.0" @@ -3721,6 +3721,7 @@ danger@^2.1.6: github "^13.0.1" hyperlinker "^1.0.0" jsome "^2.3.25" + json5 "^0.5.1" jsonpointer "^4.0.1" lodash.find "^4.6.0" lodash.includes "^4.3.0" @@ -14187,7 +14188,7 @@ vm-browserify@0.0.4: dependencies: indexof "0.0.1" -vm2@patriksimek/vm2#custom_files: +"vm2@github:patriksimek/vm2#custom_files": version "3.5.0" resolved "https://codeload.github.com/patriksimek/vm2/tar.gz/7e82f90ac705fc44fad044147cb0df09b4c79a57" From 0511c26c4000e11caba2feaa5c01c29fc7b74e2b Mon Sep 17 00:00:00 2001 From: "Dependencies.io Bot" Date: Thu, 28 Dec 2017 19:01:38 +0000 Subject: [PATCH 16/19] Update @storybook/addons from 3.3.1 to 3.3.3 --- docs/package.json | 2 +- docs/yarn.lock | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/package.json b/docs/package.json index a2a09a875cd..865ddc8798b 100644 --- a/docs/package.json +++ b/docs/package.json @@ -20,7 +20,7 @@ "dependencies": { "@storybook/addon-actions": "^3.3.3", "@storybook/addon-links": "^3.3.3", - "@storybook/addons": "^3.3.1", + "@storybook/addons": "^3.3.3", "@storybook/react": "^3.3.1", "babel-cli": "^6.26.0", "babel-core": "^6.26.0", diff --git a/docs/yarn.lock b/docs/yarn.lock index b8525bc1de0..3e47b14bcf8 100644 --- a/docs/yarn.lock +++ b/docs/yarn.lock @@ -44,6 +44,10 @@ version "3.3.1" resolved "https://registry.yarnpkg.com/@storybook/addons/-/addons-3.3.1.tgz#5be6114fd0c88e05788ad86ea0294cc5b9ee3598" +"@storybook/addons@^3.3.3": + version "3.3.3" + resolved "https://registry.yarnpkg.com/@storybook/addons/-/addons-3.3.3.tgz#968d98a61957bc30db642b43924c3332dbaec40e" + "@storybook/channel-postmessage@^3.3.1": version "3.3.1" resolved "https://registry.yarnpkg.com/@storybook/channel-postmessage/-/channel-postmessage-3.3.1.tgz#b5a1dce756347d33636479e23b0392a257382b71" From e53eaa298851e2e750b7f0cfce2aa2099efd063e Mon Sep 17 00:00:00 2001 From: "Dependencies.io Bot" Date: Thu, 28 Dec 2017 19:05:06 +0000 Subject: [PATCH 17/19] Update @storybook/react from 3.3.1 to 3.3.3 --- docs/package.json | 2 +- docs/yarn.lock | 113 +++++++++++++++++++--------------------------- 2 files changed, 47 insertions(+), 68 deletions(-) diff --git a/docs/package.json b/docs/package.json index 865ddc8798b..f2f3d6d1f78 100644 --- a/docs/package.json +++ b/docs/package.json @@ -21,7 +21,7 @@ "@storybook/addon-actions": "^3.3.3", "@storybook/addon-links": "^3.3.3", "@storybook/addons": "^3.3.3", - "@storybook/react": "^3.3.1", + "@storybook/react": "^3.3.3", "babel-cli": "^6.26.0", "babel-core": "^6.26.0", "babel-loader": "^6.4.1", diff --git a/docs/yarn.lock b/docs/yarn.lock index 3e47b14bcf8..288d5aea0a2 100644 --- a/docs/yarn.lock +++ b/docs/yarn.lock @@ -2,17 +2,6 @@ # yarn lockfile v1 -"@storybook/addon-actions@^3.3.1": - version "3.3.1" - resolved "https://registry.yarnpkg.com/@storybook/addon-actions/-/addon-actions-3.3.1.tgz#d282c276a12f3580670233054ab74bd1a50ef1ac" - dependencies: - deep-equal "^1.0.1" - global "^4.3.2" - make-error "^1.3.0" - prop-types "^15.6.0" - react-inspector "^2.2.2" - uuid "^3.1.0" - "@storybook/addon-actions@^3.3.3": version "3.3.3" resolved "https://registry.yarnpkg.com/@storybook/addon-actions/-/addon-actions-3.3.3.tgz#468e3426eb8f109825d9b41bf77f206711fa74b3" @@ -24,14 +13,6 @@ react-inspector "^2.2.2" uuid "^3.1.0" -"@storybook/addon-links@^3.3.1": - version "3.3.1" - resolved "https://registry.yarnpkg.com/@storybook/addon-links/-/addon-links-3.3.1.tgz#e3098a72aa09fefa8a1af6d114e002852d649be3" - dependencies: - "@storybook/components" "^3.3.1" - global "^4.3.2" - prop-types "^15.5.10" - "@storybook/addon-links@^3.3.3": version "3.3.3" resolved "https://registry.yarnpkg.com/@storybook/addon-links/-/addon-links-3.3.3.tgz#b5fe29f3aa3d5fe812aa9d47240846bf4d040ad1" @@ -40,37 +21,25 @@ global "^4.3.2" prop-types "^15.5.10" -"@storybook/addons@^3.3.1": - version "3.3.1" - resolved "https://registry.yarnpkg.com/@storybook/addons/-/addons-3.3.1.tgz#5be6114fd0c88e05788ad86ea0294cc5b9ee3598" - "@storybook/addons@^3.3.3": version "3.3.3" resolved "https://registry.yarnpkg.com/@storybook/addons/-/addons-3.3.3.tgz#968d98a61957bc30db642b43924c3332dbaec40e" -"@storybook/channel-postmessage@^3.3.1": - version "3.3.1" - resolved "https://registry.yarnpkg.com/@storybook/channel-postmessage/-/channel-postmessage-3.3.1.tgz#b5a1dce756347d33636479e23b0392a257382b71" +"@storybook/channel-postmessage@^3.3.3": + version "3.3.3" + resolved "https://registry.yarnpkg.com/@storybook/channel-postmessage/-/channel-postmessage-3.3.3.tgz#d3c1a6da0b9bb111eb410419788d2609924f894b" dependencies: - "@storybook/channels" "^3.3.1" + "@storybook/channels" "^3.3.3" global "^4.3.2" json-stringify-safe "^5.0.1" -"@storybook/channels@^3.3.1": - version "3.3.1" - resolved "https://registry.yarnpkg.com/@storybook/channels/-/channels-3.3.1.tgz#da5e2f9e7beb3dad2d7dea4caa3e0a91f977d332" +"@storybook/channels@^3.3.3": + version "3.3.3" + resolved "https://registry.yarnpkg.com/@storybook/channels/-/channels-3.3.3.tgz#ee9a496f984a41c0b12b523a1375d21e1f05eb7d" -"@storybook/client-logger@^3.3.1": - version "3.3.1" - resolved "https://registry.yarnpkg.com/@storybook/client-logger/-/client-logger-3.3.1.tgz#2c36ae058e96139bb586eff09c2092cfcd508e26" - -"@storybook/components@^3.3.1": - version "3.3.1" - resolved "https://registry.yarnpkg.com/@storybook/components/-/components-3.3.1.tgz#c4a1fdb44d0411cb89a964ac373c1300f56ccf02" - dependencies: - glamor "^2.20.40" - glamorous "^4.11.2" - prop-types "^15.6.0" +"@storybook/client-logger@^3.3.3": + version "3.3.3" + resolved "https://registry.yarnpkg.com/@storybook/client-logger/-/client-logger-3.3.3.tgz#3fd2a8dc243d9d3d2f171f7a02f58c805c409385" "@storybook/components@^3.3.3": version "3.3.3" @@ -88,9 +57,9 @@ "@storybook/react-simple-di" "^1.2.1" babel-runtime "6.x.x" -"@storybook/node-logger@^3.3.1": - version "3.3.1" - resolved "https://registry.yarnpkg.com/@storybook/node-logger/-/node-logger-3.3.1.tgz#a925553ddd40e9a7dc4e662685d17649258994dc" +"@storybook/node-logger@^3.3.3": + version "3.3.3" + resolved "https://registry.yarnpkg.com/@storybook/node-logger/-/node-logger-3.3.3.tgz#e22e29a27fc440ea58134e36a85d5a38eca2ee6e" dependencies: chalk "^2.3.0" npmlog "^4.1.2" @@ -118,17 +87,17 @@ dependencies: babel-runtime "^6.5.0" -"@storybook/react@^3.3.1": - version "3.3.1" - resolved "https://registry.yarnpkg.com/@storybook/react/-/react-3.3.1.tgz#62bef2bf928bc51d1d00e8f3bb3728b86d464358" +"@storybook/react@^3.3.3": + version "3.3.3" + resolved "https://registry.yarnpkg.com/@storybook/react/-/react-3.3.3.tgz#fd7f41fa897b82af09bb4026cfbad9684901cbe1" dependencies: - "@storybook/addon-actions" "^3.3.1" - "@storybook/addon-links" "^3.3.1" - "@storybook/addons" "^3.3.1" - "@storybook/channel-postmessage" "^3.3.1" - "@storybook/client-logger" "^3.3.1" - "@storybook/node-logger" "^3.3.1" - "@storybook/ui" "^3.3.1" + "@storybook/addon-actions" "^3.3.3" + "@storybook/addon-links" "^3.3.3" + "@storybook/addons" "^3.3.3" + "@storybook/channel-postmessage" "^3.3.3" + "@storybook/client-logger" "^3.3.3" + "@storybook/node-logger" "^3.3.3" + "@storybook/ui" "^3.3.3" airbnb-js-shims "^1.4.0" autoprefixer "^7.2.3" babel-loader "^7.1.2" @@ -160,7 +129,7 @@ json-loader "^0.5.7" json-stringify-safe "^5.0.1" json5 "^0.5.1" - lodash-es "^4.17.4" + lodash.flattendeep "^4.4.0" markdown-loader "^2.0.1" npmlog "^4.1.2" postcss-flexbugs-fixes "^3.2.0" @@ -172,7 +141,7 @@ serve-favicon "^2.4.5" shelljs "^0.7.8" style-loader "^0.19.1" - uglifyjs-webpack-plugin "^1.1.4" + uglifyjs-webpack-plugin "^1.1.5" url-loader "^0.6.2" util-deprecate "^1.0.2" uuid "^3.1.0" @@ -180,11 +149,11 @@ webpack-dev-middleware "^1.12.2" webpack-hot-middleware "^2.21.0" -"@storybook/ui@^3.3.1": - version "3.3.1" - resolved "https://registry.yarnpkg.com/@storybook/ui/-/ui-3.3.1.tgz#15fdaf4b316e6a906854115d878549cf5924957d" +"@storybook/ui@^3.3.3": + version "3.3.3" + resolved "https://registry.yarnpkg.com/@storybook/ui/-/ui-3.3.3.tgz#c8eb95a1734c654e082d3909f665ae00ad472d94" dependencies: - "@storybook/components" "^3.3.1" + "@storybook/components" "^3.3.3" "@storybook/mantra-core" "^1.7.2" "@storybook/react-komposer" "^2.0.3" babel-runtime "^6.26.0" @@ -194,7 +163,9 @@ global "^4.3.2" json-stringify-safe "^5.0.1" keycode "^2.1.9" - lodash-es "^4.17.4" + lodash.debounce "^4.0.8" + lodash.pick "^4.4.0" + lodash.sortby "^4.7.0" podda "^1.2.2" prop-types "^15.6.0" qs "^6.5.1" @@ -6311,7 +6282,7 @@ locate-path@^2.0.0: p-locate "^2.0.0" path-exists "^3.0.0" -lodash-es@^4.17.4, lodash-es@^4.2.1: +lodash-es@^4.2.1: version "4.17.4" resolved "https://registry.yarnpkg.com/lodash-es/-/lodash-es-4.17.4.tgz#dcc1d7552e150a0640073ba9cb31d70f032950e7" @@ -6371,6 +6342,10 @@ lodash.camelcase@^4.3.0: version "4.3.0" resolved "https://registry.yarnpkg.com/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz#b28aa6288a2b9fc651035c7711f65ab6190331a6" +lodash.debounce@^4.0.8: + version "4.0.8" + resolved "https://registry.yarnpkg.com/lodash.debounce/-/lodash.debounce-4.0.8.tgz#82d79bff30a67c4005ffd5e2515300ad9ca4d7af" + lodash.defaults@^4.0.1: version "4.2.0" resolved "https://registry.yarnpkg.com/lodash.defaults/-/lodash.defaults-4.2.0.tgz#d09178716ffea4dde9e5fb7b37f6f0802274580c" @@ -6393,6 +6368,10 @@ lodash.flatten@^4.2.0: version "4.4.0" resolved "https://registry.yarnpkg.com/lodash.flatten/-/lodash.flatten-4.4.0.tgz#f31c22225a9632d2bbf8e4addbef240aa765a61f" +lodash.flattendeep@^4.4.0: + version "4.4.0" + resolved "https://registry.yarnpkg.com/lodash.flattendeep/-/lodash.flattendeep-4.4.0.tgz#fb030917f86a3134e5bc9bec0d69e0013ddfedb2" + lodash.foreach@^4.3.0: version "4.5.0" resolved "https://registry.yarnpkg.com/lodash.foreach/-/lodash.foreach-4.5.0.tgz#1a6a35eace401280c7f06dddec35165ab27e3e53" @@ -6473,6 +6452,10 @@ lodash.some@^4.4.0, lodash.some@^4.6.0: version "4.6.0" resolved "https://registry.yarnpkg.com/lodash.some/-/lodash.some-4.6.0.tgz#1bb9f314ef6b8baded13b549169b2a945eb68e4d" +lodash.sortby@^4.7.0: + version "4.7.0" + resolved "https://registry.yarnpkg.com/lodash.sortby/-/lodash.sortby-4.7.0.tgz#edd14c824e2cc9c1e0b0a1b42bb5210516a42438" + lodash.template@^3.0.0: version "3.6.2" resolved "https://registry.yarnpkg.com/lodash.template/-/lodash.template-3.6.2.tgz#f8cdecc6169a255be9098ae8b0c53d378931d14f" @@ -6608,10 +6591,6 @@ make-dir@^1.0.0: dependencies: pify "^2.3.0" -make-error@^1.3.0: - version "1.3.0" - resolved "https://registry.yarnpkg.com/make-error/-/make-error-1.3.0.tgz#52ad3a339ccf10ce62b4040b708fe707244b8b96" - make-error@^1.3.2: version "1.3.2" resolved "https://registry.yarnpkg.com/make-error/-/make-error-1.3.2.tgz#8762ffad2444dd8ff1f7c819629fa28e24fea1c4" @@ -10726,7 +10705,7 @@ uglifyjs-webpack-plugin@^0.4.6: uglify-js "^2.8.29" webpack-sources "^1.0.1" -uglifyjs-webpack-plugin@^1.1.4: +uglifyjs-webpack-plugin@^1.1.5: version "1.1.5" resolved "https://registry.yarnpkg.com/uglifyjs-webpack-plugin/-/uglifyjs-webpack-plugin-1.1.5.tgz#5ec4a16da0fd10c96538f715caed10dbdb180875" dependencies: From 172fc0f84f10f2b8ded183573a3c4b912c51a506 Mon Sep 17 00:00:00 2001 From: "Dependencies.io Bot" Date: Thu, 28 Dec 2017 19:05:07 +0000 Subject: [PATCH 18/19] Update axe-core from 2.6.0 to 2.6.1 in addons/a11y --- addons/a11y/package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/addons/a11y/package.json b/addons/a11y/package.json index 68b7ffc37eb..e8eba6b85fd 100644 --- a/addons/a11y/package.json +++ b/addons/a11y/package.json @@ -26,7 +26,7 @@ }, "dependencies": { "@storybook/components": "^3.3.3", - "axe-core": "^2.6.0", + "axe-core": "^2.6.1", "prop-types": "^15.6.0" }, "peerDependencies": { diff --git a/yarn.lock b/yarn.lock index ddfc0c919b3..c0fd93ea9be 100644 --- a/yarn.lock +++ b/yarn.lock @@ -853,9 +853,9 @@ aws4@^1.2.1, aws4@^1.6.0: version "1.6.0" resolved "https://registry.yarnpkg.com/aws4/-/aws4-1.6.0.tgz#83ef5ca860b2b32e4a0deedee8c771b9db57471e" -axe-core@^2.6.0: - version "2.6.0" - resolved "https://registry.yarnpkg.com/axe-core/-/axe-core-2.6.0.tgz#fa88e4cc34badee7eb208aae31fb4977ae488223" +axe-core@^2.6.1: + version "2.6.1" + resolved "https://registry.yarnpkg.com/axe-core/-/axe-core-2.6.1.tgz#28772c4f76966d373acda35b9a409299dc00d1b5" axobject-query@^0.1.0: version "0.1.0" @@ -14188,7 +14188,7 @@ vm-browserify@0.0.4: dependencies: indexof "0.0.1" -"vm2@github:patriksimek/vm2#custom_files": +vm2@patriksimek/vm2#custom_files: version "3.5.0" resolved "https://codeload.github.com/patriksimek/vm2/tar.gz/7e82f90ac705fc44fad044147cb0df09b4c79a57" From f816e30e7eea73c5e113c581dad06f98064b1de4 Mon Sep 17 00:00:00 2001 From: Alan Souza Date: Thu, 28 Dec 2017 12:35:02 -0800 Subject: [PATCH 19/19] Fixed all peerDependencies for apps. --- addons/storyshots/package.json | 2 +- app/react-native/package.json | 2 +- app/vue/package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/addons/storyshots/package.json b/addons/storyshots/package.json index 36356a90379..8d5521ab990 100644 --- a/addons/storyshots/package.json +++ b/addons/storyshots/package.json @@ -41,7 +41,7 @@ }, "peerDependencies": { "@storybook/addons": "^3.3.3", - "babel-core": "^6.26.0 | ^7.0.0-0", + "babel-core": "^6.26.0 || ^7.0.0-0", "react": "*", "react-test-renderer": "*" } diff --git a/app/react-native/package.json b/app/react-native/package.json index bd0d89fa2b9..dcee8ade10b 100644 --- a/app/react-native/package.json +++ b/app/react-native/package.json @@ -76,7 +76,7 @@ "react-native": "^0.51.0" }, "peerDependencies": { - "babel-core": "^6.26.0 | ^7.0.0-0", + "babel-core": "^6.26.0 || ^7.0.0-0", "react": "*", "react-native": ">=0.27.0" } diff --git a/app/vue/package.json b/app/vue/package.json index 59172c41441..eb21b273e22 100644 --- a/app/vue/package.json +++ b/app/vue/package.json @@ -84,7 +84,7 @@ "vue-template-compiler": "^2.5.13" }, "peerDependencies": { - "babel-core": "^6.26.0 | ^7.0.0-0", + "babel-core": "^6.26.0 || ^7.0.0-0", "vue": "2.5.13", "vue-loader": "13.6.1", "vue-template-compiler": "2.5.13"