diff --git a/CHANGELOG.md b/CHANGELOG.md index 39beccab8ff8..b13076d8b0fc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,126 @@ +# 3.4.0-alpha.7 + +2018-February-03 + +#### Features + +- Storyshots: env.NODE_PATH support [#2873](https://github.com/storybooks/storybook/pull/2873) +- Knobs: Select knob key/value ordering [#1745](https://github.com/storybooks/storybook/pull/1745) +- Angular: Add option to pass custom styles for ng components [#2856](https://github.com/storybooks/storybook/pull/2856) +- Core: Add watch mode for build-storybook [#2866](https://github.com/storybooks/storybook/pull/2866) +- Core: Add `__dirname` support [#2791](https://github.com/storybooks/storybook/pull/2791) + +#### Bug Fixes + +- UI: remove zero on story loading [#2857](https://github.com/storybooks/storybook/pull/2857) + +#### Documentation + +- StoryShots: Document ref mocking [#2869](https://github.com/storybooks/storybook/pull/2869) + +#### Maintenance + +- Typescript distribution [#2846](https://github.com/storybooks/storybook/pull/2846) +- Use UTC timezone in formatting too for knobs test [#2861](https://github.com/storybooks/storybook/pull/2861) + +#### Dependency Upgrades + +
+ +76 Upgrades + + +- Upgraded `eslint-plugin-prettier` in `/` from "2.5.0" to "2.6.0" [#2910](https://github.com/storybooks/storybook/pull/2910) +- Upgraded `nodemon` in `/` from "1.14.11" to "1.14.12" [#2910](https://github.com/storybooks/storybook/pull/2910) +- Upgraded `postcss-loader` in `lib/core` from "2.0.10" to "2.1.0" [#2910](https://github.com/storybooks/storybook/pull/2910) +- Upgraded `postcss-loader` in `app/angular` from "2.0.10" to "2.1.0" [#2910](https://github.com/storybooks/storybook/pull/2910) +- Upgraded `nodemon` in `app/angular` from "1.14.11" to "1.14.12" [#2910](https://github.com/storybooks/storybook/pull/2910) +- Upgraded `postcss-loader` in `app/polymer` from "2.0.10" to "2.1.0" [#2910](https://github.com/storybooks/storybook/pull/2910) +- Upgraded `nodemon` in `app/polymer` from "1.14.11" to "1.14.12" [#2910](https://github.com/storybooks/storybook/pull/2910) +- Upgraded `postcss-loader` in `app/react-native` from "2.0.10" to "2.1.0" [#2910](https://github.com/storybooks/storybook/pull/2910) +- Upgraded `postcss-loader` in `app/react` from "2.0.10" to "2.1.0" [#2910](https://github.com/storybooks/storybook/pull/2910) +- Upgraded `nodemon` in `app/react` from "1.14.11" to "1.14.12" [#2910](https://github.com/storybooks/storybook/pull/2910) +- Upgraded `postcss-loader` in `app/vue` from "2.0.10" to "2.1.0" [#2910](https://github.com/storybooks/storybook/pull/2910) +- Upgraded `nodemon` in `app/vue` from "1.14.11" to "1.14.12" [#2910](https://github.com/storybooks/storybook/pull/2910) +- Upgraded `@angular/common` in `/` from "5.2.2" to "5.2.3" [#2901](https://github.com/storybooks/storybook/pull/2901) +- Upgraded `@angular/compiler` in `/` from "5.2.2" to "5.2.3" [#2901](https://github.com/storybooks/storybook/pull/2901) +- Upgraded `@angular/core` in `/` from "5.2.2" to "5.2.3" [#2901](https://github.com/storybooks/storybook/pull/2901) +- Upgraded `@angular/forms` in `/` from "5.2.2" to "5.2.3" [#2901](https://github.com/storybooks/storybook/pull/2901) +- Upgraded `@angular/platform-browser` in `/` from "5.2.2" to "5.2.3" [#2901](https://github.com/storybooks/storybook/pull/2901) +- Upgraded `@angular/platform-browser-dynamic` in `/` from "5.2.2" to "5.2.3" [#2901](https://github.com/storybooks/storybook/pull/2901) +- Upgraded `tslint-config-prettier` in `/` from "1.6.0" to "1.7.0" [#2901](https://github.com/storybooks/storybook/pull/2901) +- Upgraded `react-split-pane` in `lib/ui` from "0.1.74" to "0.1.75" [#2901](https://github.com/storybooks/storybook/pull/2901) +- Upgraded `@angular/animations` in `examples/angular-cli` from "5.2.2" to "5.2.3" [#2901](https://github.com/storybooks/storybook/pull/2901) +- Upgraded `@angular/common` in `examples/angular-cli` from "5.2.2" to "5.2.3" [#2901](https://github.com/storybooks/storybook/pull/2901) +- Upgraded `@angular/compiler` in `examples/angular-cli` from "5.2.2" to "5.2.3" [#2901](https://github.com/storybooks/storybook/pull/2901) +- Upgraded `@angular/core` in `examples/angular-cli` from "5.2.2" to "5.2.3" [#2901](https://github.com/storybooks/storybook/pull/2901) +- Upgraded `@angular/forms` in `examples/angular-cli` from "5.2.2" to "5.2.3" [#2901](https://github.com/storybooks/storybook/pull/2901) +- Upgraded `@angular/http` in `examples/angular-cli` from "5.2.2" to "5.2.3" [#2901](https://github.com/storybooks/storybook/pull/2901) +- Upgraded `@angular/platform-browser` in `examples/angular-cli` from "5.2.2" to "5.2.3" [#2901](https://github.com/storybooks/storybook/pull/2901) +- Upgraded `@angular/platform-browser-dynamic` in `examples/angular-cli` from "5.2.2" to "5.2.3" [#2901](https://github.com/storybooks/storybook/pull/2901) +- Upgraded `@angular/router` in `examples/angular-cli` from "5.2.2" to "5.2.3" [#2901](https://github.com/storybooks/storybook/pull/2901) +- Upgraded `@angular/cli` in `examples/angular-cli` from "1.6.6" to "1.6.7" [#2901](https://github.com/storybooks/storybook/pull/2901) +- Upgraded `@angular/compiler-cli` in `examples/angular-cli` from "5.2.2" to "5.2.3" [#2901](https://github.com/storybooks/storybook/pull/2901) +- Upgraded `@angular/language-service` in `examples/angular-cli` from "5.2.2" to "5.2.3" [#2901](https://github.com/storybooks/storybook/pull/2901) +- Upgraded `babel-plugin-macros` in `/` from "2.0.0" to "2.1.0" [#2891](https://github.com/storybooks/storybook/pull/2891) +- Upgraded `babel-plugin-macros` in `app/angular` from "2.0.0" to "2.1.0" [#2891](https://github.com/storybooks/storybook/pull/2891) +- Upgraded `typescript` in `app/angular` from "2.6.2" to "2.7.1" [#2891](https://github.com/storybooks/storybook/pull/2891) +- Upgraded `babel-plugin-macros` in `app/polymer` from "2.0.0" to "2.1.0" [#2891](https://github.com/storybooks/storybook/pull/2891) +- Upgraded `babel-preset-minify` in `app/polymer` from "0.2.0" to "0.3.0" [#2891](https://github.com/storybooks/storybook/pull/2891) +- Upgraded `babel-plugin-macros` in `app/react-native` from "2.0.0" to "2.1.0" [#2891](https://github.com/storybooks/storybook/pull/2891) +- Upgraded `babel-preset-minify` in `app/react-native` from "0.2.0" to "0.3.0" [#2891](https://github.com/storybooks/storybook/pull/2891) +- Upgraded `babel-plugin-macros` in `app/react` from "2.0.0" to "2.1.0" [#2891](https://github.com/storybooks/storybook/pull/2891) +- Upgraded `babel-preset-minify` in `app/react` from "0.2.0" to "0.3.0" [#2891](https://github.com/storybooks/storybook/pull/2891) +- Upgraded `babel-plugin-macros` in `app/vue` from "2.0.0" to "2.1.0" [#2891](https://github.com/storybooks/storybook/pull/2891) +- Upgraded `babel-preset-minify` in `app/vue` from "0.2.0" to "0.3.0" [#2891](https://github.com/storybooks/storybook/pull/2891) +- Upgraded `vue-style-loader` in `app/vue` from "3.1.1" to "3.1.2" [#2891](https://github.com/storybooks/storybook/pull/2891) +- Upgraded `vue-loader` in `app/vue` from "13.7.0" to "13.7.1" [#2891](https://github.com/storybooks/storybook/pull/2891) +- Upgraded `typescript` in `examples/angular-cli` from "2.6.2" to "2.7.1" [#2891](https://github.com/storybooks/storybook/pull/2891) +- Upgraded `vue-loader` in `examples/vue-kitchen-sink` from "13.7.0" to "13.7.1" [#2891](https://github.com/storybooks/storybook/pull/2891) +- Upgraded `vue-style-loader` in `examples/vue-kitchen-sink` from "3.1.1" to "3.1.2" [#2891](https://github.com/storybooks/storybook/pull/2891) +- Upgraded `gatsby-source-filesystem` in `/docs` from "1.5.15" to "1.5.16" [#2875](https://github.com/storybooks/storybook/pull/2875) +- Upgraded `gatsby` in `/docs` from "1.9.172" to "1.9.174" [#2875](https://github.com/storybooks/storybook/pull/2875) +- Upgraded `@types/lodash` in `/` from "4.14.97" to "4.14.98" [#2876](https://github.com/storybooks/storybook/pull/2876) +- Upgraded `jest-enzyme` in `/` from "4.0.2" to "4.1.0" [#2876](https://github.com/storybooks/storybook/pull/2876) +- Upgraded `uglifyjs-webpack-plugin` in `app/angular` from "1.1.6" to "1.1.7" [#2876](https://github.com/storybooks/storybook/pull/2876) +- Upgraded `uglifyjs-webpack-plugin` in `app/react-native` from "1.1.6" to "1.1.7" [#2876](https://github.com/storybooks/storybook/pull/2876) +- Upgraded `uglifyjs-webpack-plugin` in `app/react` from "1.1.6" to "1.1.7" [#2876](https://github.com/storybooks/storybook/pull/2876) +- Upgraded `uglifyjs-webpack-plugin` in `app/vue` from "1.1.6" to "1.1.7" [#2876](https://github.com/storybooks/storybook/pull/2876) +- Upgraded `gatsby-link` in `/docs` from "1.6.34" to "1.6.35" [#2858](https://github.com/storybooks/storybook/pull/2858) +- Upgraded `gatsby-transformer-remark` in `/docs` from "1.7.29" to "1.7.30" [#2858](https://github.com/storybooks/storybook/pull/2858) +- Upgraded `gatsby` in `/docs` from "1.9.169" to "1.9.171" [#2858](https://github.com/storybooks/storybook/pull/2858) +- Make dependencies in polymer & angular up to date with other apps [#2852](https://github.com/storybooks/storybook/pull/2852) +- Upgraded `@types/lodash` in `/` from "4.14.96" to "4.14.97" [#2850](https://github.com/storybooks/storybook/pull/2850) +- Upgraded `react-datetime` in `addons/knobs` from "2.11.1" to "2.12.0" [#2850](https://github.com/storybooks/storybook/pull/2850) +- Upgraded `style-loader` in `addons/knobs` from "0.19.1" to "0.20.1" [#2850](https://github.com/storybooks/storybook/pull/2850) +- Upgraded `style-loader` in `lib/core` from "0.19.1" to "0.20.1" [#2850](https://github.com/storybooks/storybook/pull/2850) +- Upgraded `style-loader` in `app/angular` from "0.18.2" to "0.20.1" [#2850](https://github.com/storybooks/storybook/pull/2850) +- Upgraded `style-loader` in `app/polymer` from "0.18.2" to "0.20.1" [#2850](https://github.com/storybooks/storybook/pull/2850) +- Upgraded `style-loader` in `app/react-native` from "0.19.1" to "0.20.1" [#2850](https://github.com/storybooks/storybook/pull/2850) +- Upgraded `style-loader` in `app/react` from "0.19.1" to "0.20.1" [#2850](https://github.com/storybooks/storybook/pull/2850) +- Upgraded `style-loader` in `app/vue` from "0.19.1" to "0.20.1" [#2850](https://github.com/storybooks/storybook/pull/2850) +- Upgraded `@polymer/polymer` in `examples/polymer-cli` from "2.3.1" to "2.4.0" [#2850](https://github.com/storybooks/storybook/pull/2850) +- Upgraded `@types/jasmine` in `examples/angular-cli` from "2.8.5" to "2.8.6" [#2850](https://github.com/storybooks/storybook/pull/2850) +- Upgraded `@storybook/addon-actions` in `/docs` from "3.3.10" to "3.3.11" [#2849](https://github.com/storybooks/storybook/pull/2849) +- Upgraded `@storybook/addon-links` in `/docs` from "3.3.10" to "3.3.11" [#2849](https://github.com/storybooks/storybook/pull/2849) +- Upgraded `@storybook/addons` in `/docs` from "3.3.10" to "3.3.11" [#2849](https://github.com/storybooks/storybook/pull/2849) +- Upgraded `@storybook/react` in `/docs` from "3.3.10" to "3.3.11" [#2849](https://github.com/storybooks/storybook/pull/2849) +- Update url-loader from 0.5.8 to 0.6.2 in app/angular [#2847](https://github.com/storybooks/storybook/pull/2847) + +
+ +# 3.3.12 + +2018-February-02 + +#### Bug Fixes + +- Fix browser navigation again [#2870](https://github.com/storybooks/storybook/pull/2870) + +#### Dependency Upgrades + +- Update url-loader from 0.5.8 to 0.6.2 in app/angular [#2847](https://github.com/storybooks/storybook/pull/2847) + # 3.4.0-alpha.6 2018-January-27 diff --git a/addons/a11y/package.json b/addons/a11y/package.json index 86530ad5efac..c0a23227f4b8 100644 --- a/addons/a11y/package.json +++ b/addons/a11y/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-a11y", - "version": "3.4.0-alpha.6", + "version": "3.4.0-alpha.7", "description": "a11y addon for storybook", "keywords": [ "a11y", @@ -25,7 +25,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/components": "^3.4.0-alpha.6", + "@storybook/components": "^3.4.0-alpha.7", "axe-core": "^2.6.1", "glamorous": "^4.11.4", "prop-types": "^15.6.0" diff --git a/addons/actions/package.json b/addons/actions/package.json index 36f2e3a753b5..a3bbdb45c9a6 100644 --- a/addons/actions/package.json +++ b/addons/actions/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-actions", - "version": "3.4.0-alpha.6", + "version": "3.4.0-alpha.7", "description": "Action Logger addon for storybook", "keywords": [ "storybook" diff --git a/addons/background/package.json b/addons/background/package.json index c5d4c21f6087..1124d8b9c67f 100644 --- a/addons/background/package.json +++ b/addons/background/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-backgrounds", - "version": "3.4.0-alpha.6", + "version": "3.4.0-alpha.7", "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 30823deee04e..69081fbb7507 100644 --- a/addons/centered/package.json +++ b/addons/centered/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-centered", - "version": "3.4.0-alpha.6", + "version": "3.4.0-alpha.7", "description": "Storybook decorator to center components", "license": "MIT", "author": "Muhammed Thanish ", diff --git a/addons/events/package.json b/addons/events/package.json index 4f17da3137b6..6c09ac3e0cad 100644 --- a/addons/events/package.json +++ b/addons/events/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-events", - "version": "3.4.0-alpha.6", + "version": "3.4.0-alpha.7", "description": "Add events to your Storybook stories.", "keywords": [ "addon", diff --git a/addons/graphql/package.json b/addons/graphql/package.json index cc42dde6d69f..1e9a9c88f1b1 100644 --- a/addons/graphql/package.json +++ b/addons/graphql/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-graphql", - "version": "3.4.0-alpha.6", + "version": "3.4.0-alpha.7", "description": "Storybook addon to display the GraphiQL IDE", "keywords": [ "storybook" diff --git a/addons/info/package.json b/addons/info/package.json index 9b1c66e1aade..ef24a050d67c 100644 --- a/addons/info/package.json +++ b/addons/info/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-info", - "version": "3.4.0-alpha.6", + "version": "3.4.0-alpha.7", "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.4.0-alpha.6", - "@storybook/components": "^3.4.0-alpha.6", + "@storybook/client-logger": "^3.4.0-alpha.7", + "@storybook/components": "^3.4.0-alpha.7", "babel-runtime": "^6.26.0", "glamorous": "^4.11.4", "global": "^4.3.2", diff --git a/addons/info/src/components/types/ArrayOf.js b/addons/info/src/components/types/ArrayOf.js index ce78fc6fb65f..81834331cedb 100644 --- a/addons/info/src/components/types/ArrayOf.js +++ b/addons/info/src/components/types/ArrayOf.js @@ -1,13 +1,13 @@ import React from 'react'; import PrettyPropType from './PrettyPropType'; -import { TypeInfo } from './proptypes'; +import { TypeInfo, getPropTypes } from './proptypes'; const ArrayOf = ({ propType }) => ( [ - + ] diff --git a/addons/info/src/components/types/Enum.js b/addons/info/src/components/types/Enum.js index 83b017eed92e..2de8d4830a87 100644 --- a/addons/info/src/components/types/Enum.js +++ b/addons/info/src/components/types/Enum.js @@ -1,7 +1,13 @@ import React from 'react'; -import { TypeInfo } from './proptypes'; +import { TypeInfo, getPropTypes } from './proptypes'; -const Enum = ({ propType }) => {propType.value.map(({ value }) => value).join(' | ')}; +const Enum = ({ propType }) => ( + + {getPropTypes(propType) + .map(({ value }) => value) + .join(' | ')} + +); Enum.propTypes = { propType: TypeInfo.isRequired, diff --git a/addons/info/src/components/types/InstanceOf.js b/addons/info/src/components/types/InstanceOf.js index 94577c950954..786c77fdd399 100644 --- a/addons/info/src/components/types/InstanceOf.js +++ b/addons/info/src/components/types/InstanceOf.js @@ -1,7 +1,7 @@ import React from 'react'; -import { TypeInfo } from './proptypes'; +import { TypeInfo, getPropTypes } from './proptypes'; -const InstanceOf = ({ propType }) => {propType.value}; +const InstanceOf = ({ propType }) => {getPropTypes(propType)}; InstanceOf.propTypes = { propType: TypeInfo.isRequired, diff --git a/addons/info/src/components/types/Literal.js b/addons/info/src/components/types/Literal.js new file mode 100644 index 000000000000..83b222e40788 --- /dev/null +++ b/addons/info/src/components/types/Literal.js @@ -0,0 +1,10 @@ +import React from 'react'; +import { TypeInfo } from './proptypes'; + +const Literal = ({ propType }) => {propType.value}; + +Literal.propTypes = { + propType: TypeInfo.isRequired, +}; + +export default Literal; diff --git a/addons/info/src/components/types/ObjectOf.js b/addons/info/src/components/types/ObjectOf.js index c9604d299017..e27908d814a2 100644 --- a/addons/info/src/components/types/ObjectOf.js +++ b/addons/info/src/components/types/ObjectOf.js @@ -1,12 +1,12 @@ import React from 'react'; import PrettyPropType from './PrettyPropType'; -import { TypeInfo } from './proptypes'; +import { TypeInfo, getPropTypes } from './proptypes'; const ObjectOf = ({ propType }) => ( {'{[]: '} - + {'}'} ); diff --git a/addons/info/src/components/types/OneOf.js b/addons/info/src/components/types/OneOf.js index a771772d8e1f..b10f27b89794 100644 --- a/addons/info/src/components/types/OneOf.js +++ b/addons/info/src/components/types/OneOf.js @@ -1,7 +1,13 @@ import React from 'react'; -import { TypeInfo } from './proptypes'; +import { TypeInfo, getPropTypes } from './proptypes'; -const OneOf = ({ propType }) => {propType.value.map(({ value }) => value).join(' | ')}; +const OneOf = ({ propType }) => ( + + {getPropTypes(propType) + .map(({ value }) => value) + .join(' | ')} + +); OneOf.propTypes = { propType: TypeInfo.isRequired, diff --git a/addons/info/src/components/types/OneOfType.js b/addons/info/src/components/types/OneOfType.js index fab5bb53bc94..8b04c5fb4849 100644 --- a/addons/info/src/components/types/OneOfType.js +++ b/addons/info/src/components/types/OneOfType.js @@ -1,18 +1,18 @@ import React from 'react'; import PrettyPropType from './PrettyPropType'; -import { TypeInfo } from './proptypes'; +import { TypeInfo, getPropTypes } from './proptypes'; const OneOfType = ({ propType }) => { - const { length } = propType.value; + const propTypes = getPropTypes(propType); return ( - {propType.value + {propTypes .map((value, i) => { const key = `${value.name}${value.value ? `-${value.value}` : ''}`; return [ , - i < length - 1 ? | : null, + i < propTypes.length - 1 ? | : null, ]; }) .reduce((acc, tuple) => acc.concat(tuple), [])} diff --git a/addons/info/src/components/types/PrettyPropType.js b/addons/info/src/components/types/PrettyPropType.js index 846842ffc136..d725edcb841e 100644 --- a/addons/info/src/components/types/PrettyPropType.js +++ b/addons/info/src/components/types/PrettyPropType.js @@ -9,6 +9,7 @@ import ObjectOf from './ObjectOf'; import OneOf from './OneOf'; import InstanceOf from './InstanceOf'; import Signature from './Signature'; +import Literal from './Literal'; import { TypeInfo } from './proptypes'; @@ -20,6 +21,7 @@ const propTypeComponentMap = new Map([ ['objectOf', ObjectOf], // Might be overkill to have below proptypes as separate components *shrug* ['object', ObjectType], + ['literal', Literal], ['enum', OneOf], ['instanceOf', InstanceOf], ['signature', Signature], diff --git a/addons/info/src/components/types/Shape.js b/addons/info/src/components/types/Shape.js index fc366b935a79..3349c96a1478 100644 --- a/addons/info/src/components/types/Shape.js +++ b/addons/info/src/components/types/Shape.js @@ -5,7 +5,7 @@ import { HighlightButton } from '@storybook/components'; import PrettyPropType from './PrettyPropType'; import PropertyLabel from './PropertyLabel'; -import { TypeInfo } from './proptypes'; +import { TypeInfo, getPropTypes } from './proptypes'; const MARGIN_SIZE = 15; @@ -33,6 +33,7 @@ class Shape extends React.Component { render() { const { propType, depth } = this.props; + const propTypes = getPropTypes(propType); return ( ... {!this.state.minimized && - Object.keys(propType.value).map(childProperty => ( + Object.keys(propTypes).map(childProperty => (
- + ,
))} diff --git a/addons/info/src/components/types/proptypes.js b/addons/info/src/components/types/proptypes.js index 03b101ae76b5..5aee013bed17 100644 --- a/addons/info/src/components/types/proptypes.js +++ b/addons/info/src/components/types/proptypes.js @@ -7,3 +7,5 @@ export const TypeInfo = oneOfType([ }), PropTypes.string, ]); + +export const getPropTypes = propType => propType.value || propType.elements; diff --git a/addons/jest/package.json b/addons/jest/package.json index c300db362273..ee39d5ec02b8 100644 --- a/addons/jest/package.json +++ b/addons/jest/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-jest", - "version": "3.4.0-alpha.6", + "version": "3.4.0-alpha.7", "description": "React storybook addon that show component jest report", "keywords": [ "addon", @@ -25,7 +25,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/components": "^3.4.0-alpha.6", + "@storybook/components": "^3.4.0-alpha.7", "glamor": "^2.20.40", "glamorous": "^4.11.4", "global": "^4.3.2", diff --git a/addons/knobs/package.json b/addons/knobs/package.json index 5728b8c6c490..2e1fcbca6fce 100644 --- a/addons/knobs/package.json +++ b/addons/knobs/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-knobs", - "version": "3.4.0-alpha.6", + "version": "3.4.0-alpha.7", "description": "Storybook Addon Prop Editor Component", "license": "MIT", "main": "dist/index.js", diff --git a/addons/knobs/src/index.js b/addons/knobs/src/index.js index f144aac24aec..51c13caacd49 100644 --- a/addons/knobs/src/index.js +++ b/addons/knobs/src/index.js @@ -22,10 +22,8 @@ import { export { knob, text, boolean, number, color, object, array, date, button, select, selectV2 }; -deprecate( - () => {}, - 'Using @storybook/addon-knobs directly is discouraged, please use @storybook/addon-knobs/{{framework}}' -); +deprecate(() => {}, +'Using @storybook/addon-knobs directly is discouraged, please use @storybook/addon-knobs/{{framework}}'); // generic higher-order component decorator for all platforms - usage is discouraged // This file Should be removed with 4.0 release diff --git a/addons/links/package.json b/addons/links/package.json index 3a155ec86651..a34ae29a18b0 100644 --- a/addons/links/package.json +++ b/addons/links/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-links", - "version": "3.4.0-alpha.6", + "version": "3.4.0-alpha.7", "description": "Story Links addon for storybook", "keywords": [ "storybook" @@ -22,7 +22,7 @@ "storybook": "start-storybook -p 9001" }, "dependencies": { - "@storybook/components": "^3.4.0-alpha.6", + "@storybook/components": "^3.4.0-alpha.7", "global": "^4.3.2", "prop-types": "^15.5.10" }, diff --git a/addons/notes/package.json b/addons/notes/package.json index 80f4cb77b9fe..6824ef07bd6b 100644 --- a/addons/notes/package.json +++ b/addons/notes/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-notes", - "version": "3.4.0-alpha.6", + "version": "3.4.0-alpha.7", "description": "Write notes for your Storybook stories.", "keywords": [ "addon", diff --git a/addons/options/package.json b/addons/options/package.json index d02c29fb6218..17be522a38a5 100644 --- a/addons/options/package.json +++ b/addons/options/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-options", - "version": "3.4.0-alpha.6", + "version": "3.4.0-alpha.7", "description": "Options addon for storybook", "keywords": [ "storybook" diff --git a/addons/storyshots/package.json b/addons/storyshots/package.json index 38c072c87f07..e82e4369c05f 100644 --- a/addons/storyshots/package.json +++ b/addons/storyshots/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-storyshots", - "version": "3.4.0-alpha.6", + "version": "3.4.0-alpha.7", "description": "StoryShots is a Jest Snapshot Testing Addon for Storybook.", "license": "MIT", "main": "dist/index.js", @@ -16,7 +16,7 @@ "storybook": "start-storybook -p 6006" }, "dependencies": { - "@storybook/channels": "^3.4.0-alpha.6", + "@storybook/channels": "^3.4.0-alpha.7", "babel-runtime": "^6.26.0", "glob": "^7.1.2", "global": "^4.3.2", @@ -27,8 +27,8 @@ "read-pkg-up": "^3.0.0" }, "devDependencies": { - "@storybook/addons": "^3.4.0-alpha.6", - "@storybook/react": "^3.4.0-alpha.6", + "@storybook/addons": "^3.4.0-alpha.7", + "@storybook/react": "^3.4.0-alpha.7", "babel-cli": "^6.26.0", "babel-jest": "^20.0.3", "babel-plugin-transform-runtime": "^6.23.0", @@ -42,7 +42,7 @@ "react-dom": "^16.1.0" }, "peerDependencies": { - "@storybook/addons": "^3.4.0-alpha.6", + "@storybook/addons": "^3.4.0-alpha.7", "babel-core": "^6.26.0 || ^7.0.0-0" } } diff --git a/addons/storyshots/src/require_context.js b/addons/storyshots/src/require_context.js index ff77a6902e89..c4af43351277 100644 --- a/addons/storyshots/src/require_context.js +++ b/addons/storyshots/src/require_context.js @@ -1,3 +1,4 @@ +import { process } from 'global'; import vm from 'vm'; import fs from 'fs'; import path from 'path'; @@ -40,6 +41,14 @@ function isRelativeRequest(request) { ); } +function getFullPath(dirname, request) { + if (isRelativeRequest(request) || !process.env.NODE_PATH) { + return path.resolve(dirname, request); + } + + return path.resolve(process.env.NODE_PATH, request); +} + export default function runWithRequireContext(content, options) { const { filename, dirname } = options; @@ -57,7 +66,8 @@ export default function runWithRequireContext(content, options) { newRequire.cache = require.cache; newRequire.context = (directory, useSubdirectories = false, regExp = /^\.\//) => { - const fullPath = path.resolve(dirname, directory); + const fullPath = getFullPath(dirname, directory); + const keys = {}; requireModules(keys, fullPath, '.', regExp, useSubdirectories); diff --git a/addons/viewport/package.json b/addons/viewport/package.json index bc5f28b6a2ec..2a6685cf586a 100644 --- a/addons/viewport/package.json +++ b/addons/viewport/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-viewport", - "version": "3.4.0-alpha.6", + "version": "3.4.0-alpha.7", "description": "Storybook addon to change the viewport size to mobile", "keywords": [ "storybook" @@ -11,7 +11,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/components": "^3.4.0-alpha.6", + "@storybook/components": "^3.4.0-alpha.7", "global": "^4.3.2", "prop-types": "^15.5.10" }, diff --git a/app/angular/package.json b/app/angular/package.json index 97643c836250..fd41e3a719b9 100644 --- a/app/angular/package.json +++ b/app/angular/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/angular", - "version": "3.4.0-alpha.6", + "version": "3.4.0-alpha.7", "description": "Storybook for Angular: Develop Angular Components in isolation with Hot Reloading.", "homepage": "https://github.com/storybooks/storybook/tree/master/apps/angular", "bugs": { @@ -23,13 +23,13 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addon-actions": "^3.4.0-alpha.6", - "@storybook/addon-links": "^3.4.0-alpha.6", - "@storybook/addons": "^3.4.0-alpha.6", - "@storybook/channel-postmessage": "^3.4.0-alpha.6", - "@storybook/core": "^3.4.0-alpha.6", - "@storybook/node-logger": "^3.4.0-alpha.6", - "@storybook/ui": "^3.4.0-alpha.6", + "@storybook/addon-actions": "^3.4.0-alpha.7", + "@storybook/addon-links": "^3.4.0-alpha.7", + "@storybook/addons": "^3.4.0-alpha.7", + "@storybook/channel-postmessage": "^3.4.0-alpha.7", + "@storybook/core": "^3.4.0-alpha.7", + "@storybook/node-logger": "^3.4.0-alpha.7", + "@storybook/ui": "^3.4.0-alpha.7", "airbnb-js-shims": "^1.4.1", "angular2-template-loader": "^0.6.2", "autoprefixer": "^7.2.5", @@ -64,7 +64,7 @@ "markdown-loader": "^2.0.2", "node-sass": "^4.7.2", "postcss-flexbugs-fixes": "^3.3.0", - "postcss-loader": "^2.0.10", + "postcss-loader": "^2.1.0", "prop-types": "^15.5.10", "qs": "^6.5.1", "raw-loader": "^0.5.1", @@ -95,7 +95,7 @@ "babel-plugin-transform-decorators-legacy": "^1.3.4", "codelyzer": "^3.1.2", "mock-fs": "^4.3.0", - "nodemon": "^1.14.11", + "nodemon": "^1.14.12", "typescript": "^2.7.1" }, "peerDependencies": { diff --git a/app/polymer/package.json b/app/polymer/package.json index f9a2cc82f8a0..e0de3b383416 100644 --- a/app/polymer/package.json +++ b/app/polymer/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/polymer", - "version": "3.4.0-alpha.6", + "version": "3.4.0-alpha.7", "description": "Storybook for Polymer: Develop Polymer components in isolation with Hot Reloading.", "homepage": "https://github.com/storybooks/storybook/tree/master/apps/polymer", "bugs": { @@ -22,12 +22,12 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "^3.4.0-alpha.6", - "@storybook/channel-postmessage": "^3.4.0-alpha.6", - "@storybook/client-logger": "^3.4.0-alpha.6", - "@storybook/core": "^3.4.0-alpha.6", - "@storybook/node-logger": "^3.4.0-alpha.6", - "@storybook/ui": "^3.4.0-alpha.6", + "@storybook/addons": "^3.4.0-alpha.7", + "@storybook/channel-postmessage": "^3.4.0-alpha.7", + "@storybook/client-logger": "^3.4.0-alpha.7", + "@storybook/core": "^3.4.0-alpha.7", + "@storybook/node-logger": "^3.4.0-alpha.7", + "@storybook/ui": "^3.4.0-alpha.7", "@webcomponents/webcomponentsjs": "^1.1.0", "airbnb-js-shims": "^1.4.1", "autoprefixer": "^7.1.6", @@ -64,7 +64,7 @@ "lodash.pick": "^4.4.0", "polymer-webpack-loader": "2.0.1", "postcss-flexbugs-fixes": "^3.3.0", - "postcss-loader": "^2.0.8", + "postcss-loader": "^2.1.0", "prop-types": "^15.6.0", "qs": "^6.5.1", "react": "^16.0.0", @@ -85,6 +85,6 @@ }, "devDependencies": { "babel-cli": "^6.26.0", - "nodemon": "^1.12.1" + "nodemon": "^1.14.12" } } diff --git a/app/react-native/package.json b/app/react-native/package.json index 17be1836b7da..a7444ca58087 100644 --- a/app/react-native/package.json +++ b/app/react-native/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/react-native", - "version": "3.4.0-alpha.6", + "version": "3.4.0-alpha.7", "description": "A better way to develop React Native Components for your app", "keywords": [ "react", @@ -25,12 +25,12 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addon-actions": "^3.4.0-alpha.6", - "@storybook/addon-links": "^3.4.0-alpha.6", - "@storybook/addons": "^3.4.0-alpha.6", - "@storybook/channel-websocket": "^3.4.0-alpha.6", - "@storybook/core": "^3.4.0-alpha.6", - "@storybook/ui": "^3.4.0-alpha.6", + "@storybook/addon-actions": "^3.4.0-alpha.7", + "@storybook/addon-links": "^3.4.0-alpha.7", + "@storybook/addons": "^3.4.0-alpha.7", + "@storybook/channel-websocket": "^3.4.0-alpha.7", + "@storybook/core": "^3.4.0-alpha.7", + "@storybook/ui": "^3.4.0-alpha.7", "autoprefixer": "^7.2.5", "babel-loader": "^7.1.2", "babel-plugin-macros": "^2.1.0", @@ -57,7 +57,7 @@ "html-webpack-plugin": "^2.30.1", "json-loader": "^0.5.7", "json5": "^0.5.1", - "postcss-loader": "^2.0.10", + "postcss-loader": "^2.1.0", "prop-types": "^15.6.0", "react-native-compat": "^1.0.0", "react-native-iphone-x-helper": "^1.0.1", diff --git a/app/react/package.json b/app/react/package.json index 155fd768b804..eb59701f3838 100644 --- a/app/react/package.json +++ b/app/react/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/react", - "version": "3.4.0-alpha.6", + "version": "3.4.0-alpha.7", "description": "Storybook for React: Develop React Component in isolation with Hot Reloading.", "homepage": "https://github.com/storybooks/storybook/tree/master/app/react", "bugs": { @@ -23,14 +23,14 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addon-actions": "^3.4.0-alpha.6", - "@storybook/addon-links": "^3.4.0-alpha.6", - "@storybook/addons": "^3.4.0-alpha.6", - "@storybook/channel-postmessage": "^3.4.0-alpha.6", - "@storybook/client-logger": "^3.4.0-alpha.6", - "@storybook/core": "^3.4.0-alpha.6", - "@storybook/node-logger": "^3.4.0-alpha.6", - "@storybook/ui": "^3.4.0-alpha.6", + "@storybook/addon-actions": "^3.4.0-alpha.7", + "@storybook/addon-links": "^3.4.0-alpha.7", + "@storybook/addons": "^3.4.0-alpha.7", + "@storybook/channel-postmessage": "^3.4.0-alpha.7", + "@storybook/client-logger": "^3.4.0-alpha.7", + "@storybook/core": "^3.4.0-alpha.7", + "@storybook/node-logger": "^3.4.0-alpha.7", + "@storybook/ui": "^3.4.0-alpha.7", "airbnb-js-shims": "^1.4.1", "autoprefixer": "^7.2.5", "babel-loader": "^7.1.2", @@ -67,7 +67,7 @@ "markdown-loader": "^2.0.2", "npmlog": "^4.1.2", "postcss-flexbugs-fixes": "^3.3.0", - "postcss-loader": "^2.0.10", + "postcss-loader": "^2.1.0", "prop-types": "^15.6.0", "qs": "^6.5.1", "react-dev-utils": "^5.0.0", @@ -85,7 +85,7 @@ "webpack-hot-middleware": "^2.21.0" }, "devDependencies": { - "nodemon": "^1.14.11" + "nodemon": "^1.14.12" }, "peerDependencies": { "babel-core": "^6.26.0 || ^7.0.0-0", diff --git a/app/vue/package.json b/app/vue/package.json index 4ef0560a85f0..10589a679c35 100644 --- a/app/vue/package.json +++ b/app/vue/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/vue", - "version": "3.4.0-alpha.6", + "version": "3.4.0-alpha.7", "description": "Storybook for Vue: Develop Vue Component in isolation with Hot Reloading.", "homepage": "https://github.com/storybooks/storybook/tree/master/apps/vue", "bugs": { @@ -23,12 +23,12 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addon-actions": "^3.4.0-alpha.6", - "@storybook/addon-links": "^3.4.0-alpha.6", - "@storybook/addons": "^3.4.0-alpha.6", - "@storybook/channel-postmessage": "^3.4.0-alpha.6", - "@storybook/core": "^3.4.0-alpha.6", - "@storybook/ui": "^3.4.0-alpha.6", + "@storybook/addon-actions": "^3.4.0-alpha.7", + "@storybook/addon-links": "^3.4.0-alpha.7", + "@storybook/addons": "^3.4.0-alpha.7", + "@storybook/channel-postmessage": "^3.4.0-alpha.7", + "@storybook/core": "^3.4.0-alpha.7", + "@storybook/ui": "^3.4.0-alpha.7", "airbnb-js-shims": "^1.4.1", "autoprefixer": "^7.2.5", "babel-loader": "^7.1.2", @@ -61,7 +61,7 @@ "json5": "^0.5.1", "markdown-loader": "^2.0.2", "postcss-flexbugs-fixes": "^3.3.0", - "postcss-loader": "^2.0.10", + "postcss-loader": "^2.1.0", "prop-types": "^15.6.0", "qs": "^6.5.1", "react": "^16.2.0", @@ -83,7 +83,7 @@ "webpack-hot-middleware": "^2.21.0" }, "devDependencies": { - "nodemon": "^1.14.11", + "nodemon": "^1.14.12", "vue": "^2.5.13", "vue-loader": "^13.7.1", "vue-template-compiler": "^2.5.13" diff --git a/docs/package.json b/docs/package.json index cb07205250d7..102a8aef0388 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.11", - "@storybook/addon-links": "^3.3.11", - "@storybook/addons": "^3.3.11", - "@storybook/react": "^3.3.11", + "@storybook/addon-actions": "^3.3.12", + "@storybook/addon-links": "^3.3.12", + "@storybook/addons": "^3.3.12", + "@storybook/react": "^3.3.12", "babel-cli": "^6.26.0", "babel-core": "^6.26.0", "babel-loader": "^6.4.1", @@ -31,8 +31,8 @@ "babel-preset-react": "^6.24.1", "babel-preset-stage-0": "^6.24.1", "bootstrap": "^3.3.7", - "gatsby": "^1.9.174", - "gatsby-link": "^1.6.35", + "gatsby": "^1.9.178", + "gatsby-link": "^1.6.36", "gatsby-plugin-sharp": "^1.6.27", "gatsby-remark-autolink-headers": "^1.4.11", "gatsby-remark-copy-linked-files": "^1.5.25", @@ -43,7 +43,7 @@ "gh-pages": "^1.1.0", "global": "^4.3.2", "highlight.js": "^9.12.0", - "lodash": "^4.17.2", + "lodash": "^4.17.5", "marked": "^0.3.12", "prop-types": "^15.6.0", "react": "^15.6.1", diff --git a/docs/src/components/Homepage/UsedBy/index.jsx b/docs/src/components/Homepage/UsedBy/index.js similarity index 100% rename from docs/src/components/Homepage/UsedBy/index.jsx rename to docs/src/components/Homepage/UsedBy/index.js diff --git a/docs/yarn.lock b/docs/yarn.lock index b11501d74de4..7d9953d34184 100644 --- a/docs/yarn.lock +++ b/docs/yarn.lock @@ -2,9 +2,9 @@ # yarn lockfile v1 -"@storybook/addon-actions@^3.3.11": - version "3.3.11" - resolved "https://registry.yarnpkg.com/@storybook/addon-actions/-/addon-actions-3.3.11.tgz#158a64f01c97fcf6922e7a370c6519d216544bcd" +"@storybook/addon-actions@^3.3.12": + version "3.3.12" + resolved "https://registry.yarnpkg.com/@storybook/addon-actions/-/addon-actions-3.3.12.tgz#1bd2668918a62f32c0907af14946cdd0c6be66f5" dependencies: deep-equal "^1.0.1" global "^4.3.2" @@ -13,37 +13,37 @@ react-inspector "^2.2.2" uuid "^3.1.0" -"@storybook/addon-links@^3.3.11": - version "3.3.11" - resolved "https://registry.yarnpkg.com/@storybook/addon-links/-/addon-links-3.3.11.tgz#7bc57baddd1502153ee94cf11fcb88d49131b211" +"@storybook/addon-links@^3.3.12": + version "3.3.12" + resolved "https://registry.yarnpkg.com/@storybook/addon-links/-/addon-links-3.3.12.tgz#e1bb6e207506a45bea9e5f64cd78c045327412b7" dependencies: - "@storybook/components" "^3.3.11" + "@storybook/components" "^3.3.12" global "^4.3.2" prop-types "^15.5.10" -"@storybook/addons@^3.3.11": - version "3.3.11" - resolved "https://registry.yarnpkg.com/@storybook/addons/-/addons-3.3.11.tgz#7f85136d6da785160658aee512fd3cac99780f42" +"@storybook/addons@^3.3.12": + version "3.3.12" + resolved "https://registry.yarnpkg.com/@storybook/addons/-/addons-3.3.12.tgz#682927b5ac4baad796922eec505a7e956a3f79d9" -"@storybook/channel-postmessage@^3.3.11": - version "3.3.11" - resolved "https://registry.yarnpkg.com/@storybook/channel-postmessage/-/channel-postmessage-3.3.11.tgz#a379f96f7819ba3752bb471ebf90ad07c3fc28ea" +"@storybook/channel-postmessage@^3.3.12": + version "3.3.12" + resolved "https://registry.yarnpkg.com/@storybook/channel-postmessage/-/channel-postmessage-3.3.12.tgz#a4e7ac32ff84d2cc41bf3a5f30608ce5f82bcf82" dependencies: - "@storybook/channels" "^3.3.11" + "@storybook/channels" "^3.3.12" global "^4.3.2" json-stringify-safe "^5.0.1" -"@storybook/channels@^3.3.11": - version "3.3.11" - resolved "https://registry.yarnpkg.com/@storybook/channels/-/channels-3.3.11.tgz#569f1c7c364aeb076df78eb829c58f9c9f0a3936" +"@storybook/channels@^3.3.12": + version "3.3.12" + resolved "https://registry.yarnpkg.com/@storybook/channels/-/channels-3.3.12.tgz#aa4106888971f9e689511093b0e6f2b569973a09" -"@storybook/client-logger@^3.3.11": - version "3.3.11" - resolved "https://registry.yarnpkg.com/@storybook/client-logger/-/client-logger-3.3.11.tgz#35c851dbed2067201189847c7aa92f8d567a4d61" +"@storybook/client-logger@^3.3.12": + version "3.3.12" + resolved "https://registry.yarnpkg.com/@storybook/client-logger/-/client-logger-3.3.12.tgz#5307eba4d63d6dc54676e14a40bc0d4be3439d92" -"@storybook/components@^3.3.11": - version "3.3.11" - resolved "https://registry.yarnpkg.com/@storybook/components/-/components-3.3.11.tgz#cb2a48b52e7cb45408172f4462f4730ca6970e78" +"@storybook/components@^3.3.12": + version "3.3.12" + resolved "https://registry.yarnpkg.com/@storybook/components/-/components-3.3.12.tgz#e2571ca7150488f4ac3fa1cd1f70fa91ce38da8b" 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.11": - version "3.3.11" - resolved "https://registry.yarnpkg.com/@storybook/node-logger/-/node-logger-3.3.11.tgz#e459cbf8da75e2671a08de4f6dfe32b556b20af6" +"@storybook/node-logger@^3.3.12": + version "3.3.12" + resolved "https://registry.yarnpkg.com/@storybook/node-logger/-/node-logger-3.3.12.tgz#97251cfa46be4a0d856b394f5dbbf32d6ab2f2cd" dependencies: chalk "^2.3.0" npmlog "^4.1.2" @@ -87,17 +87,17 @@ dependencies: babel-runtime "^6.5.0" -"@storybook/react@^3.3.11": - version "3.3.11" - resolved "https://registry.yarnpkg.com/@storybook/react/-/react-3.3.11.tgz#5438d40aa095dd7b0c2f4e8e51a83fd5151df0c1" - dependencies: - "@storybook/addon-actions" "^3.3.11" - "@storybook/addon-links" "^3.3.11" - "@storybook/addons" "^3.3.11" - "@storybook/channel-postmessage" "^3.3.11" - "@storybook/client-logger" "^3.3.11" - "@storybook/node-logger" "^3.3.11" - "@storybook/ui" "^3.3.11" +"@storybook/react@^3.3.12": + version "3.3.12" + resolved "https://registry.yarnpkg.com/@storybook/react/-/react-3.3.12.tgz#f1f6587499e0aaa7b14be911a53d09a61e219ccd" + dependencies: + "@storybook/addon-actions" "^3.3.12" + "@storybook/addon-links" "^3.3.12" + "@storybook/addons" "^3.3.12" + "@storybook/channel-postmessage" "^3.3.12" + "@storybook/client-logger" "^3.3.12" + "@storybook/node-logger" "^3.3.12" + "@storybook/ui" "^3.3.12" airbnb-js-shims "^1.4.0" autoprefixer "^7.2.3" babel-loader "^7.1.2" @@ -149,11 +149,11 @@ webpack-dev-middleware "^1.12.2" webpack-hot-middleware "^2.21.0" -"@storybook/ui@^3.3.11": - version "3.3.11" - resolved "https://registry.yarnpkg.com/@storybook/ui/-/ui-3.3.11.tgz#df500b97739da484d51d6a1bcb52ce3866ad2148" +"@storybook/ui@^3.3.12": + version "3.3.12" + resolved "https://registry.yarnpkg.com/@storybook/ui/-/ui-3.3.12.tgz#b0a9cd83423c4d6cded0a0340fc4f48d5bdf3bc0" dependencies: - "@storybook/components" "^3.3.11" + "@storybook/components" "^3.3.12" "@storybook/mantra-core" "^1.7.2" "@storybook/react-komposer" "^2.0.3" babel-runtime "^6.26.0" @@ -177,7 +177,7 @@ react-treebeard "^2.1.0" redux "^3.7.2" -"@types/history@*": +"@types/history@*", "@types/history@^4.6.2": version "4.6.2" resolved "https://registry.yarnpkg.com/@types/history/-/history-4.6.2.tgz#12cfaba693ba20f114ed5765467ff25fdf67ddb0" @@ -4352,9 +4352,9 @@ gatsby-1-config-css-modules@^1.0.8: dependencies: babel-runtime "^6.26.0" -gatsby-cli@^1.1.33: - version "1.1.33" - resolved "https://registry.yarnpkg.com/gatsby-cli/-/gatsby-cli-1.1.33.tgz#a79337d73f88ef1157aceefd245242ec0d463680" +gatsby-cli@^1.1.34: + version "1.1.34" + resolved "https://registry.yarnpkg.com/gatsby-cli/-/gatsby-cli-1.1.34.tgz#85c17bf67bc717be0274c8e4a56c7df819ede1f5" dependencies: babel-code-frame "^6.26.0" babel-runtime "^6.26.0" @@ -4374,10 +4374,11 @@ gatsby-cli@^1.1.33: yargs "^8.0.2" yurnalist "^0.2.1" -gatsby-link@^1.6.35: - version "1.6.35" - resolved "https://registry.yarnpkg.com/gatsby-link/-/gatsby-link-1.6.35.tgz#28ade7aa44460d0a3102d45e4f7413ff7a633e47" +gatsby-link@^1.6.36: + version "1.6.36" + resolved "https://registry.yarnpkg.com/gatsby-link/-/gatsby-link-1.6.36.tgz#3f969d38e9396e2650d3804543c76881eab98feb" dependencies: + "@types/history" "^4.6.2" "@types/react-router-dom" "^4.2.2" babel-runtime "^6.26.0" prop-types "^15.5.8" @@ -4499,9 +4500,9 @@ gatsby-transformer-remark@^1.7.30: unist-util-select "^1.5.0" unist-util-visit "^1.1.1" -gatsby@^1.9.174: - version "1.9.175" - resolved "https://registry.yarnpkg.com/gatsby/-/gatsby-1.9.175.tgz#a0e1f9a66202f5821abfc1fdbcf3673c3dfa5b4c" +gatsby@^1.9.178: + version "1.9.178" + resolved "https://registry.yarnpkg.com/gatsby/-/gatsby-1.9.178.tgz#56601badc81d527fef7a6d25d87e9d7ff44e52e9" dependencies: async "^2.1.2" babel-code-frame "^6.22.0" @@ -4541,8 +4542,8 @@ gatsby@^1.9.174: front-matter "^2.1.0" fs-extra "^4.0.1" gatsby-1-config-css-modules "^1.0.8" - gatsby-cli "^1.1.33" - gatsby-link "^1.6.35" + gatsby-cli "^1.1.34" + gatsby-link "^1.6.36" gatsby-module-loader "^1.0.9" gatsby-react-router-scroll "^1.0.9" glob "^7.1.1" @@ -6594,6 +6595,10 @@ lodash@4.11.1: version "4.11.1" resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.11.1.tgz#a32106eb8e2ec8e82c241611414773c9df15f8bc" +lodash@^4.17.5: + version "4.17.5" + resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.5.tgz#99a92d65c0272debe8c96b6057bc8fbfa3bed511" + log-symbols@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/log-symbols/-/log-symbols-1.0.2.tgz#376ff7b58ea3086a0f09facc74617eca501e1a18" diff --git a/examples/angular-cli/package.json b/examples/angular-cli/package.json index a97502dedf32..cae500b863f6 100644 --- a/examples/angular-cli/package.json +++ b/examples/angular-cli/package.json @@ -1,6 +1,6 @@ { "name": "angular-cli", - "version": "3.4.0-alpha.6", + "version": "3.4.0-alpha.7", "private": true, "license": "MIT", "scripts": { @@ -13,29 +13,29 @@ "test": "ng test" }, "dependencies": { - "@angular/animations": "^5.2.2", - "@angular/common": "^5.2.2", - "@angular/compiler": "^5.2.2", - "@angular/core": "^5.2.2", - "@angular/forms": "^5.2.2", - "@angular/http": "^5.2.2", - "@angular/platform-browser": "^5.2.2", - "@angular/platform-browser-dynamic": "^5.2.2", - "@angular/router": "^5.2.2", + "@angular/animations": "^5.2.3", + "@angular/common": "^5.2.3", + "@angular/compiler": "^5.2.3", + "@angular/core": "^5.2.3", + "@angular/forms": "^5.2.3", + "@angular/http": "^5.2.3", + "@angular/platform-browser": "^5.2.3", + "@angular/platform-browser-dynamic": "^5.2.3", + "@angular/router": "^5.2.3", "core-js": "^2.4.1", "rxjs": "^5.4.2", "zone.js": "^0.8.20" }, "devDependencies": { - "@angular/cli": "1.6.6", - "@angular/compiler-cli": "^5.2.2", - "@angular/language-service": "^5.2.2", - "@storybook/addon-actions": "^3.4.0-alpha.6", - "@storybook/addon-links": "^3.4.0-alpha.6", - "@storybook/addon-notes": "^3.4.0-alpha.6", - "@storybook/addon-storyshots": "^3.4.0-alpha.6", - "@storybook/addons": "^3.4.0-alpha.6", - "@storybook/angular": "^3.4.0-alpha.6", + "@angular/cli": "1.6.7", + "@angular/compiler-cli": "^5.2.3", + "@angular/language-service": "^5.2.3", + "@storybook/addon-actions": "^3.4.0-alpha.7", + "@storybook/addon-links": "^3.4.0-alpha.7", + "@storybook/addon-notes": "^3.4.0-alpha.7", + "@storybook/addon-storyshots": "^3.4.0-alpha.7", + "@storybook/addons": "^3.4.0-alpha.7", + "@storybook/angular": "^3.4.0-alpha.7", "@types/jasmine": "~2.8.6", "@types/node": "~6.0.96", "global": "^4.3.2", diff --git a/examples/cra-kitchen-sink/package.json b/examples/cra-kitchen-sink/package.json index 6421b33ce7aa..f667c1c22bf5 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.4.0-alpha.6", + "version": "3.4.0-alpha.7", "private": true, "scripts": { "build": "react-scripts build", @@ -19,23 +19,23 @@ "react-dom": "^16.2.0" }, "devDependencies": { - "@storybook/addon-a11y": "^3.4.0-alpha.6", - "@storybook/addon-actions": "^3.4.0-alpha.6", - "@storybook/addon-backgrounds": "^3.4.0-alpha.6", - "@storybook/addon-centered": "^3.4.0-alpha.6", - "@storybook/addon-events": "^3.4.0-alpha.6", - "@storybook/addon-info": "^3.4.0-alpha.6", - "@storybook/addon-jest": "^3.4.0-alpha.6", - "@storybook/addon-knobs": "^3.4.0-alpha.6", - "@storybook/addon-links": "^3.4.0-alpha.6", - "@storybook/addon-notes": "^3.4.0-alpha.6", - "@storybook/addon-options": "^3.4.0-alpha.6", - "@storybook/addon-storyshots": "^3.4.0-alpha.6", - "@storybook/addon-viewport": "^3.4.0-alpha.6", - "@storybook/addons": "^3.4.0-alpha.6", - "@storybook/client-logger": "^3.4.0-alpha.6", - "@storybook/components": "^3.4.0-alpha.6", - "@storybook/react": "^3.4.0-alpha.6", + "@storybook/addon-a11y": "^3.4.0-alpha.7", + "@storybook/addon-actions": "^3.4.0-alpha.7", + "@storybook/addon-backgrounds": "^3.4.0-alpha.7", + "@storybook/addon-centered": "^3.4.0-alpha.7", + "@storybook/addon-events": "^3.4.0-alpha.7", + "@storybook/addon-info": "^3.4.0-alpha.7", + "@storybook/addon-jest": "^3.4.0-alpha.7", + "@storybook/addon-knobs": "^3.4.0-alpha.7", + "@storybook/addon-links": "^3.4.0-alpha.7", + "@storybook/addon-notes": "^3.4.0-alpha.7", + "@storybook/addon-options": "^3.4.0-alpha.7", + "@storybook/addon-storyshots": "^3.4.0-alpha.7", + "@storybook/addon-viewport": "^3.4.0-alpha.7", + "@storybook/addons": "^3.4.0-alpha.7", + "@storybook/client-logger": "^3.4.0-alpha.7", + "@storybook/components": "^3.4.0-alpha.7", + "@storybook/react": "^3.4.0-alpha.7", "babel-jest": "^22.1.0", "enzyme": "^3.3.0", "enzyme-adapter-react-16": "^1.1.0", diff --git a/examples/crna-kitchen-sink/app.json b/examples/crna-kitchen-sink/app.json index 2f9f5b8269a3..7acefb4d1c1e 100644 --- a/examples/crna-kitchen-sink/app.json +++ b/examples/crna-kitchen-sink/app.json @@ -1,5 +1,5 @@ { "expo": { - "sdkVersion": "24.0.2" + "sdkVersion": "24.0.0" } } diff --git a/examples/official-storybook/components/FlowTypeButton.js b/examples/official-storybook/components/FlowTypeButton.js index 4511adf970f6..be85c3a40d4a 100644 --- a/examples/official-storybook/components/FlowTypeButton.js +++ b/examples/official-storybook/components/FlowTypeButton.js @@ -1,13 +1,40 @@ // @flow import React from 'react'; +/* eslint-disable react/no-unused-prop-types,react/require-default-props */ + +const Message = {}; + type PropsType = { - /** The text to be rendered in the button */ + /** A multi-type prop to be rendered in the button */ label: string, /** Function to be called when the button is clicked */ onClick?: Function, - /** Boolean representing wether the button is disabled */ + /** Boolean representing whether the button is disabled */ disabled?: boolean, + /** A plain object */ + obj?: Object, + /** A complex Object with nested types */ + shape: { + id: number, + func?: Function, + arr?: Array<{ + index: number, + }>, + shape?: { + shape?: { + foo?: string, + }, + }, + }, + /** An array of numbers */ + arrayOf?: Array, + /** A custom type */ + msg?: typeof Message, + /** `oneOf` as Enum */ + enm?: 'News' | 'Photos', + /** `oneOf` A multi-type prop of string or custom Message */ + union?: string | typeof Message, }; /** FlowTypeButton component description imported from comments inside the component file */ diff --git a/examples/official-storybook/package.json b/examples/official-storybook/package.json index e0b6a10f4e86..d02fb7f74cfc 100644 --- a/examples/official-storybook/package.json +++ b/examples/official-storybook/package.json @@ -1,6 +1,6 @@ { "name": "official-storybook", - "version": "3.4.0-alpha.6", + "version": "3.4.0-alpha.7", "private": true, "scripts": { "build-storybook": "build-storybook -c ./", @@ -10,22 +10,22 @@ "storybook": "start-storybook -p 9010 -c ./" }, "devDependencies": { - "@storybook/addon-a11y": "^3.4.0-alpha.6", - "@storybook/addon-actions": "^3.4.0-alpha.6", - "@storybook/addon-backgrounds": "^3.4.0-alpha.6", - "@storybook/addon-centered": "^3.4.0-alpha.6", - "@storybook/addon-events": "^3.4.0-alpha.6", - "@storybook/addon-info": "^3.4.0-alpha.6", - "@storybook/addon-jest": "^3.4.0-alpha.6", - "@storybook/addon-knobs": "^3.4.0-alpha.6", - "@storybook/addon-links": "^3.4.0-alpha.6", - "@storybook/addon-notes": "^3.4.0-alpha.6", - "@storybook/addon-options": "^3.4.0-alpha.6", - "@storybook/addon-storyshots": "^3.4.0-alpha.6", - "@storybook/addon-viewport": "^3.4.0-alpha.6", - "@storybook/addons": "^3.4.0-alpha.6", - "@storybook/components": "^3.4.0-alpha.6", - "@storybook/react": "^3.4.0-alpha.6", + "@storybook/addon-a11y": "^3.4.0-alpha.7", + "@storybook/addon-actions": "^3.4.0-alpha.7", + "@storybook/addon-backgrounds": "^3.4.0-alpha.7", + "@storybook/addon-centered": "^3.4.0-alpha.7", + "@storybook/addon-events": "^3.4.0-alpha.7", + "@storybook/addon-info": "^3.4.0-alpha.7", + "@storybook/addon-jest": "^3.4.0-alpha.7", + "@storybook/addon-knobs": "^3.4.0-alpha.7", + "@storybook/addon-links": "^3.4.0-alpha.7", + "@storybook/addon-notes": "^3.4.0-alpha.7", + "@storybook/addon-options": "^3.4.0-alpha.7", + "@storybook/addon-storyshots": "^3.4.0-alpha.7", + "@storybook/addon-viewport": "^3.4.0-alpha.7", + "@storybook/addons": "^3.4.0-alpha.7", + "@storybook/components": "^3.4.0-alpha.7", + "@storybook/react": "^3.4.0-alpha.7", "babel-jest": "^21.2.0", "enzyme": "^3.3.0", "enzyme-adapter-react-16": "^1.1.0", diff --git a/examples/polymer-cli/package.json b/examples/polymer-cli/package.json index a354a06d62b7..c91e7010e13d 100644 --- a/examples/polymer-cli/package.json +++ b/examples/polymer-cli/package.json @@ -1,18 +1,18 @@ { "name": "polymer-cli", - "version": "3.4.0-alpha.6", + "version": "3.4.0-alpha.7", "private": true, "scripts": { "start": "webpack-dev-server", "storybook": "start-storybook -p 9001 -c .storybook" }, "dependencies": { - "@polymer/polymer": "^2.4.0", - "@storybook/addon-actions": "^3.4.0-alpha.6", - "@storybook/addon-knobs": "^3.4.0-alpha.6", - "@storybook/addon-notes": "^3.4.0-alpha.6", - "@storybook/addon-viewport": "^3.4.0-alpha.6", - "@storybook/polymer": "^3.4.0-alpha.6", + "@polymer/polymer": "^2.5.0", + "@storybook/addon-actions": "^3.4.0-alpha.7", + "@storybook/addon-knobs": "^3.4.0-alpha.7", + "@storybook/addon-notes": "^3.4.0-alpha.7", + "@storybook/addon-viewport": "^3.4.0-alpha.7", + "@storybook/polymer": "^3.4.0-alpha.7", "@webcomponents/webcomponentsjs": "^1.1.0", "global": "^4.3.2", "polymer-webpack-loader": "^2.0.0", diff --git a/examples/vue-kitchen-sink/package.json b/examples/vue-kitchen-sink/package.json index 80acd6189727..2382600e3949 100644 --- a/examples/vue-kitchen-sink/package.json +++ b/examples/vue-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "vue-example", - "version": "3.4.0-alpha.6", + "version": "3.4.0-alpha.7", "private": true, "scripts": { "build": "cross-env NODE_ENV=production webpack --progress --hide-modules", @@ -13,15 +13,15 @@ "vuex": "^3.0.0" }, "devDependencies": { - "@storybook/addon-actions": "^3.4.0-alpha.6", - "@storybook/addon-centered": "^3.4.0-alpha.6", - "@storybook/addon-knobs": "^3.4.0-alpha.6", - "@storybook/addon-links": "^3.4.0-alpha.6", - "@storybook/addon-notes": "^3.4.0-alpha.6", - "@storybook/addon-storyshots": "^3.4.0-alpha.6", - "@storybook/addon-viewport": "^3.4.0-alpha.6", - "@storybook/addons": "^3.4.0-alpha.6", - "@storybook/vue": "^3.4.0-alpha.6", + "@storybook/addon-actions": "^3.4.0-alpha.7", + "@storybook/addon-centered": "^3.4.0-alpha.7", + "@storybook/addon-knobs": "^3.4.0-alpha.7", + "@storybook/addon-links": "^3.4.0-alpha.7", + "@storybook/addon-notes": "^3.4.0-alpha.7", + "@storybook/addon-storyshots": "^3.4.0-alpha.7", + "@storybook/addon-viewport": "^3.4.0-alpha.7", + "@storybook/addons": "^3.4.0-alpha.7", + "@storybook/vue": "^3.4.0-alpha.7", "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 33449f79a631..d985aac84106 100644 --- a/lerna.json +++ b/lerna.json @@ -8,5 +8,5 @@ } }, "concurrency": 1, - "version": "3.4.0-alpha.6" + "version": "3.4.0-alpha.7" } diff --git a/lib/addons/package.json b/lib/addons/package.json index a1aedd451ef6..58257b99aaca 100644 --- a/lib/addons/package.json +++ b/lib/addons/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addons", - "version": "3.4.0-alpha.6", + "version": "3.4.0-alpha.7", "description": "Storybook addons store", "keywords": [ "storybook" diff --git a/lib/channel-postmessage/package.json b/lib/channel-postmessage/package.json index ef0a5da128b9..cdd398a14495 100644 --- a/lib/channel-postmessage/package.json +++ b/lib/channel-postmessage/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/channel-postmessage", - "version": "3.4.0-alpha.6", + "version": "3.4.0-alpha.7", "description": "", "license": "MIT", "main": "dist/index.js", @@ -9,7 +9,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/channels": "^3.4.0-alpha.6", + "@storybook/channels": "^3.4.0-alpha.7", "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 d4a36af7f3be..fbe8c52bf343 100644 --- a/lib/channel-websocket/package.json +++ b/lib/channel-websocket/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/channel-websocket", - "version": "3.4.0-alpha.6", + "version": "3.4.0-alpha.7", "description": "", "license": "MIT", "main": "dist/index.js", @@ -9,7 +9,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/channels": "^3.4.0-alpha.6", + "@storybook/channels": "^3.4.0-alpha.7", "global": "^4.3.2" } } diff --git a/lib/channels/package.json b/lib/channels/package.json index 81e777534f15..17bdda5a1d89 100644 --- a/lib/channels/package.json +++ b/lib/channels/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/channels", - "version": "3.4.0-alpha.6", + "version": "3.4.0-alpha.7", "description": "", "license": "MIT", "main": "dist/index.js", diff --git a/lib/cli/package.json b/lib/cli/package.json index 9181cdf08db3..5841cdfe2c18 100644 --- a/lib/cli/package.json +++ b/lib/cli/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/cli", - "version": "3.4.0-alpha.6", + "version": "3.4.0-alpha.7", "description": "Storybook's CLI - easiest method of adding storybook to your projects", "keywords": [ "cli", @@ -25,7 +25,7 @@ "test-latest-cra": "cd test && ./test_latest_cra.sh" }, "dependencies": { - "@storybook/codemod": "^3.4.0-alpha.6", + "@storybook/codemod": "^3.4.0-alpha.7", "babel-plugin-transform-runtime": "^6.23.0", "babel-preset-env": "^1.6.0", "babel-register": "^6.26.0", @@ -43,25 +43,25 @@ "update-notifier": "^2.3.0" }, "devDependencies": { - "@storybook/addon-actions": "^3.4.0-alpha.6", - "@storybook/addon-centered": "^3.4.0-alpha.6", - "@storybook/addon-graphql": "^3.4.0-alpha.6", - "@storybook/addon-info": "^3.4.0-alpha.6", - "@storybook/addon-knobs": "^3.4.0-alpha.6", - "@storybook/addon-links": "^3.4.0-alpha.6", - "@storybook/addon-notes": "^3.4.0-alpha.6", - "@storybook/addon-options": "^3.4.0-alpha.6", - "@storybook/addon-storyshots": "^3.4.0-alpha.6", - "@storybook/addons": "^3.4.0-alpha.6", - "@storybook/angular": "^3.4.0-alpha.6", - "@storybook/channel-postmessage": "^3.4.0-alpha.6", - "@storybook/channel-websocket": "^3.4.0-alpha.6", - "@storybook/channels": "^3.4.0-alpha.6", - "@storybook/polymer": "^3.4.0-alpha.6", - "@storybook/react": "^3.4.0-alpha.6", - "@storybook/react-native": "^3.4.0-alpha.6", - "@storybook/ui": "^3.4.0-alpha.6", - "@storybook/vue": "^3.4.0-alpha.6", + "@storybook/addon-actions": "^3.4.0-alpha.7", + "@storybook/addon-centered": "^3.4.0-alpha.7", + "@storybook/addon-graphql": "^3.4.0-alpha.7", + "@storybook/addon-info": "^3.4.0-alpha.7", + "@storybook/addon-knobs": "^3.4.0-alpha.7", + "@storybook/addon-links": "^3.4.0-alpha.7", + "@storybook/addon-notes": "^3.4.0-alpha.7", + "@storybook/addon-options": "^3.4.0-alpha.7", + "@storybook/addon-storyshots": "^3.4.0-alpha.7", + "@storybook/addons": "^3.4.0-alpha.7", + "@storybook/angular": "^3.4.0-alpha.7", + "@storybook/channel-postmessage": "^3.4.0-alpha.7", + "@storybook/channel-websocket": "^3.4.0-alpha.7", + "@storybook/channels": "^3.4.0-alpha.7", + "@storybook/polymer": "^3.4.0-alpha.7", + "@storybook/react": "^3.4.0-alpha.7", + "@storybook/react-native": "^3.4.0-alpha.7", + "@storybook/ui": "^3.4.0-alpha.7", + "@storybook/vue": "^3.4.0-alpha.7", "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 3e2b85377c55..dccd08df50eb 100644 --- a/lib/cli/test/snapshots/angular-cli/package.json +++ b/lib/cli/test/snapshots/angular-cli/package.json @@ -44,11 +44,11 @@ "ts-node": "1.2.1", "tslint": "^4.3.0", "typescript": "~2.4.0", - "@storybook/angular": "^3.4.0-alpha.6", - "@storybook/addon-notes": "^3.4.0-alpha.6", - "@storybook/addon-actions": "^3.4.0-alpha.6", - "@storybook/addon-links": "^3.4.0-alpha.6", - "@storybook/addons": "^3.4.0-alpha.6", + "@storybook/angular": "^3.4.0-alpha.7", + "@storybook/addon-notes": "^3.4.0-alpha.7", + "@storybook/addon-actions": "^3.4.0-alpha.7", + "@storybook/addon-links": "^3.4.0-alpha.7", + "@storybook/addons": "^3.4.0-alpha.7", "babel-core": "^6.26.0" } } diff --git a/lib/cli/test/snapshots/meteor/package.json b/lib/cli/test/snapshots/meteor/package.json index b6c3d6c110ff..fe4146593f20 100644 --- a/lib/cli/test/snapshots/meteor/package.json +++ b/lib/cli/test/snapshots/meteor/package.json @@ -19,9 +19,9 @@ "babel-preset-react": "^6.24.1", "babel-preset-stage-1": "^6.24.1", "babel-root-slash-import": "^1.1.0", - "@storybook/react": "^3.4.0-alpha.6", - "@storybook/addon-actions": "^3.4.0-alpha.6", - "@storybook/addon-links": "^3.4.0-alpha.6", - "@storybook/addons": "^3.4.0-alpha.6" + "@storybook/react": "^3.4.0-alpha.7", + "@storybook/addon-actions": "^3.4.0-alpha.7", + "@storybook/addon-links": "^3.4.0-alpha.7", + "@storybook/addons": "^3.4.0-alpha.7" } } diff --git a/lib/cli/test/snapshots/polymer/package.json b/lib/cli/test/snapshots/polymer/package.json index 7649eebafa2b..9e7f426d370d 100644 --- a/lib/cli/test/snapshots/polymer/package.json +++ b/lib/cli/test/snapshots/polymer/package.json @@ -12,6 +12,6 @@ "@polymer/polymer": "^2.2.0" }, "devDependencies": { - "@storybook/polymer": "^3.4.0-alpha.6" + "@storybook/polymer": "^3.4.0-alpha.7" } } diff --git a/lib/cli/test/snapshots/react/package.json b/lib/cli/test/snapshots/react/package.json index c8e79f4d9735..6726871d1f8b 100644 --- a/lib/cli/test/snapshots/react/package.json +++ b/lib/cli/test/snapshots/react/package.json @@ -20,10 +20,10 @@ "rollup-plugin-commonjs": "^8.2.0", "rollup-plugin-node-resolve": "^3.0.0", "rollup-plugin-replace": "^1.1.1", - "@storybook/react": "^3.4.0-alpha.6", - "@storybook/addon-actions": "^3.4.0-alpha.6", - "@storybook/addon-links": "^3.4.0-alpha.6", - "@storybook/addons": "^3.4.0-alpha.6", + "@storybook/react": "^3.4.0-alpha.7", + "@storybook/addon-actions": "^3.4.0-alpha.7", + "@storybook/addon-links": "^3.4.0-alpha.7", + "@storybook/addons": "^3.4.0-alpha.7", "babel-core": "^6.26.0" } } diff --git a/lib/cli/test/snapshots/react_native/package.json b/lib/cli/test/snapshots/react_native/package.json index dcf0dc4c3a5f..621bce9902a6 100644 --- a/lib/cli/test/snapshots/react_native/package.json +++ b/lib/cli/test/snapshots/react_native/package.json @@ -16,10 +16,10 @@ "babel-preset-react-native": "3.0.1", "jest": "20.0.4", "react-test-renderer": "16.0.0-alpha.12", - "@storybook/react-native": "^3.4.0-alpha.6", - "@storybook/addon-actions": "^3.4.0-alpha.6", - "@storybook/addon-links": "^3.4.0-alpha.6", - "@storybook/addons": "^3.4.0-alpha.6", + "@storybook/react-native": "^3.4.0-alpha.7", + "@storybook/addon-actions": "^3.4.0-alpha.7", + "@storybook/addon-links": "^3.4.0-alpha.7", + "@storybook/addons": "^3.4.0-alpha.7", "babel-core": "^6.26.0", "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 8d75b0c50aa0..d5989ccb94ae 100644 --- a/lib/cli/test/snapshots/react_native_scripts/package.json +++ b/lib/cli/test/snapshots/react_native_scripts/package.json @@ -6,10 +6,10 @@ "react-native-scripts": "1.3.1", "jest-expo": "~20.0.0", "react-test-renderer": "16.0.0-alpha.12", - "@storybook/react-native": "^3.4.0-alpha.6", - "@storybook/addon-actions": "^3.4.0-alpha.6", - "@storybook/addon-links": "^3.4.0-alpha.6", - "@storybook/addons": "^3.4.0-alpha.6", + "@storybook/react-native": "^3.4.0-alpha.7", + "@storybook/addon-actions": "^3.4.0-alpha.7", + "@storybook/addon-links": "^3.4.0-alpha.7", + "@storybook/addons": "^3.4.0-alpha.7", "babel-core": "^6.26.0", "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 9acbdcb675e7..f3e74d032be6 100644 --- a/lib/cli/test/snapshots/react_project/package.json +++ b/lib/cli/test/snapshots/react_project/package.json @@ -13,10 +13,10 @@ "babel-preset-react": "^6.24.1", "react": "^15.6.1", "react-dom": "^15.6.1", - "@storybook/react": "^3.4.0-alpha.6", - "@storybook/addon-actions": "^3.4.0-alpha.6", - "@storybook/addon-links": "^3.4.0-alpha.6", - "@storybook/addons": "^3.4.0-alpha.6", + "@storybook/react": "^3.4.0-alpha.7", + "@storybook/addon-actions": "^3.4.0-alpha.7", + "@storybook/addon-links": "^3.4.0-alpha.7", + "@storybook/addons": "^3.4.0-alpha.7", "babel-core": "^6.26.0" }, "peerDependencies": { diff --git a/lib/cli/test/snapshots/react_scripts/package.json b/lib/cli/test/snapshots/react_scripts/package.json index 281cb09f5b5f..0c8064788580 100644 --- a/lib/cli/test/snapshots/react_scripts/package.json +++ b/lib/cli/test/snapshots/react_scripts/package.json @@ -16,10 +16,10 @@ "build-storybook": "build-storybook -s public" }, "devDependencies": { - "@storybook/react": "^3.4.0-alpha.6", - "@storybook/addon-actions": "^3.4.0-alpha.6", - "@storybook/addon-links": "^3.4.0-alpha.6", - "@storybook/addons": "^3.4.0-alpha.6", + "@storybook/react": "^3.4.0-alpha.7", + "@storybook/addon-actions": "^3.4.0-alpha.7", + "@storybook/addon-links": "^3.4.0-alpha.7", + "@storybook/addons": "^3.4.0-alpha.7", "babel-core": "^6.26.0" } } diff --git a/lib/cli/test/snapshots/sfc_vue/package.json b/lib/cli/test/snapshots/sfc_vue/package.json index 234aa75a1b05..a8627e17c0a7 100644 --- a/lib/cli/test/snapshots/sfc_vue/package.json +++ b/lib/cli/test/snapshots/sfc_vue/package.json @@ -49,10 +49,10 @@ "webpack-dev-middleware": "^1.10.0", "webpack-hot-middleware": "^2.18.0", "webpack-merge": "^4.1.0", - "@storybook/vue": "^3.4.0-alpha.6", - "@storybook/addon-actions": "^3.4.0-alpha.6", - "@storybook/addon-links": "^3.4.0-alpha.6", - "@storybook/addons": "^3.4.0-alpha.6", + "@storybook/vue": "^3.4.0-alpha.7", + "@storybook/addon-actions": "^3.4.0-alpha.7", + "@storybook/addon-links": "^3.4.0-alpha.7", + "@storybook/addons": "^3.4.0-alpha.7", "babel-preset-vue": "^2.0.1" }, "engines": { diff --git a/lib/cli/test/snapshots/update_package_organisations/package.json b/lib/cli/test/snapshots/update_package_organisations/package.json index cc0c321cf8d9..4b82e3f5a909 100644 --- a/lib/cli/test/snapshots/update_package_organisations/package.json +++ b/lib/cli/test/snapshots/update_package_organisations/package.json @@ -8,8 +8,8 @@ "react-scripts": "0.9.x" }, "devDependencies": { - "@storybook/react": "^3.4.0-alpha.6", - "@storybook/addons": "^3.4.0-alpha.6", + "@storybook/react": "^3.4.0-alpha.7", + "@storybook/addons": "^3.4.0-alpha.7", "babel-core": "^6.26.0" }, "scripts": { diff --git a/lib/cli/test/snapshots/vue/package.json b/lib/cli/test/snapshots/vue/package.json index 9a24e0bf0bb4..029d3c0c5ace 100644 --- a/lib/cli/test/snapshots/vue/package.json +++ b/lib/cli/test/snapshots/vue/package.json @@ -34,10 +34,10 @@ "rollup-plugin-serve": "^0.4.0", "rollup-plugin-vue": "^2.4.0", "rollup-watch": "^4.0.0", - "@storybook/vue": "^3.4.0-alpha.6", - "@storybook/addon-actions": "^3.4.0-alpha.6", - "@storybook/addon-links": "^3.4.0-alpha.6", - "@storybook/addons": "^3.4.0-alpha.6", + "@storybook/vue": "^3.4.0-alpha.7", + "@storybook/addon-actions": "^3.4.0-alpha.7", + "@storybook/addon-links": "^3.4.0-alpha.7", + "@storybook/addons": "^3.4.0-alpha.7", "babel-preset-vue": "^2.0.1" } } diff --git a/lib/cli/test/snapshots/webpack_react/package.json b/lib/cli/test/snapshots/webpack_react/package.json index ddcbe7b73258..d930246672d6 100644 --- a/lib/cli/test/snapshots/webpack_react/package.json +++ b/lib/cli/test/snapshots/webpack_react/package.json @@ -17,9 +17,9 @@ "babel-loader": "^7.1.2", "babel-preset-react": "^6.24.1", "webpack": "^3.5.5", - "@storybook/react": "^3.4.0-alpha.6", - "@storybook/addon-actions": "^3.4.0-alpha.6", - "@storybook/addon-links": "^3.4.0-alpha.6", - "@storybook/addons": "^3.4.0-alpha.6" + "@storybook/react": "^3.4.0-alpha.7", + "@storybook/addon-actions": "^3.4.0-alpha.7", + "@storybook/addon-links": "^3.4.0-alpha.7", + "@storybook/addons": "^3.4.0-alpha.7" } } diff --git a/lib/client-logger/package.json b/lib/client-logger/package.json index b1982cf2cd51..69b6e6ef2efd 100644 --- a/lib/client-logger/package.json +++ b/lib/client-logger/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/client-logger", - "version": "3.4.0-alpha.6", + "version": "3.4.0-alpha.7", "description": "", "license": "MIT", "main": "dist/index.js", diff --git a/lib/codemod/package.json b/lib/codemod/package.json index 13a96b096f2d..8030ecd29f3e 100644 --- a/lib/codemod/package.json +++ b/lib/codemod/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/codemod", - "version": "3.4.0-alpha.6", + "version": "3.4.0-alpha.7", "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 386502c6195d..35a13a181342 100644 --- a/lib/components/package.json +++ b/lib/components/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/components", - "version": "3.4.0-alpha.6", + "version": "3.4.0-alpha.7", "description": "Core Storybook Components", "license": "MIT", "main": "dist/index.js", @@ -24,8 +24,8 @@ "react-dom": "*" }, "devDependencies": { - "@storybook/addon-actions": "^3.4.0-alpha.6", - "@storybook/addon-knobs": "^3.4.0-alpha.6", - "@storybook/react": "^3.4.0-alpha.6" + "@storybook/addon-actions": "^3.4.0-alpha.7", + "@storybook/addon-knobs": "^3.4.0-alpha.7", + "@storybook/react": "^3.4.0-alpha.7" } } diff --git a/lib/core/package.json b/lib/core/package.json index 2efd91542aef..9594f2d47fe5 100644 --- a/lib/core/package.json +++ b/lib/core/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/core", - "version": "3.4.0-alpha.6", + "version": "3.4.0-alpha.7", "description": "Storybook framework-agnostic API", "homepage": "https://github.com/storybooks/storybook/tree/master/lib/core", "bugs": { @@ -17,10 +17,10 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "^3.4.0-alpha.6", - "@storybook/channel-postmessage": "^3.4.0-alpha.6", - "@storybook/client-logger": "^3.4.0-alpha.6", - "@storybook/ui": "^3.4.0-alpha.6", + "@storybook/addons": "^3.4.0-alpha.7", + "@storybook/channel-postmessage": "^3.4.0-alpha.7", + "@storybook/client-logger": "^3.4.0-alpha.7", + "@storybook/ui": "^3.4.0-alpha.7", "autoprefixer": "^7.2.5", "babel-runtime": "^6.26.0", "css-loader": "^0.28.9", @@ -30,7 +30,7 @@ "global": "^4.3.2", "json-loader": "^0.5.7", "postcss-flexbugs-fixes": "^3.2.0", - "postcss-loader": "^2.0.10", + "postcss-loader": "^2.1.0", "prop-types": "^15.5.10", "qs": "^6.5.1", "react": "^16.0.0", diff --git a/lib/node-logger/package.json b/lib/node-logger/package.json index 987722815c2f..66578d8c1f9b 100644 --- a/lib/node-logger/package.json +++ b/lib/node-logger/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/node-logger", - "version": "3.4.0-alpha.6", + "version": "3.4.0-alpha.7", "description": "", "license": "MIT", "main": "dist/index.js", diff --git a/lib/ui/package.json b/lib/ui/package.json index f850996a965e..355cec6f634e 100644 --- a/lib/ui/package.json +++ b/lib/ui/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/ui", - "version": "3.4.0-alpha.6", + "version": "3.4.0-alpha.7", "description": "Core Storybook UI", "license": "MIT", "main": "dist/index.js", @@ -15,7 +15,7 @@ "storybook": "start-storybook -p 9010" }, "dependencies": { - "@storybook/components": "^3.4.0-alpha.6", + "@storybook/components": "^3.4.0-alpha.7", "@storybook/mantra-core": "^1.7.2", "@storybook/react-komposer": "^2.0.3", "babel-runtime": "^6.26.0", @@ -35,7 +35,7 @@ "react-icons": "^2.2.7", "react-inspector": "^2.2.2", "react-modal": "^3.1.11", - "react-split-pane": "^0.1.74", + "react-split-pane": "^0.1.75", "react-treebeard": "^2.1.0", "redux": "^3.7.2" }, @@ -44,7 +44,7 @@ "react-dom": "*" }, "devDependencies": { - "@storybook/addon-actions": "^3.4.0-alpha.6", - "@storybook/react": "^3.4.0-alpha.6" + "@storybook/addon-actions": "^3.4.0-alpha.7", + "@storybook/react": "^3.4.0-alpha.7" } } diff --git a/package.json b/package.json index 22c88c7d77f0..aca1aa3a4ba7 100644 --- a/package.json +++ b/package.json @@ -36,12 +36,12 @@ "chromatic": "npm --prefix examples/official-storybook run chromatic" }, "devDependencies": { - "@angular/common": "^5.2.2", - "@angular/compiler": "^5.2.2", - "@angular/core": "^5.2.2", - "@angular/forms": "^5.2.2", - "@angular/platform-browser": "^5.2.2", - "@angular/platform-browser-dynamic": "^5.2.2", + "@angular/common": "^5.2.3", + "@angular/compiler": "^5.2.3", + "@angular/core": "^5.2.3", + "@angular/forms": "^5.2.3", + "@angular/platform-browser": "^5.2.3", + "@angular/platform-browser-dynamic": "^5.2.3", "babel-cli": "^6.26.0", "babel-core": "^6.26.0", "babel-eslint": "^8.2.1", @@ -61,14 +61,14 @@ "danger": "^2.1.10", "enzyme": "^3.3.0", "enzyme-adapter-react-16": "^1.1.1", - "eslint": "^4.16.0", + "eslint": "^4.17.0", "eslint-config-airbnb": "^16.1.0", "eslint-config-prettier": "^2.9.0", "eslint-plugin-import": "^2.8.0", "eslint-plugin-jest": "^21.7.0", "eslint-plugin-json": "^1.2.0", "eslint-plugin-jsx-a11y": "^6.0.3", - "eslint-plugin-prettier": "^2.5.0", + "eslint-plugin-prettier": "^2.6.0", "eslint-plugin-react": "^7.6.0", "gh-pages": "^1.1.0", "github-release-from-changelog": "^1.3.1", @@ -87,8 +87,8 @@ "jest-vue-preprocessor": "^1.3.1", "lerna": "2.6.0", "lint-staged": "^6.1.0", - "lodash": "^4.17.4", - "nodemon": "^1.14.11", + "lodash": "^4.17.5", + "nodemon": "^1.14.12", "npmlog": "^4.1.2", "prettier": "^1.10.2", "puppeteer": "^0.13.0", @@ -103,9 +103,9 @@ "remark-preset-lint-recommended": "^3.0.1", "shelljs": "^0.8.1", "symlink-dir": "^1.1.1", - "ts-jest": "^22.0.0", + "ts-jest": "^22.0.3", "tslint": "~5.9.1", - "tslint-config-prettier": "^1.6.0", + "tslint-config-prettier": "^1.7.0", "tslint-plugin-prettier": "^1.3.0", "typescript": "^2.7.1" }, diff --git a/yarn.lock b/yarn.lock index d15832234d8b..a0d42b9f0cd3 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2,7 +2,7 @@ # yarn lockfile v1 -"@angular-devkit/build-optimizer@~0.0.42": +"@angular-devkit/build-optimizer@0.0.42": version "0.0.42" resolved "https://registry.yarnpkg.com/@angular-devkit/build-optimizer/-/build-optimizer-0.0.42.tgz#402b0dda4883db91e2381c3ddc55888408a7894e" dependencies: @@ -11,7 +11,7 @@ typescript "~2.6.2" webpack-sources "^1.0.1" -"@angular-devkit/core@~0.0.29": +"@angular-devkit/core@0.0.29": version "0.0.29" resolved "https://registry.yarnpkg.com/@angular-devkit/core/-/core-0.0.29.tgz#6fb319b45a62eff172318cbe256fdb24ef20af2b" dependencies: @@ -20,29 +20,29 @@ rxjs "^5.5.6" source-map "^0.5.6" -"@angular-devkit/schematics@~0.0.52": +"@angular-devkit/schematics@0.0.52": version "0.0.52" resolved "https://registry.yarnpkg.com/@angular-devkit/schematics/-/schematics-0.0.52.tgz#cbd2f42778b50d6422a254ffaec05ad4ef3cb6c0" dependencies: "@ngtools/json-schema" "^1.1.0" rxjs "^5.5.6" -"@angular/animations@^5.2.2": - version "5.2.2" - resolved "https://registry.yarnpkg.com/@angular/animations/-/animations-5.2.2.tgz#3364a0c4f355d3313dda9bde526e376c137fa169" +"@angular/animations@^5.2.3": + version "5.2.3" + resolved "https://registry.yarnpkg.com/@angular/animations/-/animations-5.2.3.tgz#e0eb8d55f807e799df128af9150c075c9ab82adf" dependencies: tslib "^1.7.1" -"@angular/cli@1.6.6": - version "1.6.6" - resolved "https://registry.yarnpkg.com/@angular/cli/-/cli-1.6.6.tgz#002119ab2ed804bbdc86075e0095eadda2a0baa0" +"@angular/cli@1.6.7": + version "1.6.7" + resolved "https://registry.yarnpkg.com/@angular/cli/-/cli-1.6.7.tgz#e2323753c144b5de6c699bbebee688105a394641" dependencies: - "@angular-devkit/build-optimizer" "~0.0.42" - "@angular-devkit/core" "~0.0.29" - "@angular-devkit/schematics" "~0.0.52" + "@angular-devkit/build-optimizer" "0.0.42" + "@angular-devkit/core" "0.0.29" + "@angular-devkit/schematics" "0.0.52" "@ngtools/json-schema" "1.1.0" - "@ngtools/webpack" "1.9.6" - "@schematics/angular" "~0.1.17" + "@ngtools/webpack" "1.9.7" + "@schematics/angular" "0.1.17" autoprefixer "^7.2.3" chalk "~2.2.0" circular-dependency-plugin "^4.2.1" @@ -81,7 +81,6 @@ sass-loader "^6.0.6" semver "^5.1.0" silent-error "^1.0.0" - source-map-loader "^0.2.0" source-map-support "^0.4.1" style-loader "^0.13.1" stylus "^0.54.5" @@ -97,64 +96,64 @@ optionalDependencies: node-sass "^4.7.2" -"@angular/common@^5.2.2": - version "5.2.2" - resolved "https://registry.yarnpkg.com/@angular/common/-/common-5.2.2.tgz#24f0f21dbc29a8b2dbfe93d19ec5a18defca9edf" +"@angular/common@^5.2.3": + version "5.2.3" + resolved "https://registry.yarnpkg.com/@angular/common/-/common-5.2.3.tgz#f2a5c12ec44b73a248d8dcb2d37ac2749f091cf7" dependencies: tslib "^1.7.1" -"@angular/compiler-cli@^5.2.2": - version "5.2.2" - resolved "https://registry.yarnpkg.com/@angular/compiler-cli/-/compiler-cli-5.2.2.tgz#0929463252adcf3f8094b1689cc5cbdcb6f8ceaa" +"@angular/compiler-cli@^5.2.3": + version "5.2.3" + resolved "https://registry.yarnpkg.com/@angular/compiler-cli/-/compiler-cli-5.2.3.tgz#75b39a346f1b2a95ebc403016d19fc33d5315221" dependencies: chokidar "^1.4.2" minimist "^1.2.0" reflect-metadata "^0.1.2" tsickle "^0.26.0" -"@angular/compiler@^5.2.2": - version "5.2.2" - resolved "https://registry.yarnpkg.com/@angular/compiler/-/compiler-5.2.2.tgz#cf6ef310c5ca2fdae9551af62d10ab24d4feb51a" +"@angular/compiler@^5.2.3": + version "5.2.3" + resolved "https://registry.yarnpkg.com/@angular/compiler/-/compiler-5.2.3.tgz#49167adb35bdb5e7e915cce912c432300fc16816" dependencies: tslib "^1.7.1" -"@angular/core@^5.2.2": - version "5.2.2" - resolved "https://registry.yarnpkg.com/@angular/core/-/core-5.2.2.tgz#54950023b971d9e01f6f6fdbc30d2b68e4d05eb2" +"@angular/core@^5.2.3": + version "5.2.3" + resolved "https://registry.yarnpkg.com/@angular/core/-/core-5.2.3.tgz#157dcb437d085b325513689e0e4ae70182f3f708" dependencies: tslib "^1.7.1" -"@angular/forms@^5.2.2": - version "5.2.2" - resolved "https://registry.yarnpkg.com/@angular/forms/-/forms-5.2.2.tgz#eca24f15d96de285cd0726601db4bffec39c01f3" +"@angular/forms@^5.2.3": + version "5.2.3" + resolved "https://registry.yarnpkg.com/@angular/forms/-/forms-5.2.3.tgz#4992419191a3800516085209be331fc0d63bd099" dependencies: tslib "^1.7.1" -"@angular/http@^5.2.2": - version "5.2.2" - resolved "https://registry.yarnpkg.com/@angular/http/-/http-5.2.2.tgz#d33c128d5737f8d701bbac3e7e23d831deec3457" +"@angular/http@^5.2.3": + version "5.2.3" + resolved "https://registry.yarnpkg.com/@angular/http/-/http-5.2.3.tgz#067945f6339619b0b3fd13e8af7b6a1301e69176" dependencies: tslib "^1.7.1" -"@angular/language-service@^5.2.2": - version "5.2.2" - resolved "https://registry.yarnpkg.com/@angular/language-service/-/language-service-5.2.2.tgz#2829214885096c4168566a9f74364a8fed641a49" +"@angular/language-service@^5.2.3": + version "5.2.3" + resolved "https://registry.yarnpkg.com/@angular/language-service/-/language-service-5.2.3.tgz#b858c1cd3740b29de145a6d60b2562eef391d3b3" -"@angular/platform-browser-dynamic@^5.2.2": - version "5.2.2" - resolved "https://registry.yarnpkg.com/@angular/platform-browser-dynamic/-/platform-browser-dynamic-5.2.2.tgz#2ddd7fa28bb34ae9e181e6f286dfe4c96bde95a6" +"@angular/platform-browser-dynamic@^5.2.3": + version "5.2.3" + resolved "https://registry.yarnpkg.com/@angular/platform-browser-dynamic/-/platform-browser-dynamic-5.2.3.tgz#87d5172da2c102c3cf48da29d39e9b4b9414b419" dependencies: tslib "^1.7.1" -"@angular/platform-browser@^5.2.2": - version "5.2.2" - resolved "https://registry.yarnpkg.com/@angular/platform-browser/-/platform-browser-5.2.2.tgz#3eedcbbcc8c0e6c91eba7ed2b32de7c6679d9b62" +"@angular/platform-browser@^5.2.3": + version "5.2.3" + resolved "https://registry.yarnpkg.com/@angular/platform-browser/-/platform-browser-5.2.3.tgz#953df896839879e2b8ca89a364d66e3ac1dcd167" dependencies: tslib "^1.7.1" -"@angular/router@^5.2.2": - version "5.2.2" - resolved "https://registry.yarnpkg.com/@angular/router/-/router-5.2.2.tgz#b0ffd7121290e8c01f20862b4a2638ebcebc61cf" +"@angular/router@^5.2.3": + version "5.2.3" + resolved "https://registry.yarnpkg.com/@angular/router/-/router-5.2.3.tgz#c56bce42817c67aeb65291e5adf293300038069e" dependencies: tslib "^1.7.1" @@ -222,9 +221,9 @@ version "1.1.0" resolved "https://registry.yarnpkg.com/@ngtools/json-schema/-/json-schema-1.1.0.tgz#c3a0c544d62392acc2813a42c8a0dc6f58f86922" -"@ngtools/webpack@1.9.6": - version "1.9.6" - resolved "https://registry.yarnpkg.com/@ngtools/webpack/-/webpack-1.9.6.tgz#102c60ee4b8a84a26ddc1e2b334f327e91821a4d" +"@ngtools/webpack@1.9.7": + version "1.9.7" + resolved "https://registry.yarnpkg.com/@ngtools/webpack/-/webpack-1.9.7.tgz#ef15b90142ddf2a2c9072fe3d58c6bf500163fe5" dependencies: chalk "~2.2.0" enhanced-resolve "^3.1.0" @@ -235,11 +234,11 @@ tree-kill "^1.0.0" webpack-sources "^1.1.0" -"@polymer/polymer@^2.4.0": - version "2.4.0" - resolved "https://registry.yarnpkg.com/@polymer/polymer/-/polymer-2.4.0.tgz#a6151e43a72141bc39e9e2c420d04f702a923cf3" +"@polymer/polymer@^2.5.0": + version "2.5.0" + resolved "https://registry.yarnpkg.com/@polymer/polymer/-/polymer-2.5.0.tgz#261439f5ab691c230d0c5dfb518b9247064ac13d" -"@schematics/angular@~0.1.17": +"@schematics/angular@0.1.17": version "0.1.17" resolved "https://registry.yarnpkg.com/@schematics/angular/-/angular-0.1.17.tgz#084a7cbe2de6f94a856bd08d95c9d35ef8905e2b" dependencies: @@ -842,7 +841,7 @@ async-limiter@~1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/async-limiter/-/async-limiter-1.0.0.tgz#78faed8c3d074ab81f22b4e985d79e8738f720f8" -async@2.6.0, async@^2.1.2, async@^2.1.4, async@^2.1.5, async@^2.4.0, async@^2.4.1, async@^2.5.0: +async@2.6.0, async@^2.1.2, async@^2.1.4, async@^2.1.5, async@^2.4.0, async@^2.4.1: version "2.6.0" resolved "https://registry.yarnpkg.com/async/-/async-2.6.0.tgz#61a29abb6fcc026fea77e56d1c6ec53a795951f4" dependencies: @@ -4911,9 +4910,9 @@ eslint-plugin-prettier@^2.2.0: fast-diff "^1.1.1" jest-docblock "^21.0.0" -eslint-plugin-prettier@^2.5.0: - version "2.5.0" - resolved "https://registry.yarnpkg.com/eslint-plugin-prettier/-/eslint-plugin-prettier-2.5.0.tgz#39a91dd7528eaf19cd42c0ee3f2c1f684606a05f" +eslint-plugin-prettier@^2.6.0: + version "2.6.0" + resolved "https://registry.yarnpkg.com/eslint-plugin-prettier/-/eslint-plugin-prettier-2.6.0.tgz#33e4e228bdb06142d03c560ce04ec23f6c767dd7" dependencies: fast-diff "^1.1.1" jest-docblock "^21.0.0" @@ -5033,9 +5032,9 @@ eslint@^3.16.1: text-table "~0.2.0" user-home "^2.0.0" -eslint@^4.16.0: - version "4.16.0" - resolved "https://registry.yarnpkg.com/eslint/-/eslint-4.16.0.tgz#934ada9e98715e1d7bbfd6f6f0519ed2fab35cc1" +eslint@^4.17.0: + version "4.17.0" + resolved "https://registry.yarnpkg.com/eslint/-/eslint-4.17.0.tgz#dc24bb51ede48df629be7031c71d9dc0ee4f3ddf" dependencies: ajv "^5.3.0" babel-code-frame "^6.22.0" @@ -9114,7 +9113,7 @@ loader-utils@1.1.0, loader-utils@^1.0.1, loader-utils@^1.0.2, loader-utils@^1.1. emojis-list "^2.0.0" json5 "^0.5.0" -loader-utils@^0.2.15, loader-utils@^0.2.16, loader-utils@~0.2.2: +loader-utils@^0.2.15, loader-utils@^0.2.16: version "0.2.17" resolved "https://registry.yarnpkg.com/loader-utils/-/loader-utils-0.2.17.tgz#f86e6374d43205a6e6c60e9196f17c0299bfb348" dependencies: @@ -9401,6 +9400,10 @@ lodash@^3.10.1, lodash@^3.3.1, lodash@^3.5.0, lodash@^3.8.0: version "3.10.1" resolved "https://registry.yarnpkg.com/lodash/-/lodash-3.10.1.tgz#5bf45e8e49ba4189e17d482789dfd15bd140b7b6" +lodash@^4.17.5: + version "4.17.5" + resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.5.tgz#99a92d65c0272debe8c96b6057bc8fbfa3bed511" + log-symbols@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/log-symbols/-/log-symbols-1.0.2.tgz#376ff7b58ea3086a0f09facc74617eca501e1a18" @@ -10216,9 +10219,9 @@ node-version@^1.0.0: version "1.1.0" resolved "https://registry.yarnpkg.com/node-version/-/node-version-1.1.0.tgz#f437d7ba407e65e2c4eaef8887b1718ba523d4f0" -nodemon@^1.12.1, nodemon@^1.14.11: - version "1.14.11" - resolved "https://registry.yarnpkg.com/nodemon/-/nodemon-1.14.11.tgz#cc0009dd8d82f126f3aba50ace7e753827a8cebc" +nodemon@^1.14.12: + version "1.14.12" + resolved "https://registry.yarnpkg.com/nodemon/-/nodemon-1.14.12.tgz#fe059424b15ebdb107696287a558d9cf53a63999" dependencies: chokidar "^2.0.0" debug "^3.1.0" @@ -11307,7 +11310,7 @@ postcss-loader@2.0.8: postcss-load-config "^1.2.0" schema-utils "^0.3.0" -postcss-loader@^2.0.10, postcss-loader@^2.0.8: +postcss-loader@^2.0.10: version "2.0.10" resolved "https://registry.yarnpkg.com/postcss-loader/-/postcss-loader-2.0.10.tgz#090db0540140bd56a7a7f717c41bc29aeef4c674" dependencies: @@ -11316,6 +11319,15 @@ postcss-loader@^2.0.10, postcss-loader@^2.0.8: postcss-load-config "^1.2.0" schema-utils "^0.3.0" +postcss-loader@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/postcss-loader/-/postcss-loader-2.1.0.tgz#038c2d6d59753fef4667827fd3ae03f5dc5e6a7a" + dependencies: + loader-utils "^1.1.0" + postcss "^6.0.0" + postcss-load-config "^1.2.0" + schema-utils "^0.4.0" + postcss-merge-idents@^2.1.5: version "2.1.7" resolved "https://registry.yarnpkg.com/postcss-merge-idents/-/postcss-merge-idents-2.1.7.tgz#4c5530313c08e1d5b3bbf3d2bbc747e278eea270" @@ -12187,9 +12199,9 @@ react-scripts@^1.1.0: optionalDependencies: fsevents "1.1.2" -react-split-pane@^0.1.74: - version "0.1.74" - resolved "https://registry.yarnpkg.com/react-split-pane/-/react-split-pane-0.1.74.tgz#cf79fc98b51ab0763fdc778749b810a102b036ca" +react-split-pane@^0.1.75: + version "0.1.76" + resolved "https://registry.yarnpkg.com/react-split-pane/-/react-split-pane-0.1.76.tgz#b2ba11e1055e18b6b0fd56e13e3adb35aec87af6" dependencies: "@types/inline-style-prefixer" "^3.0.0" "@types/react" "^16.0.18" @@ -13232,7 +13244,7 @@ schema-utils@^0.3.0: dependencies: ajv "^5.0.0" -schema-utils@^0.4.2, schema-utils@^0.4.3: +schema-utils@^0.4.0, schema-utils@^0.4.2, schema-utils@^0.4.3: version "0.4.3" resolved "https://registry.yarnpkg.com/schema-utils/-/schema-utils-0.4.3.tgz#e2a594d3395834d5e15da22b48be13517859458e" dependencies: @@ -13727,14 +13739,6 @@ source-list-map@~0.1.7: version "0.1.8" resolved "https://registry.yarnpkg.com/source-list-map/-/source-list-map-0.1.8.tgz#c550b2ab5427f6b3f21f5afead88c4f5587b2106" -source-map-loader@^0.2.0: - version "0.2.3" - resolved "https://registry.yarnpkg.com/source-map-loader/-/source-map-loader-0.2.3.tgz#d4b0c8cd47d54edce3e6bfa0f523f452b5b0e521" - dependencies: - async "^2.5.0" - loader-utils "~0.2.2" - source-map "~0.6.1" - source-map-resolve@^0.5.0: version "0.5.1" resolved "https://registry.yarnpkg.com/source-map-resolve/-/source-map-resolve-0.5.1.tgz#7ad0f593f2281598e854df80f19aae4b92d7a11a" @@ -14620,6 +14624,21 @@ ts-jest@^22.0.0: source-map-support "^0.5.0" yargs "^10.0.3" +ts-jest@^22.0.3: + version "22.0.3" + resolved "https://registry.yarnpkg.com/ts-jest/-/ts-jest-22.0.3.tgz#4d30f42c1b26a78d438ad908f9b0bcb4b1e6e32b" + dependencies: + babel-core "^6.24.1" + babel-plugin-istanbul "^4.1.4" + babel-plugin-transform-es2015-modules-commonjs "^6.24.1" + babel-preset-jest "^22.0.1" + cpx "^1.5.0" + fs-extra "4.0.3" + jest-config "^22.0.1" + pkg-dir "^2.0.0" + source-map-support "^0.5.0" + yargs "^11.0.0" + ts-loader@^2.2.2: version "2.3.7" resolved "https://registry.yarnpkg.com/ts-loader/-/ts-loader-2.3.7.tgz#a9028ced473bee12f28a75f9c5b139979d33f2fc" @@ -14664,9 +14683,9 @@ tslib@^1.7.1, tslib@^1.8.0, tslib@^1.8.1: version "1.8.1" resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.8.1.tgz#6946af2d1d651a7b1863b531d6e5afa41aa44eac" -tslint-config-prettier@^1.6.0: - version "1.6.0" - resolved "https://registry.yarnpkg.com/tslint-config-prettier/-/tslint-config-prettier-1.6.0.tgz#fec1ee8fb07e8f033c63fed6b135af997f31962a" +tslint-config-prettier@^1.7.0: + version "1.7.0" + resolved "https://registry.yarnpkg.com/tslint-config-prettier/-/tslint-config-prettier-1.7.0.tgz#1588f794c6863ba31420e8b1d14ae91326063815" tslint-plugin-prettier@^1.3.0: version "1.3.0" @@ -16035,6 +16054,12 @@ yargs-parser@^8.1.0: dependencies: camelcase "^4.1.0" +yargs-parser@^9.0.2: + version "9.0.2" + resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-9.0.2.tgz#9ccf6a43460fe4ed40a9bb68f48d43b8a68cc077" + dependencies: + camelcase "^4.1.0" + yargs@3.29.0: version "3.29.0" resolved "https://registry.yarnpkg.com/yargs/-/yargs-3.29.0.tgz#1aab9660eae79d8b8f675bcaeeab6ee34c2cf69c" @@ -16081,6 +16106,23 @@ yargs@^10.0.3: y18n "^3.2.1" yargs-parser "^8.1.0" +yargs@^11.0.0: + version "11.0.0" + resolved "https://registry.yarnpkg.com/yargs/-/yargs-11.0.0.tgz#c052931006c5eee74610e5fc0354bedfd08a201b" + dependencies: + cliui "^4.0.0" + decamelize "^1.1.1" + find-up "^2.1.0" + get-caller-file "^1.0.1" + os-locale "^2.0.0" + require-directory "^2.1.1" + require-main-filename "^1.0.1" + set-blocking "^2.0.0" + string-width "^2.0.0" + which-module "^2.0.0" + y18n "^3.2.1" + yargs-parser "^9.0.2" + yargs@^4.8.0: version "4.8.1" resolved "https://registry.yarnpkg.com/yargs/-/yargs-4.8.1.tgz#c0c42924ca4aaa6b0e6da1739dfb216439f9ddc0"