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 diff --git a/addons/a11y/package.json b/addons/a11y/package.json index e71b9484c7c..e8eba6b85fd 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,8 +25,8 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/components": "^3.3.2", - "axe-core": "^2.6.0", + "@storybook/components": "^3.3.3", + "axe-core": "^2.6.1", "prop-types": "^15.6.0" }, "peerDependencies": { 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 975ff5c4233..850de003870 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", @@ -26,8 +26,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", @@ -42,7 +42,7 @@ }, "peerDependencies": { "@angular/core": ">=4.0.0", - "@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/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-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/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 32a10109a78..73371148635 100644 --- a/app/react/src/client/preview/index.js +++ b/app/react/src/client/preview/index.js @@ -21,7 +21,9 @@ const isBrowser = !(navigator.userAgent.indexOf('jsdom') > -1); const storyStore = new StoryStore(); +/* eslint-disable no-underscore-dangle */ const reduxStore = createStore(reducer); +/* eslint-enable */ const context = { storyStore, reduxStore }; if (isBrowser) { @@ -54,3 +56,5 @@ const renderUI = () => { }; reduxStore.subscribe(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 6ee916ac793..4f003ce6472 100644 --- a/app/react/src/client/preview/render.js +++ b/app/react/src/client/preview/render.js @@ -39,7 +39,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!

; @@ -60,6 +60,7 @@ export function renderMain(data, storyStore) { // However, we do want the story to re-render if the store itself has changed // (which happens at the moment when HMR occurs) if ( + !forceRender && revision === previousRevision && selectedKind === previousKind && previousStory === selectedStory @@ -109,14 +110,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); } 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/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); } diff --git a/docs/package.json b/docs/package.json index 83dd5df693d..f2f3d6d1f78 100644 --- a/docs/package.json +++ b/docs/package.json @@ -18,10 +18,10 @@ "storybook": "start-storybook -p 9009 -s src/pages" }, "dependencies": { - "@storybook/addon-actions": "^3.3.1", - "@storybook/addon-links": "^3.3.1", - "@storybook/addons": "^3.3.1", - "@storybook/react": "^3.3.1", + "@storybook/addon-actions": "^3.3.3", + "@storybook/addon-links": "^3.3.3", + "@storybook/addons": "^3.3.3", + "@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 0a9c0f1a9b0..288d5aea0a2 100644 --- a/docs/yarn.lock +++ b/docs/yarn.lock @@ -2,48 +2,48 @@ # 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" +"@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.0" + 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" +"@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.1" + "@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" +"@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/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.1": - version "3.3.1" - resolved "https://registry.yarnpkg.com/@storybook/components/-/components-3.3.1.tgz#c4a1fdb44d0411cb89a964ac373c1300f56ccf02" +"@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" @@ -57,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" @@ -87,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" @@ -129,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" @@ -141,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" @@ -149,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" @@ -163,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" @@ -6280,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" @@ -6340,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" @@ -6362,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" @@ -6442,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" @@ -6577,9 +6591,9 @@ 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" makeerror@1.0.x: version "1.0.11" @@ -10691,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: diff --git a/examples/angular-cli/package.json b/examples/angular-cli/package.json index aa6c1c8b2a6..54a62ff19b5 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,12 +31,12 @@ "@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/addon-storyshots": "^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/addon-storyshots": "^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/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`] = ` + +`; 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', () => ( + +)); 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/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" } } 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" } } diff --git a/package.json b/package.json index 4fae5241f2f..c0c1fa4e4e3 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 670caa41e1b..ee87e73f10d 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" @@ -3725,9 +3725,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" @@ -3737,6 +3737,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"