From 43d1f629f0422c751605844fa5504cb2924c2752 Mon Sep 17 00:00:00 2001 From: ralzinov Date: Fri, 8 Dec 2017 18:12:00 +0300 Subject: [PATCH 01/83] fixed component outputs EventEmitter override --- .../preview/angular/components/app.component.ts | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/app/angular/src/client/preview/angular/components/app.component.ts b/app/angular/src/client/preview/angular/components/app.component.ts index 16684f76fba8..a3be4bbb4338 100644 --- a/app/angular/src/client/preview/angular/components/app.component.ts +++ b/app/angular/src/client/preview/angular/components/app.component.ts @@ -10,7 +10,8 @@ import { ViewChild, ViewContainerRef, ComponentFactoryResolver, - OnDestroy + OnDestroy, + EventEmitter } from "@angular/core"; import { STORY, Data } from "../app.token"; @@ -41,7 +42,14 @@ export class AppComponent implements AfterViewInit, OnDestroy { const instance = this.target.createComponent(compFactory).instance; Object.keys(propsMeta).map(key => { - (instance)[key] = props[key]; + const value = (props)[key]; + const property = (instance)[key]; + + if (property instanceof EventEmitter && typeof value === 'function') { + property.subscribe((props)[key]); + } else { + (instance)[key] = (props)[key]; + } }); } } \ No newline at end of file From 3af4a7eb8cc164d1f003a962e5205f9b5074d02f Mon Sep 17 00:00:00 2001 From: ralzinov Date: Fri, 8 Dec 2017 18:23:51 +0300 Subject: [PATCH 02/83] fixed demo button component --- app/angular/src/demo/button.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/angular/src/demo/button.component.ts b/app/angular/src/demo/button.component.ts index 05fb5a0b13d6..cc03d44f7432 100644 --- a/app/angular/src/demo/button.component.ts +++ b/app/angular/src/demo/button.component.ts @@ -3,7 +3,7 @@ import { Component, Input, Output, EventEmitter } from '@angular/core'; @Component({ selector: 'button-component', template: ` - + `, styles: [ ` From dbcf1fe86551d3d7180ff826641d0c3e476f1420 Mon Sep 17 00:00:00 2001 From: "Voss, Jennifer (ELS-PHI)" Date: Fri, 8 Dec 2017 15:42:46 -0500 Subject: [PATCH 03/83] Update styles option reference per https://github.com/storybooks/storybook/issues/2144 --- addons/info/README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/addons/info/README.md b/addons/info/README.md index b429a534c386..60bcf21a1b70 100644 --- a/addons/info/README.md +++ b/addons/info/README.md @@ -59,6 +59,13 @@ import { withInfo } from '@storybook/addon-info'; storiesOf('Component', module) .add('simple info', withInfo({ + styles: () => ({ + header: { + h1: { + color: 'red' + } + } + }), text: 'String or React Element with docs about my component', // Warning! This option's name will be likely renamed to "summary" in 3.3 release. Follow this PR #1501 for details // other possible options see in Global options section below })(() => @@ -100,7 +107,7 @@ setDefaults({ source: true, // Displays the source of story Component propTables: [/* Components used in story */], // displays Prop Tables with this components propTablesExclude: [], // Exclude Components from being shown in Prop Tables section - styles: {}, // Overrides styles of addon + styles: () => {}, // Overrides styles of addon. The object should follow this shape: https://github.com/storybooks/storybook/blob/master/addons/info/src/components/Story.js#L19 marksyConf: {}, // Overrides components used to display markdown. Warning! This option's name will be likely deprecated in favor to "components" with the same API in 3.3 release. Follow this PR #1501 for details maxPropsIntoLine: 1, // Max props to display per line in source code maxPropObjectKeys: 10, // Displays the first 10 characters of the prop name From 9a1bd68eb64336ba0f88c0835ae4956ef514abf6 Mon Sep 17 00:00:00 2001 From: "Voss, Jennifer (ELS-PHI)" Date: Fri, 8 Dec 2017 15:43:29 -0500 Subject: [PATCH 04/83] Update addon-info styles example in cra-kitchen-sink --- .../cra-kitchen-sink/src/stories/addon-info.stories.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/examples/cra-kitchen-sink/src/stories/addon-info.stories.js b/examples/cra-kitchen-sink/src/stories/addon-info.stories.js index ba836f024db1..5e7ee0eea743 100644 --- a/examples/cra-kitchen-sink/src/stories/addon-info.stories.js +++ b/examples/cra-kitchen-sink/src/stories/addon-info.stories.js @@ -91,7 +91,14 @@ storiesOf('Addon Info.Options.propTablesExclude', module).add( storiesOf('Addon Info.Options.styles', module).add( 'Change info styles // I think this is broken or I am using it wrong?', withInfo({ - styles: { backgroundColor: 'blue' }, + styles: () => ({ + backgroundColor: 'gray', + header: { + h1: { + color: 'red' + } + } + }), })(() => ) ); From f081207086cb69fd07bdc07312d35d95d706b0f1 Mon Sep 17 00:00:00 2001 From: "Voss, Jennifer (ELS-PHI)" Date: Sun, 10 Dec 2017 11:26:44 -0500 Subject: [PATCH 05/83] Change styles prop to expect an object instead of a function --- addons/info/package.json | 1 + addons/info/src/components/Story.js | 8 +++++--- addons/info/src/index.js | 2 +- yarn.lock | 4 ++++ 4 files changed, 11 insertions(+), 4 deletions(-) diff --git a/addons/info/package.json b/addons/info/package.json index 9093e793e85c..663a639c078d 100644 --- a/addons/info/package.json +++ b/addons/info/package.json @@ -19,6 +19,7 @@ "babel-runtime": "^6.26.0", "global": "^4.3.2", "marksy": "^2.0.0", + "nested-object-assign": "^1.0.1", "prop-types": "^15.6.0", "react-addons-create-fragment": "^15.5.3", "util-deprecate": "^1.0.2" diff --git a/addons/info/src/components/Story.js b/addons/info/src/components/Story.js index 8d09798e320c..c31fda980ef6 100644 --- a/addons/info/src/components/Story.js +++ b/addons/info/src/components/Story.js @@ -2,6 +2,7 @@ import React from 'react'; import PropTypes from 'prop-types'; +import nestedObjectAssign from 'nested-object-assign'; import global from 'global'; import { baseFonts } from '@storybook/components'; @@ -106,14 +107,14 @@ export default class Story extends React.Component { super(...args); this.state = { open: false, - stylesheet: this.props.styles(JSON.parse(JSON.stringify(stylesheet))), + stylesheet: nestedObjectAssign({}, stylesheet, this.props.styles), }; this.marksy = marksy(this.props.marksyConf); } componentWillReceiveProps(nextProps) { this.setState({ - stylesheet: nextProps.styles(JSON.parse(JSON.stringify(stylesheet))), + stylesheet: nestedObjectAssign({}, stylesheet, nextProps.styles), }); } @@ -382,7 +383,7 @@ Story.propTypes = { showInline: PropTypes.bool, showHeader: PropTypes.bool, showSource: PropTypes.bool, - styles: PropTypes.func.isRequired, + styles: PropTypes.object, // eslint-disable-line react/forbid-prop-types children: PropTypes.oneOfType([PropTypes.object, PropTypes.array]), marksyConf: PropTypes.object, // eslint-disable-line react/forbid-prop-types maxPropsIntoLine: PropTypes.number.isRequired, @@ -399,5 +400,6 @@ Story.defaultProps = { showInline: false, showHeader: true, showSource: true, + styles: {}, marksyConf: {}, }; diff --git a/addons/info/src/index.js b/addons/info/src/index.js index f4a645bf8ec8..10f43dc2b9bc 100644 --- a/addons/info/src/index.js +++ b/addons/info/src/index.js @@ -53,7 +53,7 @@ function addInfo(storyFn, context, infoOptions) { showSource: Boolean(options.source), propTables: options.propTables, propTablesExclude: options.propTablesExclude, - styles: typeof options.styles === 'function' ? options.styles : s => s, + styles: options.styles, marksyConf, maxPropObjectKeys: options.maxPropObjectKeys, maxPropArrayLength: options.maxPropArrayLength, diff --git a/yarn.lock b/yarn.lock index bd64f9e1e202..87862dc397dd 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7820,6 +7820,10 @@ negotiator@0.6.1: version "0.6.1" resolved "https://registry.yarnpkg.com/negotiator/-/negotiator-0.6.1.tgz#2b327184e8992101177b28563fb5e7102acd0ca9" +nested-object-assign@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/nested-object-assign/-/nested-object-assign-1.0.1.tgz#72d4996d77acbbfda92421f48e1d14eba0962159" + netrc@^0.1.4: version "0.1.4" resolved "https://registry.yarnpkg.com/netrc/-/netrc-0.1.4.tgz#6be94fcaca8d77ade0a9670dc460914c94472444" From 52907688e3aad0e6a3b820effd2951bb876fdcff Mon Sep 17 00:00:00 2001 From: "Voss, Jennifer (ELS-PHI)" Date: Sun, 10 Dec 2017 11:27:03 -0500 Subject: [PATCH 06/83] Update cra-kitchen-sink example and snapshot --- .../src/__snapshots__/storyshots.test.js.snap | 9 +++++---- .../src/stories/addon-info.stories.js | 18 +++++++++++------- 2 files changed, 16 insertions(+), 11 deletions(-) diff --git a/examples/cra-kitchen-sink/src/__snapshots__/storyshots.test.js.snap b/examples/cra-kitchen-sink/src/__snapshots__/storyshots.test.js.snap index 6621838df8c6..ef28738980bc 100644 --- a/examples/cra-kitchen-sink/src/__snapshots__/storyshots.test.js.snap +++ b/examples/cra-kitchen-sink/src/__snapshots__/storyshots.test.js.snap @@ -3350,7 +3350,7 @@ exports[`Storyshots Addon Info.Options.source Shows or hides Info Addon source 1 `; -exports[`Storyshots Addon Info.Options.styles Change info styles // I think this is broken or I am using it wrong? 1`] = ` +exports[`Storyshots Addon Info.Options.styles Change info styles 1`] = `
- Change info styles // I think this is broken or I am using it wrong? + Change info styles
diff --git a/examples/cra-kitchen-sink/src/stories/addon-info.stories.js b/examples/cra-kitchen-sink/src/stories/addon-info.stories.js index 5e7ee0eea743..e89be387146c 100644 --- a/examples/cra-kitchen-sink/src/stories/addon-info.stories.js +++ b/examples/cra-kitchen-sink/src/stories/addon-info.stories.js @@ -89,16 +89,20 @@ storiesOf('Addon Info.Options.propTablesExclude', module).add( ); storiesOf('Addon Info.Options.styles', module).add( - 'Change info styles // I think this is broken or I am using it wrong?', + 'Change info styles', withInfo({ - styles: () => ({ - backgroundColor: 'gray', + styles: { + button: { + base: { + background: 'purple', + }, + }, header: { h1: { - color: 'red' - } - } - }), + color: 'red', + }, + }, + }, })(() => ) ); From 355f7e31d421974b46d361b824dcf5b22f47e9e2 Mon Sep 17 00:00:00 2001 From: "Voss, Jennifer (ELS-PHI)" Date: Sun, 10 Dec 2017 11:31:39 -0500 Subject: [PATCH 07/83] Update styles reference in README --- addons/info/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/addons/info/README.md b/addons/info/README.md index 60bcf21a1b70..06c0ac708d4d 100644 --- a/addons/info/README.md +++ b/addons/info/README.md @@ -59,13 +59,13 @@ import { withInfo } from '@storybook/addon-info'; storiesOf('Component', module) .add('simple info', withInfo({ - styles: () => ({ + styles: { header: { h1: { color: 'red' } } - }), + }, text: 'String or React Element with docs about my component', // Warning! This option's name will be likely renamed to "summary" in 3.3 release. Follow this PR #1501 for details // other possible options see in Global options section below })(() => @@ -107,7 +107,7 @@ setDefaults({ source: true, // Displays the source of story Component propTables: [/* Components used in story */], // displays Prop Tables with this components propTablesExclude: [], // Exclude Components from being shown in Prop Tables section - styles: () => {}, // Overrides styles of addon. The object should follow this shape: https://github.com/storybooks/storybook/blob/master/addons/info/src/components/Story.js#L19 + styles: {}, // Overrides styles of addon. The object should follow this shape: https://github.com/storybooks/storybook/blob/master/addons/info/src/components/Story.js#L19 marksyConf: {}, // Overrides components used to display markdown. Warning! This option's name will be likely deprecated in favor to "components" with the same API in 3.3 release. Follow this PR #1501 for details maxPropsIntoLine: 1, // Max props to display per line in source code maxPropObjectKeys: 10, // Displays the first 10 characters of the prop name From 3662bdffdd2e9221e35d245aebf5256aced334c1 Mon Sep 17 00:00:00 2001 From: ralzinov Date: Mon, 11 Dec 2017 15:53:29 +0300 Subject: [PATCH 08/83] fixed output property override when value is undefined --- .../client/preview/angular/components/app.component.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/angular/src/client/preview/angular/components/app.component.ts b/app/angular/src/client/preview/angular/components/app.component.ts index a3be4bbb4338..a6aa33a32335 100644 --- a/app/angular/src/client/preview/angular/components/app.component.ts +++ b/app/angular/src/client/preview/angular/components/app.component.ts @@ -45,10 +45,10 @@ export class AppComponent implements AfterViewInit, OnDestroy { const value = (props)[key]; const property = (instance)[key]; - if (property instanceof EventEmitter && typeof value === 'function') { - property.subscribe((props)[key]); - } else { - (instance)[key] = (props)[key]; + if (!(property instanceof EventEmitter)) { + (instance)[key] = (props)[key]; + } else if (typeof value === 'function') { + property.subscribe((props)[key]); } }); } From 63be049aa7fce65bf4cedccc10f39a002f5b01bf Mon Sep 17 00:00:00 2001 From: igor Date: Tue, 12 Dec 2017 01:37:47 +0200 Subject: [PATCH 09/83] Create metadata extraction util --- addons/knobs/package.json | 2 +- addons/knobs/src/angular/helpers.js | 20 +- addons/knobs/src/angular/utils.js | 63 ++ app/angular/package.json | 12 +- .../src/client/preview/angular/helpers.ts | 11 +- app/angular/src/client/preview/utils.js | 63 ++ examples/angular-cli/package.json | 22 +- yarn.lock | 912 +++++++++--------- 8 files changed, 607 insertions(+), 498 deletions(-) create mode 100644 addons/knobs/src/angular/utils.js create mode 100644 app/angular/src/client/preview/utils.js diff --git a/addons/knobs/package.json b/addons/knobs/package.json index f18f7cd12d77..04de1fb645e1 100644 --- a/addons/knobs/package.json +++ b/addons/knobs/package.json @@ -14,7 +14,6 @@ "storybook": "start-storybook -p 9010" }, "dependencies": { - "@angular/core": "^5.0.0-beta.7", "babel-runtime": "^6.26.0", "deep-equal": "^1.0.1", "global": "^4.3.2", @@ -34,6 +33,7 @@ }, "peerDependencies": { "@storybook/addons": "^3.3.0-alpha.4", + "@angular/core": "*", "react": "*", "react-dom": "*" } diff --git a/addons/knobs/src/angular/helpers.js b/addons/knobs/src/angular/helpers.js index f570fc35dcb7..170abe74ce63 100644 --- a/addons/knobs/src/angular/helpers.js +++ b/addons/knobs/src/angular/helpers.js @@ -2,12 +2,21 @@ import { Component, SimpleChange, ChangeDetectorRef } from '@angular/core'; +import { + getParameters, + getAnnotations, + getPropMetadata, + setAnnotations, + setParameters, +} from './utils'; + const getComponentMetadata = ({ component, props = {} }) => { if (!component || typeof component !== 'function') throw new Error('No valid component provided'); - const componentMeta = component.__annotations__[0] || component.annotations[0]; - const propsMeta = component.__prop__metadata__ || component.propMetadata || {}; - const paramsMetadata = component.__parameters__ || component.parameters || []; + const componentMeta = getAnnotations(component)[0] || {}; + const propsMeta = getPropMetadata(component); + const paramsMetadata = getParameters(component); + return { component, props, @@ -25,8 +34,9 @@ const getAnnotatedComponent = ({ componentMeta, component, params, knobStore, ch this.setPaneKnobs = this.setPaneKnobs.bind(this); }; NewComponent.prototype = Object.create(component.prototype); - NewComponent.__annotations__ = [new Component(componentMeta)]; - NewComponent.__parameters__ = [[ChangeDetectorRef], ...params]; + + setAnnotations(NewComponent, [new Component(componentMeta)]); + setParameters(NewComponent, [[ChangeDetectorRef], ...params]); NewComponent.prototype.constructor = NewComponent; NewComponent.prototype.ngOnInit = function onInit() { diff --git a/addons/knobs/src/angular/utils.js b/addons/knobs/src/angular/utils.js new file mode 100644 index 000000000000..e2c38ac9bf7f --- /dev/null +++ b/addons/knobs/src/angular/utils.js @@ -0,0 +1,63 @@ +/* eslint-disable no-param-reassign */ +/* eslint no-underscore-dangle: 0 */ +/* globals window */ + +import { VERSION } from '@angular/core'; + +function getMeta(component, [name1, name2], defaultValue) { + if (!name2) { + name2 = name1; + name1 = `__${name1}__`; + } + + if (VERSION.major >= 5) { + if (component[name1]) { + return component[name1]; + } + + if (component[name2]) { + return component[name2]; + } + } + + if (VERSION.major >= 4) { + return window.Reflect.getMetadata(name2, component) || defaultValue; + } + + return defaultValue; +} + +function setMeta(component, [name1, name2], value) { + if (!name2) { + name2 = name1; + name1 = `__${name1}__`; + } + + if (VERSION.major >= 5) { + component[name1] = value; + } + + if (VERSION.major >= 4) { + window.Reflect.defineMetadata(name2, value, component); + } +} + +export function getAnnotations(component) { + return getMeta(component, ['annotations'], []); +} + +export function getPropMetadata(component) { + return getMeta(component, ['__prop__metadata__', 'propMetadata'], {}); +} + +export function getParameters(component) { + return getMeta(component, ['parameters'], []); +} + +export function setAnnotations(component, value) { + setMeta(component, ['annotations'], value); +} + +export function setParameters(component, value) { + setMeta(component, ['parameters'], value); +} diff --git a/app/angular/package.json b/app/angular/package.json index 41fa1d56eff3..a4bed3decad7 100644 --- a/app/angular/package.json +++ b/app/angular/package.json @@ -22,11 +22,6 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@angular/common": "^5.0.0-beta.7", - "@angular/compiler": "^5.0.0-beta.7", - "@angular/core": "^5.0.0-beta.7", - "@angular/platform-browser": "^5.0.0-beta.7", - "@angular/platform-browser-dynamic": "^5.0.0-beta.7", "@storybook/addon-actions": "^3.3.0-alpha.4", "@storybook/addon-links": "^3.3.0-alpha.4", "@storybook/addons": "^3.3.0-alpha.4", @@ -90,5 +85,12 @@ "mock-fs": "^4.3.0", "nodemon": "^1.12.0", "typescript": "^2.4.0" + }, + "peerDependencies": { + "@angular/common": "*", + "@angular/compiler": "*", + "@angular/core": "*", + "@angular/platform-browser": "*", + "@angular/platform-browser-dynamic": "*" } } diff --git a/app/angular/src/client/preview/angular/helpers.ts b/app/angular/src/client/preview/angular/helpers.ts index b33ad7285ea0..50d19f4c8ce2 100644 --- a/app/angular/src/client/preview/angular/helpers.ts +++ b/app/angular/src/client/preview/angular/helpers.ts @@ -6,12 +6,15 @@ import { ApplicationRef, CUSTOM_ELEMENTS_SCHEMA } from "@angular/core"; + import { platformBrowserDynamic } from "@angular/platform-browser-dynamic"; import { BrowserModule } from "@angular/platform-browser"; import { AppComponent } from "./components/app.component"; import { ErrorComponent } from "./components/error.component"; import { NoPreviewComponent } from "./components/no-preview.component"; import { STORY } from "./app.token"; +import { getAnnotations, getParameters, getPropMetadata } from '../utils'; + let platform = null; let promises = []; @@ -37,11 +40,9 @@ const getComponentMetadata = ({ component, props = {}, propsMeta = {} }) => { if (!component || typeof component !== "function") throw new Error("No valid component provided"); - const componentMetadata = - component.__annotations__[0] || component.annotations[0] || {}; - const propsMetadata = - component.__prop__metadata__ || component.propMetadata || {}; - const paramsMetadata = component.__parameters__ || component.parameters || []; + const componentMetadata = getAnnotations(component)[0] || {}; + const propsMetadata = getPropMetadata(component); + const paramsMetadata = getParameters(component); Object.keys(propsMeta).map(key => { propsMetadata[key] = propsMeta[key]; diff --git a/app/angular/src/client/preview/utils.js b/app/angular/src/client/preview/utils.js new file mode 100644 index 000000000000..e2c38ac9bf7f --- /dev/null +++ b/app/angular/src/client/preview/utils.js @@ -0,0 +1,63 @@ +/* eslint-disable no-param-reassign */ +/* eslint no-underscore-dangle: 0 */ +/* globals window */ + +import { VERSION } from '@angular/core'; + +function getMeta(component, [name1, name2], defaultValue) { + if (!name2) { + name2 = name1; + name1 = `__${name1}__`; + } + + if (VERSION.major >= 5) { + if (component[name1]) { + return component[name1]; + } + + if (component[name2]) { + return component[name2]; + } + } + + if (VERSION.major >= 4) { + return window.Reflect.getMetadata(name2, component) || defaultValue; + } + + return defaultValue; +} + +function setMeta(component, [name1, name2], value) { + if (!name2) { + name2 = name1; + name1 = `__${name1}__`; + } + + if (VERSION.major >= 5) { + component[name1] = value; + } + + if (VERSION.major >= 4) { + window.Reflect.defineMetadata(name2, value, component); + } +} + +export function getAnnotations(component) { + return getMeta(component, ['annotations'], []); +} + +export function getPropMetadata(component) { + return getMeta(component, ['__prop__metadata__', 'propMetadata'], {}); +} + +export function getParameters(component) { + return getMeta(component, ['parameters'], []); +} + +export function setAnnotations(component, value) { + setMeta(component, ['annotations'], value); +} + +export function setParameters(component, value) { + setMeta(component, ['parameters'], value); +} diff --git a/examples/angular-cli/package.json b/examples/angular-cli/package.json index 55f4fe8addfc..aafa17989124 100644 --- a/examples/angular-cli/package.json +++ b/examples/angular-cli/package.json @@ -14,23 +14,23 @@ }, "private": true, "dependencies": { - "@angular/animations": "^5.0.0-beta.7", - "@angular/common": "^5.0.0-beta.7", - "@angular/compiler": "^5.0.0-beta.7", - "@angular/core": "^5.0.0-beta.7", - "@angular/forms": "^5.0.0-beta.7", - "@angular/http": "^5.0.0-beta.7", - "@angular/platform-browser": "^5.0.0-beta.7", - "@angular/platform-browser-dynamic": "^5.0.0-beta.7", - "@angular/router": "^5.0.0-beta.7", + "@angular/animations": "4.3.5", + "@angular/common": "4.3.5", + "@angular/compiler": "4.3.5", + "@angular/core": "4.3.5", + "@angular/forms": "4.3.5", + "@angular/http": "4.3.5", + "@angular/platform-browser": "4.3.5", + "@angular/platform-browser-dynamic": "4.3.5", + "@angular/router": "4.3.5", "core-js": "^2.4.1", "rxjs": "^5.4.2", "zone.js": "^0.8.14" }, "devDependencies": { "@angular/cli": "1.3.0", - "@angular/compiler-cli": "^5.0.0-beta.7", - "@angular/language-service": "^5.0.0-beta.7", + "@angular/compiler-cli": "4.3.5", + "@angular/language-service": "4.3.5", "@storybook/addon-actions": "^3.3.0-alpha.4", "@storybook/addon-links": "^3.3.0-alpha.4", "@storybook/addon-notes": "^3.3.0-alpha.4", diff --git a/yarn.lock b/yarn.lock index 340411e3fa3f..63b8b2ce26dc 100644 --- a/yarn.lock +++ b/yarn.lock @@ -10,9 +10,9 @@ source-map "^0.5.6" typescript "^2.3.3" -"@angular/animations@^5.0.0-beta.7": - version "5.0.1" - resolved "https://registry.yarnpkg.com/@angular/animations/-/animations-5.0.1.tgz#a92b2b186a6e5a31a9f1584911dd6aa7e16c5de1" +"@angular/animations@4.3.5": + version "4.3.5" + resolved "https://registry.yarnpkg.com/@angular/animations/-/animations-4.3.5.tgz#85aa454c887cc7cce11637ea5f6e9afad88490e1" dependencies: tslib "^1.7.1" @@ -85,67 +85,72 @@ optionalDependencies: node-sass "^4.3.0" -"@angular/common@^5.0.0-beta.7": - version "5.0.1" - resolved "https://registry.yarnpkg.com/@angular/common/-/common-5.0.1.tgz#43005ab3c8b8ffaf176aafb3b86ba931c3e4bdf9" +"@angular/common@4.3.5": + version "4.3.5" + resolved "https://registry.yarnpkg.com/@angular/common/-/common-4.3.5.tgz#5f6b11347eae1dfc34623ccfd4c06c8f4c488e2d" dependencies: tslib "^1.7.1" -"@angular/compiler-cli@^5.0.0-beta.7": - version "5.0.1" - resolved "https://registry.yarnpkg.com/@angular/compiler-cli/-/compiler-cli-5.0.1.tgz#526dc1bb394fb16ad916601eea9aa00eb44b4fff" +"@angular/compiler-cli@4.3.5": + version "4.3.5" + resolved "https://registry.yarnpkg.com/@angular/compiler-cli/-/compiler-cli-4.3.5.tgz#24e99b36c0909363ff8247bf331a8b89eaedfe63" dependencies: - chokidar "^1.4.2" + "@angular/tsc-wrapped" "4.3.5" minimist "^1.2.0" reflect-metadata "^0.1.2" - tsickle "^0.24.0" -"@angular/compiler@^5.0.0-beta.7": - version "5.0.1" - resolved "https://registry.yarnpkg.com/@angular/compiler/-/compiler-5.0.1.tgz#7fd4c7fa4bbbef4c146962fa946b827330a6c8ed" +"@angular/compiler@4.3.5": + version "4.3.5" + resolved "https://registry.yarnpkg.com/@angular/compiler/-/compiler-4.3.5.tgz#50d3c986657beff1fef4f6dd9a3fa58e24abd548" dependencies: tslib "^1.7.1" -"@angular/core@^5.0.0-beta.7": - version "5.0.1" - resolved "https://registry.yarnpkg.com/@angular/core/-/core-5.0.1.tgz#a4a74afc7e2058d30b8263eb6d66daace9f427ba" +"@angular/core@4.3.5": + version "4.3.5" + resolved "https://registry.yarnpkg.com/@angular/core/-/core-4.3.5.tgz#bd1efdbf1ebcfb9c27a238e2aa4c48159b0895bb" dependencies: tslib "^1.7.1" -"@angular/forms@^5.0.0-beta.7": - version "5.0.1" - resolved "https://registry.yarnpkg.com/@angular/forms/-/forms-5.0.1.tgz#69f303c4c13da3caa0de63437588388b6ad62b21" +"@angular/forms@4.3.5": + version "4.3.5" + resolved "https://registry.yarnpkg.com/@angular/forms/-/forms-4.3.5.tgz#519aad0ad82a1b87019937fa93fc147734737787" dependencies: tslib "^1.7.1" -"@angular/http@^5.0.0-beta.7": - version "5.0.1" - resolved "https://registry.yarnpkg.com/@angular/http/-/http-5.0.1.tgz#350cbdf63cfac8939613d753ff071ed58a60561b" +"@angular/http@4.3.5": + version "4.3.5" + resolved "https://registry.yarnpkg.com/@angular/http/-/http-4.3.5.tgz#81d4b0761c8ef035cb0b736300c237f36286f1f0" dependencies: tslib "^1.7.1" -"@angular/language-service@^5.0.0-beta.7": - version "5.0.1" - resolved "https://registry.yarnpkg.com/@angular/language-service/-/language-service-5.0.1.tgz#869e09dbd6e3d95c117c062d21dd1fd920ad44d6" +"@angular/language-service@4.3.5": + version "4.3.5" + resolved "https://registry.yarnpkg.com/@angular/language-service/-/language-service-4.3.5.tgz#b6d882ea40d18d513fc3a035a79875029fe38f01" -"@angular/platform-browser-dynamic@^5.0.0-beta.7": - version "5.0.1" - resolved "https://registry.yarnpkg.com/@angular/platform-browser-dynamic/-/platform-browser-dynamic-5.0.1.tgz#16db67d52d4531563ab15429c6bdfe18bc1bedc8" +"@angular/platform-browser-dynamic@4.3.5": + version "4.3.5" + resolved "https://registry.yarnpkg.com/@angular/platform-browser-dynamic/-/platform-browser-dynamic-4.3.5.tgz#4a697b3b0aec805b33884fd4a9b3473065bab1e0" dependencies: tslib "^1.7.1" -"@angular/platform-browser@^5.0.0-beta.7": - version "5.0.1" - resolved "https://registry.yarnpkg.com/@angular/platform-browser/-/platform-browser-5.0.1.tgz#14895dd30ed2a30ee7b99c76b764748f46c1a862" +"@angular/platform-browser@4.3.5": + version "4.3.5" + resolved "https://registry.yarnpkg.com/@angular/platform-browser/-/platform-browser-4.3.5.tgz#c0d03409499cc29f81677aab623c9086760d84ef" dependencies: tslib "^1.7.1" -"@angular/router@^5.0.0-beta.7": - version "5.0.1" - resolved "https://registry.yarnpkg.com/@angular/router/-/router-5.0.1.tgz#9ac08f29302ef60cdfd3c7810d96c265dec463d6" +"@angular/router@4.3.5": + version "4.3.5" + resolved "https://registry.yarnpkg.com/@angular/router/-/router-4.3.5.tgz#188082747bc9b6974f9d4b3f5557b434645d23cd" dependencies: tslib "^1.7.1" +"@angular/tsc-wrapped@4.3.5": + version "4.3.5" + resolved "https://registry.yarnpkg.com/@angular/tsc-wrapped/-/tsc-wrapped-4.3.5.tgz#95fdaa813cfc57262fc7ef5fea726d628aefabac" + dependencies: + tsickle "^0.21.0" + "@babel/code-frame@7.0.0-beta.31": version "7.0.0-beta.31" resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.0.0-beta.31.tgz#473d021ecc573a2cce1c07d5b509d5215f46ba35" @@ -238,11 +243,13 @@ shallowequal "^0.2.2" "@storybook/react-simple-di@^1.2.1": - version "1.2.1" - resolved "https://registry.yarnpkg.com/@storybook/react-simple-di/-/react-simple-di-1.2.1.tgz#fe4b29a32459e168da3aae8e6fcd8631861210c9" + version "1.3.0" + resolved "https://registry.yarnpkg.com/@storybook/react-simple-di/-/react-simple-di-1.3.0.tgz#13116d89a2f42898716a7f8c4095b47415526371" dependencies: babel-runtime "6.x.x" + create-react-class "^15.6.2" hoist-non-react-statics "1.x.x" + prop-types "^15.6.0" "@storybook/react-stubber@^1.0.0": version "1.0.1" @@ -265,20 +272,20 @@ "@types/node" "*" "@types/node@*", "@types/node@^8.0.0": - version "8.0.52" - resolved "https://registry.yarnpkg.com/@types/node/-/node-8.0.52.tgz#8e7f47747868e7687f2cd4922966e2d6af78d22d" + version "8.0.58" + resolved "https://registry.yarnpkg.com/@types/node/-/node-8.0.58.tgz#5b3881c0be3a646874803fee3197ea7f1ed6df90" "@types/node@^6.0.46", "@types/node@~6.0.60": - version "6.0.92" - resolved "https://registry.yarnpkg.com/@types/node/-/node-6.0.92.tgz#e7f721ae282772e12ba2579968c00d9cce422c5d" + version "6.0.93" + resolved "https://registry.yarnpkg.com/@types/node/-/node-6.0.93.tgz#498b9461f4ec84a057c0aca80a54cce992805ff8" "@types/q@^0.0.32": version "0.0.32" resolved "https://registry.yarnpkg.com/@types/q/-/q-0.0.32.tgz#bd284e57c84f1325da702babfc82a5328190c0c5" "@types/react@^16.0.18", "@types/react@^16.0.20": - version "16.0.23" - resolved "https://registry.yarnpkg.com/@types/react/-/react-16.0.23.tgz#f0f713b07912c6fd8e10c9ccc539443ceb06dbca" + version "16.0.28" + resolved "https://registry.yarnpkg.com/@types/react/-/react-16.0.28.tgz#eb0b31272528da8f20477ec27569c4f767315b33" "@types/selenium-webdriver@^2.53.35", "@types/selenium-webdriver@~2.53.39": version "2.53.43" @@ -382,8 +389,8 @@ agent-base@2: semver "~5.0.1" agent-base@4, agent-base@^4.1.0: - version "4.1.1" - resolved "https://registry.yarnpkg.com/agent-base/-/agent-base-4.1.1.tgz#92d8a4fc2524a3b09b3666a33b6c97960f23d6a4" + version "4.1.2" + resolved "https://registry.yarnpkg.com/agent-base/-/agent-base-4.1.2.tgz#80fa6cde440f4dcf9af2617cf246099b5d99f0c8" dependencies: es6-promisify "^5.0.0" @@ -393,22 +400,7 @@ agentkeepalive@^3.3.0: dependencies: humanize-ms "^1.2.1" -airbnb-js-shims@^1.1.1: - version "1.3.0" - resolved "https://registry.yarnpkg.com/airbnb-js-shims/-/airbnb-js-shims-1.3.0.tgz#aac46d80057fb0b414f70e06d07e362fd99ee2fa" - dependencies: - array-includes "^3.0.3" - es5-shim "^4.5.9" - es6-shim "^0.35.3" - function.prototype.name "^1.0.3" - object.entries "^1.0.4" - object.getownpropertydescriptors "^2.0.3" - object.values "^1.0.4" - promise.prototype.finally "^3.0.0" - string.prototype.padend "^3.0.0" - string.prototype.padstart "^3.0.0" - -airbnb-js-shims@^1.4.0: +airbnb-js-shims@^1.1.1, airbnb-js-shims@^1.4.0: version "1.4.0" resolved "https://registry.yarnpkg.com/airbnb-js-shims/-/airbnb-js-shims-1.4.0.tgz#b920b0bc9fafe8b8ae2a073f29fb10303b1b2b18" dependencies: @@ -441,8 +433,8 @@ ajv@^4.7.0, ajv@^4.9.1: json-stable-stringify "^1.0.1" ajv@^5.0.0, ajv@^5.1.0, ajv@^5.1.5, ajv@^5.2.0, ajv@^5.2.3, ajv@^5.3.0: - version "5.3.0" - resolved "https://registry.yarnpkg.com/ajv/-/ajv-5.3.0.tgz#4414ff74a50879c208ee5fdc826e32c303549eda" + version "5.5.1" + resolved "https://registry.yarnpkg.com/ajv/-/ajv-5.5.1.tgz#b38bb8876d9e86bee994956a04e721e88b248eb2" dependencies: co "^4.6.0" fast-deep-equal "^1.0.0" @@ -772,7 +764,7 @@ asynckit@^0.4.0: version "0.4.0" resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79" -autoprefixer@7.1.6, autoprefixer@^7.1.1: +autoprefixer@7.1.6: version "7.1.6" resolved "https://registry.yarnpkg.com/autoprefixer/-/autoprefixer-7.1.6.tgz#fb933039f74af74a83e71225ce78d9fd58ba84d7" dependencies: @@ -794,7 +786,7 @@ autoprefixer@^6.3.1, autoprefixer@^6.5.3: postcss "^5.2.16" postcss-value-parser "^3.2.3" -autoprefixer@^7.2.2: +autoprefixer@^7.1.1, autoprefixer@^7.2.2: version "7.2.2" resolved "https://registry.yarnpkg.com/autoprefixer/-/autoprefixer-7.2.2.tgz#082293b964be00602efacc59aa4aa7df5158bb6e" dependencies: @@ -1059,8 +1051,8 @@ babel-helper-to-multiple-sequence-expressions@^0.2.0: resolved "https://registry.yarnpkg.com/babel-helper-to-multiple-sequence-expressions/-/babel-helper-to-multiple-sequence-expressions-0.2.0.tgz#d1a419634c6cb301f27858c659167cfee0a9d318" babel-helper-vue-jsx-merge-props@^2.0.2: - version "2.0.2" - resolved "https://registry.yarnpkg.com/babel-helper-vue-jsx-merge-props/-/babel-helper-vue-jsx-merge-props-2.0.2.tgz#aceb1c373588279e2755ea1cfd35c22394fd33f8" + version "2.0.3" + resolved "https://registry.yarnpkg.com/babel-helper-vue-jsx-merge-props/-/babel-helper-vue-jsx-merge-props-2.0.3.tgz#22aebd3b33902328e513293a8e4992b384f9f1b6" babel-helpers@^6.24.1: version "6.24.1" @@ -2112,16 +2104,16 @@ better-assert@~1.0.0: callsite "1.0.0" big-integer@^1.6.7: - version "1.6.25" - resolved "https://registry.yarnpkg.com/big-integer/-/big-integer-1.6.25.tgz#1de45a9f57542ac20121c682f8d642220a34e823" + version "1.6.26" + resolved "https://registry.yarnpkg.com/big-integer/-/big-integer-1.6.26.tgz#3af1672fa62daf2d5ecafacf6e5aa0d25e02c1c8" big.js@^3.1.3: version "3.2.0" resolved "https://registry.yarnpkg.com/big.js/-/big.js-3.2.0.tgz#a5fc298b81b9e0dca2e458824784b65c52ba588e" binary-extensions@^1.0.0: - version "1.10.0" - resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-1.10.0.tgz#9aeb9a6c5e88638aad171e167f5900abe24835d0" + version "1.11.0" + resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-1.11.0.tgz#46aa1751fb6a2f93ee5e689bb1087d4b14c6c205" bl@^1.0.0: version "1.2.1" @@ -2235,8 +2227,8 @@ boxen@^0.6.0: widest-line "^1.0.0" boxen@^1.0.0, boxen@^1.2.1: - version "1.2.2" - resolved "https://registry.yarnpkg.com/boxen/-/boxen-1.2.2.tgz#3f1d4032c30ffea9d4b02c322eaf2ea741dcbce5" + version "1.3.0" + resolved "https://registry.yarnpkg.com/boxen/-/boxen-1.3.0.tgz#55c6c39a8ba58d9c61ad22cd877532deb665a20b" dependencies: ansi-align "^2.0.0" camelcase "^4.0.0" @@ -2244,7 +2236,7 @@ boxen@^1.0.0, boxen@^1.2.1: cli-boxes "^1.0.0" string-width "^2.0.0" term-size "^1.2.0" - widest-line "^1.0.0" + widest-line "^2.0.0" bplist-creator@0.0.7: version "0.0.7" @@ -2339,11 +2331,11 @@ browserify-sign@^4.0.0: inherits "^2.0.1" parse-asn1 "^5.0.0" -browserify-zlib@^0.1.4: - version "0.1.4" - resolved "https://registry.yarnpkg.com/browserify-zlib/-/browserify-zlib-0.1.4.tgz#bb35f8a519f600e0fa6b8485241c979d0141fb2d" +browserify-zlib@^0.2.0: + version "0.2.0" + resolved "https://registry.yarnpkg.com/browserify-zlib/-/browserify-zlib-0.2.0.tgz#2869459d9aa3be245fe8fe2ca1f46e2e7f54d73f" dependencies: - pako "~0.2.0" + pako "~1.0.5" browserslist@^1.3.6, browserslist@^1.5.2, browserslist@^1.7.6: version "1.7.7" @@ -2352,14 +2344,7 @@ browserslist@^1.3.6, browserslist@^1.5.2, browserslist@^1.7.6: caniuse-db "^1.0.30000639" electron-to-chromium "^1.2.7" -browserslist@^2.1.2, browserslist@^2.5.1: - version "2.9.0" - resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-2.9.0.tgz#706aca15c53be15610f466e348cbfa0c00a6a379" - dependencies: - caniuse-lite "^1.0.30000760" - electron-to-chromium "^1.3.27" - -browserslist@^2.10.0: +browserslist@^2.1.2, browserslist@^2.10.0, browserslist@^2.5.1: version "2.10.0" resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-2.10.0.tgz#bac5ee1cc69ca9d96403ffb8a3abdc5b6aed6346" dependencies: @@ -2423,8 +2408,8 @@ bytes@3.0.0: resolved "https://registry.yarnpkg.com/bytes/-/bytes-3.0.0.tgz#d32815404d689699f85a4ea4fa8755dd13a96048" cacache@^10.0.0: - version "10.0.0" - resolved "https://registry.yarnpkg.com/cacache/-/cacache-10.0.0.tgz#3bba88bf62b0773fd9a691605f60c9d3c595e853" + version "10.0.1" + resolved "https://registry.yarnpkg.com/cacache/-/cacache-10.0.1.tgz#3e05f6e616117d9b54665b1b20c8aeb93ea5d36f" dependencies: bluebird "^3.5.0" chownr "^1.0.1" @@ -2538,16 +2523,12 @@ caniuse-api@^1.5.2: lodash.uniq "^4.5.0" caniuse-db@^1.0.30000529, caniuse-db@^1.0.30000634, caniuse-db@^1.0.30000639: - version "1.0.30000764" - resolved "https://registry.yarnpkg.com/caniuse-db/-/caniuse-db-1.0.30000764.tgz#d73ab11ae62f6a9e2f69867d6d9c23ae3f2e5d8d" + version "1.0.30000782" + resolved "https://registry.yarnpkg.com/caniuse-db/-/caniuse-db-1.0.30000782.tgz#d8815bce1578c350aced1132507301205e0fab53" -caniuse-lite@^1.0.30000748, caniuse-lite@^1.0.30000760: - version "1.0.30000764" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30000764.tgz#97ea7472f9d3e691eede34f21983cfc219ac7842" - -caniuse-lite@^1.0.30000780: - version "1.0.30000780" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30000780.tgz#1f9095f2efd4940e0ba6c5992ab7a9b64cc35ba4" +caniuse-lite@^1.0.30000748, caniuse-lite@^1.0.30000780: + version "1.0.30000782" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30000782.tgz#5b82b8c385f25348745c471ca51320afb1b7f254" capture-stack-trace@^1.0.0: version "1.0.0" @@ -2557,6 +2538,10 @@ case-sensitive-paths-webpack-plugin@2.1.1, case-sensitive-paths-webpack-plugin@^ version "2.1.1" resolved "https://registry.yarnpkg.com/case-sensitive-paths-webpack-plugin/-/case-sensitive-paths-webpack-plugin-2.1.1.tgz#3d29ced8c1f124bf6f53846fb3f5894731fdc909" +caseless@~0.11.0: + version "0.11.0" + resolved "https://registry.yarnpkg.com/caseless/-/caseless-0.11.0.tgz#715b96ea9841593cc33067923f5ec60ebda4f7d7" + caseless@~0.12.0: version "0.12.0" resolved "https://registry.yarnpkg.com/caseless/-/caseless-0.12.0.tgz#1b681c21ff84033c826543090689420d187151dc" @@ -2656,7 +2641,7 @@ child-process-promise@^2.2.1: node-version "^1.0.0" promise-polyfill "^6.0.1" -chokidar@^1.4.1, chokidar@^1.4.2, chokidar@^1.5.1, chokidar@^1.6.0, chokidar@^1.6.1, chokidar@^1.7.0: +chokidar@^1.4.1, chokidar@^1.5.1, chokidar@^1.6.0, chokidar@^1.6.1, chokidar@^1.7.0: version "1.7.0" resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-1.7.0.tgz#798e689778151c8076b4b360e5edd28cda2bb468" dependencies: @@ -2676,8 +2661,8 @@ chownr@^1.0.1, chownr@~1.0.1: resolved "https://registry.yarnpkg.com/chownr/-/chownr-1.0.1.tgz#e2a75042a9551908bebd25b8523d5f9769d79181" ci-info@^1.0.0: - version "1.1.1" - resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-1.1.1.tgz#47b44df118c48d2597b56d342e7e25791060171a" + version "1.1.2" + resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-1.1.2.tgz#03561259db48d0474c8bdc90f5b47b068b6bbfb4" cipher-base@^1.0.0, cipher-base@^1.0.1, cipher-base@^1.0.3: version "1.0.4" @@ -2834,15 +2819,15 @@ codelyzer@^3.1.2: sprintf-js "^1.0.3" codemirror-graphql@^0.6.11: - version "0.6.11" - resolved "https://registry.yarnpkg.com/codemirror-graphql/-/codemirror-graphql-0.6.11.tgz#795efa3933523815a5245eefe8d6831d3c4ad026" + version "0.6.12" + resolved "https://registry.yarnpkg.com/codemirror-graphql/-/codemirror-graphql-0.6.12.tgz#91a273fe5188857524a30221d06e645b4ca41f00" dependencies: - graphql-language-service-interface "0.0.19" - graphql-language-service-parser "0.0.15" + graphql-language-service-interface "^1.0.16" + graphql-language-service-parser "^0.1.14" codemirror@^5.26.0: - version "5.31.0" - resolved "https://registry.yarnpkg.com/codemirror/-/codemirror-5.31.0.tgz#ecf3d057eb74174147066bfc7c5f37b4c4e07df2" + version "5.32.0" + resolved "https://registry.yarnpkg.com/codemirror/-/codemirror-5.32.0.tgz#cb6ff5d8ef36d0b10f031130e2d9ebeee92c902e" collapse-white-space@^1.0.2: version "1.0.3" @@ -2911,21 +2896,15 @@ command-join@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/command-join/-/command-join-2.0.0.tgz#52e8b984f4872d952ff1bdc8b98397d27c7144cf" -commander@2.11.0, commander@2.11.x, commander@^2.11.0, commander@^2.9.0, commander@~2.11.0: +commander@2.11.0: version "2.11.0" resolved "https://registry.yarnpkg.com/commander/-/commander-2.11.0.tgz#157152fd1e7a6c8d98a5b715cf376df928004563" -commander@^2.12.2: +commander@2.12.x, commander@^2.11.0, commander@^2.12.2, commander@^2.9.0, commander@~2.12.1: version "2.12.2" resolved "https://registry.yarnpkg.com/commander/-/commander-2.12.2.tgz#0f5946c427ed9ec0d91a46bb9def53e54650e555" -common-tags@^1.3.1, common-tags@^1.4.0: - version "1.4.0" - resolved "https://registry.yarnpkg.com/common-tags/-/common-tags-1.4.0.tgz#1187be4f3d4cf0c0427d43f74eef1f73501614c0" - dependencies: - babel-runtime "^6.18.0" - -common-tags@^1.5.1: +common-tags@^1.3.1, common-tags@^1.4.0, common-tags@^1.5.1: version "1.5.1" resolved "https://registry.yarnpkg.com/common-tags/-/common-tags-1.5.1.tgz#e2e39931a013cd02253defeed89a1ad615a27f07" dependencies: @@ -3126,8 +3105,8 @@ content-type@~1.0.1, content-type@~1.0.4: resolved "https://registry.yarnpkg.com/content-type/-/content-type-1.0.4.tgz#e138cc75e040c727b1966fe5e5f8c9aee256fe3b" conventional-changelog-angular@^1.5.2: - version "1.5.2" - resolved "https://registry.yarnpkg.com/conventional-changelog-angular/-/conventional-changelog-angular-1.5.2.tgz#2b38f665fe9c5920af1a2f82f547f4babe6de57c" + version "1.5.3" + resolved "https://registry.yarnpkg.com/conventional-changelog-angular/-/conventional-changelog-angular-1.5.3.tgz#ff0dd01d740e35bfdbc3f02dfea13cf0d96f0b82" dependencies: compare-func "^1.3.1" q "^1.4.1" @@ -3155,11 +3134,11 @@ conventional-changelog-codemirror@^0.2.1: q "^1.4.1" conventional-changelog-core@^1.9.3: - version "1.9.3" - resolved "https://registry.yarnpkg.com/conventional-changelog-core/-/conventional-changelog-core-1.9.3.tgz#2899fe779389a329f0ec4b2746c36ddefb98da2d" + version "1.9.4" + resolved "https://registry.yarnpkg.com/conventional-changelog-core/-/conventional-changelog-core-1.9.4.tgz#a541e5354f91072f8583b19e34abb9f6e461c367" dependencies: - conventional-changelog-writer "^2.0.2" - conventional-commits-parser "^2.0.1" + conventional-changelog-writer "^2.0.3" + conventional-commits-parser "^2.1.0" dateformat "^1.0.12" get-pkg-repo "^1.0.0" git-raw-commits "^1.3.0" @@ -3173,8 +3152,8 @@ conventional-changelog-core@^1.9.3: through2 "^2.0.0" conventional-changelog-ember@^0.2.9: - version "0.2.9" - resolved "https://registry.yarnpkg.com/conventional-changelog-ember/-/conventional-changelog-ember-0.2.9.tgz#8ec73cc054e3ab064667fb1feb52fe8ef1b16438" + version "0.2.10" + resolved "https://registry.yarnpkg.com/conventional-changelog-ember/-/conventional-changelog-ember-0.2.10.tgz#dcd6e4cdc2e6c2b58653cf4d2cb1656a60421929" dependencies: q "^1.4.1" @@ -3209,12 +3188,12 @@ conventional-changelog-jshint@^0.2.1: compare-func "^1.3.1" q "^1.4.1" -conventional-changelog-writer@^2.0.2: - version "2.0.2" - resolved "https://registry.yarnpkg.com/conventional-changelog-writer/-/conventional-changelog-writer-2.0.2.tgz#b5857ded1b001daf9a78b9cd40926f45c134949b" +conventional-changelog-writer@^2.0.3: + version "2.0.3" + resolved "https://registry.yarnpkg.com/conventional-changelog-writer/-/conventional-changelog-writer-2.0.3.tgz#073b0c39f1cc8fc0fd9b1566e93833f51489c81c" dependencies: compare-func "^1.3.1" - conventional-commits-filter "^1.1.0" + conventional-commits-filter "^1.1.1" dateformat "^1.0.11" handlebars "^4.0.2" json-stringify-safe "^5.0.1" @@ -3239,16 +3218,16 @@ conventional-changelog@^1.1.7: conventional-changelog-jscs "^0.1.0" conventional-changelog-jshint "^0.2.1" -conventional-commits-filter@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/conventional-commits-filter/-/conventional-commits-filter-1.1.0.tgz#1fc29af30b5edab76f54e229c411b0c663d0f9eb" +conventional-commits-filter@^1.1.1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/conventional-commits-filter/-/conventional-commits-filter-1.1.1.tgz#72172319c0c88328a015b30686b55527b3a5e54a" dependencies: is-subset "^0.1.1" modify-values "^1.0.0" -conventional-commits-parser@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/conventional-commits-parser/-/conventional-commits-parser-2.0.1.tgz#1f15ce6b844f7ca41495c8190c0833c30b8b1693" +conventional-commits-parser@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/conventional-commits-parser/-/conventional-commits-parser-2.1.0.tgz#9b4b7c91124bf2a1a9a2cc1c72760d382cbbb229" dependencies: JSONStream "^1.0.4" is-text-path "^1.0.0" @@ -3259,20 +3238,20 @@ conventional-commits-parser@^2.0.1: trim-off-newlines "^1.0.0" conventional-recommended-bump@^1.0.1: - version "1.0.3" - resolved "https://registry.yarnpkg.com/conventional-recommended-bump/-/conventional-recommended-bump-1.0.3.tgz#472b69b1b8f09c5c4ed40fe28a41e63cc04bd736" + version "1.1.0" + resolved "https://registry.yarnpkg.com/conventional-recommended-bump/-/conventional-recommended-bump-1.1.0.tgz#964d4fcc70fb5259d41fa9b39d3df6afdb87d253" dependencies: concat-stream "^1.4.10" - conventional-commits-filter "^1.1.0" - conventional-commits-parser "^2.0.1" + conventional-commits-filter "^1.1.1" + conventional-commits-parser "^2.1.0" git-raw-commits "^1.3.0" git-semver-tags "^1.2.3" meow "^3.3.0" object-assign "^4.0.1" convert-source-map@^1.3.0, convert-source-map@^1.4.0, convert-source-map@^1.5.0: - version "1.5.0" - resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-1.5.0.tgz#9acd70851c6d5dfdd93d9282e5edf94a03ff46b5" + version "1.5.1" + resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-1.5.1.tgz#b8278097b9bc229365de5c62cf5fcaed8b5599e5" cookie-parser@~1.3.5: version "1.3.5" @@ -3316,13 +3295,9 @@ core-js@^1.0.0: version "1.2.7" resolved "https://registry.yarnpkg.com/core-js/-/core-js-1.2.7.tgz#652294c14651db28fa93bd2d5ff2983a4f08c636" -core-js@^2.2.0, core-js@^2.2.2, core-js@^2.4.0, core-js@^2.4.1, core-js@^2.5.0: - version "2.5.1" - resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.5.1.tgz#ae6874dc66937789b80754ff5428df66819ca50b" - -core-js@^2.5.2: - version "2.5.2" - resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.5.2.tgz#bc4648656e7dc9dc80d7d3c7bbc172d96e744e63" +core-js@^2.2.0, core-js@^2.2.2, core-js@^2.4.0, core-js@^2.4.1, core-js@^2.5.0, core-js@^2.5.2: + version "2.5.3" + resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.5.3.tgz#8acc38345824f16d8365b7c9b4259168e8ed603e" core-object@^3.1.0: version "3.1.5" @@ -3392,7 +3367,7 @@ create-hmac@^1.1.0, create-hmac@^1.1.2, create-hmac@^1.1.4: safe-buffer "^5.0.1" sha.js "^2.4.8" -create-react-class@^15.5.2: +create-react-class@^15.5.2, create-react-class@^15.6.2: version "15.6.2" resolved "https://registry.yarnpkg.com/create-react-class/-/create-react-class-15.6.2.tgz#cf1ed15f12aad7f14ef5f2dfe05e6c42f91ef02a" dependencies: @@ -3407,6 +3382,13 @@ cross-env@^5.1.1: cross-spawn "^5.1.0" is-windows "^1.0.0" +cross-fetch@0.0.8: + version "0.0.8" + resolved "https://registry.yarnpkg.com/cross-fetch/-/cross-fetch-0.0.8.tgz#01ed94dc407df2c00f1807fde700a7cfa48a205c" + dependencies: + node-fetch "1.7.3" + whatwg-fetch "2.0.3" + cross-spawn@5.1.0, cross-spawn@^5.0.1, cross-spawn@^5.1.0: version "5.1.0" resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-5.1.0.tgz#e8bd0efee58fcff6f8f94510a0a554bbfa235449" @@ -3692,7 +3674,7 @@ debug@*, debug@^3.0.0, debug@^3.0.1, debug@^3.1.0: dependencies: ms "2.0.0" -debug@2, debug@2.6.9, debug@^2.1.1, debug@^2.2.0, debug@^2.4.1, debug@^2.6.0, debug@^2.6.6, debug@^2.6.8: +debug@2, debug@2.6.9, debug@^2.1.1, debug@^2.2.0, debug@^2.6.0, debug@^2.6.6, debug@^2.6.8: version "2.6.9" resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.9.tgz#5d128515df134ff327e90a4c93f4e077a536341f" dependencies: @@ -3710,7 +3692,7 @@ debug@2.3.3: dependencies: ms "0.7.2" -debuglog@^1.0.1: +debuglog@*, debuglog@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/debuglog/-/debuglog-1.0.1.tgz#aa24ffb9ac3df9a2351837cfb2d279360cd78492" @@ -3828,8 +3810,8 @@ detect-indent@^5.0.0, detect-indent@~5.0.0: resolved "https://registry.yarnpkg.com/detect-indent/-/detect-indent-5.0.0.tgz#3871cc0a6a002e8c3e5b3cf7f336264675f06b9d" detect-libc@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/detect-libc/-/detect-libc-1.0.2.tgz#71ad5d204bf17a6a6ca8f450c61454066ef461e1" + version "1.0.3" + resolved "https://registry.yarnpkg.com/detect-libc/-/detect-libc-1.0.3.tgz#fa137c4bd698edf55cd5cd02ac559f91a4c4ba9b" detect-node@^2.0.3: version "2.0.3" @@ -3901,14 +3883,7 @@ doctrine@1.5.0: esutils "^2.0.2" isarray "^1.0.0" -doctrine@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/doctrine/-/doctrine-2.0.0.tgz#c73d8d2909d22291e1a007a395804da8b665fe63" - dependencies: - esutils "^2.0.2" - isarray "^1.0.0" - -doctrine@^2.0.2: +doctrine@^2.0.0, doctrine@^2.0.2: version "2.0.2" resolved "https://registry.yarnpkg.com/doctrine/-/doctrine-2.0.2.tgz#68f96ce8efc56cc42651f1faadb4f175273b0075" dependencies: @@ -4065,11 +4040,7 @@ ee-first@1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/ee-first/-/ee-first-1.1.1.tgz#590c61156b0ae2f4f0255732a158b266bc56b21d" -electron-to-chromium@^1.2.7, electron-to-chromium@^1.3.27: - version "1.3.27" - resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.27.tgz#78ecb8a399066187bb374eede35d9c70565a803d" - -electron-to-chromium@^1.3.28: +electron-to-chromium@^1.2.7, electron-to-chromium@^1.3.28: version "1.3.28" resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.28.tgz#8dd4e6458086644e9f9f0a1cf32e2a1f9dffd9ee" @@ -4192,8 +4163,8 @@ entities@^1.1.1, entities@~1.1.1: resolved "https://registry.yarnpkg.com/entities/-/entities-1.1.1.tgz#6e5c2d0a5621b5dadaecef80b90edfb5cd7772f0" envinfo@^3.0.0: - version "3.9.1" - resolved "https://registry.yarnpkg.com/envinfo/-/envinfo-3.9.1.tgz#78d5ccbea17ca2daefd8541561d1273813b96c4c" + version "3.10.0" + resolved "https://registry.yarnpkg.com/envinfo/-/envinfo-3.10.0.tgz#24b52a5c19af379dc32465d1909e37344dc41c20" dependencies: copy-paste "^1.3.0" glob "^7.1.2" @@ -4213,8 +4184,8 @@ enzyme-adapter-react-16@^1.1.0: react-test-renderer "^16.0.0-0" enzyme-adapter-utils@^1.1.0: - version "1.1.1" - resolved "https://registry.yarnpkg.com/enzyme-adapter-utils/-/enzyme-adapter-utils-1.1.1.tgz#689de8853f0751710590d6dfa730ff4056ea36b2" + version "1.2.0" + resolved "https://registry.yarnpkg.com/enzyme-adapter-utils/-/enzyme-adapter-utils-1.2.0.tgz#7f4471ee0a70b91169ec8860d2bf0a6b551664b2" dependencies: lodash "^4.17.4" object.assign "^4.0.4" @@ -4253,10 +4224,10 @@ err-code@^1.0.0: resolved "https://registry.yarnpkg.com/err-code/-/err-code-1.1.2.tgz#06e0116d3028f6aef4806849eb0ea6a748ae6960" "errno@>=0.1.1 <0.2.0-0", errno@^0.1.1, errno@^0.1.3, errno@^0.1.4: - version "0.1.4" - resolved "https://registry.yarnpkg.com/errno/-/errno-0.1.4.tgz#b896e23a9e5e8ba33871fc996abd3635fc9a1c7d" + version "0.1.5" + resolved "https://registry.yarnpkg.com/errno/-/errno-0.1.5.tgz#a563781a6052bc2c9ccd89e8cef0eb9506e0c321" dependencies: - prr "~0.0.0" + prr "~1.0.1" error-ex@^1.2.0, error-ex@^1.3.1: version "1.3.1" @@ -4271,7 +4242,7 @@ errorhandler@~1.4.2: accepts "~1.3.0" escape-html "~1.0.3" -es-abstract@^1.10.0: +es-abstract@^1.10.0, es-abstract@^1.4.3, es-abstract@^1.5.1, es-abstract@^1.6.1, es-abstract@^1.7.0, es-abstract@^1.9.0: version "1.10.0" resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.10.0.tgz#1ecb36c197842a00d8ee4c2dfd8646bb97d60864" dependencies: @@ -4281,16 +4252,6 @@ es-abstract@^1.10.0: is-callable "^1.1.3" is-regex "^1.0.4" -es-abstract@^1.4.3, es-abstract@^1.5.1, es-abstract@^1.6.1, es-abstract@^1.7.0, es-abstract@^1.9.0: - version "1.9.0" - resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.9.0.tgz#690829a07cae36b222e7fd9b75c0d0573eb25227" - dependencies: - es-to-primitive "^1.1.1" - function-bind "^1.1.1" - has "^1.0.1" - is-callable "^1.1.3" - is-regex "^1.0.4" - es-to-primitive@^1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/es-to-primitive/-/es-to-primitive-1.1.1.tgz#45355248a88979034b6792e19bb81f2b7975dd0d" @@ -4300,8 +4261,8 @@ es-to-primitive@^1.1.1: is-symbol "^1.0.1" es5-ext@^0.10.14, es5-ext@^0.10.35, es5-ext@^0.10.9, es5-ext@~0.10.14: - version "0.10.35" - resolved "https://registry.yarnpkg.com/es5-ext/-/es5-ext-0.10.35.tgz#18ee858ce6a3c45c7d79e91c15fcca9ec568494f" + version "0.10.37" + resolved "https://registry.yarnpkg.com/es5-ext/-/es5-ext-0.10.37.tgz#0ee741d148b80069ba27d020393756af257defc3" dependencies: es6-iterator "~2.0.1" es6-symbol "~3.1.1" @@ -4925,15 +4886,7 @@ extend@3, extend@^3.0.0, extend@~3.0.0, extend@~3.0.1: version "3.0.1" resolved "https://registry.yarnpkg.com/extend/-/extend-3.0.1.tgz#a755ea7bc1adfcc5a31ce7e762dbaadc5e636444" -external-editor@^2.0.4: - version "2.0.5" - resolved "https://registry.yarnpkg.com/external-editor/-/external-editor-2.0.5.tgz#52c249a3981b9ba187c7cacf5beb50bf1d91a6bc" - dependencies: - iconv-lite "^0.4.17" - jschardet "^1.4.2" - tmp "^0.0.33" - -external-editor@^2.1.0: +external-editor@^2.0.4, external-editor@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/external-editor/-/external-editor-2.1.0.tgz#3d026a21b7f95b5726387d4200ac160d372c3b48" dependencies: @@ -4974,10 +4927,14 @@ extract-zip@^1.6.5: mkdirp "0.5.0" yauzl "2.4.1" -extsprintf@1.3.0, extsprintf@^1.2.0: +extsprintf@1.3.0: version "1.3.0" resolved "https://registry.yarnpkg.com/extsprintf/-/extsprintf-1.3.0.tgz#96918440e3041a7a414f8c52e3c574eb3c3e1e05" +extsprintf@^1.2.0: + version "1.4.0" + resolved "https://registry.yarnpkg.com/extsprintf/-/extsprintf-1.4.0.tgz#e2689f8f356fad62cca65a3a91c5df5f9551692f" + fancy-log@^1.1.0: version "1.3.0" resolved "https://registry.yarnpkg.com/fancy-log/-/fancy-log-1.3.0.tgz#45be17d02bb9917d60ccffd4995c999e6c8c9948" @@ -5218,8 +5175,8 @@ flatten@^1.0.2: resolved "https://registry.yarnpkg.com/flatten/-/flatten-1.0.2.tgz#dae46a9d78fbe25292258cc1e780a41d95c03782" flow-parser@^0.*: - version "0.59.0" - resolved "https://registry.yarnpkg.com/flow-parser/-/flow-parser-0.59.0.tgz#f6ebcae61ffa187e420999d40ce0a801f39b2635" + version "0.61.0" + resolved "https://registry.yarnpkg.com/flow-parser/-/flow-parser-0.61.0.tgz#57d1d33bbc8fb1b9341984464ac032e054ee1084" flush-write-stream@^1.0.0: version "1.0.2" @@ -5366,15 +5323,7 @@ fs-extra@^1.0.0: jsonfile "^2.1.0" klaw "^1.0.0" -fs-extra@^4.0.0, fs-extra@^4.0.1, fs-extra@^4.0.2: - version "4.0.2" - resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-4.0.2.tgz#f91704c53d1b461f893452b0c307d9997647ab6b" - dependencies: - graceful-fs "^4.1.2" - jsonfile "^4.0.0" - universalify "^0.1.0" - -fs-extra@^4.0.3: +fs-extra@^4.0.0, fs-extra@^4.0.1, fs-extra@^4.0.2, fs-extra@^4.0.3: version "4.0.3" resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-4.0.3.tgz#0d852122e5bc5beb453fb028e9c0c9bf36340c94" dependencies: @@ -5673,6 +5622,16 @@ glob@7.0.x: once "^1.3.0" path-is-absolute "^1.0.0" +glob@^6.0.4: + version "6.0.4" + resolved "https://registry.yarnpkg.com/glob/-/glob-6.0.4.tgz#0f08860f6a155127b2fadd4f9ce24b1aab6e4d22" + dependencies: + inflight "^1.0.4" + inherits "2" + minimatch "2 || 3" + once "^1.3.0" + path-is-absolute "^1.0.0" + glob@^7.0.0, glob@^7.0.3, glob@^7.0.5, glob@^7.0.6, glob@^7.1.1, glob@^7.1.2, glob@~7.1.1, glob@~7.1.2: version "7.1.2" resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.2.tgz#c19c9df9a028702d678612384a6552404c636d15" @@ -5685,8 +5644,8 @@ glob@^7.0.0, glob@^7.0.3, glob@^7.0.5, glob@^7.0.6, glob@^7.1.1, glob@^7.1.2, gl path-is-absolute "^1.0.0" global-dirs@^0.1.0: - version "0.1.0" - resolved "https://registry.yarnpkg.com/global-dirs/-/global-dirs-0.1.0.tgz#10d34039e0df04272e262cf24224f7209434df4f" + version "0.1.1" + resolved "https://registry.yarnpkg.com/global-dirs/-/global-dirs-0.1.1.tgz#b319c0dd4607f353f3be9cca4c72fc148c49f445" dependencies: ini "^1.3.4" @@ -5716,12 +5675,12 @@ global@^4.3.0, global@^4.3.2: process "~0.5.1" globals@^10.0.0: - version "10.3.0" - resolved "https://registry.yarnpkg.com/globals/-/globals-10.3.0.tgz#716aba93657b56630b5a0e77de5ea8ac6215afaa" + version "10.4.0" + resolved "https://registry.yarnpkg.com/globals/-/globals-10.4.0.tgz#5c477388b128a9e4c5c5d01c7a2aca68c68b2da7" globals@^11.0.1: - version "11.0.1" - resolved "https://registry.yarnpkg.com/globals/-/globals-11.0.1.tgz#12a87bb010e5154396acc535e1e43fc753b0e5e8" + version "11.1.0" + resolved "https://registry.yarnpkg.com/globals/-/globals-11.1.0.tgz#632644457f5f0e3ae711807183700ebf2e4633e4" globals@^9.14.0, globals@^9.17.0, globals@^9.18.0: version "9.18.0" @@ -5810,46 +5769,47 @@ graphiql@^0.11.10: codemirror-graphql "^0.6.11" marked "0.3.6" -graphql-language-service-config@0.0.17: - version "0.0.17" - resolved "https://registry.yarnpkg.com/graphql-language-service-config/-/graphql-language-service-config-0.0.17.tgz#36b5a9906c0bf0d356d31b7583058f9b85d1793e" +graphql-config@1.0.8: + version "1.0.8" + resolved "https://registry.yarnpkg.com/graphql-config/-/graphql-config-1.0.8.tgz#6dd1cd76ff6fbb01662704f8bddc403f6b0c24d9" dependencies: - graphql-language-service-types "0.0.21" + graphql "^0.11.7" + graphql-request "^1.4.0" + js-yaml "^3.10.0" + minimatch "^3.0.4" + rimraf "^2.6.2" -graphql-language-service-interface@0.0.19: - version "0.0.19" - resolved "https://registry.yarnpkg.com/graphql-language-service-interface/-/graphql-language-service-interface-0.0.19.tgz#c58fa7bd95d2f30e33e04937a1a2c00a9740926e" +graphql-language-service-interface@^1.0.16: + version "1.0.16" + resolved "https://registry.yarnpkg.com/graphql-language-service-interface/-/graphql-language-service-interface-1.0.16.tgz#0e6dd855bf0bdee84e7456b2128a2e5f56e4f47b" dependencies: - graphql "^0.10.1" - graphql-language-service-config "0.0.17" - graphql-language-service-parser "0.0.15" - graphql-language-service-types "0.0.21" - graphql-language-service-utils "0.0.17" + graphql-config "1.0.8" + graphql-language-service-parser "^0.1.14" + graphql-language-service-types "^0.1.14" + graphql-language-service-utils "^1.0.16" -graphql-language-service-parser@0.0.15: - version "0.0.15" - resolved "https://registry.yarnpkg.com/graphql-language-service-parser/-/graphql-language-service-parser-0.0.15.tgz#fd64afd8873624fa3c4a5831a08de9ccd6cc5182" +graphql-language-service-parser@^0.1.14: + version "0.1.14" + resolved "https://registry.yarnpkg.com/graphql-language-service-parser/-/graphql-language-service-parser-0.1.14.tgz#dd25abda5dcff4f2268c9a19e026004271491661" dependencies: - graphql-language-service-types "0.0.21" + graphql-language-service-types "^0.1.14" -graphql-language-service-types@0.0.21: - version "0.0.21" - resolved "https://registry.yarnpkg.com/graphql-language-service-types/-/graphql-language-service-types-0.0.21.tgz#b9453366fc8985765034bf34056fe93603a24b82" - dependencies: - graphql "^0.10.1" +graphql-language-service-types@^0.1.14: + version "0.1.14" + resolved "https://registry.yarnpkg.com/graphql-language-service-types/-/graphql-language-service-types-0.1.14.tgz#e6112785fc23ea8222f59a7f00e61b359f263c88" -graphql-language-service-utils@0.0.17: - version "0.0.17" - resolved "https://registry.yarnpkg.com/graphql-language-service-utils/-/graphql-language-service-utils-0.0.17.tgz#a8b91eca80c6aa5a0d461a0bbb63317986f9b989" +graphql-language-service-utils@^1.0.16: + version "1.0.16" + resolved "https://registry.yarnpkg.com/graphql-language-service-utils/-/graphql-language-service-utils-1.0.16.tgz#eb4e4495aeef0c4b6ffd8c681858558862c65e9e" dependencies: - graphql "^0.10.1" - graphql-language-service-types "0.0.21" + graphql-config "1.0.8" + graphql-language-service-types "^0.1.14" -graphql@^0.10.1: - version "0.10.5" - resolved "https://registry.yarnpkg.com/graphql/-/graphql-0.10.5.tgz#c9be17ca2bdfdbd134077ffd9bbaa48b8becd298" +graphql-request@^1.4.0: + version "1.4.0" + resolved "https://registry.yarnpkg.com/graphql-request/-/graphql-request-1.4.0.tgz#f5b067c83070296d93fb45760e83dfad0d9f537a" dependencies: - iterall "^1.1.0" + cross-fetch "0.0.8" graphql@^0.11.7: version "0.11.7" @@ -5938,6 +5898,15 @@ har-schema@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/har-schema/-/har-schema-2.0.0.tgz#a94c2224ebcac04782a0d9035521f24735b7ec92" +har-validator@~2.0.6: + version "2.0.6" + resolved "https://registry.yarnpkg.com/har-validator/-/har-validator-2.0.6.tgz#cdcbc08188265ad119b6a5a7c8ab70eecfb5d27d" + dependencies: + chalk "^1.1.1" + commander "^2.9.0" + is-my-json-valid "^2.12.4" + pinkie-promise "^2.0.0" + har-validator@~4.2.1: version "4.2.1" resolved "https://registry.yarnpkg.com/har-validator/-/har-validator-4.2.1.tgz#33481d0f1bbff600dd203d75812a6a5fba002e2a" @@ -6130,17 +6099,17 @@ html-loader@^0.5.1: object-assign "^4.1.0" html-minifier@^3.0.1, html-minifier@^3.2.3: - version "3.5.6" - resolved "https://registry.yarnpkg.com/html-minifier/-/html-minifier-3.5.6.tgz#7e4e661a09999599c7d8e8a2b8d7fb7430bb5c3e" + version "3.5.7" + resolved "https://registry.yarnpkg.com/html-minifier/-/html-minifier-3.5.7.tgz#511e69bb5a8e7677d1012ebe03819aa02ca06208" dependencies: camel-case "3.0.x" clean-css "4.1.x" - commander "2.11.x" + commander "2.12.x" he "1.1.x" ncname "1.0.x" param-case "2.1.x" relateurl "0.2.x" - uglify-js "3.1.x" + uglify-js "3.2.x" html-tag-names@^1.1.1: version "1.1.2" @@ -6203,8 +6172,8 @@ htmlparser2@~3.3.0: readable-stream "1.0" http-cache-semantics@^3.8.0: - version "3.8.0" - resolved "https://registry.yarnpkg.com/http-cache-semantics/-/http-cache-semantics-3.8.0.tgz#1e3ce248730e189ac692a6697b9e3fdea2ff8da3" + version "3.8.1" + resolved "https://registry.yarnpkg.com/http-cache-semantics/-/http-cache-semantics-3.8.1.tgz#39b0e16add9b605bf0a9ef3d9daaf4843b4cacd2" http-deceiver@^1.2.7: version "1.2.7" @@ -6269,9 +6238,9 @@ http-signature@~1.2.0: jsprim "^1.2.2" sshpk "^1.7.0" -https-browserify@0.0.1: - version "0.0.1" - resolved "https://registry.yarnpkg.com/https-browserify/-/https-browserify-0.0.1.tgz#3f91365cabe60b77ed0ebba24b454e3e09d95a82" +https-browserify@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/https-browserify/-/https-browserify-1.0.0.tgz#ec06c10e0a34c0f2faf199f7fd7fc78fffd03c73" https-proxy-agent@^1.0.0: version "1.0.0" @@ -6282,11 +6251,11 @@ https-proxy-agent@^1.0.0: extend "3" https-proxy-agent@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/https-proxy-agent/-/https-proxy-agent-2.1.0.tgz#1391bee7fd66aeabc0df2a1fa90f58954f43e443" + version "2.1.1" + resolved "https://registry.yarnpkg.com/https-proxy-agent/-/https-proxy-agent-2.1.1.tgz#a7ce4382a1ba8266ee848578778122d491260fd9" dependencies: agent-base "^4.1.0" - debug "^2.4.1" + debug "^3.1.0" humanize-ms@^1.2.1: version "1.2.1" @@ -6377,7 +6346,7 @@ import-local@^0.1.1: pkg-dir "^2.0.0" resolve-cwd "^2.0.0" -imurmurhash@^0.1.4: +imurmurhash@*, imurmurhash@^0.1.4: version "0.1.4" resolved "https://registry.yarnpkg.com/imurmurhash/-/imurmurhash-0.1.4.tgz#9218b9b2b928a238b13dc4fb6b6d576f231453ea" @@ -6423,8 +6392,8 @@ inherits@2.0.1: resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.1.tgz#b17d08d326b4423e568eff719f91b0b1cbdf69f1" ini@^1.3.2, ini@^1.3.4, ini@~1.3.0, ini@~1.3.4: - version "1.3.4" - resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.4.tgz#0537cb79daf59b59a1a517dff706c86ec039162e" + version "1.3.5" + resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.5.tgz#eee25f56db1c9ec6085e0c22778083f596abf927" init-package-json@~1.10.1: version "1.10.1" @@ -6538,8 +6507,8 @@ internal-ip@1.2.0, internal-ip@^1.2.0: meow "^3.3.0" interpret@^1.0.0: - version "1.0.4" - resolved "https://registry.yarnpkg.com/interpret/-/interpret-1.0.4.tgz#820cdd588b868ffb191a809506d6c9c8f212b1b0" + version "1.1.0" + resolved "https://registry.yarnpkg.com/interpret/-/interpret-1.1.0.tgz#7ed1b1410c6a0e0f78cf95d3b8440c63f78b8614" invariant@^2.2.0, invariant@^2.2.2: version "2.2.2" @@ -6707,7 +6676,7 @@ is-installed-globally@^0.1.0: global-dirs "^0.1.0" is-path-inside "^1.0.0" -is-my-json-valid@^2.10.0: +is-my-json-valid@^2.10.0, is-my-json-valid@^2.12.4: version "2.16.1" resolved "https://registry.yarnpkg.com/is-my-json-valid/-/is-my-json-valid-2.16.1.tgz#5a846777e2c2620d1e69104e5d3a03b1f6088f11" dependencies: @@ -6761,8 +6730,8 @@ is-path-in-cwd@^1.0.0: is-path-inside "^1.0.0" is-path-inside@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/is-path-inside/-/is-path-inside-1.0.0.tgz#fc06e5a1683fbda13de667aff717bbc10a48f37f" + version "1.0.1" + resolved "https://registry.yarnpkg.com/is-path-inside/-/is-path-inside-1.0.1.tgz#8ef5b7de50437a3fdca6b4e865ef7aa55cb48036" dependencies: path-is-inside "^1.0.1" @@ -6977,7 +6946,7 @@ istanbul-reports@^1.1.3: dependencies: handlebars "^4.0.3" -iterall@1.1.3, iterall@^1.1.0: +iterall@1.1.3: version "1.1.3" resolved "https://registry.yarnpkg.com/iterall/-/iterall-1.1.3.tgz#1cbbff96204056dde6656e2ed2e2226d0e6d72c9" @@ -7467,14 +7436,14 @@ jest@^21.2.0, jest@^21.2.1: jest-cli "^21.2.1" js-base64@^2.1.5, js-base64@^2.1.8, js-base64@^2.1.9: - version "2.3.2" - resolved "https://registry.yarnpkg.com/js-base64/-/js-base64-2.3.2.tgz#a79a923666372b580f8e27f51845c6f7e8fbfbaf" + version "2.4.0" + resolved "https://registry.yarnpkg.com/js-base64/-/js-base64-2.4.0.tgz#9e566fee624751a1d720c966cd6226d29d4025aa" js-tokens@^3.0.0, js-tokens@^3.0.2: version "3.0.2" resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-3.0.2.tgz#9866df395102130e38f7f996bceb65443209c25b" -js-yaml@^3.4.3, js-yaml@^3.5.1, js-yaml@^3.6.1, js-yaml@^3.7.0, js-yaml@^3.9.0, js-yaml@^3.9.1: +js-yaml@^3.10.0, js-yaml@^3.4.3, js-yaml@^3.5.1, js-yaml@^3.6.1, js-yaml@^3.7.0, js-yaml@^3.9.0, js-yaml@^3.9.1: version "3.10.0" resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.10.0.tgz#2e78441646bd4682e963f22b6e92823c309c62dc" dependencies: @@ -7492,10 +7461,6 @@ jsbn@~0.1.0: version "0.1.1" resolved "https://registry.yarnpkg.com/jsbn/-/jsbn-0.1.1.tgz#a5e654c2e5a2deb5f201d96cefbca80c0ef2f513" -jschardet@^1.4.2: - version "1.6.0" - resolved "https://registry.yarnpkg.com/jschardet/-/jschardet-1.6.0.tgz#c7d1a71edcff2839db2f9ec30fc5d5ebd3c1a678" - jscodeshift@^0.4.0: version "0.4.0" resolved "https://registry.yarnpkg.com/jscodeshift/-/jscodeshift-0.4.0.tgz#a76afdbfc6f4e78c3fd0d1a60470dfa43c03190e" @@ -7687,8 +7652,8 @@ karma-jasmine-html-reporter@^0.2.2: karma-jasmine "^1.0.2" karma-jasmine@^1.0.2, karma-jasmine@~1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/karma-jasmine/-/karma-jasmine-1.1.0.tgz#22e4c06bf9a182e5294d1f705e3733811b810acf" + version "1.1.1" + resolved "https://registry.yarnpkg.com/karma-jasmine/-/karma-jasmine-1.1.1.tgz#6fe840e75a11600c9d91e84b33c458e1c46a3529" karma-source-map-support@^1.2.0: version "1.2.0" @@ -7795,8 +7760,8 @@ lcid@^1.0.0: invert-kv "^1.0.0" left-pad@^1.1.3: - version "1.1.3" - resolved "https://registry.yarnpkg.com/left-pad/-/left-pad-1.1.3.tgz#612f61c033f3a9e08e939f1caebeea41b6f3199a" + version "1.2.0" + resolved "https://registry.yarnpkg.com/left-pad/-/left-pad-1.2.0.tgz#d30a73c6b8201d8f7d8e7956ba9616087a68e0ee" lerna@^2.5.1: version "2.5.1" @@ -8063,6 +8028,10 @@ lodash._basecopy@^3.0.0: version "3.0.1" resolved "https://registry.yarnpkg.com/lodash._basecopy/-/lodash._basecopy-3.0.1.tgz#8da0e6a876cf344c0ad8a54882111dd3c5c7ca36" +lodash._baseindexof@*: + version "3.1.0" + resolved "https://registry.yarnpkg.com/lodash._baseindexof/-/lodash._baseindexof-3.1.0.tgz#fe52b53a1c6761e42618d654e4a25789ed61822c" + lodash._baseisequal@^3.0.0: version "3.0.7" resolved "https://registry.yarnpkg.com/lodash._baseisequal/-/lodash._baseisequal-3.0.7.tgz#d8025f76339d29342767dcc887ce5cb95a5b51f1" @@ -8086,10 +8055,14 @@ lodash._basevalues@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/lodash._basevalues/-/lodash._basevalues-3.0.0.tgz#5b775762802bde3d3297503e26300820fdf661b7" -lodash._bindcallback@^3.0.0: +lodash._bindcallback@*, lodash._bindcallback@^3.0.0: version "3.0.1" resolved "https://registry.yarnpkg.com/lodash._bindcallback/-/lodash._bindcallback-3.0.1.tgz#e531c27644cf8b57a99e17ed95b35c748789392e" +lodash._cacheindexof@*: + version "3.0.2" + resolved "https://registry.yarnpkg.com/lodash._cacheindexof/-/lodash._cacheindexof-3.0.2.tgz#3dc69ac82498d2ee5e3ce56091bafd2adc7bde92" + lodash._createassigner@^3.0.0: version "3.1.1" resolved "https://registry.yarnpkg.com/lodash._createassigner/-/lodash._createassigner-3.1.1.tgz#838a5bae2fdaca63ac22dee8e19fa4e6d6970b11" @@ -8098,11 +8071,17 @@ lodash._createassigner@^3.0.0: lodash._isiterateecall "^3.0.0" lodash.restparam "^3.0.0" +lodash._createcache@*: + version "3.1.2" + resolved "https://registry.yarnpkg.com/lodash._createcache/-/lodash._createcache-3.1.2.tgz#56d6a064017625e79ebca6b8018e17440bdcf093" + dependencies: + lodash._getnative "^3.0.0" + lodash._createset@~4.0.0: version "4.0.3" resolved "https://registry.yarnpkg.com/lodash._createset/-/lodash._createset-4.0.3.tgz#0f4659fbb09d75194fa9e2b88a6644d363c9fe26" -lodash._getnative@^3.0.0: +lodash._getnative@*, lodash._getnative@^3.0.0: version "3.9.1" resolved "https://registry.yarnpkg.com/lodash._getnative/-/lodash._getnative-3.9.1.tgz#570bc7dede46d61cdcde687d65d3eecbaa3aaff5" @@ -8252,7 +8231,7 @@ lodash.pick@^4.4.0: version "4.4.0" resolved "https://registry.yarnpkg.com/lodash.pick/-/lodash.pick-4.4.0.tgz#52f05610fff9ded422611441ed1fc123a03001b3" -lodash.restparam@^3.0.0: +lodash.restparam@*, lodash.restparam@^3.0.0: version "3.6.1" resolved "https://registry.yarnpkg.com/lodash.restparam/-/lodash.restparam-3.6.1.tgz#936a4e309ef330a7645ed4145986c85ae5b20805" @@ -8473,10 +8452,14 @@ markdown-table@^1.1.0: version "1.1.1" resolved "https://registry.yarnpkg.com/markdown-table/-/markdown-table-1.1.1.tgz#4b3dd3a133d1518b8ef0dbc709bf2a1b4824bc8c" -marked@0.3.6, marked@^0.3.6: +marked@0.3.6: version "0.3.6" resolved "https://registry.yarnpkg.com/marked/-/marked-0.3.6.tgz#b2c6c618fccece4ef86c4fc6cb8a7cbf5aeda8d7" +marked@^0.3.6: + version "0.3.7" + resolved "https://registry.yarnpkg.com/marked/-/marked-0.3.7.tgz#80ef3bbf1bd00d1c9cfebe42ba1b8c85da258d0d" + marksy@^2.0.0: version "2.0.1" resolved "https://registry.yarnpkg.com/marksy/-/marksy-2.0.1.tgz#019eb9c13ff37120ce4dddeb7774aba152b5d7e0" @@ -8668,8 +8651,8 @@ miller-rabin@^4.0.0: brorand "^1.0.1" "mime-db@>= 1.30.0 < 2": - version "1.31.0" - resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.31.0.tgz#a49cd8f3ebf3ed1a482b60561d9105ad40ca74cb" + version "1.32.0" + resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.32.0.tgz#485b3848b01a3cda5f968b4882c0771e58e09414" mime-db@~1.23.0: version "1.23.0" @@ -8699,11 +8682,11 @@ mime@1.3.x: version "1.3.6" resolved "https://registry.yarnpkg.com/mime/-/mime-1.3.6.tgz#591d84d3653a6b0b4a3b9df8de5aa8108e72e5e0" -mime@1.4.1, mime@^1.2.11, mime@^1.3.4, mime@^1.4.1: +mime@1.4.1: version "1.4.1" resolved "https://registry.yarnpkg.com/mime/-/mime-1.4.1.tgz#121f9ebc49e3766f311a76e1fa1c8003c4b03aa6" -mime@^1.5.0: +mime@^1.2.11, mime@^1.3.4, mime@^1.4.1, mime@^1.5.0: version "1.6.0" resolved "https://registry.yarnpkg.com/mime/-/mime-1.6.0.tgz#32cd9e5c64553bd58d19a568af452acff04981b1" @@ -8725,18 +8708,18 @@ minimalistic-crypto-utils@^1.0.0, minimalistic-crypto-utils@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz#f6c00c1c0b082246e5c4d99dfb8c7c083b2b582a" +"minimatch@2 || 3", minimatch@^3.0.0, minimatch@^3.0.2, minimatch@^3.0.3, minimatch@^3.0.4, minimatch@~3.0.2: + version "3.0.4" + resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.4.tgz#5166e286457f03306064be5497e8dbb0c3d32083" + dependencies: + brace-expansion "^1.1.7" + minimatch@3.0.3: version "3.0.3" resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.3.tgz#2a4e4090b96b2db06a9d7df01055a62a77c9b774" dependencies: brace-expansion "^1.0.0" -minimatch@^3.0.0, minimatch@^3.0.2, minimatch@^3.0.3, minimatch@^3.0.4, minimatch@~3.0.2: - version "3.0.4" - resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.4.tgz#5166e286457f03306064be5497e8dbb0c3d32083" - dependencies: - brace-expansion "^1.1.7" - minimist@0.0.8: version "0.0.8" resolved "https://registry.yarnpkg.com/minimist/-/minimist-0.0.8.tgz#857fcabfc3397d2625b8228262e86aa7a011b05d" @@ -8801,13 +8784,9 @@ modify-values@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/modify-values/-/modify-values-1.0.0.tgz#e2b6cdeb9ce19f99317a53722f3dbf5df5eaaab2" -moment@^2.19.3: - version "2.19.3" - resolved "https://registry.yarnpkg.com/moment/-/moment-2.19.3.tgz#bdb99d270d6d7fda78cc0fbace855e27fe7da69f" - -moment@^2.6.0: - version "2.19.2" - resolved "https://registry.yarnpkg.com/moment/-/moment-2.19.2.tgz#8a7f774c95a64550b4c7ebd496683908f9419dbe" +moment@^2.19.3, moment@^2.6.0: + version "2.19.4" + resolved "https://registry.yarnpkg.com/moment/-/moment-2.19.4.tgz#17e5e2c6ead8819c8ecfad83a0acccb312e94682" morgan@~1.6.1: version "1.6.1" @@ -8838,17 +8817,21 @@ ms@0.7.2: version "0.7.2" resolved "https://registry.yarnpkg.com/ms/-/ms-0.7.2.tgz#ae25cf2512b3885a1d95d7f037868d8431124765" -ms@2.0.0, ms@^2.0.0: +ms@2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8" +ms@^2.0.0: + version "2.1.1" + resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.1.tgz#30a5864eb3ebb0a66f2ebe6d727af06a09d86e0a" + multicast-dns-service-types@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/multicast-dns-service-types/-/multicast-dns-service-types-1.1.0.tgz#899f11d9686e5e05cb91b35d5f0e63b773cfc901" multicast-dns@^6.0.1: - version "6.1.1" - resolved "https://registry.yarnpkg.com/multicast-dns/-/multicast-dns-6.1.1.tgz#6e7de86a570872ab17058adea7160bbeca814dde" + version "6.2.1" + resolved "https://registry.yarnpkg.com/multicast-dns/-/multicast-dns-6.2.1.tgz#c5035defa9219d30640558a49298067352098060" dependencies: dns-packet "^1.0.1" thunky "^0.1.0" @@ -8944,7 +8927,7 @@ node-fetch-npm@^2.0.2: json-parse-better-errors "^1.0.0" safe-buffer "^5.1.1" -node-fetch@^1.0.1, node-fetch@^1.3.3, node-fetch@^1.6.3: +node-fetch@1.7.3, node-fetch@^1.0.1, node-fetch@^1.3.3, node-fetch@^1.6.3: version "1.7.3" resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-1.7.3.tgz#980f6f72d85211a5347c6b2bc18c5b84c3eb47ef" dependencies: @@ -8982,28 +8965,28 @@ node-int64@^0.4.0: resolved "https://registry.yarnpkg.com/node-int64/-/node-int64-0.4.0.tgz#87a9065cdb355d3182d8f94ce11188b825c68a3b" node-libs-browser@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/node-libs-browser/-/node-libs-browser-2.0.0.tgz#a3a59ec97024985b46e958379646f96c4b616646" + version "2.1.0" + resolved "https://registry.yarnpkg.com/node-libs-browser/-/node-libs-browser-2.1.0.tgz#5f94263d404f6e44767d726901fff05478d600df" dependencies: assert "^1.1.1" - browserify-zlib "^0.1.4" + browserify-zlib "^0.2.0" buffer "^4.3.0" console-browserify "^1.1.0" constants-browserify "^1.0.0" crypto-browserify "^3.11.0" domain-browser "^1.1.1" events "^1.0.0" - https-browserify "0.0.1" - os-browserify "^0.2.0" + https-browserify "^1.0.0" + os-browserify "^0.3.0" path-browserify "0.0.0" - process "^0.11.0" + process "^0.11.10" punycode "^1.2.4" querystring-es3 "^0.2.0" - readable-stream "^2.0.5" + readable-stream "^2.3.3" stream-browserify "^2.0.1" - stream-http "^2.3.1" - string_decoder "^0.10.25" - timers-browserify "^2.0.2" + stream-http "^2.7.2" + string_decoder "^1.0.0" + timers-browserify "^2.0.4" tty-browserify "0.0.0" url "^0.11.0" util "^0.10.3" @@ -9039,8 +9022,8 @@ node-pre-gyp@^0.6.36, node-pre-gyp@^0.6.39: tar-pack "^3.4.0" node-sass@^4.3.0: - version "4.6.1" - resolved "https://registry.yarnpkg.com/node-sass/-/node-sass-4.6.1.tgz#9b331cf943ee5440f199e858941a90d13bc9bfc5" + version "4.7.2" + resolved "https://registry.yarnpkg.com/node-sass/-/node-sass-4.7.2.tgz#9366778ba1469eb01438a9e8592f4262bcb6794e" dependencies: async-foreach "^0.1.3" chalk "^1.1.1" @@ -9057,9 +9040,10 @@ node-sass@^4.3.0: nan "^2.3.2" node-gyp "^3.3.1" npmlog "^4.0.0" - request "^2.79.0" + request "~2.79.0" sass-graph "^2.2.4" stdout-stream "^1.4.0" + "true-case-path" "^1.0.2" node-status-codes@^1.0.0: version "1.0.0" @@ -9069,22 +9053,7 @@ 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.0: - version "1.12.1" - resolved "https://registry.yarnpkg.com/nodemon/-/nodemon-1.12.1.tgz#996a56dc49d9f16bbf1b78a4de08f13634b3878d" - dependencies: - chokidar "^1.7.0" - debug "^2.6.8" - es6-promise "^3.3.1" - ignore-by-default "^1.0.1" - lodash.defaults "^3.1.2" - minimatch "^3.0.4" - ps-tree "^1.1.0" - touch "^3.1.0" - undefsafe "0.0.3" - update-notifier "^2.2.0" - -nodemon@^1.12.5: +nodemon@^1.12.0, nodemon@^1.12.5: version "1.12.5" resolved "https://registry.yarnpkg.com/nodemon/-/nodemon-1.12.5.tgz#bd34afa1aa855f1996b561147848519f136de620" dependencies: @@ -9548,9 +9517,9 @@ original@>=0.0.5: dependencies: url-parse "1.0.x" -os-browserify@^0.2.0: - version "0.2.1" - resolved "https://registry.yarnpkg.com/os-browserify/-/os-browserify-0.2.1.tgz#63fc4ccee5d2d7763d26bbf8601078e6c2e0044f" +os-browserify@^0.3.0: + version "0.3.0" + resolved "https://registry.yarnpkg.com/os-browserify/-/os-browserify-0.3.0.tgz#854373c7f5c2315914fc9bfc6bd8238fdda1ec27" os-homedir@^1.0.0, os-homedir@^1.0.1: version "1.0.2" @@ -9662,9 +9631,9 @@ pacote@~2.7.38: unique-filename "^1.1.0" which "^1.2.12" -pako@~0.2.0: - version "0.2.9" - resolved "https://registry.yarnpkg.com/pako/-/pako-0.2.9.tgz#f3f7522f4ef782348da8161bad9ecfd51bf83a75" +pako@~1.0.5: + version "1.0.6" + resolved "https://registry.yarnpkg.com/pako/-/pako-1.0.6.tgz#0101211baa70c4bca4a0f63f2206e97b7dfaf258" parallel-transform@^1.1.0: version "1.1.0" @@ -9719,8 +9688,8 @@ parse-github-repo-url@^1.3.0: resolved "https://registry.yarnpkg.com/parse-github-repo-url/-/parse-github-repo-url-1.4.1.tgz#9e7d8bb252a6cb6ba42595060b7bf6df3dbc1f50" parse-github-url@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/parse-github-url/-/parse-github-url-1.0.1.tgz#af8d10e58cca8cfcc6e8975dd56942ccb36f5119" + version "1.0.2" + resolved "https://registry.yarnpkg.com/parse-github-url/-/parse-github-url-1.0.2.tgz#242d3b65cbcdda14bb50439e3242acf6971db395" parse-glob@^3.0.4: version "3.0.4" @@ -10079,7 +10048,7 @@ postcss-load-plugins@^2.3.0: cosmiconfig "^2.1.1" object-assign "^4.1.0" -postcss-loader@2.0.8, postcss-loader@^2.0.5: +postcss-loader@2.0.8: version "2.0.8" resolved "https://registry.yarnpkg.com/postcss-loader/-/postcss-loader-2.0.8.tgz#8c67ddb029407dfafe684a406cfc16bad2ce0814" dependencies: @@ -10097,7 +10066,7 @@ postcss-loader@^1.3.3: postcss "^5.2.15" postcss-load-config "^1.2.0" -postcss-loader@^2.0.9: +postcss-loader@^2.0.5, postcss-loader@^2.0.9: version "2.0.9" resolved "https://registry.yarnpkg.com/postcss-loader/-/postcss-loader-2.0.9.tgz#001fdf7bfeeb159405ee61d1bb8e59b528dbd309" dependencies: @@ -10315,11 +10284,7 @@ preserve@^0.2.0: version "0.2.0" resolved "https://registry.yarnpkg.com/preserve/-/preserve-0.2.0.tgz#815ed1f6ebc65926f865b310c0713bcb3315ce4b" -prettier@^1.7.0: - version "1.8.2" - resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.8.2.tgz#bff83e7fd573933c607875e5ba3abbdffb96aeb8" - -prettier@^1.9.1: +prettier@^1.7.0, prettier@^1.9.1: version "1.9.1" resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.9.1.tgz#41638a0d47c1efbd1b7d5a742aaa5548eab86d70" @@ -10360,7 +10325,7 @@ process-nextick-args@^1.0.7, process-nextick-args@~1.0.6: version "1.0.7" resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-1.0.7.tgz#150e20b756590ad3f91093f25a4f2ad8bff30ba3" -process@^0.11.0, process@^0.11.1: +process@^0.11.1, process@^0.11.10: version "0.11.10" resolved "https://registry.yarnpkg.com/process/-/process-0.11.10.tgz#7332300e840161bda3e69a1d1d91a7d4bc16f182" @@ -10381,8 +10346,8 @@ promise-inflight@^1.0.1, promise-inflight@~1.0.1: resolved "https://registry.yarnpkg.com/promise-inflight/-/promise-inflight-1.0.1.tgz#98472870bf228132fcbdd868129bad12c3c029e3" promise-polyfill@^6.0.1: - version "6.0.2" - resolved "https://registry.yarnpkg.com/promise-polyfill/-/promise-polyfill-6.0.2.tgz#d9c86d3dc4dc2df9016e88946defd69b49b41162" + version "6.1.0" + resolved "https://registry.yarnpkg.com/promise-polyfill/-/promise-polyfill-6.1.0.tgz#dfa96943ea9c121fca4de9b5868cb39d3472e057" promise-retry@^1.1.1: version "1.1.1" @@ -10391,7 +10356,7 @@ promise-retry@^1.1.1: err-code "^1.0.0" retry "^0.10.0" -promise.prototype.finally@^3.0.0, promise.prototype.finally@^3.1.0: +promise.prototype.finally@^3.1.0: version "3.1.0" resolved "https://registry.yarnpkg.com/promise.prototype.finally/-/promise.prototype.finally-3.1.0.tgz#66f161b1643636e50e7cf201dc1b84a857f3864e" dependencies: @@ -10466,9 +10431,9 @@ proxy-from-env@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/proxy-from-env/-/proxy-from-env-1.0.0.tgz#33c50398f70ea7eb96d21f7b817630a55791c7ee" -prr@~0.0.0: - version "0.0.0" - resolved "https://registry.yarnpkg.com/prr/-/prr-0.0.0.tgz#1a84b85908325501411853d0081ee3fa86e2926a" +prr@~1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/prr/-/prr-1.0.1.tgz#d3fc114ba06995a45ec6893f484ceb1d78f5f476" ps-tree@^1.1.0: version "1.1.0" @@ -10491,8 +10456,8 @@ public-encrypt@^4.0.0: randombytes "^2.0.1" pump@^1.0.0: - version "1.0.2" - resolved "https://registry.yarnpkg.com/pump/-/pump-1.0.2.tgz#3b3ee6512f94f0e575538c17995f9f16990a5d51" + version "1.0.3" + resolved "https://registry.yarnpkg.com/pump/-/pump-1.0.3.tgz#5dfe8311c33bbf6fc18261f9f34702c47c08a954" dependencies: end-of-stream "^1.1.0" once "^1.3.1" @@ -10546,6 +10511,10 @@ qs@6.5.1, qs@^6.4.0, qs@^6.5.1, qs@~6.5.1: version "6.5.1" resolved "https://registry.yarnpkg.com/qs/-/qs-6.5.1.tgz#349cdf6eef89ec45c12d7d5eb3fc0c870343a6d8" +qs@~6.3.0: + version "6.3.2" + resolved "https://registry.yarnpkg.com/qs/-/qs-6.3.2.tgz#e75bd5f6e268122a2a0e0bda630b2550c166502c" + qs@~6.4.0: version "6.4.0" resolved "https://registry.yarnpkg.com/qs/-/qs-6.4.0.tgz#13e26d28ad6b0ffaa91312cd3bf708ed351e7233" @@ -10738,16 +10707,7 @@ react-docgen@^2.15.0: node-dir "^0.1.10" recast "^0.12.6" -react-dom@^16.0.0, react-dom@^16.1.0: - version "16.1.1" - resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-16.1.1.tgz#b2e331b6d752faf1a2d31399969399a41d8d45f8" - dependencies: - fbjs "^0.8.16" - loose-envify "^1.1.0" - object-assign "^4.1.1" - prop-types "^15.6.0" - -react-dom@^16.2.0: +react-dom@^16.0.0, react-dom@^16.1.0, react-dom@^16.2.0: version "16.2.0" resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-16.2.0.tgz#69003178601c0ca19b709b33a83369fe6124c044" dependencies: @@ -10786,8 +10746,8 @@ react-icons@^2.2.7: react-icon-base "2.1.0" react-inspector@^2.2.1: - version "2.2.1" - resolved "https://registry.yarnpkg.com/react-inspector/-/react-inspector-2.2.1.tgz#c24f9a0131960b8e63c8392254d34df0717aabdf" + version "2.2.2" + resolved "https://registry.yarnpkg.com/react-inspector/-/react-inspector-2.2.2.tgz#c04f5248fa92ab6c23e37960e725fb7f48c34d05" dependencies: babel-runtime "^6.26.0" is-dom "^1.0.9" @@ -10945,15 +10905,7 @@ react-style-proptype@^3.0.0: dependencies: prop-types "^15.5.4" -react-test-renderer@^16.0.0-0: - version "16.1.1" - resolved "https://registry.yarnpkg.com/react-test-renderer/-/react-test-renderer-16.1.1.tgz#a05184688d564be799f212449262525d1e350537" - dependencies: - fbjs "^0.8.16" - object-assign "^4.1.1" - prop-types "^15.6.0" - -react-test-renderer@^16.1.0, react-test-renderer@^16.2.0: +react-test-renderer@^16.0.0-0, react-test-renderer@^16.1.0, react-test-renderer@^16.2.0: version "16.2.0" resolved "https://registry.yarnpkg.com/react-test-renderer/-/react-test-renderer-16.2.0.tgz#bddf259a6b8fcd8555f012afc8eacc238872a211" dependencies: @@ -10999,16 +10951,7 @@ react-treebeard@^2.0.3: shallowequal "^0.2.2" velocity-react "^1.3.1" -react@^16.0.0, react@^16.1.0: - version "16.1.1" - resolved "https://registry.yarnpkg.com/react/-/react-16.1.1.tgz#d5c4ef795507e3012282dd51261ff9c0e824fe1f" - dependencies: - fbjs "^0.8.16" - loose-envify "^1.1.0" - object-assign "^4.1.1" - prop-types "^15.6.0" - -react@^16.2.0: +react@^16.0.0, react@^16.1.0, react@^16.2.0: version "16.2.0" resolved "https://registry.yarnpkg.com/react/-/react-16.2.0.tgz#a31bd2dab89bff65d42134fa187f24d054c273ba" dependencies: @@ -11121,7 +11064,7 @@ read@1, read@~1.0.1, read@~1.0.7: dependencies: mute-stream "~0.0.4" -"readable-stream@1 || 2", readable-stream@^2.0.0, readable-stream@^2.0.1, readable-stream@^2.0.2, readable-stream@^2.0.4, readable-stream@^2.0.5, readable-stream@^2.0.6, readable-stream@^2.1.4, readable-stream@^2.1.5, readable-stream@^2.2.2, readable-stream@^2.2.6, readable-stream@^2.2.9, readable-stream@~2.3.2: +"readable-stream@1 || 2", readable-stream@^2.0.0, readable-stream@^2.0.1, readable-stream@^2.0.2, readable-stream@^2.0.4, readable-stream@^2.0.5, readable-stream@^2.0.6, readable-stream@^2.1.4, readable-stream@^2.1.5, readable-stream@^2.2.2, readable-stream@^2.2.6, readable-stream@^2.2.9, readable-stream@^2.3.3, readable-stream@~2.3.2: version "2.3.3" resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.3.3.tgz#368f2512d79f9d46fdfc71349ae7878bbc1eb95c" dependencies: @@ -11160,7 +11103,7 @@ readable-stream@~1.1.10, readable-stream@~1.1.8, readable-stream@~1.1.9: isarray "0.0.1" string_decoder "~0.10.x" -readdir-scoped-modules@^1.0.0: +readdir-scoped-modules@*, readdir-scoped-modules@^1.0.0: version "1.0.2" resolved "https://registry.yarnpkg.com/readdir-scoped-modules/-/readdir-scoped-modules-1.0.2.tgz#9fafa37d286be5d92cbaebdee030dc9b5f406747" dependencies: @@ -11270,8 +11213,8 @@ regenerator-runtime@^0.10.0, regenerator-runtime@^0.10.5: resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.10.5.tgz#336c3efc1220adcedda2c9fab67b5a7955a33658" regenerator-runtime@^0.11.0: - version "0.11.0" - resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.11.0.tgz#7e54fe5b5ccd5d6624ea6255c3473be090b802e1" + version "0.11.1" + resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.11.1.tgz#be05ad7f9bf7d22e056f9726cee5017fbf19e2e9" regenerator-transform@^0.10.0: version "0.10.1" @@ -11493,8 +11436,8 @@ remark-lint@^6.0.0, remark-lint@^6.0.1: remark-message-control "^4.0.0" remark-message-control@^4.0.0: - version "4.0.1" - resolved "https://registry.yarnpkg.com/remark-message-control/-/remark-message-control-4.0.1.tgz#2913cd60b316d9f9f390aa7f34639d20cf55996d" + version "4.0.2" + resolved "https://registry.yarnpkg.com/remark-message-control/-/remark-message-control-4.0.2.tgz#103d277418ce747fc0143542596c82c853990d51" dependencies: mdast-comment-marker "^1.0.0" trim "0.0.1" @@ -11678,6 +11621,31 @@ request@2.81.0, request@~2.81.0: tunnel-agent "^0.6.0" uuid "^3.0.0" +request@~2.79.0: + version "2.79.0" + resolved "https://registry.yarnpkg.com/request/-/request-2.79.0.tgz#4dfe5bf6be8b8cdc37fcf93e04b65577722710de" + dependencies: + aws-sign2 "~0.6.0" + aws4 "^1.2.1" + caseless "~0.11.0" + combined-stream "~1.0.5" + extend "~3.0.0" + forever-agent "~0.6.1" + form-data "~2.1.1" + har-validator "~2.0.6" + hawk "~3.1.3" + http-signature "~1.1.0" + is-typedarray "~1.0.0" + isstream "~0.1.2" + json-stringify-safe "~5.0.1" + mime-types "~2.1.7" + oauth-sign "~0.8.1" + qs "~6.3.0" + stringstream "~0.0.4" + tough-cookie "~2.3.0" + tunnel-agent "~0.4.1" + uuid "^3.0.0" + require-directory@^2.1.1: version "2.1.1" resolved "https://registry.yarnpkg.com/require-directory/-/require-directory-2.1.1.tgz#8c64ad5fd30dab1c976e2344ffe7f792a6a6df42" @@ -11852,10 +11820,10 @@ rx-lite@^3.1.2: resolved "https://registry.yarnpkg.com/rx-lite/-/rx-lite-3.1.2.tgz#19ce502ca572665f3b647b10939f97fd1615f102" rxjs@^5.4.2: - version "5.5.2" - resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-5.5.2.tgz#28d403f0071121967f18ad665563255d54236ac3" + version "5.5.5" + resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-5.5.5.tgz#e164f11d38eaf29f56f08c3447f74ff02dd84e97" dependencies: - symbol-observable "^1.0.1" + symbol-observable "1.0.1" safe-buffer@5.1.1, safe-buffer@^5.0.1, safe-buffer@^5.1.0, safe-buffer@^5.1.1, safe-buffer@~5.1.0, safe-buffer@~5.1.1: version "5.1.1" @@ -12556,7 +12524,7 @@ stream-each@^1.1.0: end-of-stream "^1.1.0" stream-shift "^1.0.0" -stream-http@^2.3.1: +stream-http@^2.7.2: version "2.7.2" resolved "https://registry.yarnpkg.com/stream-http/-/stream-http-2.7.2.tgz#40a050ec8dc3b53b33d9909415c02c0bf1abfbad" dependencies: @@ -12631,16 +12599,16 @@ string.prototype.padstart@^3.0.0: es-abstract "^1.4.3" function-bind "^1.0.2" -string_decoder@^0.10.25, string_decoder@~0.10.x: - version "0.10.31" - resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-0.10.31.tgz#62e203bc41766c6c28c9fc84301dab1c5310fa94" - -string_decoder@~1.0.3: +string_decoder@^1.0.0, string_decoder@~1.0.3: version "1.0.3" resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.0.3.tgz#0fc67d7c141825de94282dd536bec6b9bce860ab" dependencies: safe-buffer "~5.1.0" +string_decoder@~0.10.x: + version "0.10.31" + resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-0.10.31.tgz#62e203bc41766c6c28c9fc84301dab1c5310fa94" + stringify-entities@^1.0.1: version "1.3.1" resolved "https://registry.yarnpkg.com/stringify-entities/-/stringify-entities-1.3.1.tgz#b150ec2d72ac4c1b5f324b51fb6b28c9cdff058c" @@ -12782,8 +12750,8 @@ supports-color@^4.0.0, supports-color@^4.1.0, supports-color@^4.2.1, supports-co has-flag "^2.0.0" supports-color@^5.0.0: - version "5.0.1" - resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-5.0.1.tgz#1c5331f22250c84202805b2f17adf16699f3a39a" + version "5.1.0" + resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-5.1.0.tgz#058a021d1b619f7ddf3980d712ea3590ce7de3d5" dependencies: has-flag "^2.0.0" @@ -12844,13 +12812,17 @@ sw-toolbox@^3.4.0: path-to-regexp "^1.0.1" serviceworker-cache-polyfill "^4.0.0" +symbol-observable@1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/symbol-observable/-/symbol-observable-1.0.1.tgz#8340fc4702c3122df5d22288f88283f513d3fdd4" + symbol-observable@^0.2.2: version "0.2.4" resolved "https://registry.yarnpkg.com/symbol-observable/-/symbol-observable-0.2.4.tgz#95a83db26186d6af7e7a18dbd9760a2f86d08f40" -symbol-observable@^1.0.1, symbol-observable@^1.0.3: - version "1.0.4" - resolved "https://registry.yarnpkg.com/symbol-observable/-/symbol-observable-1.0.4.tgz#29bf615d4aa7121bdd898b22d4b3f9bc4e2aa03d" +symbol-observable@^1.0.3: + version "1.1.0" + resolved "https://registry.yarnpkg.com/symbol-observable/-/symbol-observable-1.1.0.tgz#5c68fd8d54115d9dfb72a84720549222e8db9b32" symbol-tree@^3.2.1: version "3.2.2" @@ -13040,7 +13012,7 @@ timed-out@^4.0.0: version "4.0.1" resolved "https://registry.yarnpkg.com/timed-out/-/timed-out-4.0.1.tgz#f32eacac5a175bea25d7fab565ab3ed8741ef56f" -timers-browserify@^2.0.2: +timers-browserify@^2.0.4: version "2.0.4" resolved "https://registry.yarnpkg.com/timers-browserify/-/timers-browserify-2.0.4.tgz#96ca53f4b794a5e7c0e1bd7cc88a372298fa01e6" dependencies: @@ -13143,6 +13115,12 @@ trough@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/trough/-/trough-1.0.1.tgz#a9fd8b0394b0ae8fff82e0633a0a36ccad5b5f86" +"true-case-path@^1.0.2": + version "1.0.2" + resolved "https://registry.yarnpkg.com/true-case-path/-/true-case-path-1.0.2.tgz#7ec91130924766c7f573be3020c34f8fdfd00d62" + dependencies: + glob "^6.0.4" + try-catch@~1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/try-catch/-/try-catch-1.0.0.tgz#3797dab39a266775f4d0da5cbf42aca3f03608e6" @@ -13182,9 +13160,9 @@ tsconfig@^6.0.0: strip-bom "^3.0.0" strip-json-comments "^2.0.0" -tsickle@^0.24.0: - version "0.24.1" - resolved "https://registry.yarnpkg.com/tsickle/-/tsickle-0.24.1.tgz#039343b205bf517a333b0703978892f80a7d848e" +tsickle@^0.21.0: + version "0.21.6" + resolved "https://registry.yarnpkg.com/tsickle/-/tsickle-0.21.6.tgz#53b01b979c5c13fdb13afb3fb958177e5991588d" dependencies: minimist "^1.2.0" mkdirp "^0.5.1" @@ -13192,8 +13170,8 @@ tsickle@^0.24.0: source-map-support "^0.4.2" tslib@^1.6.0, tslib@^1.7.1: - version "1.8.0" - resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.8.0.tgz#dc604ebad64bcbf696d613da6c954aa0e7ea1eb6" + version "1.8.1" + resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.8.1.tgz#6946af2d1d651a7b1863b531d6e5afa41aa44eac" tslint@~5.3.2: version "5.3.2" @@ -13214,8 +13192,8 @@ tsscmp@1.0.5: resolved "https://registry.yarnpkg.com/tsscmp/-/tsscmp-1.0.5.tgz#7dc4a33af71581ab4337da91d85ca5427ebd9a97" tsutils@^2.0.0: - version "2.12.2" - resolved "https://registry.yarnpkg.com/tsutils/-/tsutils-2.12.2.tgz#ad58a4865d17ec3ddb6631b6ca53be14a5656ff3" + version "2.13.0" + resolved "https://registry.yarnpkg.com/tsutils/-/tsutils-2.13.0.tgz#0f52b6aabbc4216e72796b66db028c6cf173e144" dependencies: tslib "^1.7.1" @@ -13229,6 +13207,10 @@ tunnel-agent@^0.6.0: dependencies: safe-buffer "^5.0.1" +tunnel-agent@~0.4.1: + version "0.4.3" + resolved "https://registry.yarnpkg.com/tunnel-agent/-/tunnel-agent-0.4.3.tgz#6373db76909fe570e08d73583365ed828a74eeeb" + tweetnacl@^0.14.3, tweetnacl@~0.14.0: version "0.14.5" resolved "https://registry.yarnpkg.com/tweetnacl/-/tweetnacl-0.14.5.tgz#5ae68177f192d4456269d108afa93ff8743f4f64" @@ -13255,25 +13237,25 @@ typedarray@^0.0.6: resolved "https://registry.yarnpkg.com/typescript/-/typescript-2.4.2.tgz#f8395f85d459276067c988aa41837a8f82870844" typescript@^2.3.3, typescript@^2.4.0: - version "2.6.1" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-2.6.1.tgz#ef39cdea27abac0b500242d6726ab90e0c846631" + version "2.6.2" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-2.6.2.tgz#3c5b6fd7f6de0914269027f03c0946758f7673a4" ua-parser-js@^0.7.9: version "0.7.17" resolved "https://registry.yarnpkg.com/ua-parser-js/-/ua-parser-js-0.7.17.tgz#e9ec5f9498b9ec910e7ae3ac626a805c4d09ecac" uglify-es@^3.1.8: - version "3.1.9" - resolved "https://registry.yarnpkg.com/uglify-es/-/uglify-es-3.1.9.tgz#6c82df628ac9eb7af9c61fd70c744a084abe6161" + version "3.2.2" + resolved "https://registry.yarnpkg.com/uglify-es/-/uglify-es-3.2.2.tgz#15c62b7775002c81b7987a1c49ecd3f126cace73" dependencies: - commander "~2.11.0" + commander "~2.12.1" source-map "~0.6.1" -uglify-js@3.1.x, uglify-js@^3.0.13: - version "3.1.9" - resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-3.1.9.tgz#dffca799308cf327ec3ac77eeacb8e196ce3b452" +uglify-js@3.2.x, uglify-js@^3.0.13: + version "3.2.2" + resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-3.2.2.tgz#870e4b34ed733d179284f9998efd3293f7fd73f6" dependencies: - commander "~2.11.0" + commander "~2.12.1" source-map "~0.6.1" uglify-js@^2.6, uglify-js@^2.8.29: @@ -13326,8 +13308,8 @@ ultron@1.0.x: resolved "https://registry.yarnpkg.com/ultron/-/ultron-1.0.2.tgz#ace116ab557cd197386a4e88f4685378c8b2e4fa" ultron@~1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/ultron/-/ultron-1.1.0.tgz#b07a2e6a541a815fc6a34ccd4533baec307ca864" + version "1.1.1" + resolved "https://registry.yarnpkg.com/ultron/-/ultron-1.1.1.tgz#9fe1536a10a664a65266a1e3ccf85fd36302bc9c" umask@~1.1.0: version "1.1.0" @@ -13394,8 +13376,8 @@ unified-lint-rule@^1.0.0: wrapped "^1.0.1" unified@^6.0.0: - version "6.1.5" - resolved "https://registry.yarnpkg.com/unified/-/unified-6.1.5.tgz#716937872621a63135e62ced2f3ac6a063c6fb87" + version "6.1.6" + resolved "https://registry.yarnpkg.com/unified/-/unified-6.1.6.tgz#5ea7f807a0898f1f8acdeefe5f25faa010cc42b1" dependencies: bail "^1.0.0" extend "^3.0.0" @@ -13441,6 +13423,10 @@ unist-util-generated@^1.1.0: version "1.1.1" resolved "https://registry.yarnpkg.com/unist-util-generated/-/unist-util-generated-1.1.1.tgz#99f16c78959ac854dee7c615c291924c8bf4de7f" +unist-util-is@^2.1.1: + version "2.1.1" + resolved "https://registry.yarnpkg.com/unist-util-is/-/unist-util-is-2.1.1.tgz#0c312629e3f960c66e931e812d3d80e77010947b" + unist-util-modify-children@^1.0.0: version "1.1.1" resolved "https://registry.yarnpkg.com/unist-util-modify-children/-/unist-util-modify-children-1.1.1.tgz#66d7e6a449e6f67220b976ab3cb8b5ebac39e51d" @@ -13457,13 +13443,15 @@ unist-util-remove-position@^1.0.0: dependencies: unist-util-visit "^1.1.0" -unist-util-stringify-position@^1.0.0: +unist-util-stringify-position@^1.0.0, unist-util-stringify-position@^1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/unist-util-stringify-position/-/unist-util-stringify-position-1.1.1.tgz#3ccbdc53679eed6ecf3777dd7f5e3229c1b6aa3c" unist-util-visit@^1.0.0, unist-util-visit@^1.1.0, unist-util-visit@^1.1.1: - version "1.1.3" - resolved "https://registry.yarnpkg.com/unist-util-visit/-/unist-util-visit-1.1.3.tgz#ec268e731b9d277a79a5b5aa0643990e405d600b" + version "1.3.0" + resolved "https://registry.yarnpkg.com/unist-util-visit/-/unist-util-visit-1.3.0.tgz#41ca7c82981fd1ce6c762aac397fc24e35711444" + dependencies: + unist-util-is "^2.1.1" universalify@^0.1.0: version "0.1.1" @@ -13652,7 +13640,7 @@ v8flags@^3.0.0: dependencies: homedir-polyfill "^1.0.1" -validate-npm-package-license@^3.0.1: +validate-npm-package-license@*, validate-npm-package-license@^3.0.1: version "3.0.1" resolved "https://registry.yarnpkg.com/validate-npm-package-license/-/validate-npm-package-license-3.0.1.tgz#2804babe712ad3379459acfbe24746ab2c303fbc" dependencies: @@ -13702,6 +13690,12 @@ vfile-location@^2.0.0, vfile-location@^2.0.1: version "2.0.2" resolved "https://registry.yarnpkg.com/vfile-location/-/vfile-location-2.0.2.tgz#d3675c59c877498e492b4756ff65e4af1a752255" +vfile-message@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/vfile-message/-/vfile-message-1.0.0.tgz#a6adb0474ea400fa25d929f1d673abea6a17e359" + dependencies: + unist-util-stringify-position "^1.1.1" + vfile-reporter@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/vfile-reporter/-/vfile-reporter-4.0.0.tgz#ea6f0ae1342f4841573985e05f941736f27de9da" @@ -13717,12 +13711,13 @@ vfile-statistics@^1.1.0: resolved "https://registry.yarnpkg.com/vfile-statistics/-/vfile-statistics-1.1.0.tgz#02104c60fdeed1d11b1f73ad65330b7634b3d895" vfile@^2.0.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/vfile/-/vfile-2.2.0.tgz#ce47a4fb335922b233e535db0f7d8121d8fced4e" + version "2.3.0" + resolved "https://registry.yarnpkg.com/vfile/-/vfile-2.3.0.tgz#e62d8e72b20e83c324bc6c67278ee272488bf84a" dependencies: is-buffer "^1.1.4" replace-ext "1.0.0" unist-util-stringify-position "^1.0.0" + vfile-message "^1.0.0" vhost@~3.0.1: version "3.0.2" @@ -13746,7 +13741,7 @@ vm-browserify@0.0.4: dependencies: indexof "0.0.1" -vm2@patriksimek/vm2#custom_files: +"vm2@github:patriksimek/vm2#custom_files": version "3.5.0" resolved "https://codeload.github.com/patriksimek/vm2/tar.gz/7e82f90ac705fc44fad044147cb0df09b4c79a57" @@ -13758,11 +13753,7 @@ void-elements@^2.0.0: version "2.0.1" resolved "https://registry.yarnpkg.com/void-elements/-/void-elements-2.0.1.tgz#c066afb582bb1cb4128d60ea92392e94d5e9dbec" -vue-hot-reload-api@^2.2.0: - version "2.2.3" - resolved "https://registry.yarnpkg.com/vue-hot-reload-api/-/vue-hot-reload-api-2.2.3.tgz#43c8e5506d65a271d2571936d77253019fd3eb17" - -vue-hot-reload-api@^2.2.4: +vue-hot-reload-api@^2.2.0, vue-hot-reload-api@^2.2.4: version "2.2.4" resolved "https://registry.yarnpkg.com/vue-hot-reload-api/-/vue-hot-reload-api-2.2.4.tgz#683bd1d026c0d3b3c937d5875679e9a87ec6cd8f" @@ -13891,17 +13882,7 @@ webidl-conversions@^4.0.0: version "4.0.2" resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-4.0.2.tgz#a855980b1f0b6b359ba1d5d9fb39ae941faa63ad" -webpack-dev-middleware@^1.10.2, webpack-dev-middleware@^1.11.0: - version "1.12.0" - resolved "https://registry.yarnpkg.com/webpack-dev-middleware/-/webpack-dev-middleware-1.12.0.tgz#d34efefb2edda7e1d3b5dbe07289513219651709" - dependencies: - memory-fs "~0.4.1" - mime "^1.3.4" - path-is-absolute "^1.0.0" - range-parser "^1.0.3" - time-stamp "^2.0.0" - -webpack-dev-middleware@^1.12.2: +webpack-dev-middleware@^1.10.2, webpack-dev-middleware@^1.11.0, webpack-dev-middleware@^1.12.2: version "1.12.2" resolved "https://registry.yarnpkg.com/webpack-dev-middleware/-/webpack-dev-middleware-1.12.2.tgz#f8fc1120ce3b4fc5680ceecb43d777966b21105e" dependencies: @@ -14001,16 +13982,7 @@ webpack-dev-server@~2.5.1: webpack-dev-middleware "^1.11.0" yargs "^6.0.0" -webpack-hot-middleware@^2.18.0: - version "2.20.0" - resolved "https://registry.yarnpkg.com/webpack-hot-middleware/-/webpack-hot-middleware-2.20.0.tgz#cb896d837758b6408fe0afeeafdc0e5316b15319" - dependencies: - ansi-html "0.0.7" - html-entities "^1.2.0" - querystring "^0.2.0" - strip-ansi "^3.0.0" - -webpack-hot-middleware@^2.21.0: +webpack-hot-middleware@^2.18.0, webpack-hot-middleware@^2.21.0: version "2.21.0" resolved "https://registry.yarnpkg.com/webpack-hot-middleware/-/webpack-hot-middleware-2.21.0.tgz#7b3c113a7a4b301c91e0749573c7aab28b414b52" dependencies: @@ -14033,13 +14005,13 @@ webpack-merge@^4.1.0: lodash "^4.17.4" webpack-sources@^1.0.1: - version "1.0.2" - resolved "https://registry.yarnpkg.com/webpack-sources/-/webpack-sources-1.0.2.tgz#d0148ec083b3b5ccef1035a6b3ec16442983b27a" + version "1.1.0" + resolved "https://registry.yarnpkg.com/webpack-sources/-/webpack-sources-1.1.0.tgz#a101ebae59d6507354d71d8013950a3a8b7a5a54" dependencies: source-list-map "^2.0.0" source-map "~0.6.1" -webpack@3.8.1, "webpack@^2.5.1 || ^3.0.0": +webpack@3.8.1: version "3.8.1" resolved "https://registry.yarnpkg.com/webpack/-/webpack-3.8.1.tgz#b16968a81100abe61608b0153c9159ef8bb2bd83" dependencies: @@ -14066,7 +14038,7 @@ webpack@3.8.1, "webpack@^2.5.1 || ^3.0.0": webpack-sources "^1.0.1" yargs "^8.0.2" -webpack@^3.10.0: +"webpack@^2.5.1 || ^3.0.0", webpack@^3.10.0: version "3.10.0" resolved "https://registry.yarnpkg.com/webpack/-/webpack-3.10.0.tgz#5291b875078cf2abf42bdd23afe3f8f96c17d725" dependencies: @@ -14192,6 +14164,12 @@ widest-line@^1.0.0: dependencies: string-width "^1.0.1" +widest-line@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/widest-line/-/widest-line-2.0.0.tgz#0142a4e8a243f8882c0233aa0e0281aa76152273" + dependencies: + string-width "^2.1.1" + win-release@^1.0.0: version "1.1.1" resolved "https://registry.yarnpkg.com/win-release/-/win-release-1.1.1.tgz#5fa55e02be7ca934edfc12665632e849b72e5209" @@ -14219,8 +14197,8 @@ wordwrap@~0.0.2: resolved "https://registry.yarnpkg.com/wordwrap/-/wordwrap-0.0.3.tgz#a3d5da6cd5c0bc0008d37234bbaf1bed63059107" worker-farm@^1.3.1: - version "1.5.1" - resolved "https://registry.yarnpkg.com/worker-farm/-/worker-farm-1.5.1.tgz#8e9f4a7da4f3c595aa600903051b969390423fa1" + version "1.5.2" + resolved "https://registry.yarnpkg.com/worker-farm/-/worker-farm-1.5.2.tgz#32b312e5dc3d5d45d79ef44acc2587491cd729ae" dependencies: errno "^0.1.4" xtend "^4.0.1" @@ -14319,15 +14297,7 @@ ws@^2.0.3: safe-buffer "~5.0.1" ultron "~1.1.0" -ws@^3.0.0: - version "3.3.1" - resolved "https://registry.yarnpkg.com/ws/-/ws-3.3.1.tgz#d97e34dee06a1190c61ac1e95f43cb60b78cf939" - dependencies: - async-limiter "~1.0.0" - safe-buffer "~5.1.0" - ultron "~1.1.0" - -ws@^3.3.2: +ws@^3.0.0, ws@^3.3.2: version "3.3.2" resolved "https://registry.yarnpkg.com/ws/-/ws-3.3.2.tgz#96c1d08b3fefda1d5c1e33700d3bfaa9be2d5608" dependencies: From 00106d385afce49cd06aa5c9c0b8d20fbe64f882 Mon Sep 17 00:00:00 2001 From: igor Date: Tue, 12 Dec 2017 12:03:27 +0200 Subject: [PATCH 10/83] WIP utils --- addons/knobs/src/angular/utils.js | 9 +++---- .../src/client/preview/angular/helpers.ts | 26 +++++++++---------- .../preview/{utils.js => angular/utils.ts} | 20 ++++++-------- 3 files changed, 25 insertions(+), 30 deletions(-) rename app/angular/src/client/preview/{utils.js => angular/utils.ts} (66%) diff --git a/addons/knobs/src/angular/utils.js b/addons/knobs/src/angular/utils.js index e2c38ac9bf7f..9526b8117683 100644 --- a/addons/knobs/src/angular/utils.js +++ b/addons/knobs/src/angular/utils.js @@ -1,5 +1,4 @@ /* eslint-disable no-param-reassign */ -/* eslint no-underscore-dangle: 0 */ /* globals window */ import { VERSION } from '@angular/core'; @@ -10,7 +9,7 @@ function getMeta(component, [name1, name2], defaultValue) { name1 = `__${name1}__`; } - if (VERSION.major >= 5) { + if (VERSION.major === '5') { if (component[name1]) { return component[name1]; } @@ -20,7 +19,7 @@ function getMeta(component, [name1, name2], defaultValue) { } } - if (VERSION.major >= 4) { + if (VERSION.major === '4') { return window.Reflect.getMetadata(name2, component) || defaultValue; } @@ -33,11 +32,11 @@ function setMeta(component, [name1, name2], value) { name1 = `__${name1}__`; } - if (VERSION.major >= 5) { + if (VERSION.major === '5') { component[name1] = value; } - if (VERSION.major >= 4) { + if (VERSION.major === '4') { window.Reflect.defineMetadata(name2, value, component); } } diff --git a/app/angular/src/client/preview/angular/helpers.ts b/app/angular/src/client/preview/angular/helpers.ts index 50d19f4c8ce2..b416532cb4f2 100644 --- a/app/angular/src/client/preview/angular/helpers.ts +++ b/app/angular/src/client/preview/angular/helpers.ts @@ -13,7 +13,7 @@ import { AppComponent } from "./components/app.component"; import { ErrorComponent } from "./components/error.component"; import { NoPreviewComponent } from "./components/no-preview.component"; import { STORY } from "./app.token"; -import { getAnnotations, getParameters, getPropMetadata } from '../utils'; +import { getAnnotations, getParameters, getPropMetadata } from './utils'; let platform = null; let promises = []; @@ -22,18 +22,18 @@ let promises = []; // We don't want to pull underscore const debounce = (func, wait = 100, immediate = false) => { - var timeout; - return function() { - var context = this, args = arguments; - var later = function() { - timeout = null; - if (!immediate) func.apply(context, args); - }; - var callNow = immediate && !timeout; - clearTimeout(timeout); - timeout = setTimeout(later, wait); - if (callNow) func.apply(context, args); - }; + var timeout; + return function () { + var context = this, args = arguments; + var later = function () { + timeout = null; + if (!immediate) func.apply(context, args); + }; + var callNow = immediate && !timeout; + clearTimeout(timeout); + timeout = setTimeout(later, wait); + if (callNow) func.apply(context, args); + }; }; const getComponentMetadata = ({ component, props = {}, propsMeta = {} }) => { diff --git a/app/angular/src/client/preview/utils.js b/app/angular/src/client/preview/angular/utils.ts similarity index 66% rename from app/angular/src/client/preview/utils.js rename to app/angular/src/client/preview/angular/utils.ts index e2c38ac9bf7f..f88f4def78a2 100644 --- a/app/angular/src/client/preview/utils.js +++ b/app/angular/src/client/preview/angular/utils.ts @@ -1,16 +1,12 @@ -/* eslint-disable no-param-reassign */ -/* eslint no-underscore-dangle: 0 */ -/* globals window */ - import { VERSION } from '@angular/core'; -function getMeta(component, [name1, name2], defaultValue) { +function getMeta(component, [name1, name2]: any, defaultValue) { if (!name2) { name2 = name1; name1 = `__${name1}__`; } - if (VERSION.major >= 5) { + if (VERSION.major === '5') { if (component[name1]) { return component[name1]; } @@ -20,25 +16,25 @@ function getMeta(component, [name1, name2], defaultValue) { } } - if (VERSION.major >= 4) { - return window.Reflect.getMetadata(name2, component) || defaultValue; + if (VERSION.major === '4') { + return window['Reflect'].getMetadata(name2, component) || defaultValue; } return defaultValue; } -function setMeta(component, [name1, name2], value) { +function setMeta(component, [name1, name2]: any, value) { if (!name2) { name2 = name1; name1 = `__${name1}__`; } - if (VERSION.major >= 5) { + if (VERSION.major === '5') { component[name1] = value; } - if (VERSION.major >= 4) { - window.Reflect.defineMetadata(name2, value, component); + if (VERSION.major === '4') { + window['Reflect'].defineMetadata(name2, value, component); } } From 3778ed9119701ff4be8960596310b7554b4c8e71 Mon Sep 17 00:00:00 2001 From: igor Date: Tue, 12 Dec 2017 13:25:50 +0200 Subject: [PATCH 11/83] Use utils on a few more helper functions --- app/angular/package.json | 3 ++- .../src/client/preview/angular/helpers.ts | 22 ++++++++++++++----- .../src/client/preview/angular/utils.ts | 4 ++++ 3 files changed, 23 insertions(+), 6 deletions(-) diff --git a/app/angular/package.json b/app/angular/package.json index a4bed3decad7..aa605f0a5c32 100644 --- a/app/angular/package.json +++ b/app/angular/package.json @@ -18,7 +18,7 @@ "url": "https://github.com/storybooks/storybook.git" }, "scripts": { - "dev": "DEV_BUILD=1 nodemon -e js,ts --watch ./src --exec 'npm run prepublish'", + "dev": "cross-env DEV_BUILD=1 nodemon -e js,ts --watch ./src --exec \"yarn prepare\"", "prepare": "node ../../scripts/prepare.js" }, "dependencies": { @@ -45,6 +45,7 @@ "configstore": "^3.1.0", "core-js": "^2.4.1", "css-loader": "^0.28.1", + "cross-env": "^5.1.1", "express": "^4.15.3", "file-loader": "^0.11.1", "find-cache-dir": "^1.0.0", diff --git a/app/angular/src/client/preview/angular/helpers.ts b/app/angular/src/client/preview/angular/helpers.ts index b416532cb4f2..dd75287a7b10 100644 --- a/app/angular/src/client/preview/angular/helpers.ts +++ b/app/angular/src/client/preview/angular/helpers.ts @@ -13,7 +13,15 @@ import { AppComponent } from "./components/app.component"; import { ErrorComponent } from "./components/error.component"; import { NoPreviewComponent } from "./components/no-preview.component"; import { STORY } from "./app.token"; -import { getAnnotations, getParameters, getPropMetadata } from './utils'; + +import { + getAnnotations, + getParameters, + getPropMetadata, + setAnnotations, + setParameters, + setPropMetadata, +} from './utils'; let platform = null; let promises = []; @@ -61,10 +69,13 @@ const getAnnotatedComponent = (meta, component, propsMeta, params) => { const NewComponent: any = function NewComponent(...args) { component.call(this, ...args); }; + NewComponent.prototype = Object.create(component.prototype); - NewComponent.annotations = [new Component(meta)]; - NewComponent.parameters = params; - NewComponent.propsMetadata = propsMeta; + + setAnnotations(NewComponent,[new Component(meta)]); + setParameters(NewComponent, params); + setPropMetadata(NewComponent, propsMeta); + return NewComponent; }; @@ -79,7 +90,8 @@ const getModule = (declarations, entryComponents, bootstrap, data) => { }); const NewModule: any = function NewModule() {}; - NewModule.annotations = [moduleMeta]; + + setAnnotations(NewModule,[moduleMeta]); return NewModule; }; diff --git a/app/angular/src/client/preview/angular/utils.ts b/app/angular/src/client/preview/angular/utils.ts index f88f4def78a2..114fd48a9219 100644 --- a/app/angular/src/client/preview/angular/utils.ts +++ b/app/angular/src/client/preview/angular/utils.ts @@ -57,3 +57,7 @@ export function setAnnotations(component, value) { export function setParameters(component, value) { setMeta(component, ['parameters'], value); } + +export function setPropMetadata(component, value) { + setMeta(component, ['__prop__metadata__', 'propMetadata'], value); +} \ No newline at end of file From e4ccd6d36f352b55b04338e2aa2ab83ae6c11f7e Mon Sep 17 00:00:00 2001 From: igor Date: Tue, 12 Dec 2017 13:30:10 +0200 Subject: [PATCH 12/83] Update yarn.lock --- yarn.lock | 30 ++++++++---------------------- 1 file changed, 8 insertions(+), 22 deletions(-) diff --git a/yarn.lock b/yarn.lock index 63b8b2ce26dc..ad2f894aea78 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3692,7 +3692,7 @@ debug@2.3.3: dependencies: ms "0.7.2" -debuglog@*, debuglog@^1.0.1: +debuglog@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/debuglog/-/debuglog-1.0.1.tgz#aa24ffb9ac3df9a2351837cfb2d279360cd78492" @@ -6346,7 +6346,7 @@ import-local@^0.1.1: pkg-dir "^2.0.0" resolve-cwd "^2.0.0" -imurmurhash@*, imurmurhash@^0.1.4: +imurmurhash@^0.1.4: version "0.1.4" resolved "https://registry.yarnpkg.com/imurmurhash/-/imurmurhash-0.1.4.tgz#9218b9b2b928a238b13dc4fb6b6d576f231453ea" @@ -8028,10 +8028,6 @@ lodash._basecopy@^3.0.0: version "3.0.1" resolved "https://registry.yarnpkg.com/lodash._basecopy/-/lodash._basecopy-3.0.1.tgz#8da0e6a876cf344c0ad8a54882111dd3c5c7ca36" -lodash._baseindexof@*: - version "3.1.0" - resolved "https://registry.yarnpkg.com/lodash._baseindexof/-/lodash._baseindexof-3.1.0.tgz#fe52b53a1c6761e42618d654e4a25789ed61822c" - lodash._baseisequal@^3.0.0: version "3.0.7" resolved "https://registry.yarnpkg.com/lodash._baseisequal/-/lodash._baseisequal-3.0.7.tgz#d8025f76339d29342767dcc887ce5cb95a5b51f1" @@ -8055,14 +8051,10 @@ lodash._basevalues@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/lodash._basevalues/-/lodash._basevalues-3.0.0.tgz#5b775762802bde3d3297503e26300820fdf661b7" -lodash._bindcallback@*, lodash._bindcallback@^3.0.0: +lodash._bindcallback@^3.0.0: version "3.0.1" resolved "https://registry.yarnpkg.com/lodash._bindcallback/-/lodash._bindcallback-3.0.1.tgz#e531c27644cf8b57a99e17ed95b35c748789392e" -lodash._cacheindexof@*: - version "3.0.2" - resolved "https://registry.yarnpkg.com/lodash._cacheindexof/-/lodash._cacheindexof-3.0.2.tgz#3dc69ac82498d2ee5e3ce56091bafd2adc7bde92" - lodash._createassigner@^3.0.0: version "3.1.1" resolved "https://registry.yarnpkg.com/lodash._createassigner/-/lodash._createassigner-3.1.1.tgz#838a5bae2fdaca63ac22dee8e19fa4e6d6970b11" @@ -8071,17 +8063,11 @@ lodash._createassigner@^3.0.0: lodash._isiterateecall "^3.0.0" lodash.restparam "^3.0.0" -lodash._createcache@*: - version "3.1.2" - resolved "https://registry.yarnpkg.com/lodash._createcache/-/lodash._createcache-3.1.2.tgz#56d6a064017625e79ebca6b8018e17440bdcf093" - dependencies: - lodash._getnative "^3.0.0" - lodash._createset@~4.0.0: version "4.0.3" resolved "https://registry.yarnpkg.com/lodash._createset/-/lodash._createset-4.0.3.tgz#0f4659fbb09d75194fa9e2b88a6644d363c9fe26" -lodash._getnative@*, lodash._getnative@^3.0.0: +lodash._getnative@^3.0.0: version "3.9.1" resolved "https://registry.yarnpkg.com/lodash._getnative/-/lodash._getnative-3.9.1.tgz#570bc7dede46d61cdcde687d65d3eecbaa3aaff5" @@ -8231,7 +8217,7 @@ lodash.pick@^4.4.0: version "4.4.0" resolved "https://registry.yarnpkg.com/lodash.pick/-/lodash.pick-4.4.0.tgz#52f05610fff9ded422611441ed1fc123a03001b3" -lodash.restparam@*, lodash.restparam@^3.0.0: +lodash.restparam@^3.0.0: version "3.6.1" resolved "https://registry.yarnpkg.com/lodash.restparam/-/lodash.restparam-3.6.1.tgz#936a4e309ef330a7645ed4145986c85ae5b20805" @@ -11103,7 +11089,7 @@ readable-stream@~1.1.10, readable-stream@~1.1.8, readable-stream@~1.1.9: isarray "0.0.1" string_decoder "~0.10.x" -readdir-scoped-modules@*, readdir-scoped-modules@^1.0.0: +readdir-scoped-modules@^1.0.0: version "1.0.2" resolved "https://registry.yarnpkg.com/readdir-scoped-modules/-/readdir-scoped-modules-1.0.2.tgz#9fafa37d286be5d92cbaebdee030dc9b5f406747" dependencies: @@ -13640,7 +13626,7 @@ v8flags@^3.0.0: dependencies: homedir-polyfill "^1.0.1" -validate-npm-package-license@*, validate-npm-package-license@^3.0.1: +validate-npm-package-license@^3.0.1: version "3.0.1" resolved "https://registry.yarnpkg.com/validate-npm-package-license/-/validate-npm-package-license-3.0.1.tgz#2804babe712ad3379459acfbe24746ab2c303fbc" dependencies: @@ -13741,7 +13727,7 @@ vm-browserify@0.0.4: dependencies: indexof "0.0.1" -"vm2@github:patriksimek/vm2#custom_files": +vm2@patriksimek/vm2#custom_files: version "3.5.0" resolved "https://codeload.github.com/patriksimek/vm2/tar.gz/7e82f90ac705fc44fad044147cb0df09b4c79a57" From 6e6d36df84930c5b06144a4ced2b9001f9014815 Mon Sep 17 00:00:00 2001 From: igor Date: Tue, 12 Dec 2017 15:54:25 +0200 Subject: [PATCH 13/83] Use deprecated OpaqueToken instead of InjectionToken to support angular v2 --- addons/knobs/src/angular/utils.js | 4 ++-- app/angular/src/client/preview/angular/app.token.ts | 7 +++++-- app/angular/src/client/preview/angular/utils.ts | 4 ++-- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/addons/knobs/src/angular/utils.js b/addons/knobs/src/angular/utils.js index 9526b8117683..b7ccf5c4f25f 100644 --- a/addons/knobs/src/angular/utils.js +++ b/addons/knobs/src/angular/utils.js @@ -19,7 +19,7 @@ function getMeta(component, [name1, name2], defaultValue) { } } - if (VERSION.major === '4') { + if (VERSION.major === '4' || VERSION.major === '2') { return window.Reflect.getMetadata(name2, component) || defaultValue; } @@ -36,7 +36,7 @@ function setMeta(component, [name1, name2], value) { component[name1] = value; } - if (VERSION.major === '4') { + if (VERSION.major === '4' || VERSION.major === '2') { window.Reflect.defineMetadata(name2, value, component); } } diff --git a/app/angular/src/client/preview/angular/app.token.ts b/app/angular/src/client/preview/angular/app.token.ts index 278844d0a449..33d8201d43f2 100644 --- a/app/angular/src/client/preview/angular/app.token.ts +++ b/app/angular/src/client/preview/angular/app.token.ts @@ -1,6 +1,9 @@ -import { InjectionToken } from "@angular/core"; +// import { InjectionToken } from "@angular/core"; +// export const STORY = new InjectionToken("story"); + +import { OpaqueToken } from "@angular/core"; +export const STORY = new OpaqueToken("story"); -export const STORY = new InjectionToken("story"); export type Data = { component: any; diff --git a/app/angular/src/client/preview/angular/utils.ts b/app/angular/src/client/preview/angular/utils.ts index 114fd48a9219..282a83c2cb7a 100644 --- a/app/angular/src/client/preview/angular/utils.ts +++ b/app/angular/src/client/preview/angular/utils.ts @@ -16,7 +16,7 @@ function getMeta(component, [name1, name2]: any, defaultValue) { } } - if (VERSION.major === '4') { + if (VERSION.major === '4' || VERSION.major === '2') { return window['Reflect'].getMetadata(name2, component) || defaultValue; } @@ -33,7 +33,7 @@ function setMeta(component, [name1, name2]: any, value) { component[name1] = value; } - if (VERSION.major === '4') { + if (VERSION.major === '4' || VERSION.major === '2') { window['Reflect'].defineMetadata(name2, value, component); } } From a55741d4e1e7de20553a826172fa946d518e396e Mon Sep 17 00:00:00 2001 From: igor Date: Wed, 13 Dec 2017 12:14:39 +0200 Subject: [PATCH 14/83] Revert changes back to the strong angular 5 version. --- addons/knobs/package.json | 2 +- addons/knobs/src/angular/helpers.js | 33 ++++++-------- addons/knobs/src/angular/utils.js | 41 +++-------------- app/angular/package.json | 12 +++-- .../src/client/preview/angular/app.token.ts | 8 +--- .../src/client/preview/angular/helpers.ts | 43 +++++++----------- .../src/client/preview/angular/utils.ts | 45 +++---------------- .../src/server/config/webpack.config.js | 12 +++++ yarn.lock | 30 +++++++++++++ 9 files changed, 89 insertions(+), 137 deletions(-) diff --git a/addons/knobs/package.json b/addons/knobs/package.json index 04de1fb645e1..f18f7cd12d77 100644 --- a/addons/knobs/package.json +++ b/addons/knobs/package.json @@ -14,6 +14,7 @@ "storybook": "start-storybook -p 9010" }, "dependencies": { + "@angular/core": "^5.0.0-beta.7", "babel-runtime": "^6.26.0", "deep-equal": "^1.0.1", "global": "^4.3.2", @@ -33,7 +34,6 @@ }, "peerDependencies": { "@storybook/addons": "^3.3.0-alpha.4", - "@angular/core": "*", "react": "*", "react-dom": "*" } diff --git a/addons/knobs/src/angular/helpers.js b/addons/knobs/src/angular/helpers.js index 170abe74ce63..e1aaafe06088 100644 --- a/addons/knobs/src/angular/helpers.js +++ b/addons/knobs/src/angular/helpers.js @@ -1,14 +1,7 @@ /* eslint no-underscore-dangle: 0 */ import { Component, SimpleChange, ChangeDetectorRef } from '@angular/core'; - -import { - getParameters, - getAnnotations, - getPropMetadata, - setAnnotations, - setParameters, -} from './utils'; +import { getParameters, getAnnotations, getPropMetadata } from './utils'; const getComponentMetadata = ({ component, props = {} }) => { if (!component || typeof component !== 'function') throw new Error('No valid component provided'); @@ -27,19 +20,19 @@ const getComponentMetadata = ({ component, props = {} }) => { }; const getAnnotatedComponent = ({ componentMeta, component, params, knobStore, channel }) => { - const NewComponent = function NewComponent(cd, ...args) { + const KnobWrapperComponent = function KnobWrapperComponent(cd, ...args) { component.call(this, ...args); this.cd = cd; this.knobChanged = this.knobChanged.bind(this); this.setPaneKnobs = this.setPaneKnobs.bind(this); }; - NewComponent.prototype = Object.create(component.prototype); - setAnnotations(NewComponent, [new Component(componentMeta)]); - setParameters(NewComponent, [[ChangeDetectorRef], ...params]); + KnobWrapperComponent.prototype = Object.create(component.prototype); + KnobWrapperComponent.__annotations__ = [new Component(componentMeta)]; + KnobWrapperComponent.__parameters__ = [[ChangeDetectorRef], ...params]; - NewComponent.prototype.constructor = NewComponent; - NewComponent.prototype.ngOnInit = function onInit() { + KnobWrapperComponent.prototype.constructor = KnobWrapperComponent; + KnobWrapperComponent.prototype.ngOnInit = function onInit() { if (component.prototype.ngOnInit) { component.prototype.ngOnInit(); } @@ -50,7 +43,7 @@ const getAnnotatedComponent = ({ componentMeta, component, params, knobStore, ch this.setPaneKnobs(); }; - NewComponent.prototype.ngOnDestroy = function onDestroy() { + KnobWrapperComponent.prototype.ngOnDestroy = function onDestroy() { if (component.prototype.ngOnDestroy) { component.prototype.ngOnDestroy(); } @@ -60,20 +53,20 @@ const getAnnotatedComponent = ({ componentMeta, component, params, knobStore, ch knobStore.unsubscribe(this.setPaneKnobs); }; - NewComponent.prototype.ngOnChanges = function onChanges(changes) { + KnobWrapperComponent.prototype.ngOnChanges = function onChanges(changes) { if (component.prototype.ngOnChanges) { component.prototype.ngOnChanges(changes); } }; - NewComponent.prototype.setPaneKnobs = function setPaneKnobs(timestamp = +new Date()) { + KnobWrapperComponent.prototype.setPaneKnobs = function setPaneKnobs(timestamp = +new Date()) { channel.emit('addon:knobs:setKnobs', { knobs: knobStore.getAll(), timestamp, }); }; - NewComponent.prototype.knobChanged = function knobChanged(change) { + KnobWrapperComponent.prototype.knobChanged = function knobChanged(change) { const { name, value } = change; const knobOptions = knobStore.get(name); const oldValue = knobOptions.value; @@ -87,12 +80,12 @@ const getAnnotatedComponent = ({ componentMeta, component, params, knobStore, ch }); }; - NewComponent.prototype.knobClicked = function knobClicked(clicked) { + KnobWrapperComponent.prototype.knobClicked = function knobClicked(clicked) { const knobOptions = knobStore.get(clicked.name); knobOptions.callback(); }; - return NewComponent; + return KnobWrapperComponent; }; const resetKnobs = (knobStore, channel) => { diff --git a/addons/knobs/src/angular/utils.js b/addons/knobs/src/angular/utils.js index b7ccf5c4f25f..03a810a8d7e8 100644 --- a/addons/knobs/src/angular/utils.js +++ b/addons/knobs/src/angular/utils.js @@ -1,44 +1,21 @@ /* eslint-disable no-param-reassign */ /* globals window */ -import { VERSION } from '@angular/core'; - function getMeta(component, [name1, name2], defaultValue) { if (!name2) { name2 = name1; name1 = `__${name1}__`; } - if (VERSION.major === '5') { - if (component[name1]) { - return component[name1]; - } - - if (component[name2]) { - return component[name2]; - } - } - - if (VERSION.major === '4' || VERSION.major === '2') { - return window.Reflect.getMetadata(name2, component) || defaultValue; - } - - return defaultValue; -} - -function setMeta(component, [name1, name2], value) { - if (!name2) { - name2 = name1; - name1 = `__${name1}__`; + if (component[name1]) { + return component[name1]; } - if (VERSION.major === '5') { - component[name1] = value; + if (component[name2]) { + return component[name2]; } - if (VERSION.major === '4' || VERSION.major === '2') { - window.Reflect.defineMetadata(name2, value, component); - } + return window.Reflect.getMetadata(name2, component) || defaultValue; } export function getAnnotations(component) { @@ -52,11 +29,3 @@ export function getPropMetadata(component) { export function getParameters(component) { return getMeta(component, ['parameters'], []); } - -export function setAnnotations(component, value) { - setMeta(component, ['annotations'], value); -} - -export function setParameters(component, value) { - setMeta(component, ['parameters'], value); -} diff --git a/app/angular/package.json b/app/angular/package.json index aa605f0a5c32..3b6e84ea2776 100644 --- a/app/angular/package.json +++ b/app/angular/package.json @@ -22,6 +22,11 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { + "@angular/common": "^5.0.0-beta.7", + "@angular/compiler": "^5.0.0-beta.7", + "@angular/core": "^5.0.0-beta.7", + "@angular/platform-browser": "^5.0.0-beta.7", + "@angular/platform-browser-dynamic": "^5.0.0-beta.7", "@storybook/addon-actions": "^3.3.0-alpha.4", "@storybook/addon-links": "^3.3.0-alpha.4", "@storybook/addons": "^3.3.0-alpha.4", @@ -86,12 +91,5 @@ "mock-fs": "^4.3.0", "nodemon": "^1.12.0", "typescript": "^2.4.0" - }, - "peerDependencies": { - "@angular/common": "*", - "@angular/compiler": "*", - "@angular/core": "*", - "@angular/platform-browser": "*", - "@angular/platform-browser-dynamic": "*" } } diff --git a/app/angular/src/client/preview/angular/app.token.ts b/app/angular/src/client/preview/angular/app.token.ts index 33d8201d43f2..dbb5cfb20375 100644 --- a/app/angular/src/client/preview/angular/app.token.ts +++ b/app/angular/src/client/preview/angular/app.token.ts @@ -1,9 +1,5 @@ -// import { InjectionToken } from "@angular/core"; -// export const STORY = new InjectionToken("story"); - -import { OpaqueToken } from "@angular/core"; -export const STORY = new OpaqueToken("story"); - +import { InjectionToken } from "@angular/core"; +export const STORY = new InjectionToken("story"); export type Data = { component: any; diff --git a/app/angular/src/client/preview/angular/helpers.ts b/app/angular/src/client/preview/angular/helpers.ts index dd75287a7b10..8d3c6dfe724f 100644 --- a/app/angular/src/client/preview/angular/helpers.ts +++ b/app/angular/src/client/preview/angular/helpers.ts @@ -2,8 +2,6 @@ import { enableProdMode, NgModule, Component, - NgModuleRef, - ApplicationRef, CUSTOM_ELEMENTS_SCHEMA } from "@angular/core"; @@ -13,15 +11,7 @@ import { AppComponent } from "./components/app.component"; import { ErrorComponent } from "./components/error.component"; import { NoPreviewComponent } from "./components/no-preview.component"; import { STORY } from "./app.token"; - -import { - getAnnotations, - getParameters, - getPropMetadata, - setAnnotations, - setParameters, - setPropMetadata, -} from './utils'; +import { getAnnotations, getParameters, getPropMetadata } from './utils'; let platform = null; let promises = []; @@ -30,18 +20,18 @@ let promises = []; // We don't want to pull underscore const debounce = (func, wait = 100, immediate = false) => { - var timeout; - return function () { - var context = this, args = arguments; - var later = function () { - timeout = null; - if (!immediate) func.apply(context, args); - }; - var callNow = immediate && !timeout; - clearTimeout(timeout); - timeout = setTimeout(later, wait); - if (callNow) func.apply(context, args); + var timeout; + return function () { + var context = this, args = arguments; + var later = function () { + timeout = null; + if (!immediate) func.apply(context, args); }; + var callNow = immediate && !timeout; + clearTimeout(timeout); + timeout = setTimeout(later, wait); + if (callNow) func.apply(context, args); + }; }; const getComponentMetadata = ({ component, props = {}, propsMeta = {} }) => { @@ -71,10 +61,9 @@ const getAnnotatedComponent = (meta, component, propsMeta, params) => { }; NewComponent.prototype = Object.create(component.prototype); - - setAnnotations(NewComponent,[new Component(meta)]); - setParameters(NewComponent, params); - setPropMetadata(NewComponent, propsMeta); + NewComponent.annotations = [new Component(meta)]; + NewComponent.parameters = params; + NewComponent.propsMetadata = propsMeta; return NewComponent; }; @@ -91,7 +80,7 @@ const getModule = (declarations, entryComponents, bootstrap, data) => { const NewModule: any = function NewModule() {}; - setAnnotations(NewModule,[moduleMeta]); + NewModule.annotations = [moduleMeta]; return NewModule; }; diff --git a/app/angular/src/client/preview/angular/utils.ts b/app/angular/src/client/preview/angular/utils.ts index 282a83c2cb7a..843aa5ac4df4 100644 --- a/app/angular/src/client/preview/angular/utils.ts +++ b/app/angular/src/client/preview/angular/utils.ts @@ -1,41 +1,18 @@ -import { VERSION } from '@angular/core'; - function getMeta(component, [name1, name2]: any, defaultValue) { if (!name2) { name2 = name1; name1 = `__${name1}__`; } - if (VERSION.major === '5') { - if (component[name1]) { - return component[name1]; - } - - if (component[name2]) { - return component[name2]; - } - } - - if (VERSION.major === '4' || VERSION.major === '2') { - return window['Reflect'].getMetadata(name2, component) || defaultValue; - } - - return defaultValue; -} - -function setMeta(component, [name1, name2]: any, value) { - if (!name2) { - name2 = name1; - name1 = `__${name1}__`; + if (component[name1]) { + return component[name1]; } - if (VERSION.major === '5') { - component[name1] = value; + if (component[name2]) { + return component[name2]; } - if (VERSION.major === '4' || VERSION.major === '2') { - window['Reflect'].defineMetadata(name2, value, component); - } + return window['Reflect'].getMetadata(name2, component) || defaultValue; } export function getAnnotations(component) { @@ -48,16 +25,4 @@ export function getPropMetadata(component) { export function getParameters(component) { return getMeta(component, ['parameters'], []); -} - -export function setAnnotations(component, value) { - setMeta(component, ['annotations'], value); -} - -export function setParameters(component, value) { - setMeta(component, ['parameters'], value); -} - -export function setPropMetadata(component, value) { - setMeta(component, ['__prop__metadata__', 'propMetadata'], value); } \ No newline at end of file diff --git a/app/angular/src/server/config/webpack.config.js b/app/angular/src/server/config/webpack.config.js index 92d05118f876..eef36713ab1f 100644 --- a/app/angular/src/server/config/webpack.config.js +++ b/app/angular/src/server/config/webpack.config.js @@ -1,3 +1,4 @@ +/* eslint-disable no-param-reassign */ import path from 'path'; import webpack from 'webpack'; import CaseSensitivePathsPlugin from 'case-sensitive-paths-webpack-plugin'; @@ -28,6 +29,7 @@ export default function() { ], }, output: { + pathinfo: true, path: path.join(__dirname, 'dist'), filename: 'static/[name].bundle.js', publicPath: '/', @@ -55,6 +57,16 @@ export default function() { new CaseSensitivePathsPlugin(), new WatchMissingNodeModulesPlugin(nodeModulesPaths), new webpack.ProgressPlugin(), + // temp plugin to make webpack bundle only one v5 version. + new webpack.NormalModuleReplacementPlugin( + /addons(\\|\/)knobs(\\|\/)node_modules(\\|\/)@angular/, + resource => { + resource.request = resource.request.replace( + /addons(\\|\/)knobs(\\|\/)node_modules(\\|\/)@angular/, + 'app\\angular\\node_modules\\@angular' + ); + } + ), new webpack.ContextReplacementPlugin( /angular(\\|\/)core(\\|\/)@angular/, path.resolve(__dirname, '../src') diff --git a/yarn.lock b/yarn.lock index ad2f894aea78..e90a269595ac 100644 --- a/yarn.lock +++ b/yarn.lock @@ -91,6 +91,12 @@ dependencies: tslib "^1.7.1" +"@angular/common@^5.0.0-beta.7": + version "5.1.0" + resolved "https://registry.yarnpkg.com/@angular/common/-/common-5.1.0.tgz#88b586e0aff6a93b8de08cce1e14c0e65fde5a56" + dependencies: + tslib "^1.7.1" + "@angular/compiler-cli@4.3.5": version "4.3.5" resolved "https://registry.yarnpkg.com/@angular/compiler-cli/-/compiler-cli-4.3.5.tgz#24e99b36c0909363ff8247bf331a8b89eaedfe63" @@ -105,12 +111,24 @@ dependencies: tslib "^1.7.1" +"@angular/compiler@^5.0.0-beta.7": + version "5.1.0" + resolved "https://registry.yarnpkg.com/@angular/compiler/-/compiler-5.1.0.tgz#23fe2914061487fcc909616b4dc5c24c5a8d47a1" + dependencies: + tslib "^1.7.1" + "@angular/core@4.3.5": version "4.3.5" resolved "https://registry.yarnpkg.com/@angular/core/-/core-4.3.5.tgz#bd1efdbf1ebcfb9c27a238e2aa4c48159b0895bb" dependencies: tslib "^1.7.1" +"@angular/core@^5.0.0-beta.7": + version "5.1.0" + resolved "https://registry.yarnpkg.com/@angular/core/-/core-5.1.0.tgz#6f7596ad780418cecac527ae0508cfc1a36383a0" + dependencies: + tslib "^1.7.1" + "@angular/forms@4.3.5": version "4.3.5" resolved "https://registry.yarnpkg.com/@angular/forms/-/forms-4.3.5.tgz#519aad0ad82a1b87019937fa93fc147734737787" @@ -133,12 +151,24 @@ dependencies: tslib "^1.7.1" +"@angular/platform-browser-dynamic@^5.0.0-beta.7": + version "5.1.0" + resolved "https://registry.yarnpkg.com/@angular/platform-browser-dynamic/-/platform-browser-dynamic-5.1.0.tgz#60566728dd949c442e064bf8247aa51672411f2b" + dependencies: + tslib "^1.7.1" + "@angular/platform-browser@4.3.5": version "4.3.5" resolved "https://registry.yarnpkg.com/@angular/platform-browser/-/platform-browser-4.3.5.tgz#c0d03409499cc29f81677aab623c9086760d84ef" dependencies: tslib "^1.7.1" +"@angular/platform-browser@^5.0.0-beta.7": + version "5.1.0" + resolved "https://registry.yarnpkg.com/@angular/platform-browser/-/platform-browser-5.1.0.tgz#b5373232403d73c355b971cfae8b03191c4f58a2" + dependencies: + tslib "^1.7.1" + "@angular/router@4.3.5": version "4.3.5" resolved "https://registry.yarnpkg.com/@angular/router/-/router-4.3.5.tgz#188082747bc9b6974f9d4b3f5557b434645d23cd" From fef3b9883089409971a028dc59db1f9b5e8b5dae Mon Sep 17 00:00:00 2001 From: igor Date: Wed, 13 Dec 2017 13:14:33 +0200 Subject: [PATCH 15/83] Revert back to v5 --- .../src/client/preview/angular/app.token.ts | 1 + examples/angular-cli/package.json | 22 ++--- yarn.lock | 83 ++++++------------- 3 files changed, 36 insertions(+), 70 deletions(-) diff --git a/app/angular/src/client/preview/angular/app.token.ts b/app/angular/src/client/preview/angular/app.token.ts index dbb5cfb20375..278844d0a449 100644 --- a/app/angular/src/client/preview/angular/app.token.ts +++ b/app/angular/src/client/preview/angular/app.token.ts @@ -1,4 +1,5 @@ import { InjectionToken } from "@angular/core"; + export const STORY = new InjectionToken("story"); export type Data = { diff --git a/examples/angular-cli/package.json b/examples/angular-cli/package.json index aafa17989124..55f4fe8addfc 100644 --- a/examples/angular-cli/package.json +++ b/examples/angular-cli/package.json @@ -14,23 +14,23 @@ }, "private": true, "dependencies": { - "@angular/animations": "4.3.5", - "@angular/common": "4.3.5", - "@angular/compiler": "4.3.5", - "@angular/core": "4.3.5", - "@angular/forms": "4.3.5", - "@angular/http": "4.3.5", - "@angular/platform-browser": "4.3.5", - "@angular/platform-browser-dynamic": "4.3.5", - "@angular/router": "4.3.5", + "@angular/animations": "^5.0.0-beta.7", + "@angular/common": "^5.0.0-beta.7", + "@angular/compiler": "^5.0.0-beta.7", + "@angular/core": "^5.0.0-beta.7", + "@angular/forms": "^5.0.0-beta.7", + "@angular/http": "^5.0.0-beta.7", + "@angular/platform-browser": "^5.0.0-beta.7", + "@angular/platform-browser-dynamic": "^5.0.0-beta.7", + "@angular/router": "^5.0.0-beta.7", "core-js": "^2.4.1", "rxjs": "^5.4.2", "zone.js": "^0.8.14" }, "devDependencies": { "@angular/cli": "1.3.0", - "@angular/compiler-cli": "4.3.5", - "@angular/language-service": "4.3.5", + "@angular/compiler-cli": "^5.0.0-beta.7", + "@angular/language-service": "^5.0.0-beta.7", "@storybook/addon-actions": "^3.3.0-alpha.4", "@storybook/addon-links": "^3.3.0-alpha.4", "@storybook/addon-notes": "^3.3.0-alpha.4", diff --git a/yarn.lock b/yarn.lock index e90a269595ac..a96b6b36362b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -10,9 +10,9 @@ source-map "^0.5.6" typescript "^2.3.3" -"@angular/animations@4.3.5": - version "4.3.5" - resolved "https://registry.yarnpkg.com/@angular/animations/-/animations-4.3.5.tgz#85aa454c887cc7cce11637ea5f6e9afad88490e1" +"@angular/animations@^5.0.0-beta.7": + version "5.1.0" + resolved "https://registry.yarnpkg.com/@angular/animations/-/animations-5.1.0.tgz#439135ed56355ec779791bf3ea7de1c711cd2185" dependencies: tslib "^1.7.1" @@ -85,31 +85,20 @@ optionalDependencies: node-sass "^4.3.0" -"@angular/common@4.3.5": - version "4.3.5" - resolved "https://registry.yarnpkg.com/@angular/common/-/common-4.3.5.tgz#5f6b11347eae1dfc34623ccfd4c06c8f4c488e2d" - dependencies: - tslib "^1.7.1" - "@angular/common@^5.0.0-beta.7": version "5.1.0" resolved "https://registry.yarnpkg.com/@angular/common/-/common-5.1.0.tgz#88b586e0aff6a93b8de08cce1e14c0e65fde5a56" dependencies: tslib "^1.7.1" -"@angular/compiler-cli@4.3.5": - version "4.3.5" - resolved "https://registry.yarnpkg.com/@angular/compiler-cli/-/compiler-cli-4.3.5.tgz#24e99b36c0909363ff8247bf331a8b89eaedfe63" +"@angular/compiler-cli@^5.0.0-beta.7": + version "5.1.0" + resolved "https://registry.yarnpkg.com/@angular/compiler-cli/-/compiler-cli-5.1.0.tgz#9512abf2515c7d3b7e9ee45650801ee78d63223e" dependencies: - "@angular/tsc-wrapped" "4.3.5" + chokidar "^1.4.2" minimist "^1.2.0" reflect-metadata "^0.1.2" - -"@angular/compiler@4.3.5": - version "4.3.5" - resolved "https://registry.yarnpkg.com/@angular/compiler/-/compiler-4.3.5.tgz#50d3c986657beff1fef4f6dd9a3fa58e24abd548" - dependencies: - tslib "^1.7.1" + tsickle "^0.25.5" "@angular/compiler@^5.0.0-beta.7": version "5.1.0" @@ -117,39 +106,27 @@ dependencies: tslib "^1.7.1" -"@angular/core@4.3.5": - version "4.3.5" - resolved "https://registry.yarnpkg.com/@angular/core/-/core-4.3.5.tgz#bd1efdbf1ebcfb9c27a238e2aa4c48159b0895bb" - dependencies: - tslib "^1.7.1" - "@angular/core@^5.0.0-beta.7": version "5.1.0" resolved "https://registry.yarnpkg.com/@angular/core/-/core-5.1.0.tgz#6f7596ad780418cecac527ae0508cfc1a36383a0" dependencies: tslib "^1.7.1" -"@angular/forms@4.3.5": - version "4.3.5" - resolved "https://registry.yarnpkg.com/@angular/forms/-/forms-4.3.5.tgz#519aad0ad82a1b87019937fa93fc147734737787" +"@angular/forms@^5.0.0-beta.7": + version "5.1.0" + resolved "https://registry.yarnpkg.com/@angular/forms/-/forms-5.1.0.tgz#8699c7117a348607d4c7a1deee9caa5ca460c2cb" dependencies: tslib "^1.7.1" -"@angular/http@4.3.5": - version "4.3.5" - resolved "https://registry.yarnpkg.com/@angular/http/-/http-4.3.5.tgz#81d4b0761c8ef035cb0b736300c237f36286f1f0" +"@angular/http@^5.0.0-beta.7": + version "5.1.0" + resolved "https://registry.yarnpkg.com/@angular/http/-/http-5.1.0.tgz#59d47c1878896f25e64b9abc700017cff7836710" dependencies: tslib "^1.7.1" -"@angular/language-service@4.3.5": - version "4.3.5" - resolved "https://registry.yarnpkg.com/@angular/language-service/-/language-service-4.3.5.tgz#b6d882ea40d18d513fc3a035a79875029fe38f01" - -"@angular/platform-browser-dynamic@4.3.5": - version "4.3.5" - resolved "https://registry.yarnpkg.com/@angular/platform-browser-dynamic/-/platform-browser-dynamic-4.3.5.tgz#4a697b3b0aec805b33884fd4a9b3473065bab1e0" - dependencies: - tslib "^1.7.1" +"@angular/language-service@^5.0.0-beta.7": + version "5.1.0" + resolved "https://registry.yarnpkg.com/@angular/language-service/-/language-service-5.1.0.tgz#0cdd1a9d6056f1567bfe3c016352bc2e9d20cb84" "@angular/platform-browser-dynamic@^5.0.0-beta.7": version "5.1.0" @@ -157,30 +134,18 @@ dependencies: tslib "^1.7.1" -"@angular/platform-browser@4.3.5": - version "4.3.5" - resolved "https://registry.yarnpkg.com/@angular/platform-browser/-/platform-browser-4.3.5.tgz#c0d03409499cc29f81677aab623c9086760d84ef" - dependencies: - tslib "^1.7.1" - "@angular/platform-browser@^5.0.0-beta.7": version "5.1.0" resolved "https://registry.yarnpkg.com/@angular/platform-browser/-/platform-browser-5.1.0.tgz#b5373232403d73c355b971cfae8b03191c4f58a2" dependencies: tslib "^1.7.1" -"@angular/router@4.3.5": - version "4.3.5" - resolved "https://registry.yarnpkg.com/@angular/router/-/router-4.3.5.tgz#188082747bc9b6974f9d4b3f5557b434645d23cd" +"@angular/router@^5.0.0-beta.7": + version "5.1.0" + resolved "https://registry.yarnpkg.com/@angular/router/-/router-5.1.0.tgz#4e7283e34cd3d244899b289d835b830640c7bad9" dependencies: tslib "^1.7.1" -"@angular/tsc-wrapped@4.3.5": - version "4.3.5" - resolved "https://registry.yarnpkg.com/@angular/tsc-wrapped/-/tsc-wrapped-4.3.5.tgz#95fdaa813cfc57262fc7ef5fea726d628aefabac" - dependencies: - tsickle "^0.21.0" - "@babel/code-frame@7.0.0-beta.31": version "7.0.0-beta.31" resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.0.0-beta.31.tgz#473d021ecc573a2cce1c07d5b509d5215f46ba35" @@ -2671,7 +2636,7 @@ child-process-promise@^2.2.1: node-version "^1.0.0" promise-polyfill "^6.0.1" -chokidar@^1.4.1, chokidar@^1.5.1, chokidar@^1.6.0, chokidar@^1.6.1, chokidar@^1.7.0: +chokidar@^1.4.1, chokidar@^1.4.2, chokidar@^1.5.1, chokidar@^1.6.0, chokidar@^1.6.1, chokidar@^1.7.0: version "1.7.0" resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-1.7.0.tgz#798e689778151c8076b4b360e5edd28cda2bb468" dependencies: @@ -13176,9 +13141,9 @@ tsconfig@^6.0.0: strip-bom "^3.0.0" strip-json-comments "^2.0.0" -tsickle@^0.21.0: - version "0.21.6" - resolved "https://registry.yarnpkg.com/tsickle/-/tsickle-0.21.6.tgz#53b01b979c5c13fdb13afb3fb958177e5991588d" +tsickle@^0.25.5: + version "0.25.5" + resolved "https://registry.yarnpkg.com/tsickle/-/tsickle-0.25.5.tgz#2891d29f97c4aab1306e06378d8496d1765a4bfe" dependencies: minimist "^1.2.0" mkdirp "^0.5.1" From 2852af82e3ead399f2419d55fa962ffee953a413 Mon Sep 17 00:00:00 2001 From: "Voss, Jennifer (ELS-PHI)" Date: Wed, 13 Dec 2017 14:18:27 -0500 Subject: [PATCH 16/83] Allow fn or object prop for styles for backward compatibility --- addons/info/src/components/Story.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/info/src/components/Story.js b/addons/info/src/components/Story.js index c31fda980ef6..317c62daf23c 100644 --- a/addons/info/src/components/Story.js +++ b/addons/info/src/components/Story.js @@ -383,7 +383,7 @@ Story.propTypes = { showInline: PropTypes.bool, showHeader: PropTypes.bool, showSource: PropTypes.bool, - styles: PropTypes.object, // eslint-disable-line react/forbid-prop-types + styles: PropTypes.oneOfType([PropTypes.func, PropTypes.object]), children: PropTypes.oneOfType([PropTypes.object, PropTypes.array]), marksyConf: PropTypes.object, // eslint-disable-line react/forbid-prop-types maxPropsIntoLine: PropTypes.number.isRequired, From 154e51054004b40fa6fdd17d2d4cceed69eebfb7 Mon Sep 17 00:00:00 2001 From: igor Date: Thu, 14 Dec 2017 08:14:47 +0200 Subject: [PATCH 17/83] Fix `Critical dependency: the request of a dependency is an expression` warning with angular 5. --- app/angular/src/server/config/webpack.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/angular/src/server/config/webpack.config.js b/app/angular/src/server/config/webpack.config.js index eef36713ab1f..c256bc0a739b 100644 --- a/app/angular/src/server/config/webpack.config.js +++ b/app/angular/src/server/config/webpack.config.js @@ -68,7 +68,7 @@ export default function() { } ), new webpack.ContextReplacementPlugin( - /angular(\\|\/)core(\\|\/)@angular/, + /angular(\\|\/)core(\\|\/)(@angular|esm5)/, path.resolve(__dirname, '../src') ), ], From baaa14b1ac4caf231989f40fc5c40bd73d2b79db Mon Sep 17 00:00:00 2001 From: igor Date: Thu, 14 Dec 2017 11:05:35 +0200 Subject: [PATCH 18/83] Add node to test (for windows) --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index ec260b6c66d0..251430d111cb 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,7 @@ "lint:js": "eslint --cache --cache-location=.cache/eslint --ext .js,.jsx,.json", "lint:md": "remark", "publish": "lerna publish", - "test": "./scripts/test.js", + "test": "node ./scripts/test.js", "test-latest-cra": "npm --prefix lib/cli run test-latest-cra", "repo-dirty-check": "node ./scripts/repo-dirty-check" }, From e143f19a0a14ba2f4e785aa0486c0024f945e89c Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Fri, 15 Dec 2017 00:10:35 +0100 Subject: [PATCH 19/83] CHANGE eslint to not fix (remove) debugger statements during development, but enforce removing them when validating --- .eslintrc.js | 1 + package.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.eslintrc.js b/.eslintrc.js index d05fded1d6a9..bd9f16f747f8 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -30,6 +30,7 @@ module.exports = { singleQuote: true, }, ], + 'no-debugger': process.env.NODE_ENV === 'production' ? error : ignore, quotes: [warn, 'single', { avoidEscape: true }], 'class-methods-use-this': ignore, 'arrow-parens': [warn, 'as-needed'], diff --git a/package.json b/package.json index 06bcede0325b..0d02c681b9b2 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ "docs:dev": "npm --prefix docs run dev", "github-release": "github-release-from-changelog", "lint": "yarn lint:js . && yarn lint:md .", - "lint:js": "eslint --cache --cache-location=.cache/eslint --ext .js,.jsx,.json", + "lint:js": "NODE_ENV=production eslint --cache --cache-location=.cache/eslint --ext .js,.jsx,.json", "lint:md": "remark", "publish": "lerna publish", "test": "node ./scripts/test.js", From fac95b5256d36a2c338723c47149f4a4156962fe Mon Sep 17 00:00:00 2001 From: "Dependencies.io Bot" Date: Fri, 15 Dec 2017 16:23:03 +0000 Subject: [PATCH 20/83] Update gatsby-remark-copy-linked-files from 1.5.23 to 1.5.24 --- docs/package.json | 2 +- docs/yarn.lock | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/package.json b/docs/package.json index 1c4dcfbc62f6..6ff9ac7d6af9 100644 --- a/docs/package.json +++ b/docs/package.json @@ -34,7 +34,7 @@ "gatsby-link": "^1.6.32", "gatsby-plugin-sharp": "^1.6.24", "gatsby-remark-autolink-headers": "^1.4.10", - "gatsby-remark-copy-linked-files": "^1.5.23", + "gatsby-remark-copy-linked-files": "^1.5.24", "gatsby-remark-images": "^1.5.36", "gatsby-remark-smartypants": "^1.4.10", "gatsby-source-filesystem": "^1.5.11", diff --git a/docs/yarn.lock b/docs/yarn.lock index 26f3bbbef22a..b4a26e19657f 100644 --- a/docs/yarn.lock +++ b/docs/yarn.lock @@ -4263,9 +4263,9 @@ gatsby-remark-autolink-headers@^1.4.10: mdast-util-to-string "^1.0.2" unist-util-visit "^1.1.1" -gatsby-remark-copy-linked-files@^1.5.23: - version "1.5.23" - resolved "https://registry.yarnpkg.com/gatsby-remark-copy-linked-files/-/gatsby-remark-copy-linked-files-1.5.23.tgz#fdd200c1f156e8788efde79d9389ac3694b5c066" +gatsby-remark-copy-linked-files@^1.5.24: + version "1.5.24" + resolved "https://registry.yarnpkg.com/gatsby-remark-copy-linked-files/-/gatsby-remark-copy-linked-files-1.5.24.tgz#5bc02ef35978cc273620042a8351aa13cb97bc47" dependencies: babel-runtime "^6.26.0" cheerio "^1.0.0-rc.2" From 2bd4d143352b66ebf5ed5190618acdaff80b13ad Mon Sep 17 00:00:00 2001 From: "Dependencies.io Bot" Date: Fri, 15 Dec 2017 16:24:38 +0000 Subject: [PATCH 21/83] Update eslint-plugin-jest from 21.4.3 to 21.5.0 in / --- package.json | 2 +- yarn.lock | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 0d02c681b9b2..6827794dc03d 100644 --- a/package.json +++ b/package.json @@ -58,7 +58,7 @@ "eslint-config-airbnb": "^16.1.0", "eslint-config-prettier": "^2.9.0", "eslint-plugin-import": "^2.8.0", - "eslint-plugin-jest": "^21.4.3", + "eslint-plugin-jest": "^21.5.0", "eslint-plugin-json": "^1.2.0", "eslint-plugin-jsx-a11y": "^6.0.3", "eslint-plugin-prettier": "^2.2.0", diff --git a/yarn.lock b/yarn.lock index cecfc04a1c61..501d4c392562 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3904,9 +3904,9 @@ eslint-plugin-import@2.8.0, eslint-plugin-import@^2.8.0: minimatch "^3.0.3" read-pkg-up "^2.0.0" -eslint-plugin-jest@^21.4.3: - version "21.4.3" - resolved "https://registry.yarnpkg.com/eslint-plugin-jest/-/eslint-plugin-jest-21.4.3.tgz#34a5ded103cf2482b2e1c28d0c0bb7dbe1b3fc38" +eslint-plugin-jest@^21.5.0: + version "21.5.0" + resolved "https://registry.yarnpkg.com/eslint-plugin-jest/-/eslint-plugin-jest-21.5.0.tgz#c7a3bd2ee9d1c832b4e31dec89f6ad93e08d4853" eslint-plugin-json@^1.2.0: version "1.2.0" From 1d3a3ab4c3d55907d7284e3aa1c3bb34f1d32866 Mon Sep 17 00:00:00 2001 From: "Dependencies.io Bot" Date: Fri, 15 Dec 2017 16:26:30 +0000 Subject: [PATCH 22/83] Update nodemon from 1.12.7 to 1.13.2 in / --- package.json | 2 +- yarn.lock | 21 +++++++++++++++++++++ 2 files changed, 22 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 6827794dc03d..93b7295d1555 100644 --- a/package.json +++ b/package.json @@ -75,7 +75,7 @@ "lerna": "^2.5.1", "lint-staged": "^6.0.0", "lodash": "^4.17.4", - "nodemon": "^1.12.7", + "nodemon": "^1.13.2", "npmlog": "^4.1.2", "prettier": "^1.9.2", "puppeteer": "^0.13.0", diff --git a/yarn.lock b/yarn.lock index 501d4c392562..2b7d211794b0 100644 --- a/yarn.lock +++ b/yarn.lock @@ -74,6 +74,12 @@ git-url-parse "^6.0.2" shelljs "^0.7.0" +"@remy/pstree@^1.0.1": + version "1.0.1" + resolved "https://registry.yarnpkg.com/@remy/pstree/-/pstree-1.0.1.tgz#420abb613c72cd29f8c595bd7d6c55691bb96910" + dependencies: + ps-tree "^1.1.0" + "@storybook/mantra-core@^1.7.0": version "1.7.2" resolved "https://registry.yarnpkg.com/@storybook/mantra-core/-/mantra-core-1.7.2.tgz#e10c7faca29769e97131e0e0308ef7cfb655b70c" @@ -7921,6 +7927,21 @@ nodemon@^1.12.7: undefsafe "0.0.3" update-notifier "^2.3.0" +nodemon@^1.13.2: + version "1.13.2" + resolved "https://registry.yarnpkg.com/nodemon/-/nodemon-1.13.2.tgz#4f772d8e68ecbd9792d5af39f0dad6f708e46ef1" + dependencies: + "@remy/pstree" "^1.0.1" + chokidar "^1.7.0" + debug "^2.6.8" + es6-promise "^3.3.1" + ignore-by-default "^1.0.1" + lodash.defaults "^3.1.2" + minimatch "^3.0.4" + touch "^3.1.0" + undefsafe "0.0.3" + update-notifier "^2.3.0" + nomnom@^1.8.1: version "1.8.1" resolved "https://registry.yarnpkg.com/nomnom/-/nomnom-1.8.1.tgz#2151f722472ba79e50a76fc125bb8c8f2e4dc2a7" From 40582c85d121f10c67d23567f447956793dc57d7 Mon Sep 17 00:00:00 2001 From: "Dependencies.io Bot" Date: Fri, 15 Dec 2017 16:28:21 +0000 Subject: [PATCH 23/83] Update nodemon from 1.12.7 to 1.13.2 in app/react --- app/react/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/react/package.json b/app/react/package.json index e082897a30dd..0a64e3cf8534 100644 --- a/app/react/package.json +++ b/app/react/package.json @@ -75,7 +75,7 @@ "webpack-hot-middleware": "^2.21.0" }, "devDependencies": { - "nodemon": "^1.12.7" + "nodemon": "^1.13.2" }, "peerDependencies": { "react": ">=15.0.0 || ^16.0.0", From ab82990a5d06dbc02c37a74d77482e5bd7645254 Mon Sep 17 00:00:00 2001 From: "Dependencies.io Bot" Date: Fri, 15 Dec 2017 16:30:00 +0000 Subject: [PATCH 24/83] Update nodemon from 1.12.7 to 1.13.2 in app/vue --- app/vue/package.json | 2 +- yarn.lock | 15 --------------- 2 files changed, 1 insertion(+), 16 deletions(-) diff --git a/app/vue/package.json b/app/vue/package.json index f9320337d33b..95b042ba8ad4 100644 --- a/app/vue/package.json +++ b/app/vue/package.json @@ -76,7 +76,7 @@ "webpack-hot-middleware": "^2.21.0" }, "devDependencies": { - "nodemon": "^1.12.7", + "nodemon": "^1.13.2", "vue": "^2.5.11", "vue-loader": "^13.5.0", "vue-template-compiler": "^2.5.11" diff --git a/yarn.lock b/yarn.lock index 2b7d211794b0..6fb453918b65 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7912,21 +7912,6 @@ 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.7: - version "1.12.7" - resolved "https://registry.yarnpkg.com/nodemon/-/nodemon-1.12.7.tgz#4d0fa8386291c4f532f583cc102c05350722f647" - dependencies: - chokidar "^1.7.0" - debug "^2.6.8" - es6-promise "^3.3.1" - ignore-by-default "^1.0.1" - lodash.defaults "^3.1.2" - minimatch "^3.0.4" - ps-tree "^1.1.0" - touch "^3.1.0" - undefsafe "0.0.3" - update-notifier "^2.3.0" - nodemon@^1.13.2: version "1.13.2" resolved "https://registry.yarnpkg.com/nodemon/-/nodemon-1.13.2.tgz#4f772d8e68ecbd9792d5af39f0dad6f708e46ef1" From f134038014e50464069439fd594dceeea4309502 Mon Sep 17 00:00:00 2001 From: "Dependencies.io Bot" Date: Sat, 16 Dec 2017 16:22:02 +0000 Subject: [PATCH 25/83] Update gatsby from 1.9.135 to 1.9.138 --- docs/package.json | 2 +- docs/yarn.lock | 26 ++++++++++++++++++++++---- 2 files changed, 23 insertions(+), 5 deletions(-) diff --git a/docs/package.json b/docs/package.json index 6ff9ac7d6af9..b12bbac5d4fe 100644 --- a/docs/package.json +++ b/docs/package.json @@ -30,7 +30,7 @@ "babel-preset-react": "^6.24.1", "babel-preset-stage-0": "^6.24.1", "bootstrap": "^3.3.7", - "gatsby": "^1.9.135", + "gatsby": "^1.9.138", "gatsby-link": "^1.6.32", "gatsby-plugin-sharp": "^1.6.24", "gatsby-remark-autolink-headers": "^1.4.10", diff --git a/docs/yarn.lock b/docs/yarn.lock index b4a26e19657f..90c57be5de11 100644 --- a/docs/yarn.lock +++ b/docs/yarn.lock @@ -1720,6 +1720,18 @@ better-assert@~1.0.0: dependencies: callsite "1.0.0" +better-queue-memory@^1.0.1: + version "1.0.2" + resolved "https://registry.yarnpkg.com/better-queue-memory/-/better-queue-memory-1.0.2.tgz#aa6d169aa1d0cc77409185cb9cb5c7dc251bcd41" + +better-queue@^3.8.6: + version "3.8.6" + resolved "https://registry.yarnpkg.com/better-queue/-/better-queue-3.8.6.tgz#73220bdfab403924cffa7497220dd387abb73a63" + dependencies: + better-queue-memory "^1.0.1" + node-eta "^0.9.0" + uuid "^3.0.0" + big.js@^3.1.3: version "3.2.0" resolved "https://registry.yarnpkg.com/big.js/-/big.js-3.2.0.tgz#a5fc298b81b9e0dca2e458824784b65c52ba588e" @@ -4335,9 +4347,9 @@ gatsby-transformer-remark@^1.7.25: unist-util-select "^1.5.0" unist-util-visit "^1.1.1" -gatsby@^1.9.135: - version "1.9.135" - resolved "https://registry.yarnpkg.com/gatsby/-/gatsby-1.9.135.tgz#7ab1c684c8556cb4324b4888d77efd1a919fc4e0" +gatsby@^1.9.138: + version "1.9.138" + resolved "https://registry.yarnpkg.com/gatsby/-/gatsby-1.9.138.tgz#69f710efa66e9bfd33bda52f5fd5fb428ebfa925" dependencies: async "^2.1.2" babel-code-frame "^6.22.0" @@ -4353,6 +4365,7 @@ gatsby@^1.9.135: babel-runtime "^6.26.0" babel-traverse "^6.24.1" babylon "^6.17.3" + better-queue "^3.8.6" bluebird "^3.5.0" chalk "^1.1.3" chokidar "^1.7.0" @@ -4395,6 +4408,7 @@ gatsby@^1.9.135: lodash "^4.17.4" lodash-id "^0.14.0" lowdb "^0.16.2" + md5 "^2.2.1" md5-file "^3.1.1" mime "^1.3.6" mitt "^1.1.2" @@ -6449,7 +6463,7 @@ md5.js@^1.3.4: hash-base "^3.0.0" inherits "^2.0.1" -md5@^2.0.0: +md5@^2.0.0, md5@^2.2.1: version "2.2.1" resolved "https://registry.yarnpkg.com/md5/-/md5-2.2.1.tgz#53ab38d5fe3c8891ba465329ea23fac0540126f9" dependencies: @@ -6793,6 +6807,10 @@ node-emoji@^1.0.4: dependencies: lodash.toarray "^4.4.0" +node-eta@^0.9.0: + version "0.9.0" + resolved "https://registry.yarnpkg.com/node-eta/-/node-eta-0.9.0.tgz#9fb0b099bcd2a021940e603c64254dc003d9a7a8" + node-fetch@^1.0.1: version "1.7.3" resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-1.7.3.tgz#980f6f72d85211a5347c6b2bc18c5b84c3eb47ef" From d8547a97795fbecf9b94129a09f73f58d9b2033f Mon Sep 17 00:00:00 2001 From: "Dependencies.io Bot" Date: Sat, 16 Dec 2017 16:23:13 +0000 Subject: [PATCH 26/83] Update nodemon from 1.13.2 to 1.13.3 in / --- package.json | 2 +- yarn.lock | 21 +++++++++++++++++++++ 2 files changed, 22 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 93b7295d1555..71fca30639c5 100644 --- a/package.json +++ b/package.json @@ -75,7 +75,7 @@ "lerna": "^2.5.1", "lint-staged": "^6.0.0", "lodash": "^4.17.4", - "nodemon": "^1.13.2", + "nodemon": "^1.13.3", "npmlog": "^4.1.2", "prettier": "^1.9.2", "puppeteer": "^0.13.0", diff --git a/yarn.lock b/yarn.lock index 6fb453918b65..ff7cd4ec4930 100644 --- a/yarn.lock +++ b/yarn.lock @@ -80,6 +80,12 @@ dependencies: ps-tree "^1.1.0" +"@remy/pstree@^1.1.0": + version "1.1.0" + resolved "https://registry.yarnpkg.com/@remy/pstree/-/pstree-1.1.0.tgz#414045d4fec60946604f3718023052aaf49bd8d3" + dependencies: + ps-tree "^1.1.0" + "@storybook/mantra-core@^1.7.0": version "1.7.2" resolved "https://registry.yarnpkg.com/@storybook/mantra-core/-/mantra-core-1.7.2.tgz#e10c7faca29769e97131e0e0308ef7cfb655b70c" @@ -7927,6 +7933,21 @@ nodemon@^1.13.2: undefsafe "0.0.3" update-notifier "^2.3.0" +nodemon@^1.13.3: + version "1.13.3" + resolved "https://registry.yarnpkg.com/nodemon/-/nodemon-1.13.3.tgz#92d23e6b91dca351215a4b8a50d2bd838cd0f9e3" + dependencies: + "@remy/pstree" "^1.1.0" + chokidar "^1.7.0" + debug "^2.6.8" + es6-promise "^3.3.1" + ignore-by-default "^1.0.1" + lodash.defaults "^3.1.2" + minimatch "^3.0.4" + touch "^3.1.0" + undefsafe "0.0.3" + update-notifier "^2.3.0" + nomnom@^1.8.1: version "1.8.1" resolved "https://registry.yarnpkg.com/nomnom/-/nomnom-1.8.1.tgz#2151f722472ba79e50a76fc125bb8c8f2e4dc2a7" From 48034a458eba5560f47388f61b7b0a45013f596b Mon Sep 17 00:00:00 2001 From: "Dependencies.io Bot" Date: Sat, 16 Dec 2017 16:24:47 +0000 Subject: [PATCH 27/83] Update graphql from 0.11.7 to 0.12.0 in addons/graphql --- addons/graphql/package.json | 2 +- yarn.lock | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/addons/graphql/package.json b/addons/graphql/package.json index 162ee14ce6ec..264570902e89 100644 --- a/addons/graphql/package.json +++ b/addons/graphql/package.json @@ -23,7 +23,7 @@ "dependencies": { "global": "^4.3.2", "graphiql": "^0.11.10", - "graphql": "^0.11.7", + "graphql": "^0.12.0", "prop-types": "^15.6.0" }, "peerDependencies": { diff --git a/yarn.lock b/yarn.lock index ff7cd4ec4930..5de77ea37af9 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5146,9 +5146,9 @@ graphql@^0.10.1: dependencies: iterall "^1.1.0" -graphql@^0.11.7: - version "0.11.7" - resolved "https://registry.yarnpkg.com/graphql/-/graphql-0.11.7.tgz#e5abaa9cb7b7cccb84e9f0836bf4370d268750c6" +graphql@^0.12.0: + version "0.12.0" + resolved "https://registry.yarnpkg.com/graphql/-/graphql-0.12.0.tgz#a62576995f67f7a94a02f3e57e91d752bae70055" dependencies: iterall "1.1.3" From 0a8a66b1a19a80817602a7b507c6e1e7f857fc9a Mon Sep 17 00:00:00 2001 From: "Dependencies.io Bot" Date: Sat, 16 Dec 2017 16:26:18 +0000 Subject: [PATCH 28/83] Update @types/react from 16.0.30 to 16.0.31 in addons/knobs --- addons/knobs/package.json | 2 +- yarn.lock | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/addons/knobs/package.json b/addons/knobs/package.json index bbdeb207676a..dc9520e1fd90 100644 --- a/addons/knobs/package.json +++ b/addons/knobs/package.json @@ -29,7 +29,7 @@ }, "devDependencies": { "@types/node": "^8.5.1", - "@types/react": "^16.0.30", + "@types/react": "^16.0.31", "raw-loader": "^0.5.1", "style-loader": "^0.19.1", "typescript": "^2.6.2", diff --git a/yarn.lock b/yarn.lock index 5de77ea37af9..5d884fd87683 100644 --- a/yarn.lock +++ b/yarn.lock @@ -148,9 +148,9 @@ version "16.0.23" resolved "https://registry.yarnpkg.com/@types/react/-/react-16.0.23.tgz#f0f713b07912c6fd8e10c9ccc539443ceb06dbca" -"@types/react@^16.0.30": - version "16.0.30" - resolved "https://registry.yarnpkg.com/@types/react/-/react-16.0.30.tgz#cca9b180160004df574519c3d7c559fb181d545f" +"@types/react@^16.0.31": + version "16.0.31" + resolved "https://registry.yarnpkg.com/@types/react/-/react-16.0.31.tgz#5285da62f3ac62b797f6d0729a1d6181f3180c3e" JSONStream@^1.0.4: version "1.3.1" From 34cafba6785b9c17101b883262d242fe4a43b3dc Mon Sep 17 00:00:00 2001 From: "Dependencies.io Bot" Date: Sat, 16 Dec 2017 16:27:54 +0000 Subject: [PATCH 29/83] Update file-loader from 1.1.5 to 1.1.6 in app/react-native --- app/react-native/package.json | 2 +- yarn.lock | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/app/react-native/package.json b/app/react-native/package.json index 20f141c9d423..d2897daee3f8 100644 --- a/app/react-native/package.json +++ b/app/react-native/package.json @@ -50,7 +50,7 @@ "css-loader": "^0.28.7", "events": "^1.1.1", "express": "^4.16.2", - "file-loader": "^1.1.5", + "file-loader": "^1.1.6", "find-cache-dir": "^1.0.0", "global": "^4.3.2", "json-loader": "^0.5.7", diff --git a/yarn.lock b/yarn.lock index 5d884fd87683..720ac58592db 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4503,6 +4503,13 @@ file-loader@1.1.5, file-loader@^1.1.5: loader-utils "^1.0.2" schema-utils "^0.3.0" +file-loader@^1.1.6: + version "1.1.6" + resolved "https://registry.yarnpkg.com/file-loader/-/file-loader-1.1.6.tgz#7b9a8f2c58f00a77fddf49e940f7ac978a3ea0e8" + dependencies: + loader-utils "^1.0.2" + schema-utils "^0.3.0" + filename-regex@^2.0.0: version "2.0.1" resolved "https://registry.yarnpkg.com/filename-regex/-/filename-regex-2.0.1.tgz#c1c4b9bee3e09725ddb106b75c1e301fe2f18b26" From ed7d7f653eaca8d805e92effd77472f088411f65 Mon Sep 17 00:00:00 2001 From: "Dependencies.io Bot" Date: Sat, 16 Dec 2017 16:29:24 +0000 Subject: [PATCH 30/83] Update file-loader from 1.1.5 to 1.1.6 in app/react --- app/react/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/react/package.json b/app/react/package.json index 0a64e3cf8534..168a0c13cd67 100644 --- a/app/react/package.json +++ b/app/react/package.json @@ -49,7 +49,7 @@ "css-loader": "^0.28.7", "dotenv-webpack": "^1.5.4", "express": "^4.16.2", - "file-loader": "^1.1.5", + "file-loader": "^1.1.6", "find-cache-dir": "^1.0.0", "glamor": "^2.20.40", "glamorous": "^4.11.0", From e75e50ba114996650a8057eb0a92693fcaa27956 Mon Sep 17 00:00:00 2001 From: "Dependencies.io Bot" Date: Sat, 16 Dec 2017 16:30:52 +0000 Subject: [PATCH 31/83] Update nodemon from 1.13.2 to 1.13.3 in app/react --- app/react/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/react/package.json b/app/react/package.json index 168a0c13cd67..de34fbd2091a 100644 --- a/app/react/package.json +++ b/app/react/package.json @@ -75,7 +75,7 @@ "webpack-hot-middleware": "^2.21.0" }, "devDependencies": { - "nodemon": "^1.13.2" + "nodemon": "^1.13.3" }, "peerDependencies": { "react": ">=15.0.0 || ^16.0.0", From e1f39bdcff6974f52070b069f9b399718c195e4c Mon Sep 17 00:00:00 2001 From: "Dependencies.io Bot" Date: Sat, 16 Dec 2017 16:32:19 +0000 Subject: [PATCH 32/83] Update file-loader from 1.1.5 to 1.1.6 in app/vue --- app/vue/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/vue/package.json b/app/vue/package.json index 95b042ba8ad4..a21b1be7a45a 100644 --- a/app/vue/package.json +++ b/app/vue/package.json @@ -49,7 +49,7 @@ "css-loader": "^0.28.7", "dotenv-webpack": "^1.5.4", "express": "^4.16.2", - "file-loader": "^1.1.5", + "file-loader": "^1.1.6", "find-cache-dir": "^1.0.0", "global": "^4.3.2", "json-loader": "^0.5.7", From 88e460d689fb0ec66e9d359c6e8178d35f3452d7 Mon Sep 17 00:00:00 2001 From: "Dependencies.io Bot" Date: Sat, 16 Dec 2017 16:33:55 +0000 Subject: [PATCH 33/83] Update nodemon from 1.13.2 to 1.13.3 in app/vue --- app/vue/package.json | 2 +- yarn.lock | 21 --------------------- 2 files changed, 1 insertion(+), 22 deletions(-) diff --git a/app/vue/package.json b/app/vue/package.json index a21b1be7a45a..eb4fe97a094f 100644 --- a/app/vue/package.json +++ b/app/vue/package.json @@ -76,7 +76,7 @@ "webpack-hot-middleware": "^2.21.0" }, "devDependencies": { - "nodemon": "^1.13.2", + "nodemon": "^1.13.3", "vue": "^2.5.11", "vue-loader": "^13.5.0", "vue-template-compiler": "^2.5.11" diff --git a/yarn.lock b/yarn.lock index 720ac58592db..4f2158c2c0f4 100644 --- a/yarn.lock +++ b/yarn.lock @@ -74,12 +74,6 @@ git-url-parse "^6.0.2" shelljs "^0.7.0" -"@remy/pstree@^1.0.1": - version "1.0.1" - resolved "https://registry.yarnpkg.com/@remy/pstree/-/pstree-1.0.1.tgz#420abb613c72cd29f8c595bd7d6c55691bb96910" - dependencies: - ps-tree "^1.1.0" - "@remy/pstree@^1.1.0": version "1.1.0" resolved "https://registry.yarnpkg.com/@remy/pstree/-/pstree-1.1.0.tgz#414045d4fec60946604f3718023052aaf49bd8d3" @@ -7925,21 +7919,6 @@ 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.13.2: - version "1.13.2" - resolved "https://registry.yarnpkg.com/nodemon/-/nodemon-1.13.2.tgz#4f772d8e68ecbd9792d5af39f0dad6f708e46ef1" - dependencies: - "@remy/pstree" "^1.0.1" - chokidar "^1.7.0" - debug "^2.6.8" - es6-promise "^3.3.1" - ignore-by-default "^1.0.1" - lodash.defaults "^3.1.2" - minimatch "^3.0.4" - touch "^3.1.0" - undefsafe "0.0.3" - update-notifier "^2.3.0" - nodemon@^1.13.3: version "1.13.3" resolved "https://registry.yarnpkg.com/nodemon/-/nodemon-1.13.3.tgz#92d23e6b91dca351215a4b8a50d2bd838cd0f9e3" From aa7d9cc7e54c64684680dfb5b7998e7a144bc883 Mon Sep 17 00:00:00 2001 From: "Dependencies.io Bot" Date: Sat, 16 Dec 2017 16:35:24 +0000 Subject: [PATCH 34/83] Update vue-loader from 13.5.0 to 13.6.0 in app/vue --- app/vue/package.json | 4 ++-- yarn.lock | 18 ++++++++++++++++++ 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/app/vue/package.json b/app/vue/package.json index eb4fe97a094f..ca029ee2862c 100644 --- a/app/vue/package.json +++ b/app/vue/package.json @@ -78,12 +78,12 @@ "devDependencies": { "nodemon": "^1.13.3", "vue": "^2.5.11", - "vue-loader": "^13.5.0", + "vue-loader": "^13.6.0", "vue-template-compiler": "^2.5.11" }, "peerDependencies": { "vue": "2.5.11", - "vue-loader": "*", + "vue-loader": "13.6.0", "vue-template-compiler": "2.5.11" } } diff --git a/yarn.lock b/yarn.lock index 4f2158c2c0f4..7d3d4887935c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -11734,6 +11734,24 @@ vue-loader@^13.5.0: vue-style-loader "^3.0.0" vue-template-es2015-compiler "^1.6.0" +vue-loader@^13.6.0: + version "13.6.0" + resolved "https://registry.yarnpkg.com/vue-loader/-/vue-loader-13.6.0.tgz#c1c9570e1e57475f8acb02cda35551b812f88086" + dependencies: + consolidate "^0.14.0" + hash-sum "^1.0.2" + loader-utils "^1.1.0" + lru-cache "^4.1.1" + postcss "^6.0.8" + postcss-load-config "^1.1.0" + postcss-selector-parser "^2.0.0" + prettier "^1.7.0" + resolve "^1.4.0" + source-map "^0.6.1" + vue-hot-reload-api "^2.2.0" + vue-style-loader "^3.0.0" + vue-template-es2015-compiler "^1.6.0" + vue-style-loader@^3.0.0, vue-style-loader@^3.0.1: version "3.0.3" resolved "https://registry.yarnpkg.com/vue-style-loader/-/vue-style-loader-3.0.3.tgz#623658f81506aef9d121cdc113a4f5c9cac32df7" From 99b09bca51ce542c29215b3950bfef3ee173b3ae Mon Sep 17 00:00:00 2001 From: "Dependencies.io Bot" Date: Sat, 16 Dec 2017 16:36:53 +0000 Subject: [PATCH 35/83] Update file-loader from 1.1.5 to 1.1.6 in examples/vue-kitchen-sink --- examples/vue-kitchen-sink/package.json | 2 +- yarn.lock | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/vue-kitchen-sink/package.json b/examples/vue-kitchen-sink/package.json index 5e10fff86147..fd03ee75fb93 100644 --- a/examples/vue-kitchen-sink/package.json +++ b/examples/vue-kitchen-sink/package.json @@ -16,7 +16,7 @@ "babel-preset-vue": "^1.2.1", "cross-env": "^5.1.1", "css-loader": "^0.28.7", - "file-loader": "^1.1.5", + "file-loader": "^1.1.6", "vue-hot-reload-api": "^2.2.4", "vue-loader": "^13.5.0", "vue-style-loader": "^3.0.1", diff --git a/yarn.lock b/yarn.lock index 7d3d4887935c..ccbdffc58dad 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4490,7 +4490,7 @@ file-entry-cache@^2.0.0: flat-cache "^1.2.1" object-assign "^4.0.1" -file-loader@1.1.5, file-loader@^1.1.5: +file-loader@1.1.5: version "1.1.5" resolved "https://registry.yarnpkg.com/file-loader/-/file-loader-1.1.5.tgz#91c25b6b6fbe56dae99f10a425fd64933b5c9daa" dependencies: From 94ee97facfbfbe3cacbb2b6838b196ed867291b5 Mon Sep 17 00:00:00 2001 From: "Dependencies.io Bot" Date: Sat, 16 Dec 2017 16:38:20 +0000 Subject: [PATCH 36/83] Update vue-loader from 13.5.0 to 13.6.0 in examples/vue-kitchen-sink --- examples/vue-kitchen-sink/package.json | 2 +- yarn.lock | 18 ------------------ 2 files changed, 1 insertion(+), 19 deletions(-) diff --git a/examples/vue-kitchen-sink/package.json b/examples/vue-kitchen-sink/package.json index fd03ee75fb93..58fb3dc2dd99 100644 --- a/examples/vue-kitchen-sink/package.json +++ b/examples/vue-kitchen-sink/package.json @@ -18,7 +18,7 @@ "css-loader": "^0.28.7", "file-loader": "^1.1.6", "vue-hot-reload-api": "^2.2.4", - "vue-loader": "^13.5.0", + "vue-loader": "^13.6.0", "vue-style-loader": "^3.0.1", "vue-template-compiler": "^2.5.11", "webpack": "^3.10.0", diff --git a/yarn.lock b/yarn.lock index ccbdffc58dad..897ee4be01cf 100644 --- a/yarn.lock +++ b/yarn.lock @@ -11716,24 +11716,6 @@ vue-hot-reload-api@^2.2.4: version "2.2.4" resolved "https://registry.yarnpkg.com/vue-hot-reload-api/-/vue-hot-reload-api-2.2.4.tgz#683bd1d026c0d3b3c937d5875679e9a87ec6cd8f" -vue-loader@^13.5.0: - version "13.5.0" - resolved "https://registry.yarnpkg.com/vue-loader/-/vue-loader-13.5.0.tgz#52f7b3790a267eff80012b77ea187a54586dd5d4" - dependencies: - consolidate "^0.14.0" - hash-sum "^1.0.2" - loader-utils "^1.1.0" - lru-cache "^4.1.1" - postcss "^6.0.8" - postcss-load-config "^1.1.0" - postcss-selector-parser "^2.0.0" - prettier "^1.7.0" - resolve "^1.4.0" - source-map "^0.6.1" - vue-hot-reload-api "^2.2.0" - vue-style-loader "^3.0.0" - vue-template-es2015-compiler "^1.6.0" - vue-loader@^13.6.0: version "13.6.0" resolved "https://registry.yarnpkg.com/vue-loader/-/vue-loader-13.6.0.tgz#c1c9570e1e57475f8acb02cda35551b812f88086" From a94eaea9a0908b32e70d38531b98e2860e2c0619 Mon Sep 17 00:00:00 2001 From: "Dependencies.io Bot" Date: Sun, 17 Dec 2017 16:20:20 +0000 Subject: [PATCH 37/83] Update gatsby from 1.9.138 to 1.9.139 --- docs/package.json | 2 +- docs/yarn.lock | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/package.json b/docs/package.json index b12bbac5d4fe..190599b9d997 100644 --- a/docs/package.json +++ b/docs/package.json @@ -30,7 +30,7 @@ "babel-preset-react": "^6.24.1", "babel-preset-stage-0": "^6.24.1", "bootstrap": "^3.3.7", - "gatsby": "^1.9.138", + "gatsby": "^1.9.139", "gatsby-link": "^1.6.32", "gatsby-plugin-sharp": "^1.6.24", "gatsby-remark-autolink-headers": "^1.4.10", diff --git a/docs/yarn.lock b/docs/yarn.lock index 90c57be5de11..9092c67bb027 100644 --- a/docs/yarn.lock +++ b/docs/yarn.lock @@ -4347,9 +4347,9 @@ gatsby-transformer-remark@^1.7.25: unist-util-select "^1.5.0" unist-util-visit "^1.1.1" -gatsby@^1.9.138: - version "1.9.138" - resolved "https://registry.yarnpkg.com/gatsby/-/gatsby-1.9.138.tgz#69f710efa66e9bfd33bda52f5fd5fb428ebfa925" +gatsby@^1.9.139: + version "1.9.139" + resolved "https://registry.yarnpkg.com/gatsby/-/gatsby-1.9.139.tgz#35003af4acf083bb9cec073a2c707d9249b53ca7" dependencies: async "^2.1.2" babel-code-frame "^6.22.0" From 30aaeb2611456ceecb059e2e2c771fe4012d38a7 Mon Sep 17 00:00:00 2001 From: "Dependencies.io Bot" Date: Sun, 17 Dec 2017 16:21:25 +0000 Subject: [PATCH 38/83] Update eslint-plugin-prettier from 2.3.1 to 2.4.0 in / --- package.json | 2 +- yarn.lock | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 93b7295d1555..0ff4b87d1340 100644 --- a/package.json +++ b/package.json @@ -61,7 +61,7 @@ "eslint-plugin-jest": "^21.5.0", "eslint-plugin-json": "^1.2.0", "eslint-plugin-jsx-a11y": "^6.0.3", - "eslint-plugin-prettier": "^2.2.0", + "eslint-plugin-prettier": "^2.4.0", "eslint-plugin-react": "^7.5.1", "gh-pages": "^1.1.0", "github-release-from-changelog": "^1.3.0", diff --git a/yarn.lock b/yarn.lock index 6fb453918b65..7b2803080830 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3944,9 +3944,9 @@ eslint-plugin-jsx-a11y@^6.0.3: emoji-regex "^6.1.0" jsx-ast-utils "^2.0.0" -eslint-plugin-prettier@^2.2.0: - version "2.3.1" - resolved "https://registry.yarnpkg.com/eslint-plugin-prettier/-/eslint-plugin-prettier-2.3.1.tgz#e7a746c67e716f335274b88295a9ead9f544e44d" +eslint-plugin-prettier@^2.4.0: + version "2.4.0" + resolved "https://registry.yarnpkg.com/eslint-plugin-prettier/-/eslint-plugin-prettier-2.4.0.tgz#85cab0775c6d5e3344ef01e78d960f166fb93aae" dependencies: fast-diff "^1.1.1" jest-docblock "^21.0.0" From 28ec9e343a6786a7ebb5eaa2ffdf4f41242d1023 Mon Sep 17 00:00:00 2001 From: "Dependencies.io Bot" Date: Sun, 17 Dec 2017 16:22:38 +0000 Subject: [PATCH 39/83] Update graphql from 0.11.7 to 0.12.3 in addons/graphql --- addons/graphql/package.json | 2 +- yarn.lock | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/addons/graphql/package.json b/addons/graphql/package.json index 162ee14ce6ec..93c27fcdab4d 100644 --- a/addons/graphql/package.json +++ b/addons/graphql/package.json @@ -23,7 +23,7 @@ "dependencies": { "global": "^4.3.2", "graphiql": "^0.11.10", - "graphql": "^0.11.7", + "graphql": "^0.12.3", "prop-types": "^15.6.0" }, "peerDependencies": { diff --git a/yarn.lock b/yarn.lock index 7b2803080830..0e7df9156e68 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5140,9 +5140,9 @@ graphql@^0.10.1: dependencies: iterall "^1.1.0" -graphql@^0.11.7: - version "0.11.7" - resolved "https://registry.yarnpkg.com/graphql/-/graphql-0.11.7.tgz#e5abaa9cb7b7cccb84e9f0836bf4370d268750c6" +graphql@^0.12.3: + version "0.12.3" + resolved "https://registry.yarnpkg.com/graphql/-/graphql-0.12.3.tgz#11668458bbe28261c0dcb6e265f515ba79f6ce07" dependencies: iterall "1.1.3" From 0895c1dc12c15257a4cbef71d8e2c41320ce52d2 Mon Sep 17 00:00:00 2001 From: "Dependencies.io Bot" Date: Sun, 17 Dec 2017 16:23:54 +0000 Subject: [PATCH 40/83] Update moment from 2.19.4 to 2.20.0 in addons/knobs --- addons/knobs/package.json | 2 +- yarn.lock | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/addons/knobs/package.json b/addons/knobs/package.json index bbdeb207676a..a4a795bdc567 100644 --- a/addons/knobs/package.json +++ b/addons/knobs/package.json @@ -20,7 +20,7 @@ "global": "^4.3.2", "insert-css": "^2.0.0", "lodash.debounce": "^4.0.8", - "moment": "^2.19.4", + "moment": "^2.20.0", "prop-types": "^15.6.0", "react-color": "^2.11.4", "react-datetime": "^2.11.1", diff --git a/yarn.lock b/yarn.lock index 0e7df9156e68..764ba9011bbf 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7712,6 +7712,10 @@ moment@^2.19.4: version "2.19.4" resolved "https://registry.yarnpkg.com/moment/-/moment-2.19.4.tgz#17e5e2c6ead8819c8ecfad83a0acccb312e94682" +moment@^2.20.0: + version "2.20.0" + resolved "https://registry.yarnpkg.com/moment/-/moment-2.20.0.tgz#53396358994dd3a551e966a66af715ecb6c30ad0" + moment@^2.6.0: version "2.19.2" resolved "https://registry.yarnpkg.com/moment/-/moment-2.19.2.tgz#8a7f774c95a64550b4c7ebd496683908f9419dbe" From 231c731b3e89bbec7bcaae4dd426e0fcbe2daacd Mon Sep 17 00:00:00 2001 From: "Dependencies.io Bot" Date: Sun, 17 Dec 2017 16:25:13 +0000 Subject: [PATCH 41/83] Update ws from 3.3.2 to 3.3.3 in app/react-native --- app/react-native/package.json | 2 +- yarn.lock | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/react-native/package.json b/app/react-native/package.json index 20f141c9d423..215dcefc77bc 100644 --- a/app/react-native/package.json +++ b/app/react-native/package.json @@ -68,7 +68,7 @@ "webpack": "^3.10.0", "webpack-dev-middleware": "^1.12.2", "webpack-hot-middleware": "^2.21.0", - "ws": "^3.3.2" + "ws": "^3.3.3" }, "devDependencies": { "react-native": "^0.51.0" diff --git a/yarn.lock b/yarn.lock index 764ba9011bbf..2f1d4722d2bd 100644 --- a/yarn.lock +++ b/yarn.lock @@ -12144,9 +12144,9 @@ ws@^3.0.0: safe-buffer "~5.1.0" ultron "~1.1.0" -ws@^3.3.2: - version "3.3.2" - resolved "https://registry.yarnpkg.com/ws/-/ws-3.3.2.tgz#96c1d08b3fefda1d5c1e33700d3bfaa9be2d5608" +ws@^3.3.3: + version "3.3.3" + resolved "https://registry.yarnpkg.com/ws/-/ws-3.3.3.tgz#f1cf84fe2d5e901ebce94efaece785f187a228f2" dependencies: async-limiter "~1.0.0" safe-buffer "~5.1.0" From 5e330152f9324a1b2e6402498d989e9a65defe6b Mon Sep 17 00:00:00 2001 From: "Dependencies.io Bot" Date: Sun, 17 Dec 2017 16:26:41 +0000 Subject: [PATCH 42/83] Update moment from 2.19.4 to 2.20.0 in addons/comments --- addons/comments/package.json | 2 +- yarn.lock | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/addons/comments/package.json b/addons/comments/package.json index 5606b71e24be..a72587b3ffdd 100644 --- a/addons/comments/package.json +++ b/addons/comments/package.json @@ -30,7 +30,7 @@ "global": "^4.3.2", "insert-css": "^2.0.0", "marked": "^0.3.7", - "moment": "^2.19.4", + "moment": "^2.20.0", "prop-types": "^15.6.0", "react-render-html": "^0.6.0", "react-textarea-autosize": "^5.2.1" diff --git a/yarn.lock b/yarn.lock index 2f1d4722d2bd..e65cdc0043c0 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7708,10 +7708,6 @@ modify-values@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/modify-values/-/modify-values-1.0.0.tgz#e2b6cdeb9ce19f99317a53722f3dbf5df5eaaab2" -moment@^2.19.4: - version "2.19.4" - resolved "https://registry.yarnpkg.com/moment/-/moment-2.19.4.tgz#17e5e2c6ead8819c8ecfad83a0acccb312e94682" - moment@^2.20.0: version "2.20.0" resolved "https://registry.yarnpkg.com/moment/-/moment-2.20.0.tgz#53396358994dd3a551e966a66af715ecb6c30ad0" From 435dcab136f4494fdc562f623daea203aeaa6627 Mon Sep 17 00:00:00 2001 From: "Voss, Jennifer (ELS-PHI)" Date: Sun, 17 Dec 2017 12:49:54 -0500 Subject: [PATCH 43/83] Pass stylesheet as the default arg to props.styles, update README and cra examples --- addons/info/README.md | 26 ++++++++++- addons/info/src/components/Story.js | 5 +-- addons/info/src/index.js | 6 ++- .../src/stories/addon-info.stories.js | 44 +++++++++++++------ 4 files changed, 62 insertions(+), 19 deletions(-) diff --git a/addons/info/README.md b/addons/info/README.md index 06c0ac708d4d..eab61ebde7a3 100644 --- a/addons/info/README.md +++ b/addons/info/README.md @@ -74,6 +74,30 @@ storiesOf('Component', module) ) ``` +The `styles` prop can also accept a function. The default stylesheet is passed as argument: + +```js +import { withInfo } from '@storybook/addon-info'; + +storiesOf('Component', module) + .add('custom info styles using a function', + withInfo({ + styles: stylesheet => ({ + ...stylesheet, + header: { + ...stylesheet.header, + h1: { + ...stylesheet.header.h1, + color: 'red' + } + } + }) + })(() => + Click the "?" mark at top-right to view the info. + ) + ) +``` + ## Usage as decorator It is possible to add infos by default to all components by using a global or story decorator. The drawback is you won't be able to display a distinct info message per story. @@ -107,7 +131,7 @@ setDefaults({ source: true, // Displays the source of story Component propTables: [/* Components used in story */], // displays Prop Tables with this components propTablesExclude: [], // Exclude Components from being shown in Prop Tables section - styles: {}, // Overrides styles of addon. The object should follow this shape: https://github.com/storybooks/storybook/blob/master/addons/info/src/components/Story.js#L19 + styles: {}, // Overrides styles of addon. The object should follow this shape: https://github.com/storybooks/storybook/blob/master/addons/info/src/components/Story.js#L19. This prop can also accept a function which has the default stylesheet passed as an argument. marksyConf: {}, // Overrides components used to display markdown. Warning! This option's name will be likely deprecated in favor to "components" with the same API in 3.3 release. Follow this PR #1501 for details maxPropsIntoLine: 1, // Max props to display per line in source code maxPropObjectKeys: 10, // Displays the first 10 characters of the prop name diff --git a/addons/info/src/components/Story.js b/addons/info/src/components/Story.js index 317c62daf23c..4188fd77b4bc 100644 --- a/addons/info/src/components/Story.js +++ b/addons/info/src/components/Story.js @@ -2,7 +2,6 @@ import React from 'react'; import PropTypes from 'prop-types'; -import nestedObjectAssign from 'nested-object-assign'; import global from 'global'; import { baseFonts } from '@storybook/components'; @@ -107,14 +106,14 @@ export default class Story extends React.Component { super(...args); this.state = { open: false, - stylesheet: nestedObjectAssign({}, stylesheet, this.props.styles), + stylesheet: this.props.styles(stylesheet), }; this.marksy = marksy(this.props.marksyConf); } componentWillReceiveProps(nextProps) { this.setState({ - stylesheet: nestedObjectAssign({}, stylesheet, nextProps.styles), + stylesheet: nextProps.styles(stylesheet), }); } diff --git a/addons/info/src/index.js b/addons/info/src/index.js index 10f43dc2b9bc..1e4423dd13f6 100644 --- a/addons/info/src/index.js +++ b/addons/info/src/index.js @@ -1,5 +1,6 @@ import React from 'react'; import deprecate from 'util-deprecate'; +import nestedObjectAssign from 'nested-object-assign'; import Story from './components/Story'; import { H1, H2, H3, H4, H5, H6, Code, P, UL, A, LI } from './components/markdown'; @@ -53,7 +54,10 @@ function addInfo(storyFn, context, infoOptions) { showSource: Boolean(options.source), propTables: options.propTables, propTablesExclude: options.propTablesExclude, - styles: options.styles, + styles: + typeof options.styles === 'function' + ? options.styles + : s => nestedObjectAssign({}, s, options.styles), marksyConf, maxPropObjectKeys: options.maxPropObjectKeys, maxPropArrayLength: options.maxPropArrayLength, diff --git a/examples/cra-kitchen-sink/src/stories/addon-info.stories.js b/examples/cra-kitchen-sink/src/stories/addon-info.stories.js index e89be387146c..e50e3f86a019 100644 --- a/examples/cra-kitchen-sink/src/stories/addon-info.stories.js +++ b/examples/cra-kitchen-sink/src/stories/addon-info.stories.js @@ -88,23 +88,39 @@ storiesOf('Addon Info.Options.propTablesExclude', module).add( )) ); -storiesOf('Addon Info.Options.styles', module).add( - 'Change info styles', - withInfo({ - styles: { - button: { - base: { - background: 'purple', +storiesOf('Addon Info.Options.styles', module) + .add( + 'Extend info styles with an object', + withInfo({ + styles: { + button: { + base: { + background: 'purple', + }, }, - }, - header: { - h1: { - color: 'red', + header: { + h1: { + color: 'red', + }, }, }, - }, - })(() => ) -); + })(() => ) + ) + .add( + 'Full control over styles using a function', + withInfo({ + styles: stylesheet => ({ + ...stylesheet, + header: { + ...stylesheet.header, + h1: { + ...stylesheet.header.h1, + color: 'red', + }, + }, + }), + })(() => ) + ); storiesOf('Addon Info.Decorator', module) .addDecorator((story, context) => From 99a8033737db03427c54349d11aad3d0ec957e45 Mon Sep 17 00:00:00 2001 From: Tom Coleman Date: Mon, 18 Dec 2017 14:14:09 +1100 Subject: [PATCH 44/83] Move addon events into its own story file --- .../src/stories/addon-events.stories.js | 73 +++++++++++++++++++ .../src/stories/index.stories.js | 70 ------------------ 2 files changed, 73 insertions(+), 70 deletions(-) create mode 100644 examples/cra-kitchen-sink/src/stories/addon-events.stories.js diff --git a/examples/cra-kitchen-sink/src/stories/addon-events.stories.js b/examples/cra-kitchen-sink/src/stories/addon-events.stories.js new file mode 100644 index 000000000000..9621e03fbeef --- /dev/null +++ b/examples/cra-kitchen-sink/src/stories/addon-events.stories.js @@ -0,0 +1,73 @@ +import React from 'react'; +import EventEmitter from 'eventemitter3'; +import { storiesOf } from '@storybook/react'; + +import WithEvents from '@storybook/addon-events'; +import Logger from './Logger'; + +const EVENTS = { + TEST_EVENT_1: 'test-event-1', + TEST_EVENT_2: 'test-event-2', + TEST_EVENT_3: 'test-event-3', + TEST_EVENT_4: 'test-event-4', +}; + +const emitter = new EventEmitter(); +const emit = emitter.emit.bind(emitter); + +storiesOf('Addon Events', module) + .addDecorator(getStory => ( + + {getStory()} + + )) + .add('Logger', () => ); diff --git a/examples/cra-kitchen-sink/src/stories/index.stories.js b/examples/cra-kitchen-sink/src/stories/index.stories.js index 0206683976e5..ddaa54b55e50 100644 --- a/examples/cra-kitchen-sink/src/stories/index.stories.js +++ b/examples/cra-kitchen-sink/src/stories/index.stories.js @@ -1,29 +1,16 @@ import React from 'react'; -import EventEmitter from 'eventemitter3'; import { storiesOf } from '@storybook/react'; import { setOptions } from '@storybook/addon-options'; import { action } from '@storybook/addon-actions'; import { withNotes, WithNotes } from '@storybook/addon-notes'; -import WithEvents from '@storybook/addon-events'; import centered from '@storybook/addon-centered'; import { withInfo } from '@storybook/addon-info'; import { Button } from '@storybook/react/demo'; import App from '../App'; -import Logger from './Logger'; import Container from './Container'; -const EVENTS = { - TEST_EVENT_1: 'test-event-1', - TEST_EVENT_2: 'test-event-2', - TEST_EVENT_3: 'test-event-3', - TEST_EVENT_4: 'test-event-4', -}; - -const emitter = new EventEmitter(); -const emit = emitter.emit.bind(emitter); - const InfoButton = () => ( ); storiesOf('Some really long story kind description', module) .addDecorator(centered) .add('with text', () => ); - -storiesOf('WithEvents', module) - .addDecorator(getStory => ( - - {getStory()} - - )) - .add('Logger', () => ); From ebf57a5ed929b729a42f6468201505b3e3c65f02 Mon Sep 17 00:00:00 2001 From: Tom Coleman Date: Mon, 18 Dec 2017 14:22:42 +1100 Subject: [PATCH 45/83] Don't render stories twice on bootup. --- app/react/src/client/preview/render.js | 18 +++++---- .../src/components/LifecycleLogger.js | 39 +++++++++++++++++++ .../src/stories/index.stories.js | 3 ++ 3 files changed, 52 insertions(+), 8 deletions(-) create mode 100644 examples/cra-kitchen-sink/src/components/LifecycleLogger.js diff --git a/app/react/src/client/preview/render.js b/app/react/src/client/preview/render.js index 00ae5e99040a..11d4380bf1dc 100644 --- a/app/react/src/client/preview/render.js +++ b/app/react/src/client/preview/render.js @@ -55,16 +55,18 @@ 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) { - // 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: - // https://github.com/storybooks/react-storybook/issues/81 - previousKind = selectedKind; - previousStory = selectedStory; - ReactDOM.unmountComponentAtNode(rootEl); + if (selectedKind === previousKind || previousStory === selectedStory) { + return null; } + // 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: + // https://github.com/storybooks/react-storybook/issues/81 + previousKind = selectedKind; + previousStory = selectedStory; + ReactDOM.unmountComponentAtNode(rootEl); + const context = { kind: selectedKind, story: selectedStory, diff --git a/examples/cra-kitchen-sink/src/components/LifecycleLogger.js b/examples/cra-kitchen-sink/src/components/LifecycleLogger.js new file mode 100644 index 000000000000..e6d91013b371 --- /dev/null +++ b/examples/cra-kitchen-sink/src/components/LifecycleLogger.js @@ -0,0 +1,39 @@ +import React, { Component } from 'react'; + +function log(name) { + console.log(`LifecycleLogger: ${name}`); +} + +// A component that logs its lifecycle so we can check that things happen +// the right number of times (i.e. we are using React properly) +export default class LifecycleLogger extends Component { + constructor() { + super(); + log('contructor'); + } + componentWillMount() { + log('componentWillMount'); + } + componentDidMount() { + log('componentDidMount'); + } + componentWillReceiveProps() { + log('componentWillReceiveProps'); + } + componentWillUpdate() { + log('componentWillUpdate'); + } + componentDidUpdate() { + log('componentDidUpdate'); + } + componentWillUnmount() { + log('componentWillUnmount'); + } + componentDidCatch() { + log('componentDidCatch'); + } + render() { + log('render'); + return
Lifecycle methods are logged to the console
; + } +} diff --git a/examples/cra-kitchen-sink/src/stories/index.stories.js b/examples/cra-kitchen-sink/src/stories/index.stories.js index 0206683976e5..d1ac81c157a3 100644 --- a/examples/cra-kitchen-sink/src/stories/index.stories.js +++ b/examples/cra-kitchen-sink/src/stories/index.stories.js @@ -13,6 +13,7 @@ import { Button } from '@storybook/react/demo'; import App from '../App'; import Logger from './Logger'; import Container from './Container'; +import LifecycleLogger from '../components/LifecycleLogger'; const EVENTS = { TEST_EVENT_1: 'test-event-1', @@ -102,6 +103,8 @@ storiesOf('Some really long story kind description', module) .addDecorator(centered) .add('with text', () => ); +storiesOf('Lifecycle', module).add('logging', () => ); + storiesOf('WithEvents', module) .addDecorator(getStory => ( Date: Mon, 18 Dec 2017 22:48:06 +1100 Subject: [PATCH 46/83] Fix broken logic when no change happened. Blush. Thanks @igor-dv --- app/react/src/client/preview/render.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/react/src/client/preview/render.js b/app/react/src/client/preview/render.js index 11d4380bf1dc..1e16b7b10685 100644 --- a/app/react/src/client/preview/render.js +++ b/app/react/src/client/preview/render.js @@ -55,7 +55,7 @@ export function renderMain(data, storyStore) { // renderMain() gets executed after each action. Actions will cause the whole // story to re-render without this check. // https://github.com/storybooks/react-storybook/issues/116 - if (selectedKind === previousKind || previousStory === selectedStory) { + if (selectedKind === previousKind && previousStory === selectedStory) { return null; } From 45de9cd8f807c8c3f2667bf3d396e3c51eb81ba3 Mon Sep 17 00:00:00 2001 From: Tom Coleman Date: Mon, 18 Dec 2017 22:50:48 +1100 Subject: [PATCH 47/83] Add storyshots images --- .../src/stories/__snapshots__/index.stories.storyshot | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/examples/cra-kitchen-sink/src/stories/__snapshots__/index.stories.storyshot b/examples/cra-kitchen-sink/src/stories/__snapshots__/index.stories.storyshot index febf46a09637..a27969c4062e 100644 --- a/examples/cra-kitchen-sink/src/stories/__snapshots__/index.stories.storyshot +++ b/examples/cra-kitchen-sink/src/stories/__snapshots__/index.stories.storyshot @@ -1030,6 +1030,12 @@ exports[`Storyshots Button with text 1`] = ` `; +exports[`Storyshots Lifecycle logging 1`] = ` +
+ Lifecycle methods are logged to the console +
+`; + exports[`Storyshots Some really long story kind description with text 1`] = `
Date: Mon, 18 Dec 2017 22:57:07 +1100 Subject: [PATCH 48/83] Add events logger snapshots --- .../__snapshots__/addon-events.stories.storyshot | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 examples/cra-kitchen-sink/src/stories/__snapshots__/addon-events.stories.storyshot diff --git a/examples/cra-kitchen-sink/src/stories/__snapshots__/addon-events.stories.storyshot b/examples/cra-kitchen-sink/src/stories/__snapshots__/addon-events.stories.storyshot new file mode 100644 index 000000000000..cfc8b0c3618e --- /dev/null +++ b/examples/cra-kitchen-sink/src/stories/__snapshots__/addon-events.stories.storyshot @@ -0,0 +1,15 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`Storyshots Addon Events Logger 1`] = ` +
+

+ Logger +

+
+ +
+
+`; From c6c13662e17962d7da8ca631c4f8bc41f94e8e25 Mon Sep 17 00:00:00 2001 From: Tom Coleman Date: Mon, 18 Dec 2017 23:13:46 +1100 Subject: [PATCH 49/83] Use @storybook/client-logger in the Lifecycle example --- examples/cra-kitchen-sink/package.json | 1 + examples/cra-kitchen-sink/src/components/LifecycleLogger.js | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/examples/cra-kitchen-sink/package.json b/examples/cra-kitchen-sink/package.json index a622231e8ed6..64ae8a93bce4 100644 --- a/examples/cra-kitchen-sink/package.json +++ b/examples/cra-kitchen-sink/package.json @@ -36,6 +36,7 @@ "@storybook/addon-storyshots": "^3.3.0-alpha.4", "@storybook/addon-viewport": "^3.3.0-alpha.4", "@storybook/addons": "^3.3.0-alpha.4", + "@storybook/client-logger": "^3.3.0-alpha.4", "@storybook/components": "^3.3.0-alpha.4", "@storybook/react": "^3.3.0-alpha.4", "babel-jest": "^21.2.0", diff --git a/examples/cra-kitchen-sink/src/components/LifecycleLogger.js b/examples/cra-kitchen-sink/src/components/LifecycleLogger.js index e6d91013b371..f761baf83d15 100644 --- a/examples/cra-kitchen-sink/src/components/LifecycleLogger.js +++ b/examples/cra-kitchen-sink/src/components/LifecycleLogger.js @@ -1,7 +1,8 @@ import React, { Component } from 'react'; +import { logger } from '@storybook/client-logger'; function log(name) { - console.log(`LifecycleLogger: ${name}`); + logger.info(`LifecycleLogger: ${name}`); } // A component that logs its lifecycle so we can check that things happen From 46ba3d9c21f160a1000eb5610787796dbf9ddd90 Mon Sep 17 00:00:00 2001 From: "Voss, Jennifer (ELS-PHI)" Date: Mon, 18 Dec 2017 10:02:32 -0500 Subject: [PATCH 50/83] Set styles to proptypes.func --- addons/info/src/components/Story.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/addons/info/src/components/Story.js b/addons/info/src/components/Story.js index 2817636a5254..746856a95d85 100644 --- a/addons/info/src/components/Story.js +++ b/addons/info/src/components/Story.js @@ -384,7 +384,7 @@ Story.propTypes = { showInline: PropTypes.bool, showHeader: PropTypes.bool, showSource: PropTypes.bool, - styles: PropTypes.oneOfType([PropTypes.func, PropTypes.object]), + styles: PropTypes.func.isRequired, children: PropTypes.oneOfType([PropTypes.object, PropTypes.array]), components: PropTypes.shape({}), maxPropsIntoLine: PropTypes.number.isRequired, @@ -401,6 +401,5 @@ Story.defaultProps = { showInline: false, showHeader: true, showSource: true, - styles: {}, components: {}, }; From 5efa669ab6349d1cb7100d55a65963f07e9d5890 Mon Sep 17 00:00:00 2001 From: "Voss, Jennifer (ELS-PHI)" Date: Mon, 18 Dec 2017 10:36:29 -0500 Subject: [PATCH 51/83] Update snapshots --- .../addon-info.stories.storyshot | 287 +++++++++++++++++- .../__snapshots__/index.stories.storyshot | 14 - .../src/stories/addon-info.stories.js | 2 +- 3 files changed, 285 insertions(+), 18 deletions(-) diff --git a/examples/cra-kitchen-sink/src/stories/__snapshots__/addon-info.stories.storyshot b/examples/cra-kitchen-sink/src/stories/__snapshots__/addon-info.stories.storyshot index c5e699b5b548..0e88260a5882 100644 --- a/examples/cra-kitchen-sink/src/stories/__snapshots__/addon-info.stories.storyshot +++ b/examples/cra-kitchen-sink/src/stories/__snapshots__/addon-info.stories.storyshot @@ -2544,7 +2544,288 @@ exports[`Storyshots Addon Info.Options.source Shows or hides Info Addon source 1
`; -exports[`Storyshots Addon Info.Options.styles Change info styles // I think this is broken or I am using it wrong? 1`] = ` +exports[`Storyshots Addon Info.Options.styles Extend info styles with an object 1`] = ` +
+
+ +
+ +
+ +
+
+
+

+ Addon Info.Options.styles +

+

+ Extend info styles with an object +

+
+
+

+ Story Source +

+
+            
+ + <BaseButton + + + + + + label + + + = + + + "Button" + + + + + + + + /> + +
+
+
+
+

+ Prop Types +

+
+

+ "BaseButton" Component +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ property + + propType + + required + + default + + description +
+ disabled + + + + + + - + + + { + + false + + } + + + +
+ label + + + + + + yes + + - + + +
+ onClick + + + + + + - + + + { + + onClick() + + } + + + +
+ style + + + + + + - + + + { + + {} + + } + + + +
+
+
+
+
+
+
+`; + +exports[`Storyshots Addon Info.Options.styles Full control over styles using a function 1`] = `

Addon Info.Options.styles

- Change info styles // I think this is broken or I am using it wrong? + Full control over styles using a function

diff --git a/examples/cra-kitchen-sink/src/stories/__snapshots__/index.stories.storyshot b/examples/cra-kitchen-sink/src/stories/__snapshots__/index.stories.storyshot index febf46a09637..eea5f06be615 100644 --- a/examples/cra-kitchen-sink/src/stories/__snapshots__/index.stories.storyshot +++ b/examples/cra-kitchen-sink/src/stories/__snapshots__/index.stories.storyshot @@ -1045,17 +1045,3 @@ exports[`Storyshots Some really long story kind description with text 1`] = `
`; - -exports[`Storyshots WithEvents Logger 1`] = ` -
-

- Logger -

-
- -
-
-`; diff --git a/examples/cra-kitchen-sink/src/stories/addon-info.stories.js b/examples/cra-kitchen-sink/src/stories/addon-info.stories.js index 6480afc5ba8e..d6fad18d2c58 100644 --- a/examples/cra-kitchen-sink/src/stories/addon-info.stories.js +++ b/examples/cra-kitchen-sink/src/stories/addon-info.stories.js @@ -101,7 +101,7 @@ storiesOf('Addon Info.Options.styles', module) }, header: { h1: { - color: 'red', + color: 'green', }, }, }, From 53355ba0d670f2cc9e2abcfec7905f101f190b52 Mon Sep 17 00:00:00 2001 From: "Dependencies.io Bot" Date: Mon, 18 Dec 2017 16:22:03 +0000 Subject: [PATCH 52/83] Update gatsby from 1.9.139 to 1.9.141 --- docs/package.json | 2 +- docs/yarn.lock | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/package.json b/docs/package.json index 190599b9d997..0f79d8c55c02 100644 --- a/docs/package.json +++ b/docs/package.json @@ -30,7 +30,7 @@ "babel-preset-react": "^6.24.1", "babel-preset-stage-0": "^6.24.1", "bootstrap": "^3.3.7", - "gatsby": "^1.9.139", + "gatsby": "^1.9.141", "gatsby-link": "^1.6.32", "gatsby-plugin-sharp": "^1.6.24", "gatsby-remark-autolink-headers": "^1.4.10", diff --git a/docs/yarn.lock b/docs/yarn.lock index 9092c67bb027..744f07a49eb0 100644 --- a/docs/yarn.lock +++ b/docs/yarn.lock @@ -4347,9 +4347,9 @@ gatsby-transformer-remark@^1.7.25: unist-util-select "^1.5.0" unist-util-visit "^1.1.1" -gatsby@^1.9.139: - version "1.9.139" - resolved "https://registry.yarnpkg.com/gatsby/-/gatsby-1.9.139.tgz#35003af4acf083bb9cec073a2c707d9249b53ca7" +gatsby@^1.9.141: + version "1.9.141" + resolved "https://registry.yarnpkg.com/gatsby/-/gatsby-1.9.141.tgz#8cde1d84900abcb7dfa910778cafebdb461e73cd" dependencies: async "^2.1.2" babel-code-frame "^6.22.0" From 3d7a4fddf12e836f10440b28cb5824d96c544a75 Mon Sep 17 00:00:00 2001 From: "Dependencies.io Bot" Date: Mon, 18 Dec 2017 16:24:08 +0000 Subject: [PATCH 53/83] Update danger from 2.1.5 to 2.1.6 in / --- package.json | 2 +- yarn.lock | 67 +++++++++++++++++++++++++++++----------------------- 2 files changed, 39 insertions(+), 30 deletions(-) diff --git a/package.json b/package.json index 0ff4b87d1340..a4a0abce91b3 100644 --- a/package.json +++ b/package.json @@ -51,7 +51,7 @@ "codecov": "^3.0.0", "commander": "^2.12.2", "cross-env": "^5.1.1", - "danger": "^2.1.5", + "danger": "^2.1.6", "enzyme": "^3.2.0", "enzyme-adapter-react-16": "^1.1.0", "eslint": "^4.13.1", diff --git a/yarn.lock b/yarn.lock index e65cdc0043c0..a8524bc1ea17 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3165,36 +3165,36 @@ 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.5: - version "2.1.5" - resolved "https://registry.yarnpkg.com/danger/-/danger-2.1.5.tgz#76b0e2a0cf7de82e844391d2f9c560539fdf49c5" +danger@^2.1.6: + version "2.1.6" + resolved "https://registry.yarnpkg.com/danger/-/danger-2.1.6.tgz#ea4b3024cbef422286dc6bdb4d23da132d8ebbe5" dependencies: babel-polyfill "7.0.0-alpha.19" - chalk "^2.0.0" - commander "^2.9.0" - debug "^3.0.0" + chalk "^2.3.0" + commander "^2.12.2" + debug "^3.1.0" get-stdin "^5.0.1" - github "^11" + github "^13.0.1" hyperlinker "^1.0.0" jsome "^2.3.25" jsonpointer "^4.0.1" lodash.find "^4.6.0" lodash.includes "^4.3.0" - lodash.isobject "^2.4.1" + lodash.isobject "^3.0.2" lodash.keys "^4.0.8" node-cleanup "^2.1.2" - node-fetch "^1.6.3" + node-fetch "^1.7.3" parse-diff "^0.4.0" parse-git-config "^1.1.1" - parse-github-url "^1.0.1" + parse-github-url "^1.0.2" parse-link-header "^1.0.1" pinpoint "^1.1.0" readline-sync "^1.4.7" require-from-string "^2.0.1" - rfc6902 "^2.0.0" + rfc6902 "^2.2.2" supports-hyperlinks "^1.0.1" vm2 patriksimek/vm2#custom_files - voca "^1.2.0" + voca "^1.3.1" dargs@^4.0.1: version "4.1.0" @@ -4910,7 +4910,7 @@ github-release-from-changelog@^1.3.0: grizzly "^2.0.0" minimist "^1.2.0" -github@^11, github@^11.0.0: +github@^11.0.0: version "11.0.0" resolved "https://registry.yarnpkg.com/github/-/github-11.0.0.tgz#edb32df5efb33cad004ebf0bdd2a4b30bb63a854" dependencies: @@ -4919,6 +4919,17 @@ github@^11, github@^11.0.0: mime "^1.2.11" netrc "^0.1.4" +github@^13.0.1: + version "13.0.1" + resolved "https://registry.yarnpkg.com/github/-/github-13.0.1.tgz#4ccf4a41df662f92367e77a474674eabb1b6c78d" + dependencies: + debug "^3.1.0" + dotenv "^4.0.0" + https-proxy-agent "^2.1.0" + lodash "^4.17.4" + proxy-from-env "^1.0.0" + url-template "^2.0.8" + glamor@^2.20.40: version "2.20.40" resolved "https://registry.yarnpkg.com/glamor/-/glamor-2.20.40.tgz#f606660357b7cf18dface731ad1a2cfa93817f05" @@ -7119,10 +7130,6 @@ lodash._isiterateecall@^3.0.0: version "3.0.9" resolved "https://registry.yarnpkg.com/lodash._isiterateecall/-/lodash._isiterateecall-3.0.9.tgz#5203ad7ba425fae842460e696db9cf3e6aac057c" -lodash._objecttypes@~2.4.1: - version "2.4.1" - resolved "https://registry.yarnpkg.com/lodash._objecttypes/-/lodash._objecttypes-2.4.1.tgz#7c0b7f69d98a1f76529f890b0cdb1b4dfec11c11" - lodash._reescape@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/lodash._reescape/-/lodash._reescape-3.0.0.tgz#2b1d6f5dfe07c8a355753e5f27fac7f1cde1616a" @@ -7207,11 +7214,9 @@ lodash.isequal@^3.0: lodash._baseisequal "^3.0.0" lodash._bindcallback "^3.0.0" -lodash.isobject@^2.4.1: - version "2.4.1" - resolved "https://registry.yarnpkg.com/lodash.isobject/-/lodash.isobject-2.4.1.tgz#5a2e47fe69953f1ee631a7eba1fe64d2d06558f5" - dependencies: - lodash._objecttypes "~2.4.1" +lodash.isobject@^3.0.2: + version "3.0.2" + resolved "https://registry.yarnpkg.com/lodash.isobject/-/lodash.isobject-3.0.2.tgz#3c8fb8d5b5bf4bf90ae06e14f2a530a4ed935e1d" lodash.isplainobject@^4.0.6: version "4.0.6" @@ -7832,7 +7837,7 @@ node-dir@^0.1.10: dependencies: minimatch "^3.0.2" -node-fetch@^1.0.1, node-fetch@^1.3.3, node-fetch@^1.6.3: +node-fetch@^1.0.1, node-fetch@^1.3.3, node-fetch@^1.7.3: version "1.7.3" resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-1.7.3.tgz#980f6f72d85211a5347c6b2bc18c5b84c3eb47ef" dependencies: @@ -8328,9 +8333,9 @@ parse-github-repo-url@^1.3.0: version "1.4.1" resolved "https://registry.yarnpkg.com/parse-github-repo-url/-/parse-github-repo-url-1.4.1.tgz#9e7d8bb252a6cb6ba42595060b7bf6df3dbc1f50" -parse-github-url@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/parse-github-url/-/parse-github-url-1.0.1.tgz#af8d10e58cca8cfcc6e8975dd56942ccb36f5119" +parse-github-url@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/parse-github-url/-/parse-github-url-1.0.2.tgz#242d3b65cbcdda14bb50439e3242acf6971db395" parse-glob@^3.0.4: version "3.0.4" @@ -10173,7 +10178,7 @@ ret@~0.1.10: version "0.1.15" resolved "https://registry.yarnpkg.com/ret/-/ret-0.1.15.tgz#b8a4825d5bdb1fc3f6f53c2bc33f81388681c7bc" -rfc6902@^2.0.0: +rfc6902@^2.2.2: version "2.2.2" resolved "https://registry.yarnpkg.com/rfc6902/-/rfc6902-2.2.2.tgz#518a4e9caac1688f3d94c9df2fdcdb6ce21f29be" @@ -11544,6 +11549,10 @@ url-parse@^1.1.8, url-parse@^1.1.9: querystringify "~1.0.0" requires-port "~1.0.0" +url-template@^2.0.8: + version "2.0.8" + resolved "https://registry.yarnpkg.com/url-template/-/url-template-2.0.8.tgz#fc565a3cccbff7730c775f5641f9555791439f21" + url@^0.11.0: version "0.11.0" resolved "https://registry.yarnpkg.com/url/-/url-0.11.0.tgz#3838e97cfc60521eb73c525a8e55bfdd9e2e28f1" @@ -11693,11 +11702,11 @@ vm-browserify@0.0.4: dependencies: indexof "0.0.1" -vm2@patriksimek/vm2#custom_files: +"vm2@github:patriksimek/vm2#custom_files": version "3.5.0" resolved "https://codeload.github.com/patriksimek/vm2/tar.gz/7e82f90ac705fc44fad044147cb0df09b4c79a57" -voca@^1.2.0: +voca@^1.3.1: version "1.3.1" resolved "https://registry.yarnpkg.com/voca/-/voca-1.3.1.tgz#60c911dd41841785192b4d35971ec2b36f8ef779" From 684479dfbbf4fda08f1e19f104e593235eefeadb Mon Sep 17 00:00:00 2001 From: Emmanuel Vuigner Date: Mon, 18 Dec 2017 21:35:06 +0100 Subject: [PATCH 54/83] fix: update links to webpack docs to the new documentation website --- docs/src/pages/basics/writing-stories/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/pages/basics/writing-stories/index.md b/docs/src/pages/basics/writing-stories/index.md index cc06435695a8..68d0ae93b54a 100644 --- a/docs/src/pages/basics/writing-stories/index.md +++ b/docs/src/pages/basics/writing-stories/index.md @@ -63,7 +63,7 @@ function loadStories() { configure(loadStories, module); ``` -Here we use Webpack's [require.context](https://webpack.github.io/docs/context.html#require-context) to load modules dynamically. Have a look at the relevant Webpack [docs](https://webpack.github.io/docs/context.html#require-context) to learn more about how to use require.context. +Here we use Webpack's [require.context](https://webpack.js.org/guides/dependency-management/#require-context) to load modules dynamically. Have a look at the relevant Webpack [docs](https://webpack.js.org/guides/dependency-management/#require-context) to learn more about how to use require.context. The **React Native** packager resolves all the imports at build-time, so it's not possible to load modules dynamically. If you don't want to import all your stories manually you can use [react-native-storybook-loader](https://github.com/elderfo/react-native-storybook-loader) to automatically create the import statements for all of your stories. From 85535abc53782a5e39d6ae54b11099a87c76d3c8 Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Mon, 18 Dec 2017 13:53:25 -0800 Subject: [PATCH 55/83] 3.2.18 changelog --- CHANGELOG.md | 174 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 174 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 541765fdc5d0..be7d4ca9efda 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,177 @@ +# 3.2.18 + +2017-December-18 + +#### Bug Fixes + +- Number knob: apply default min/max/step values only in range mode [#2437](https://github.com/storybooks/storybook/pull/2437) +- [addon-actions] Check result of getPropertyDescriptor for IE11 [#2428](https://github.com/storybooks/storybook/pull/2428) +- Edited template of search box result item to fix overflow text in row [#2419](https://github.com/storybooks/storybook/pull/2419) +- Fix missing supported extension check in case when asset is a string [#2468](https://github.com/storybooks/storybook/pull/2468) + +#### Documentation + +- Fix react-native-vanilla to actually run storybook and document how to run it [#2274](https://github.com/storybooks/storybook/pull/2274) +- Add another state addon to the gallery [#2391](https://github.com/storybooks/storybook/pull/2391) +- Create ISSUE_TEMPLATE.md [#2426](https://github.com/storybooks/storybook/pull/2426) +- fix Button dependency & typo in composant name in documentation [#2465](https://github.com/storybooks/storybook/pull/2465) +- add vue storybook boilerplate [#2421](https://github.com/storybooks/storybook/pull/2421) +- fix: update links to webpack docs [#2512](https://github.com/storybooks/storybook/pull/2512) + +#### Maintenance + +- Do not remove debugger-statements during development [#2493](https://github.com/storybooks/storybook/pull/2493) +- FIX react-native-test in CI [#2444](https://github.com/storybooks/storybook/pull/2444) + +#### Dependency Upgrades + +
+ +139 PRs + + +- Update gatsby in /docs from 1.9.139 to 1.9.141 [#2510](https://github.com/storybooks/storybook/pull/2510) +- Update gatsby in /docs from 1.9.138 to 1.9.139 [#2499](https://github.com/storybooks/storybook/pull/2499) +- Upgraded `eslint-plugin-prettier` in `/` from "2.3.1" to "2.4.0" [#2500](https://github.com/storybooks/storybook/pull/2500) +- Upgraded `graphql` in `addons/graphql` from "0.11.7" to "0.12.3" [#2500](https://github.com/storybooks/storybook/pull/2500) +- Upgraded `moment` in `addons/knobs` from "2.19.4" to "2.20.0" [#2500](https://github.com/storybooks/storybook/pull/2500) +- Upgraded `ws` in `app/react-native` from "3.3.2" to "3.3.3" [#2500](https://github.com/storybooks/storybook/pull/2500) +- Upgraded `moment` in `addons/comments` from "2.19.4" to "2.20.0" [#2500](https://github.com/storybooks/storybook/pull/2500) +- Update gatsby in /docs from 1.9.135 to 1.9.138 [#2497](https://github.com/storybooks/storybook/pull/2497) +- Upgraded `eslint-plugin-jest` in `/` from "21.4.3" to "21.5.0" [#2496](https://github.com/storybooks/storybook/pull/2496) +- Upgraded `nodemon` in `/` from "1.12.7" to "1.13.2" [#2496](https://github.com/storybooks/storybook/pull/2496) +- Upgraded `nodemon` in `app/react` from "1.12.7" to "1.13.2" [#2496](https://github.com/storybooks/storybook/pull/2496) +- Upgraded `nodemon` in `app/vue` from "1.12.7" to "1.13.2" [#2496](https://github.com/storybooks/storybook/pull/2496) +- Update gatsby-remark-copy-linked-files in /docs from 1.5.23 to 1.5.24 [#2495](https://github.com/storybooks/storybook/pull/2495) +- Update gatsby in /docs from 1.9.134 to 1.9.135 [#2491](https://github.com/storybooks/storybook/pull/2491) +- Update danger in / from 2.1.4 to 2.1.5 [#2489](https://github.com/storybooks/storybook/pull/2489) +- Upgraded `gatsby-plugin-sharp` in `/docs` from "1.6.23" to "1.6.24" [#2490](https://github.com/storybooks/storybook/pull/2490) +- Upgraded `gatsby-remark-images` in `/docs` from "1.5.35" to "1.5.36" [#2490](https://github.com/storybooks/storybook/pull/2490) +- Upgraded `eslint-plugin-jest` in `/` from "21.4.2" to "21.4.3" [#2488](https://github.com/storybooks/storybook/pull/2488) +- Upgraded `nodemon` in `/` from "1.12.6" to "1.12.7" [#2488](https://github.com/storybooks/storybook/pull/2488) +- Upgraded `symlink-dir` in `/` from "1.1.0" to "1.1.1" [#2488](https://github.com/storybooks/storybook/pull/2488) +- Upgraded `@types/node` in `addons/knobs` from "8.0.58" to "8.5.1" [#2488](https://github.com/storybooks/storybook/pull/2488) +- Upgraded `@types/react` in `addons/knobs` from "16.0.29" to "16.0.30" [#2488](https://github.com/storybooks/storybook/pull/2488) +- Upgraded `style-loader` in `addons/knobs` from "0.19.0" to "0.19.1" [#2488](https://github.com/storybooks/storybook/pull/2488) +- Upgraded `vue` in `addons/knobs` from "2.5.10" to "2.5.11" [#2488](https://github.com/storybooks/storybook/pull/2488) +- Upgraded `autoprefixer` in `app/react-native` from "7.2.2" to "7.2.3" [#2488](https://github.com/storybooks/storybook/pull/2488) +- Upgraded `style-loader` in `app/react-native` from "0.18.2" to "0.19.1" [#2488](https://github.com/storybooks/storybook/pull/2488) +- Upgraded `autoprefixer` in `app/react` from "7.2.2" to "7.2.3" [#2488](https://github.com/storybooks/storybook/pull/2488) +- Upgraded `style-loader` in `app/react` from "0.18.2" to "0.19.1" [#2488](https://github.com/storybooks/storybook/pull/2488) +- Upgraded `nodemon` in `app/react` from "1.12.6" to "1.12.7" [#2488](https://github.com/storybooks/storybook/pull/2488) +- Upgraded `autoprefixer` in `app/vue` from "7.2.2" to "7.2.3" [#2488](https://github.com/storybooks/storybook/pull/2488) +- Upgraded `style-loader` in `app/vue` from "0.18.2" to "0.19.1" [#2488](https://github.com/storybooks/storybook/pull/2488) +- Upgraded `nodemon` in `app/vue` from "1.12.6" to "1.12.7" [#2488](https://github.com/storybooks/storybook/pull/2488) +- Upgraded `vue` in `app/vue` from "2.5.10" to "2.5.11" [#2488](https://github.com/storybooks/storybook/pull/2488) +- Upgraded `vue-template-compiler` in `app/vue` from "2.5.10" to "2.5.11" [#2488](https://github.com/storybooks/storybook/pull/2488) +- Upgraded `vue` in `examples/vue-kitchen-sink` from "2.5.10" to "2.5.11" [#2488](https://github.com/storybooks/storybook/pull/2488) +- Upgraded `vue-template-compiler` in `examples/vue-kitchen-sink` from "2.5.10" to "2.5.11" [#2488](https://github.com/storybooks/storybook/pull/2488) +- Upgraded `gatsby-link` in `/docs` from "1.6.31" to "1.6.32" [#2486](https://github.com/storybooks/storybook/pull/2486) +- Upgraded `gatsby-transformer-remark` in `/docs` from "1.7.24" to "1.7.25" [#2486](https://github.com/storybooks/storybook/pull/2486) +- Upgraded `gatsby` in `/docs` from "1.9.131" to "1.9.134" [#2486](https://github.com/storybooks/storybook/pull/2486) +- Upgraded `gatsby-remark-images` in `/docs` from "1.5.34" to "1.5.35" [#2476](https://github.com/storybooks/storybook/pull/2476) +- Upgraded `gatsby-source-filesystem` in `/docs` from "1.5.10" to "1.5.11" [#2476](https://github.com/storybooks/storybook/pull/2476) +- Upgraded `gatsby` in `/docs` from "1.9.130" to "1.9.131" [#2476](https://github.com/storybooks/storybook/pull/2476) +- Upgraded `eslint-plugin-jsx-a11y` in `/` from "6.0.2" to "6.0.3" [#2477](https://github.com/storybooks/storybook/pull/2477) +- Upgraded `nodemon` in `/` from "1.12.5" to "1.12.6" [#2477](https://github.com/storybooks/storybook/pull/2477) +- Upgraded `vue` in `addons/knobs` from "2.5.9" to "2.5.10" [#2477](https://github.com/storybooks/storybook/pull/2477) +- Upgraded `react-modal` in `lib/ui` from "3.1.7" to "3.1.8" [#2477](https://github.com/storybooks/storybook/pull/2477) +- Upgraded `nodemon` in `app/react` from "1.12.5" to "1.12.6" [#2477](https://github.com/storybooks/storybook/pull/2477) +- Upgraded `nodemon` in `app/vue` from "1.12.5" to "1.12.6" [#2477](https://github.com/storybooks/storybook/pull/2477) +- Upgraded `vue` in `app/vue` from "2.5.9" to "2.5.10" [#2477](https://github.com/storybooks/storybook/pull/2477) +- Upgraded `vue-template-compiler` in `app/vue` from "2.5.9" to "2.5.10" [#2477](https://github.com/storybooks/storybook/pull/2477) +- Upgraded `vue` in `examples/vue-kitchen-sink` from "2.5.9" to "2.5.10" [#2477](https://github.com/storybooks/storybook/pull/2477) +- Upgraded `vue-template-compiler` in `examples/vue-kitchen-sink` from "2.5.9" to "2.5.10" [#2477](https://github.com/storybooks/storybook/pull/2477) +- Upgraded `danger` in `/` from "2.1.3" to "2.1.4" [#2473](https://github.com/storybooks/storybook/pull/2473) +- Upgraded `eslint` in `/` from "4.13.0" to "4.13.1" [#2473](https://github.com/storybooks/storybook/pull/2473) +- Upgraded `prettier` in `/` from "1.9.1" to "1.9.2" [#2473](https://github.com/storybooks/storybook/pull/2473) +- Upgraded `@types/node` in `addons/knobs` from "8.0.57" to "8.0.58" [#2473](https://github.com/storybooks/storybook/pull/2473) +- Upgraded `@types/react` in `addons/knobs` from "16.0.28" to "16.0.29" [#2473](https://github.com/storybooks/storybook/pull/2473) +- Upgraded `core-js` in `app/react` from "2.5.2" to "2.5.3" [#2473](https://github.com/storybooks/storybook/pull/2473) +- Upgraded `core-js` in `app/vue` from "2.5.2" to "2.5.3" [#2473](https://github.com/storybooks/storybook/pull/2473) +- Upgraded `moment` in `addons/knobs` from "2.19.3" to "2.19.4" [#2462](https://github.com/storybooks/storybook/pull/2462) +- Upgraded `moment` in `addons/comments` from "2.19.3" to "2.19.4" [#2462](https://github.com/storybooks/storybook/pull/2462) +- Upgraded `react-inspector` in `addons/actions` from "2.2.1" to "2.2.2" [#2457](https://github.com/storybooks/storybook/pull/2457) +- Upgraded `react-inspector` in `lib/ui` from "2.2.1" to "2.2.2" [#2457](https://github.com/storybooks/storybook/pull/2457) +- Upgraded `gatsby-link` in `/docs` from "1.6.30" to "1.6.31" [#2458](https://github.com/storybooks/storybook/pull/2458) +- Upgraded `gatsby-plugin-sharp` in `/docs` from "1.6.22" to "1.6.23" [#2458](https://github.com/storybooks/storybook/pull/2458) +- Upgraded `gatsby-remark-autolink-headers` in `/docs` from "1.4.9" to "1.4.10" [#2458](https://github.com/storybooks/storybook/pull/2458) +- Upgraded `gatsby-remark-copy-linked-files` in `/docs` from "1.5.22" to "1.5.23" [#2458](https://github.com/storybooks/storybook/pull/2458) +- Upgraded `gatsby-remark-images` in `/docs` from "1.5.33" to "1.5.34" [#2458](https://github.com/storybooks/storybook/pull/2458) +- Upgraded `gatsby-remark-smartypants` in `/docs` from "1.4.9" to "1.4.10" [#2458](https://github.com/storybooks/storybook/pull/2458) +- Upgraded `gatsby-source-filesystem` in `/docs` from "1.5.9" to "1.5.10" [#2458](https://github.com/storybooks/storybook/pull/2458) +- Upgraded `gatsby-transformer-remark` in `/docs` from "1.7.23" to "1.7.24" [#2458](https://github.com/storybooks/storybook/pull/2458) +- Upgraded `gatsby` in `/docs` from "1.9.128" to "1.9.130" [#2458](https://github.com/storybooks/storybook/pull/2458) +- Update react-stack-grid in /docs from 0.6.0 to 0.7.0 [#2453](https://github.com/storybooks/storybook/pull/2453) +- Upgraded `eslint` in `/` from "4.12.1" to "4.13.0" [#2454](https://github.com/storybooks/storybook/pull/2454) +- Upgraded `core-js` in `app/react` from "2.5.1" to "2.5.2" [#2454](https://github.com/storybooks/storybook/pull/2454) +- Upgraded `core-js` in `app/vue` from "2.5.1" to "2.5.2" [#2454](https://github.com/storybooks/storybook/pull/2454) +- Upgraded `@types/node` in `addons/knobs` from "8.0.56" to "8.0.57" [#2448](https://github.com/storybooks/storybook/pull/2448) +- Upgraded `@types/react` in `addons/knobs` from "16.0.27" to "16.0.28" [#2448](https://github.com/storybooks/storybook/pull/2448) +- Upgraded `autoprefixer` in `app/react-native` from "7.2.1" to "7.2.2" [#2448](https://github.com/storybooks/storybook/pull/2448) +- Upgraded `autoprefixer` in `app/react` from "7.2.1" to "7.2.2" [#2448](https://github.com/storybooks/storybook/pull/2448) +- Upgraded `autoprefixer` in `app/vue` from "7.2.1" to "7.2.2" [#2448](https://github.com/storybooks/storybook/pull/2448) +- Upgraded `danger` in `/` from "2.1.2" to "2.1.3" [#2447](https://github.com/storybooks/storybook/pull/2447) +- Upgraded `jscodeshift` in `lib/codemod` from "0.3.32" to "0.4.0" [#2447](https://github.com/storybooks/storybook/pull/2447) +- Upgraded `jscodeshift` in `lib/cli` from "0.3.32" to "0.4.0" [#2447](https://github.com/storybooks/storybook/pull/2447) +- Upgraded `webpack-dev-server` in `examples/vue-kitchen-sink` from "2.9.6" to "2.9.7" [#2447](https://github.com/storybooks/storybook/pull/2447) +- Upgraded `danger` in `/` from "2.0.3" to "2.1.2" [#2442](https://github.com/storybooks/storybook/pull/2442) +- Upgraded `eslint-plugin-jest` in `/` from "21.4.1" to "21.4.2" [#2442](https://github.com/storybooks/storybook/pull/2442) +- Upgraded `github-release-from-changelog` in `/` from "1.2.1" to "1.3.0" [#2442](https://github.com/storybooks/storybook/pull/2442) +- Upgraded `nodemon` in `/` from "1.12.4" to "1.12.5" [#2442](https://github.com/storybooks/storybook/pull/2442) +- Upgraded `prettier` in `/` from "1.9.0" to "1.9.1" [#2442](https://github.com/storybooks/storybook/pull/2442) +- Upgraded `@types/node` in `addons/knobs` from "8.0.54" to "8.0.55" [#2442](https://github.com/storybooks/storybook/pull/2442) +- Upgraded `react-native` in `app/react-native` from "0.50.4" to "0.51.0" [#2442](https://github.com/storybooks/storybook/pull/2442) +- Upgraded `nodemon` in `app/react` from "1.12.4" to "1.12.5" [#2442](https://github.com/storybooks/storybook/pull/2442) +- Upgraded `nodemon` in `app/vue` from "1.12.4" to "1.12.5" [#2442](https://github.com/storybooks/storybook/pull/2442) +- Upgraded `@types/node` in `addons/knobs` from "8.0.54" to "8.0.56" [#2443](https://github.com/storybooks/storybook/pull/2443) +- Upgraded `webpack-dev-server` in `examples/vue-kitchen-sink` from "2.9.5" to "2.9.6" [#2443](https://github.com/storybooks/storybook/pull/2443) +- Update fs-extra in / from 4.0.2 to 4.0.3 [#2433](https://github.com/storybooks/storybook/pull/2433) +- Upgraded `eslint-plugin-jest` in `/` from "21.4.0" to "21.4.1" [#2430](https://github.com/storybooks/storybook/pull/2430) +- Upgraded `prettier` in `/` from "1.8.2" to "1.9.0" [#2430](https://github.com/storybooks/storybook/pull/2430) +- Upgraded `babel-eslint` in `/` from "8.0.2" to "8.0.3" [#2429](https://github.com/storybooks/storybook/pull/2429) +- Upgraded `commander` in `/` from "2.12.1" to "2.12.2" [#2429](https://github.com/storybooks/storybook/pull/2429) +- Upgraded `eslint` in `/` from "4.12.0" to "4.12.1" [#2429](https://github.com/storybooks/storybook/pull/2429) +- Upgraded `eslint-plugin-jest` in `/` from "21.3.2" to "21.4.0" [#2429](https://github.com/storybooks/storybook/pull/2429) +- Upgraded `inquirer` in `/` from "4.0.0" to "4.0.1" [#2429](https://github.com/storybooks/storybook/pull/2429) +- Upgraded `nodemon` in `/` from "1.12.1" to "1.12.4" [#2429](https://github.com/storybooks/storybook/pull/2429) +- Upgraded `moment` in `addons/knobs` from "2.19.2" to "2.19.3" [#2429](https://github.com/storybooks/storybook/pull/2429) +- Upgraded `react-datetime` in `addons/knobs` from "2.11.0" to "2.11.1" [#2429](https://github.com/storybooks/storybook/pull/2429) +- Upgraded `@types/node` in `addons/knobs` from "8.0.53" to "8.0.54" [#2429](https://github.com/storybooks/storybook/pull/2429) +- Upgraded `@types/react` in `addons/knobs` from "16.0.25" to "16.0.27" [#2429](https://github.com/storybooks/storybook/pull/2429) +- Upgraded `typescript` in `addons/knobs` from "2.6.1" to "2.6.2" [#2429](https://github.com/storybooks/storybook/pull/2429) +- Upgraded `vue` in `addons/knobs` from "2.5.8" to "2.5.9" [#2429](https://github.com/storybooks/storybook/pull/2429) +- Upgraded `commander` in `lib/cli` from "2.12.1" to "2.12.2" [#2429](https://github.com/storybooks/storybook/pull/2429) +- Upgraded `react-modal` in `lib/ui` from "3.1.4" to "3.1.7" [#2429](https://github.com/storybooks/storybook/pull/2429) +- Upgraded `autoprefixer` in `app/react-native` from "7.1.6" to "7.2.1" [#2429](https://github.com/storybooks/storybook/pull/2429) +- Upgraded `commander` in `app/react-native` from "2.12.1" to "2.12.2" [#2429](https://github.com/storybooks/storybook/pull/2429) +- Upgraded `webpack` in `app/react-native` from "3.8.1" to "3.10.0" [#2429](https://github.com/storybooks/storybook/pull/2429) +- Upgraded `airbnb-js-shims` in `app/react` from "1.3.0" to "1.4.0" [#2429](https://github.com/storybooks/storybook/pull/2429) +- Upgraded `autoprefixer` in `app/react` from "7.1.6" to "7.2.1" [#2429](https://github.com/storybooks/storybook/pull/2429) +- Upgraded `commander` in `app/react` from "2.12.1" to "2.12.2" [#2429](https://github.com/storybooks/storybook/pull/2429) +- Upgraded `webpack` in `app/react` from "3.8.1" to "3.10.0" [#2429](https://github.com/storybooks/storybook/pull/2429) +- Upgraded `nodemon` in `app/react` from "1.12.1" to "1.12.4" [#2429](https://github.com/storybooks/storybook/pull/2429) +- Upgraded `airbnb-js-shims` in `app/vue` from "1.3.0" to "1.4.0" [#2429](https://github.com/storybooks/storybook/pull/2429) +- Upgraded `autoprefixer` in `app/vue` from "7.1.6" to "7.2.1" [#2429](https://github.com/storybooks/storybook/pull/2429) +- Upgraded `commander` in `app/vue` from "2.12.1" to "2.12.2" [#2429](https://github.com/storybooks/storybook/pull/2429) +- Upgraded `webpack` in `app/vue` from "3.8.1" to "3.10.0" [#2429](https://github.com/storybooks/storybook/pull/2429) +- Upgraded `nodemon` in `app/vue` from "1.12.1" to "1.12.4" [#2429](https://github.com/storybooks/storybook/pull/2429) +- Upgraded `vue` in `app/vue` from "2.5.8" to "2.5.9" [#2429](https://github.com/storybooks/storybook/pull/2429) +- Upgraded `vue-template-compiler` in `app/vue` from "2.5.8" to "2.5.9" [#2429](https://github.com/storybooks/storybook/pull/2429) +- Upgraded `marked` in `addons/comments` from "0.3.6" to "0.3.7" [#2429](https://github.com/storybooks/storybook/pull/2429) +- Upgraded `moment` in `addons/comments` from "2.19.2" to "2.19.3" [#2429](https://github.com/storybooks/storybook/pull/2429) +- Upgraded `vue` in `examples/vue-kitchen-sink` from "2.5.8" to "2.5.9" [#2429](https://github.com/storybooks/storybook/pull/2429) +- Upgraded `vue-template-compiler` in `examples/vue-kitchen-sink` from "2.5.8" to "2.5.9" [#2429](https://github.com/storybooks/storybook/pull/2429) +- Upgraded `webpack` in `examples/vue-kitchen-sink` from "3.8.1" to "3.10.0" [#2429](https://github.com/storybooks/storybook/pull/2429) +- Upgraded `webpack-dev-server` in `examples/vue-kitchen-sink` from "2.9.4" to "2.9.5" [#2429](https://github.com/storybooks/storybook/pull/2429) +- Upgraded `@storybook/addon-actions` in `/docs` from "3.2.16" to "3.2.17" [#2427](https://github.com/storybooks/storybook/pull/2427) +- Upgraded `@storybook/addon-links` in `/docs` from "3.2.16" to "3.2.17" [#2427](https://github.com/storybooks/storybook/pull/2427) +- Upgraded `@storybook/addons` in `/docs` from "3.2.16" to "3.2.17" [#2427](https://github.com/storybooks/storybook/pull/2427) +- Upgraded `@storybook/react` in `/docs` from "3.2.16" to "3.2.17" [#2427](https://github.com/storybooks/storybook/pull/2427) +- React 16.2 [#2393](https://github.com/storybooks/storybook/pull/2393) + +
+ # 3.2.17 2017-December-03 From 2aea83798e2656ee8ca01c6ddd0e7f09d50a86de Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Mon, 18 Dec 2017 13:58:53 -0800 Subject: [PATCH 56/83] v3.2.18 --- addons/a11y/package.json | 6 ++--- addons/actions/package.json | 4 ++-- addons/background/package.json | 2 +- addons/centered/package.json | 2 +- addons/comments/package.json | 8 +++---- addons/events/package.json | 4 ++-- addons/graphql/package.json | 2 +- addons/info/package.json | 6 ++--- addons/jest/package.json | 4 ++-- addons/knobs/package.json | 4 ++-- addons/links/package.json | 4 ++-- addons/notes/package.json | 4 ++-- addons/options/package.json | 4 ++-- addons/storyshots/package.json | 10 ++++---- app/react-native/package.json | 12 +++++----- app/react/package.json | 12 +++++----- app/vue/package.json | 12 +++++----- examples/cra-kitchen-sink/package.json | 32 +++++++++++++------------- examples/vue-kitchen-sink/package.json | 16 ++++++------- lerna.json | 2 +- lib/addons/package.json | 2 +- lib/channel-postmessage/package.json | 4 ++-- lib/channel-websocket/package.json | 4 ++-- lib/channels/package.json | 2 +- lib/cli/package.json | 4 ++-- lib/codemod/package.json | 2 +- lib/components/package.json | 2 +- lib/ui/package.json | 4 ++-- 28 files changed, 87 insertions(+), 87 deletions(-) diff --git a/addons/a11y/package.json b/addons/a11y/package.json index a40955f42e7d..20370bd6345c 100644 --- a/addons/a11y/package.json +++ b/addons/a11y/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-a11y", - "version": "3.2.17", + "version": "3.2.18", "description": "a11y addon for storybook", "keywords": [ "a11y", @@ -24,8 +24,8 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "^3.2.17", - "@storybook/components": "^3.2.17", + "@storybook/addons": "^3.2.18", + "@storybook/components": "^3.2.18", "axe-core": "^2.0.7", "prop-types": "^15.6.0" }, diff --git a/addons/actions/package.json b/addons/actions/package.json index 567e00312fd3..037b63c05ddb 100644 --- a/addons/actions/package.json +++ b/addons/actions/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-actions", - "version": "3.2.17", + "version": "3.2.18", "description": "Action Logger addon for storybook", "keywords": [ "storybook" @@ -19,7 +19,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "^3.2.17", + "@storybook/addons": "^3.2.18", "deep-equal": "^1.0.1", "json-stringify-safe": "^5.0.1", "prop-types": "^15.6.0", diff --git a/addons/background/package.json b/addons/background/package.json index 7bb1b756107e..4d29ba723111 100644 --- a/addons/background/package.json +++ b/addons/background/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-backgrounds", - "version": "3.2.17", + "version": "3.2.18", "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 41b65e372714..9ff0e1dd380c 100644 --- a/addons/centered/package.json +++ b/addons/centered/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-centered", - "version": "3.2.17", + "version": "3.2.18", "description": "Storybook decorator to center components", "license": "MIT", "author": "Muhammed Thanish ", diff --git a/addons/comments/package.json b/addons/comments/package.json index a72587b3ffdd..f5897ffc6462 100644 --- a/addons/comments/package.json +++ b/addons/comments/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-comments", - "version": "3.2.17", + "version": "3.2.18", "description": "Comments addon for Storybook", "keywords": [ "storybook" @@ -23,7 +23,7 @@ "storybook-remote": "start-storybook -p 3006" }, "dependencies": { - "@storybook/addons": "^3.2.17", + "@storybook/addons": "^3.2.18", "babel-runtime": "^6.26.0", "deep-equal": "^1.0.1", "events": "^1.1.1", @@ -38,8 +38,8 @@ "devDependencies": { "@kadira/storybook-database-cloud": "*", "@kadira/storybook-deployer": "*", - "@storybook/addon-actions": "^3.2.17", - "@storybook/react": "^3.2.17" + "@storybook/addon-actions": "^3.2.18", + "@storybook/react": "^3.2.18" }, "peerDependencies": { "react": "*" diff --git a/addons/events/package.json b/addons/events/package.json index f1ededf29cae..970be3cc7875 100644 --- a/addons/events/package.json +++ b/addons/events/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-events", - "version": "3.2.17", + "version": "3.2.18", "description": "Add events to your Storybook stories.", "keywords": [ "addon", @@ -20,7 +20,7 @@ "storybook": "start-storybook -p 6006" }, "dependencies": { - "@storybook/addons": "^3.2.17", + "@storybook/addons": "^3.2.18", "babel-runtime": "^6.26.0", "format-json": "^1.0.3", "prop-types": "^15.6.0", diff --git a/addons/graphql/package.json b/addons/graphql/package.json index 93c27fcdab4d..51789998cd34 100644 --- a/addons/graphql/package.json +++ b/addons/graphql/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-graphql", - "version": "3.2.17", + "version": "3.2.18", "description": "Storybook addon to display the GraphiQL IDE", "keywords": [ "storybook" diff --git a/addons/info/package.json b/addons/info/package.json index 9093e793e85c..0cc1eeab25ae 100644 --- a/addons/info/package.json +++ b/addons/info/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-info", - "version": "3.2.17", + "version": "3.2.18", "description": "A Storybook addon to show additional information for your stories.", "license": "MIT", "main": "dist/index.js", @@ -14,8 +14,8 @@ "storybook": "start-storybook -p 9010" }, "dependencies": { - "@storybook/addons": "^3.2.17", - "@storybook/components": "^3.2.17", + "@storybook/addons": "^3.2.18", + "@storybook/components": "^3.2.18", "babel-runtime": "^6.26.0", "global": "^4.3.2", "marksy": "^2.0.0", diff --git a/addons/jest/package.json b/addons/jest/package.json index 66d91a732f4f..7573d48d1ff2 100644 --- a/addons/jest/package.json +++ b/addons/jest/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-jest", - "version": "3.2.17", + "version": "3.2.18", "description": "React storybook addon that show component jest report", "keywords": [ "addon", @@ -24,7 +24,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/components": "^3.2.17", + "@storybook/components": "^3.2.18", "glamor": "^2.20.40", "glamorous": "^4.11.0", "global": "^4.3.2", diff --git a/addons/knobs/package.json b/addons/knobs/package.json index a4a795bdc567..4abe4d8ba601 100644 --- a/addons/knobs/package.json +++ b/addons/knobs/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-knobs", - "version": "3.2.17", + "version": "3.2.18", "description": "Storybook Addon Prop Editor Component", "license": "MIT", "main": "dist/index.js", @@ -14,7 +14,7 @@ "storybook": "start-storybook -p 9010" }, "dependencies": { - "@storybook/addons": "^3.2.17", + "@storybook/addons": "^3.2.18", "babel-runtime": "^6.26.0", "deep-equal": "^1.0.1", "global": "^4.3.2", diff --git a/addons/links/package.json b/addons/links/package.json index 449c8cf59a98..3837bb62e52a 100644 --- a/addons/links/package.json +++ b/addons/links/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-links", - "version": "3.2.17", + "version": "3.2.18", "description": "Story Links addon for storybook", "keywords": [ "storybook" @@ -21,7 +21,7 @@ "storybook": "start-storybook -p 9001" }, "dependencies": { - "@storybook/addons": "^3.2.17" + "@storybook/addons": "^3.2.18" }, "peerDependencies": { "react": "*", diff --git a/addons/notes/package.json b/addons/notes/package.json index 48e11f0546ee..ce31670f632a 100644 --- a/addons/notes/package.json +++ b/addons/notes/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-notes", - "version": "3.2.17", + "version": "3.2.18", "description": "Write notes for your Storybook stories.", "keywords": [ "addon", @@ -19,7 +19,7 @@ "storybook": "start-storybook -p 9010" }, "dependencies": { - "@storybook/addons": "^3.2.17", + "@storybook/addons": "^3.2.18", "babel-runtime": "^6.26.0", "prop-types": "^15.6.0", "util-deprecate": "^1.0.2" diff --git a/addons/options/package.json b/addons/options/package.json index a73e9b04ec04..0b89c3833862 100644 --- a/addons/options/package.json +++ b/addons/options/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-options", - "version": "3.2.17", + "version": "3.2.18", "description": "Options addon for storybook", "keywords": [ "storybook" @@ -20,7 +20,7 @@ "storybook": "start-storybook -p 9001" }, "dependencies": { - "@storybook/addons": "^3.2.17" + "@storybook/addons": "^3.2.18" }, "peerDependencies": { "react": "*", diff --git a/addons/storyshots/package.json b/addons/storyshots/package.json index d28136cf5b3d..f90c6d5bc8fd 100644 --- a/addons/storyshots/package.json +++ b/addons/storyshots/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-storyshots", - "version": "3.2.17", + "version": "3.2.18", "description": "StoryShots is a Jest Snapshot Testing Addon for Storybook.", "license": "MIT", "main": "dist/index.js", @@ -14,7 +14,7 @@ "storybook": "start-storybook -p 6006" }, "dependencies": { - "@storybook/channels": "^3.2.17", + "@storybook/channels": "^3.2.18", "babel-core": "^6.26.0", "babel-runtime": "^6.26.0", "global": "^4.3.2", @@ -22,11 +22,11 @@ "read-pkg-up": "^3.0.0" }, "devDependencies": { - "@storybook/addons": "^3.2.17", - "@storybook/react": "^3.2.17" + "@storybook/addons": "^3.2.18", + "@storybook/react": "^3.2.18" }, "peerDependencies": { - "@storybook/addons": "^3.2.17", + "@storybook/addons": "^3.2.18", "react": "*", "react-test-renderer": "*" } diff --git a/app/react-native/package.json b/app/react-native/package.json index 215dcefc77bc..9a166ba431dd 100644 --- a/app/react-native/package.json +++ b/app/react-native/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/react-native", - "version": "3.2.17", + "version": "3.2.18", "description": "A better way to develop React Native Components for your app", "keywords": [ "react", @@ -24,11 +24,11 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addon-actions": "^3.2.17", - "@storybook/addon-links": "^3.2.17", - "@storybook/addons": "^3.2.17", - "@storybook/channel-websocket": "^3.2.17", - "@storybook/ui": "^3.2.17", + "@storybook/addon-actions": "^3.2.18", + "@storybook/addon-links": "^3.2.18", + "@storybook/addons": "^3.2.18", + "@storybook/channel-websocket": "^3.2.18", + "@storybook/ui": "^3.2.18", "autoprefixer": "^7.2.3", "babel-core": "^6.26.0", "babel-loader": "^7.1.2", diff --git a/app/react/package.json b/app/react/package.json index 0a64e3cf8534..bdedf48f4496 100644 --- a/app/react/package.json +++ b/app/react/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/react", - "version": "3.2.17", + "version": "3.2.18", "description": "Storybook for React: Develop React Component in isolation with Hot Reloading.", "homepage": "https://github.com/storybooks/storybook/tree/master/app/react", "bugs": { @@ -22,11 +22,11 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addon-actions": "^3.2.17", - "@storybook/addon-links": "^3.2.17", - "@storybook/addons": "^3.2.17", - "@storybook/channel-postmessage": "^3.2.17", - "@storybook/ui": "^3.2.17", + "@storybook/addon-actions": "^3.2.18", + "@storybook/addon-links": "^3.2.18", + "@storybook/addons": "^3.2.18", + "@storybook/channel-postmessage": "^3.2.18", + "@storybook/ui": "^3.2.18", "airbnb-js-shims": "^1.4.0", "autoprefixer": "^7.2.3", "babel-core": "^6.26.0", diff --git a/app/vue/package.json b/app/vue/package.json index 95b042ba8ad4..602da0bae1e7 100644 --- a/app/vue/package.json +++ b/app/vue/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/vue", - "version": "3.2.17", + "version": "3.2.18", "description": "Storybook for Vue: Develop Vue Component in isolation with Hot Reloading.", "homepage": "https://github.com/storybooks/storybook/tree/master/apps/vue", "bugs": { @@ -22,11 +22,11 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addon-actions": "^3.2.17", - "@storybook/addon-links": "^3.2.17", - "@storybook/addons": "^3.2.17", - "@storybook/channel-postmessage": "^3.2.17", - "@storybook/ui": "^3.2.17", + "@storybook/addon-actions": "^3.2.18", + "@storybook/addon-links": "^3.2.18", + "@storybook/addons": "^3.2.18", + "@storybook/channel-postmessage": "^3.2.18", + "@storybook/ui": "^3.2.18", "airbnb-js-shims": "^1.4.0", "autoprefixer": "^7.2.3", "babel-core": "^6.26.0", diff --git a/examples/cra-kitchen-sink/package.json b/examples/cra-kitchen-sink/package.json index 9c716c883a88..82d2a94bbdbe 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.2.17", + "version": "3.2.18", "scripts": { "build": "react-scripts build", "build-storybook": "build-storybook -s public", @@ -22,21 +22,21 @@ "uuid": "^3.1.0" }, "devDependencies": { - "@storybook/addon-a11y": "^3.2.17", - "@storybook/addon-actions": "^3.2.17", - "@storybook/addon-backgrounds": "^3.2.17", - "@storybook/addon-centered": "^3.2.17", - "@storybook/addon-events": "^3.2.17", - "@storybook/addon-info": "^3.2.17", - "@storybook/addon-jest": "^3.2.17", - "@storybook/addon-knobs": "^3.2.17", - "@storybook/addon-links": "^3.2.17", - "@storybook/addon-notes": "^3.2.17", - "@storybook/addon-options": "^3.2.17", - "@storybook/addon-storyshots": "^3.2.17", - "@storybook/addons": "^3.2.17", - "@storybook/components": "^3.2.17", - "@storybook/react": "^3.2.17", + "@storybook/addon-a11y": "^3.2.18", + "@storybook/addon-actions": "^3.2.18", + "@storybook/addon-backgrounds": "^3.2.18", + "@storybook/addon-centered": "^3.2.18", + "@storybook/addon-events": "^3.2.18", + "@storybook/addon-info": "^3.2.18", + "@storybook/addon-jest": "^3.2.18", + "@storybook/addon-knobs": "^3.2.18", + "@storybook/addon-links": "^3.2.18", + "@storybook/addon-notes": "^3.2.18", + "@storybook/addon-options": "^3.2.18", + "@storybook/addon-storyshots": "^3.2.18", + "@storybook/addons": "^3.2.18", + "@storybook/components": "^3.2.18", + "@storybook/react": "^3.2.18", "babel-jest": "^21.2.0", "jest": "^21.2.1", "react-scripts": "1.0.17" diff --git a/examples/vue-kitchen-sink/package.json b/examples/vue-kitchen-sink/package.json index 5e10fff86147..ea64dbdfa46d 100644 --- a/examples/vue-kitchen-sink/package.json +++ b/examples/vue-kitchen-sink/package.json @@ -1,15 +1,15 @@ { "name": "vue-example", - "version": "3.2.17", + "version": "3.2.18", "private": true, "devDependencies": { - "@storybook/addon-actions": "^3.2.17", - "@storybook/addon-centered": "^3.2.17", - "@storybook/addon-knobs": "^3.2.17", - "@storybook/addon-links": "^3.2.17", - "@storybook/addon-notes": "^3.2.17", - "@storybook/addons": "^3.2.17", - "@storybook/vue": "^3.2.17", + "@storybook/addon-actions": "^3.2.18", + "@storybook/addon-centered": "^3.2.18", + "@storybook/addon-knobs": "^3.2.18", + "@storybook/addon-links": "^3.2.18", + "@storybook/addon-notes": "^3.2.18", + "@storybook/addons": "^3.2.18", + "@storybook/vue": "^3.2.18", "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 8d09b966d69a..5dc5ae6f526c 100644 --- a/lerna.json +++ b/lerna.json @@ -8,5 +8,5 @@ } }, "concurrency": 1, - "version": "3.2.17" + "version": "3.2.18" } diff --git a/lib/addons/package.json b/lib/addons/package.json index 1c4eb9b81081..ceb3994d1fd9 100644 --- a/lib/addons/package.json +++ b/lib/addons/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addons", - "version": "3.2.17", + "version": "3.2.18", "description": "Storybook addons store", "keywords": [ "storybook" diff --git a/lib/channel-postmessage/package.json b/lib/channel-postmessage/package.json index 6a3bda37b4fa..3b576269838d 100644 --- a/lib/channel-postmessage/package.json +++ b/lib/channel-postmessage/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/channel-postmessage", - "version": "3.2.17", + "version": "3.2.18", "description": "", "license": "MIT", "main": "dist/index.js", @@ -8,7 +8,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/channels": "^3.2.17", + "@storybook/channels": "^3.2.18", "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 a8313fc18e15..c792cf8acc8b 100644 --- a/lib/channel-websocket/package.json +++ b/lib/channel-websocket/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/channel-websocket", - "version": "3.2.17", + "version": "3.2.18", "description": "", "license": "MIT", "main": "dist/index.js", @@ -8,7 +8,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/channels": "^3.2.17", + "@storybook/channels": "^3.2.18", "global": "^4.3.2" } } diff --git a/lib/channels/package.json b/lib/channels/package.json index 255b734424aa..991832cefee2 100644 --- a/lib/channels/package.json +++ b/lib/channels/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/channels", - "version": "3.2.17", + "version": "3.2.18", "description": "", "license": "MIT", "main": "dist/index.js", diff --git a/lib/cli/package.json b/lib/cli/package.json index ca4db7c8099f..c41dd301e0d6 100644 --- a/lib/cli/package.json +++ b/lib/cli/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/cli", - "version": "3.2.17", + "version": "3.2.18", "description": "Storybook's CLI - easiest method of adding storybook to your projects", "keywords": [ "cli", @@ -21,7 +21,7 @@ "url": "https://github.com/storybooks/storybook.git" }, "dependencies": { - "@storybook/codemod": "^3.2.17", + "@storybook/codemod": "^3.2.18", "chalk": "^2.3.0", "child-process-promise": "^2.2.1", "commander": "^2.12.2", diff --git a/lib/codemod/package.json b/lib/codemod/package.json index 2a21125e4cf5..b86bd3c12585 100644 --- a/lib/codemod/package.json +++ b/lib/codemod/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/codemod", - "version": "3.2.17", + "version": "3.2.18", "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 994905954ba2..c11f9bcf2f82 100644 --- a/lib/components/package.json +++ b/lib/components/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/components", - "version": "3.2.17", + "version": "3.2.18", "description": "Core Storybook Components", "license": "MIT", "main": "dist/index.js", diff --git a/lib/ui/package.json b/lib/ui/package.json index 80ea09315782..3efb6cad1d96 100644 --- a/lib/ui/package.json +++ b/lib/ui/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/ui", - "version": "3.2.17", + "version": "3.2.18", "description": "Core Storybook UI", "license": "MIT", "main": "dist/index.js", @@ -15,7 +15,7 @@ }, "dependencies": { "@hypnosphi/fuse.js": "^3.0.9", - "@storybook/components": "^3.2.17", + "@storybook/components": "^3.2.18", "@storybook/mantra-core": "^1.7.0", "@storybook/react-fuzzy": "^0.4.3", "@storybook/react-komposer": "^2.0.0", From aa82b1222e7cd527ced7e087277a9135c68d7030 Mon Sep 17 00:00:00 2001 From: hypnos Date: Mon, 18 Dec 2017 23:40:20 +0100 Subject: [PATCH 57/83] Update lockfile --- yarn.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yarn.lock b/yarn.lock index a8524bc1ea17..f1f74f7eea11 100644 --- a/yarn.lock +++ b/yarn.lock @@ -11702,7 +11702,7 @@ vm-browserify@0.0.4: dependencies: indexof "0.0.1" -"vm2@github:patriksimek/vm2#custom_files": +vm2@patriksimek/vm2#custom_files: version "3.5.0" resolved "https://codeload.github.com/patriksimek/vm2/tar.gz/7e82f90ac705fc44fad044147cb0df09b4c79a57" From 5fe1283e309a82f83ee894d5cba26ff9c92451db Mon Sep 17 00:00:00 2001 From: igor Date: Tue, 19 Dec 2017 17:38:34 +0200 Subject: [PATCH 58/83] Add custom pipes support --- app/angular/src/client/preview/angular/app.token.ts | 3 ++- app/angular/src/client/preview/angular/helpers.ts | 6 ++++-- examples/angular-cli/src/stories/custom.pipe.ts | 10 ++++++++++ examples/angular-cli/src/stories/index.ts | 8 ++++++++ examples/angular-cli/src/stories/name.component.ts | 7 +++++++ 5 files changed, 31 insertions(+), 3 deletions(-) create mode 100644 examples/angular-cli/src/stories/custom.pipe.ts create mode 100644 examples/angular-cli/src/stories/name.component.ts diff --git a/app/angular/src/client/preview/angular/app.token.ts b/app/angular/src/client/preview/angular/app.token.ts index 278844d0a449..2ebf349781d8 100644 --- a/app/angular/src/client/preview/angular/app.token.ts +++ b/app/angular/src/client/preview/angular/app.token.ts @@ -1,4 +1,4 @@ -import { InjectionToken } from "@angular/core"; +import { InjectionToken, PipeTransform } from "@angular/core"; export const STORY = new InjectionToken("story"); @@ -6,4 +6,5 @@ export type Data = { component: any; props: object; propsMeta: object; + pipes: PipeTransform[]; } \ No newline at end of file diff --git a/app/angular/src/client/preview/angular/helpers.ts b/app/angular/src/client/preview/angular/helpers.ts index b33ad7285ea0..cad1a92b6b9f 100644 --- a/app/angular/src/client/preview/angular/helpers.ts +++ b/app/angular/src/client/preview/angular/helpers.ts @@ -33,7 +33,7 @@ const debounce = (func, wait = 100, immediate = false) => { }; }; -const getComponentMetadata = ({ component, props = {}, propsMeta = {} }) => { +const getComponentMetadata = ({ component, props = {}, propsMeta = {}, pipes = [] }) => { if (!component || typeof component !== "function") throw new Error("No valid component provided"); @@ -50,6 +50,7 @@ const getComponentMetadata = ({ component, props = {}, propsMeta = {} }) => { return { component, props, + pipes, componentMeta: componentMetadata, propsMeta: propsMetadata, params: paramsMetadata @@ -88,6 +89,7 @@ const initModule = (currentStory, context, reRender) => { component, componentMeta, props, + pipes, propsMeta, params } = getComponentMetadata(currentStory(context)); @@ -107,7 +109,7 @@ const initModule = (currentStory, context, reRender) => { propsMeta }; const Module = getModule( - [AppComponent, AnnotatedComponent], + [AppComponent, AnnotatedComponent, ...pipes], [AnnotatedComponent], [AppComponent], story diff --git a/examples/angular-cli/src/stories/custom.pipe.ts b/examples/angular-cli/src/stories/custom.pipe.ts new file mode 100644 index 000000000000..7c72cbc89bd7 --- /dev/null +++ b/examples/angular-cli/src/stories/custom.pipe.ts @@ -0,0 +1,10 @@ +import { Pipe, PipeTransform } from '@angular/core'; + +@Pipe({ + name: 'customPipe' +}) +export class CustomPipePipe implements PipeTransform { + transform(value: any, args?: any): any { + return `CustomPipe: ${value}`; + } +} diff --git a/examples/angular-cli/src/stories/index.ts b/examples/angular-cli/src/stories/index.ts index 09adb88f6242..bd900dbb4336 100644 --- a/examples/angular-cli/src/stories/index.ts +++ b/examples/angular-cli/src/stories/index.ts @@ -20,6 +20,14 @@ import { Welcome, Button } from '@storybook/angular/demo'; import { SimpleKnobsComponent } from './knobs.component'; import { AllKnobsComponent } from './all-knobs.component'; import { AppComponent } from '../app/app.component'; +import { NameComponent } from './name.component'; +import { CustomPipePipe } from './custom.pipe'; + +storiesOf('NameComponent', module) + .add('with text', () => ({ + component: NameComponent, + pipes: [ CustomPipePipe ], + })); storiesOf('Welcome', module) .add('to Storybook', () => ({ diff --git a/examples/angular-cli/src/stories/name.component.ts b/examples/angular-cli/src/stories/name.component.ts new file mode 100644 index 000000000000..eb6b2745761c --- /dev/null +++ b/examples/angular-cli/src/stories/name.component.ts @@ -0,0 +1,7 @@ +import { Component } from '@angular/core'; + +@Component({ + selector: 'name', + template: `

{{ 'foobar' | customPipe }}

` +}) +export class NameComponent {} From 95771daad5397c8355af8be062a10b490c4e7243 Mon Sep 17 00:00:00 2001 From: igor Date: Tue, 19 Dec 2017 18:00:25 +0200 Subject: [PATCH 59/83] Add knobs support --- addons/knobs/src/angular/helpers.js | 6 ++++-- examples/angular-cli/src/stories/index.ts | 17 +++++++++++++++-- .../angular-cli/src/stories/name.component.ts | 8 +++++--- package.json | 2 +- 4 files changed, 25 insertions(+), 8 deletions(-) diff --git a/addons/knobs/src/angular/helpers.js b/addons/knobs/src/angular/helpers.js index f570fc35dcb7..122bf7210f85 100644 --- a/addons/knobs/src/angular/helpers.js +++ b/addons/knobs/src/angular/helpers.js @@ -2,7 +2,7 @@ import { Component, SimpleChange, ChangeDetectorRef } from '@angular/core'; -const getComponentMetadata = ({ component, props = {} }) => { +const getComponentMetadata = ({ component, props = {}, pipes = [] }) => { if (!component || typeof component !== 'function') throw new Error('No valid component provided'); const componentMeta = component.__annotations__[0] || component.annotations[0]; @@ -11,6 +11,7 @@ const getComponentMetadata = ({ component, props = {} }) => { return { component, props, + pipes, componentMeta, propsMeta, params: paramsMetadata, @@ -95,7 +96,7 @@ const resetKnobs = (knobStore, channel) => { export function prepareComponent({ getStory, context, channel, knobStore }) { resetKnobs(knobStore, channel); - const { component, componentMeta, props, propsMeta, params } = getComponentMetadata( + const { component, componentMeta, props, pipes, propsMeta, params } = getComponentMetadata( getStory(context) ); @@ -112,6 +113,7 @@ export function prepareComponent({ getStory, context, channel, knobStore }) { return { component: AnnotatedComponent, props, + pipes, propsMeta, }; } diff --git a/examples/angular-cli/src/stories/index.ts b/examples/angular-cli/src/stories/index.ts index bd900dbb4336..dab525efdd1f 100644 --- a/examples/angular-cli/src/stories/index.ts +++ b/examples/angular-cli/src/stories/index.ts @@ -23,9 +23,22 @@ import { AppComponent } from '../app/app.component'; import { NameComponent } from './name.component'; import { CustomPipePipe } from './custom.pipe'; -storiesOf('NameComponent', module) - .add('with text', () => ({ +storiesOf('Custom Pipe', module) + .add('Default', () => ({ + component: NameComponent, + props: { + field: 'foobar', + }, + pipes: [ CustomPipePipe ], + })); + +storiesOf('Custom Pipe/With Knobs', module) + .addDecorator(withKnobs) + .add('NameComponent', () => ({ component: NameComponent, + props: { + field: text('field', 'foobar'), + }, pipes: [ CustomPipePipe ], })); diff --git a/examples/angular-cli/src/stories/name.component.ts b/examples/angular-cli/src/stories/name.component.ts index eb6b2745761c..79a6e95e21ee 100644 --- a/examples/angular-cli/src/stories/name.component.ts +++ b/examples/angular-cli/src/stories/name.component.ts @@ -1,7 +1,9 @@ -import { Component } from '@angular/core'; +import { Component, Input } from '@angular/core'; @Component({ selector: 'name', - template: `

{{ 'foobar' | customPipe }}

` + template: `

{{ field | customPipe }}

` }) -export class NameComponent {} +export class NameComponent { + @Input() field; +} diff --git a/package.json b/package.json index df5d204cd4ce..94168ae239b9 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,7 @@ "docs:dev": "npm --prefix docs run dev", "github-release": "github-release-from-changelog", "lint": "yarn lint:js . && yarn lint:md .", - "lint:js": "NODE_ENV=production eslint --cache --cache-location=.cache/eslint --ext .js,.jsx,.json", + "lint:js": "cross-env NODE_ENV=production eslint --cache --cache-location=.cache/eslint --ext .js,.jsx,.json", "lint:md": "remark", "publish": "lerna publish", "test": "./scripts/test.js", From 88b8e09d68f6d869de96cb836c24058517acb68e Mon Sep 17 00:00:00 2001 From: "Dependencies.io Bot" Date: Tue, 19 Dec 2017 16:22:00 +0000 Subject: [PATCH 60/83] Update @storybook/addon-actions from 3.2.17 to 3.2.18 --- docs/package.json | 2 +- docs/yarn.lock | 22 ++++++++++++++++++++++ 2 files changed, 23 insertions(+), 1 deletion(-) diff --git a/docs/package.json b/docs/package.json index 0f79d8c55c02..253fd002900e 100644 --- a/docs/package.json +++ b/docs/package.json @@ -18,7 +18,7 @@ "storybook": "start-storybook -p 9009 -s src/pages" }, "dependencies": { - "@storybook/addon-actions": "^3.2.17", + "@storybook/addon-actions": "^3.2.18", "@storybook/addon-links": "^3.2.17", "@storybook/addons": "^3.2.17", "@storybook/react": "^3.2.17", diff --git a/docs/yarn.lock b/docs/yarn.lock index 744f07a49eb0..961d8e6cb35a 100644 --- a/docs/yarn.lock +++ b/docs/yarn.lock @@ -17,6 +17,17 @@ react-inspector "^2.2.1" uuid "^3.1.0" +"@storybook/addon-actions@^3.2.18": + version "3.2.18" + resolved "https://registry.yarnpkg.com/@storybook/addon-actions/-/addon-actions-3.2.18.tgz#46d97b0add955698d66becb5d51e68a4d387b822" + dependencies: + "@storybook/addons" "^3.2.18" + deep-equal "^1.0.1" + json-stringify-safe "^5.0.1" + prop-types "^15.6.0" + react-inspector "^2.2.2" + uuid "^3.1.0" + "@storybook/addon-links@^3.2.17": version "3.2.17" resolved "https://registry.yarnpkg.com/@storybook/addon-links/-/addon-links-3.2.17.tgz#fb1d5f5f16575e56d560955d70c2a756c9f5b612" @@ -27,6 +38,10 @@ version "3.2.17" resolved "https://registry.yarnpkg.com/@storybook/addons/-/addons-3.2.17.tgz#5c2ece24c5f7fbf7cedf4cfe503c5e356543e62d" +"@storybook/addons@^3.2.18": + version "3.2.18" + resolved "https://registry.yarnpkg.com/@storybook/addons/-/addons-3.2.18.tgz#2c1d42a0b661db2e429d1c406e79765ae5c71458" + "@storybook/channel-postmessage@^3.2.17": version "3.2.17" resolved "https://registry.yarnpkg.com/@storybook/channel-postmessage/-/channel-postmessage-3.2.17.tgz#530c1d6852b2c77df08490988fa943ba1373b1ec" @@ -8424,6 +8439,13 @@ react-inspector@^2.2.1: babel-runtime "^6.26.0" is-dom "^1.0.9" +react-inspector@^2.2.2: + version "2.2.2" + resolved "https://registry.yarnpkg.com/react-inspector/-/react-inspector-2.2.2.tgz#c04f5248fa92ab6c23e37960e725fb7f48c34d05" + dependencies: + babel-runtime "^6.26.0" + is-dom "^1.0.9" + react-modal@^3.1.4: version "3.1.7" resolved "https://registry.yarnpkg.com/react-modal/-/react-modal-3.1.7.tgz#21feb937c95cd722bf2d375cada751fdc8189c0e" From a7ff91d5d615aa95859ed1cd92d99f4fc6a94cd7 Mon Sep 17 00:00:00 2001 From: "Dependencies.io Bot" Date: Tue, 19 Dec 2017 16:24:03 +0000 Subject: [PATCH 61/83] Update @storybook/addon-links from 3.2.17 to 3.2.18 --- docs/package.json | 2 +- docs/yarn.lock | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/package.json b/docs/package.json index 253fd002900e..7da040fbafc1 100644 --- a/docs/package.json +++ b/docs/package.json @@ -19,7 +19,7 @@ }, "dependencies": { "@storybook/addon-actions": "^3.2.18", - "@storybook/addon-links": "^3.2.17", + "@storybook/addon-links": "^3.2.18", "@storybook/addons": "^3.2.17", "@storybook/react": "^3.2.17", "babel-cli": "^6.26.0", diff --git a/docs/yarn.lock b/docs/yarn.lock index 961d8e6cb35a..f5dea19adb7b 100644 --- a/docs/yarn.lock +++ b/docs/yarn.lock @@ -34,6 +34,12 @@ dependencies: "@storybook/addons" "^3.2.17" +"@storybook/addon-links@^3.2.18": + version "3.2.18" + resolved "https://registry.yarnpkg.com/@storybook/addon-links/-/addon-links-3.2.18.tgz#a1fd96dd91d56204da92632baa36a2263d2aeebb" + dependencies: + "@storybook/addons" "^3.2.18" + "@storybook/addons@^3.2.17": version "3.2.17" resolved "https://registry.yarnpkg.com/@storybook/addons/-/addons-3.2.17.tgz#5c2ece24c5f7fbf7cedf4cfe503c5e356543e62d" From 9e4fef73d7f6e54a048e7df2c16a8df7516b6b5b Mon Sep 17 00:00:00 2001 From: "Dependencies.io Bot" Date: Tue, 19 Dec 2017 16:24:17 +0000 Subject: [PATCH 62/83] Update enzyme-adapter-react-16 from 1.1.0 to 1.1.1 in / --- package.json | 2 +- yarn.lock | 28 +++++++++++++++++++--------- 2 files changed, 20 insertions(+), 10 deletions(-) diff --git a/package.json b/package.json index 528ba5f706c5..b935f42591a5 100644 --- a/package.json +++ b/package.json @@ -53,7 +53,7 @@ "cross-env": "^5.1.1", "danger": "^2.1.6", "enzyme": "^3.2.0", - "enzyme-adapter-react-16": "^1.1.0", + "enzyme-adapter-react-16": "^1.1.1", "eslint": "^4.13.1", "eslint-config-airbnb": "^16.1.0", "eslint-config-prettier": "^2.9.0", diff --git a/yarn.lock b/yarn.lock index 73ec97ab0ea3..e0ff8a6a4c9e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3643,24 +3643,25 @@ envinfo@^3.0.0: os-name "^2.0.1" which "^1.2.14" -enzyme-adapter-react-16@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/enzyme-adapter-react-16/-/enzyme-adapter-react-16-1.1.0.tgz#86c5db7c10f0be6ec25d54ca41b59f2abb397cf4" +enzyme-adapter-react-16@^1.1.1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/enzyme-adapter-react-16/-/enzyme-adapter-react-16-1.1.1.tgz#a8f4278b47e082fbca14f5bfb1ee50ee650717b4" dependencies: - enzyme-adapter-utils "^1.1.0" + enzyme-adapter-utils "^1.3.0" lodash "^4.17.4" object.assign "^4.0.4" object.values "^1.0.4" - prop-types "^15.5.10" + prop-types "^15.6.0" + react-reconciler "^0.7.0" react-test-renderer "^16.0.0-0" -enzyme-adapter-utils@^1.1.0: - version "1.1.1" - resolved "https://registry.yarnpkg.com/enzyme-adapter-utils/-/enzyme-adapter-utils-1.1.1.tgz#689de8853f0751710590d6dfa730ff4056ea36b2" +enzyme-adapter-utils@^1.3.0: + version "1.3.0" + resolved "https://registry.yarnpkg.com/enzyme-adapter-utils/-/enzyme-adapter-utils-1.3.0.tgz#d6c85756826c257a8544d362cc7a67e97ea698c7" dependencies: lodash "^4.17.4" object.assign "^4.0.4" - prop-types "^15.5.10" + prop-types "^15.6.0" enzyme-matchers@^4.0.1: version "4.0.1" @@ -9389,6 +9390,15 @@ react-proxy@^1.1.7: lodash "^4.6.1" react-deep-force-update "^1.0.0" +react-reconciler@^0.7.0: + version "0.7.0" + resolved "https://registry.yarnpkg.com/react-reconciler/-/react-reconciler-0.7.0.tgz#9614894103e5f138deeeb5eabaf3ee80eb1d026d" + dependencies: + fbjs "^0.8.16" + loose-envify "^1.1.0" + object-assign "^4.1.1" + prop-types "^15.6.0" + react-render-html@^0.6.0: version "0.6.0" resolved "https://registry.yarnpkg.com/react-render-html/-/react-render-html-0.6.0.tgz#1af51d859ed75474435a1c65c293a48e12c36627" From 44bf08c8461719180cad778c34f0da4940d6992d Mon Sep 17 00:00:00 2001 From: "Dependencies.io Bot" Date: Tue, 19 Dec 2017 16:26:05 +0000 Subject: [PATCH 63/83] Update @storybook/addons from 3.2.17 to 3.2.18 --- docs/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/package.json b/docs/package.json index 7da040fbafc1..919c2c508644 100644 --- a/docs/package.json +++ b/docs/package.json @@ -20,7 +20,7 @@ "dependencies": { "@storybook/addon-actions": "^3.2.18", "@storybook/addon-links": "^3.2.18", - "@storybook/addons": "^3.2.17", + "@storybook/addons": "^3.2.18", "@storybook/react": "^3.2.17", "babel-cli": "^6.26.0", "babel-core": "^6.26.0", From 3efe4614be12714e69da3760f5f2b6b57123363c Mon Sep 17 00:00:00 2001 From: "Dependencies.io Bot" Date: Tue, 19 Dec 2017 16:26:22 +0000 Subject: [PATCH 64/83] Update jest-image-snapshot from 2.2.0 to 2.2.1 in / --- package.json | 2 +- yarn.lock | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index b935f42591a5..f53b4ede9f5a 100644 --- a/package.json +++ b/package.json @@ -71,7 +71,7 @@ "jest": "^21.2.0", "jest-cli": "^21.2.1", "jest-enzyme": "^4.0.1", - "jest-image-snapshot": "^2.2.0", + "jest-image-snapshot": "^2.2.1", "lerna": "^2.5.1", "lint-staged": "^6.0.0", "lodash": "^4.17.4", diff --git a/yarn.lock b/yarn.lock index e0ff8a6a4c9e..9ae9a248d9a4 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6377,9 +6377,9 @@ jest-haste-map@^21, jest-haste-map@^21.2.0: sane "^2.0.0" worker-farm "^1.3.1" -jest-image-snapshot@^2.2.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/jest-image-snapshot/-/jest-image-snapshot-2.2.0.tgz#48b9aa6d9545e55b1eae4086454694ce80f8f434" +jest-image-snapshot@^2.2.1: + version "2.2.1" + resolved "https://registry.yarnpkg.com/jest-image-snapshot/-/jest-image-snapshot-2.2.1.tgz#06e05cad6a01ded0d8d43d4b92d2758de2fce52a" dependencies: chalk "^1.1.3" lodash "^4.17.4" From 45dc5cb588146e09588c2494d46e3fc0aa87a525 Mon Sep 17 00:00:00 2001 From: "Dependencies.io Bot" Date: Tue, 19 Dec 2017 16:28:24 +0000 Subject: [PATCH 65/83] Update @storybook/react from 3.2.17 to 3.2.18 --- docs/package.json | 2 +- docs/yarn.lock | 207 ++++++++++++++++++++++++---------------------- 2 files changed, 110 insertions(+), 99 deletions(-) diff --git a/docs/package.json b/docs/package.json index 919c2c508644..19032e0d63bf 100644 --- a/docs/package.json +++ b/docs/package.json @@ -21,7 +21,7 @@ "@storybook/addon-actions": "^3.2.18", "@storybook/addon-links": "^3.2.18", "@storybook/addons": "^3.2.18", - "@storybook/react": "^3.2.17", + "@storybook/react": "^3.2.18", "babel-cli": "^6.26.0", "babel-core": "^6.26.0", "babel-plugin-transform-runtime": "^6.23.0", diff --git a/docs/yarn.lock b/docs/yarn.lock index f5dea19adb7b..df25b868ca18 100644 --- a/docs/yarn.lock +++ b/docs/yarn.lock @@ -6,17 +6,6 @@ version "3.0.9" resolved "https://registry.yarnpkg.com/@hypnosphi/fuse.js/-/fuse.js-3.0.9.tgz#ea99f6121b4a8f065b4c71f85595db2714498807" -"@storybook/addon-actions@^3.2.17": - version "3.2.17" - resolved "https://registry.yarnpkg.com/@storybook/addon-actions/-/addon-actions-3.2.17.tgz#e85d38f743125157fdaf6669708e089bc2008e50" - dependencies: - "@storybook/addons" "^3.2.17" - deep-equal "^1.0.1" - json-stringify-safe "^5.0.1" - prop-types "^15.6.0" - react-inspector "^2.2.1" - uuid "^3.1.0" - "@storybook/addon-actions@^3.2.18": version "3.2.18" resolved "https://registry.yarnpkg.com/@storybook/addon-actions/-/addon-actions-3.2.18.tgz#46d97b0add955698d66becb5d51e68a4d387b822" @@ -28,41 +17,31 @@ react-inspector "^2.2.2" uuid "^3.1.0" -"@storybook/addon-links@^3.2.17": - version "3.2.17" - resolved "https://registry.yarnpkg.com/@storybook/addon-links/-/addon-links-3.2.17.tgz#fb1d5f5f16575e56d560955d70c2a756c9f5b612" - dependencies: - "@storybook/addons" "^3.2.17" - "@storybook/addon-links@^3.2.18": version "3.2.18" resolved "https://registry.yarnpkg.com/@storybook/addon-links/-/addon-links-3.2.18.tgz#a1fd96dd91d56204da92632baa36a2263d2aeebb" dependencies: "@storybook/addons" "^3.2.18" -"@storybook/addons@^3.2.17": - version "3.2.17" - resolved "https://registry.yarnpkg.com/@storybook/addons/-/addons-3.2.17.tgz#5c2ece24c5f7fbf7cedf4cfe503c5e356543e62d" - "@storybook/addons@^3.2.18": version "3.2.18" resolved "https://registry.yarnpkg.com/@storybook/addons/-/addons-3.2.18.tgz#2c1d42a0b661db2e429d1c406e79765ae5c71458" -"@storybook/channel-postmessage@^3.2.17": - version "3.2.17" - resolved "https://registry.yarnpkg.com/@storybook/channel-postmessage/-/channel-postmessage-3.2.17.tgz#530c1d6852b2c77df08490988fa943ba1373b1ec" +"@storybook/channel-postmessage@^3.2.18": + version "3.2.18" + resolved "https://registry.yarnpkg.com/@storybook/channel-postmessage/-/channel-postmessage-3.2.18.tgz#8193e2fbae4f46a20a58fb6cdfd722c1743a3dd0" dependencies: - "@storybook/channels" "^3.2.17" + "@storybook/channels" "^3.2.18" global "^4.3.2" json-stringify-safe "^5.0.1" -"@storybook/channels@^3.2.17": - version "3.2.17" - resolved "https://registry.yarnpkg.com/@storybook/channels/-/channels-3.2.17.tgz#09219a512564d1aa2292419d8d6064dbf7f5a5b3" +"@storybook/channels@^3.2.18": + version "3.2.18" + resolved "https://registry.yarnpkg.com/@storybook/channels/-/channels-3.2.18.tgz#c5d8c4ac780c6ebb4b1c360d8faf9207fd4fbafd" -"@storybook/components@^3.2.17": - version "3.2.17" - resolved "https://registry.yarnpkg.com/@storybook/components/-/components-3.2.17.tgz#318c6e6a1d3ffb469523b5dcfee775639ccc500b" +"@storybook/components@^3.2.18": + version "3.2.18" + resolved "https://registry.yarnpkg.com/@storybook/components/-/components-3.2.18.tgz#142dd10414a717c24734f063af6b2b7b9bd06b4a" dependencies: glamor "^2.20.40" glamorous "^4.11.0" @@ -108,17 +87,17 @@ dependencies: babel-runtime "^6.5.0" -"@storybook/react@^3.2.17": - version "3.2.17" - resolved "https://registry.yarnpkg.com/@storybook/react/-/react-3.2.17.tgz#c7b0595efef049d4dae89202994c17f332ee4662" - dependencies: - "@storybook/addon-actions" "^3.2.17" - "@storybook/addon-links" "^3.2.17" - "@storybook/addons" "^3.2.17" - "@storybook/channel-postmessage" "^3.2.17" - "@storybook/ui" "^3.2.17" - airbnb-js-shims "^1.3.0" - autoprefixer "^7.1.6" +"@storybook/react@^3.2.18": + version "3.2.18" + resolved "https://registry.yarnpkg.com/@storybook/react/-/react-3.2.18.tgz#bb0a86cf808c3c90fedc11e489f10660f650c781" + dependencies: + "@storybook/addon-actions" "^3.2.18" + "@storybook/addon-links" "^3.2.18" + "@storybook/addons" "^3.2.18" + "@storybook/channel-postmessage" "^3.2.18" + "@storybook/ui" "^3.2.18" + airbnb-js-shims "^1.4.0" + autoprefixer "^7.2.3" babel-core "^6.26.0" babel-loader "^7.1.2" babel-plugin-react-docgen "^1.8.0" @@ -132,10 +111,10 @@ babel-runtime "^6.26.0" case-sensitive-paths-webpack-plugin "^2.1.1" chalk "^2.3.0" - commander "^2.12.1" + commander "^2.12.2" common-tags "^1.5.1" configstore "^3.1.1" - core-js "^2.5.1" + core-js "^2.5.3" css-loader "^0.28.7" dotenv-webpack "^1.5.4" express "^4.16.2" @@ -148,7 +127,6 @@ json-stringify-safe "^5.0.1" json5 "^0.5.1" lodash.flattendeep "^4.4.0" - lodash.pick "^4.4.0" postcss-flexbugs-fixes "^3.2.0" postcss-loader "^2.0.9" prop-types "^15.6.0" @@ -157,20 +135,20 @@ request "^2.83.0" serve-favicon "^2.4.5" shelljs "^0.7.8" - style-loader "^0.18.2" + style-loader "^0.19.1" url-loader "^0.6.2" util-deprecate "^1.0.2" uuid "^3.1.0" - webpack "^3.8.1" + webpack "^3.10.0" webpack-dev-middleware "^1.12.2" webpack-hot-middleware "^2.21.0" -"@storybook/ui@^3.2.17": - version "3.2.17" - resolved "https://registry.yarnpkg.com/@storybook/ui/-/ui-3.2.17.tgz#8838fc5bbe21cedfafc65ee90fe525499370118a" +"@storybook/ui@^3.2.18": + version "3.2.18" + resolved "https://registry.yarnpkg.com/@storybook/ui/-/ui-3.2.18.tgz#4d19f8daff7ec37cebe4d2b5d20e81e3676d8938" dependencies: "@hypnosphi/fuse.js" "^3.0.9" - "@storybook/components" "^3.2.17" + "@storybook/components" "^3.2.18" "@storybook/mantra-core" "^1.7.0" "@storybook/react-fuzzy" "^0.4.3" "@storybook/react-komposer" "^2.0.0" @@ -187,8 +165,8 @@ prop-types "^15.6.0" qs "^6.5.1" react-icons "^2.2.7" - react-inspector "^2.2.1" - react-modal "^3.1.4" + react-inspector "^2.2.2" + react-modal "^3.1.8" react-split-pane "^0.1.71" react-treebeard "^2.0.3" redux "^3.7.2" @@ -249,18 +227,20 @@ after@0.8.2: version "0.8.2" resolved "https://registry.yarnpkg.com/after/-/after-0.8.2.tgz#fedb394f9f0e02aa9768e702bda23b505fae7e1f" -airbnb-js-shims@^1.3.0: - version "1.3.0" - resolved "https://registry.yarnpkg.com/airbnb-js-shims/-/airbnb-js-shims-1.3.0.tgz#aac46d80057fb0b414f70e06d07e362fd99ee2fa" +airbnb-js-shims@^1.4.0: + version "1.4.0" + resolved "https://registry.yarnpkg.com/airbnb-js-shims/-/airbnb-js-shims-1.4.0.tgz#b920b0bc9fafe8b8ae2a073f29fb10303b1b2b18" dependencies: array-includes "^3.0.3" + array.prototype.flatmap "^1.1.1" + array.prototype.flatten "^1.1.1" es5-shim "^4.5.9" es6-shim "^0.35.3" function.prototype.name "^1.0.3" object.entries "^1.0.4" object.getownpropertydescriptors "^2.0.3" object.values "^1.0.4" - promise.prototype.finally "^3.0.0" + promise.prototype.finally "^3.1.0" string.prototype.padend "^3.0.0" string.prototype.padstart "^3.0.0" @@ -473,6 +453,22 @@ array-unique@^0.3.2: version "0.3.2" resolved "https://registry.yarnpkg.com/array-unique/-/array-unique-0.3.2.tgz#a894b75d4bc4f6cd679ef3244a9fd8f46ae2d428" +array.prototype.flatmap@^1.1.1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/array.prototype.flatmap/-/array.prototype.flatmap-1.1.1.tgz#dbb6c44693c2a2a2fcab24e551dfbf47f67fde03" + dependencies: + define-properties "^1.1.2" + es-abstract "^1.10.0" + function-bind "^1.1.1" + +array.prototype.flatten@^1.1.1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/array.prototype.flatten/-/array.prototype.flatten-1.1.1.tgz#301b351aa8a632356ee2f5311c6c8e8f50d318cc" + dependencies: + define-properties "^1.1.2" + es-abstract "^1.10.0" + function-bind "^1.1.1" + arraybuffer.slice@0.0.6: version "0.0.6" resolved "https://registry.yarnpkg.com/arraybuffer.slice/-/arraybuffer.slice-0.0.6.tgz#f33b2159f0532a3f3107a272c0ccfbd1ad2979ca" @@ -562,15 +558,15 @@ autoprefixer@^6.0.2, autoprefixer@^6.3.1: postcss "^5.2.16" postcss-value-parser "^3.2.3" -autoprefixer@^7.1.6: - version "7.1.6" - resolved "https://registry.yarnpkg.com/autoprefixer/-/autoprefixer-7.1.6.tgz#fb933039f74af74a83e71225ce78d9fd58ba84d7" +autoprefixer@^7.2.3: + version "7.2.3" + resolved "https://registry.yarnpkg.com/autoprefixer/-/autoprefixer-7.2.3.tgz#c2841e38b7940c2d0a9bbffd72c75f33637854f8" dependencies: - browserslist "^2.5.1" - caniuse-lite "^1.0.30000748" + browserslist "^2.10.0" + caniuse-lite "^1.0.30000783" normalize-range "^0.1.2" num2fraction "^1.2.2" - postcss "^6.0.13" + postcss "^6.0.14" postcss-value-parser "^3.2.3" aws-sign2@~0.6.0: @@ -2021,12 +2017,12 @@ browserslist@^2.1.2: caniuse-lite "^1.0.30000718" electron-to-chromium "^1.3.18" -browserslist@^2.5.1: - version "2.8.0" - resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-2.8.0.tgz#27d64028130a2e8585ca96f7c3b7730eff4de493" +browserslist@^2.10.0: + version "2.10.0" + resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-2.10.0.tgz#bac5ee1cc69ca9d96403ffb8a3abdc5b6aed6346" dependencies: - caniuse-lite "^1.0.30000758" - electron-to-chromium "^1.3.27" + caniuse-lite "^1.0.30000780" + electron-to-chromium "^1.3.28" bser@^2.0.0: version "2.0.0" @@ -2156,9 +2152,9 @@ caniuse-lite@^1.0.30000718: version "1.0.30000740" resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30000740.tgz#f2c4c04d6564eb812e61006841700ad557f6f973" -caniuse-lite@^1.0.30000748, caniuse-lite@^1.0.30000758: - version "1.0.30000760" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30000760.tgz#ec720395742f1c7ec8947fd6dd2604e77a8f98ff" +caniuse-lite@^1.0.30000780, caniuse-lite@^1.0.30000783: + version "1.0.30000783" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30000783.tgz#9b5499fb1b503d2345d12aa6b8612852f4276ffd" capture-stack-trace@^1.0.0: version "1.0.0" @@ -2507,7 +2503,7 @@ commander@2.9.0, commander@2.9.x: dependencies: graceful-readlink ">= 1.0.0" -commander@^2.12.1: +commander@^2.12.2: version "2.12.2" resolved "https://registry.yarnpkg.com/commander/-/commander-2.12.2.tgz#0f5946c427ed9ec0d91a46bb9def53e54650e555" @@ -2668,10 +2664,14 @@ core-js@^1.0.0, core-js@^1.2.6: version "1.2.7" resolved "https://registry.yarnpkg.com/core-js/-/core-js-1.2.7.tgz#652294c14651db28fa93bd2d5ff2983a4f08c636" -core-js@^2.4.0, core-js@^2.4.1, core-js@^2.5.0, core-js@^2.5.1: +core-js@^2.4.0, core-js@^2.4.1, core-js@^2.5.0: version "2.5.1" resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.5.1.tgz#ae6874dc66937789b80754ff5428df66819ca50b" +core-js@^2.5.3: + version "2.5.3" + resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.5.3.tgz#8acc38345824f16d8365b7c9b4259168e8ed603e" + core-util-is@1.0.2, core-util-is@~1.0.0: version "1.0.2" resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7" @@ -3323,9 +3323,9 @@ electron-to-chromium@^1.2.7, electron-to-chromium@^1.3.18: version "1.3.24" resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.24.tgz#9b7b88bb05ceb9fa016a177833cc2dde388f21b6" -electron-to-chromium@^1.3.27: - version "1.3.27" - resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.27.tgz#78ecb8a399066187bb374eede35d9c70565a803d" +electron-to-chromium@^1.3.28: + version "1.3.29" + resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.29.tgz#7a58236b95468c3e7660091348522d65d7736b36" element-resize-detector@^1.1.12: version "1.1.12" @@ -3457,7 +3457,17 @@ error-stack-parser@^2.0.0: dependencies: stackframe "^1.0.3" -es-abstract@^1.4.3, es-abstract@^1.5.1, es-abstract@^1.6.1, es-abstract@^1.7.0, es-abstract@^1.8.2: +es-abstract@^1.10.0, es-abstract@^1.9.0: + version "1.10.0" + resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.10.0.tgz#1ecb36c197842a00d8ee4c2dfd8646bb97d60864" + dependencies: + es-to-primitive "^1.1.1" + function-bind "^1.1.1" + has "^1.0.1" + is-callable "^1.1.3" + is-regex "^1.0.4" + +es-abstract@^1.4.3, es-abstract@^1.5.1, es-abstract@^1.6.1, es-abstract@^1.7.0: version "1.8.2" resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.8.2.tgz#25103263dc4decbda60e0c737ca32313518027ee" dependencies: @@ -8102,7 +8112,7 @@ postcss@^5.0.0, postcss@^5.0.10, postcss@^5.0.11, postcss@^5.0.12, postcss@^5.0. source-map "^0.5.6" supports-color "^3.2.3" -postcss@^6.0.0, postcss@^6.0.13: +postcss@^6.0.0: version "6.0.13" resolved "https://registry.yarnpkg.com/postcss/-/postcss-6.0.13.tgz#b9ecab4ee00c89db3ec931145bd9590bbf3f125f" dependencies: @@ -8118,6 +8128,14 @@ postcss@^6.0.1: source-map "^0.5.7" supports-color "^4.4.0" +postcss@^6.0.14: + version "6.0.14" + resolved "https://registry.yarnpkg.com/postcss/-/postcss-6.0.14.tgz#5534c72114739e75d0afcf017db853099f562885" + dependencies: + chalk "^2.3.0" + source-map "^0.6.1" + supports-color "^4.4.0" + potrace@^2.1.1: version "2.1.1" resolved "https://registry.yarnpkg.com/potrace/-/potrace-2.1.1.tgz#79111a858197f366418845f667fe8f7fac0a79db" @@ -8169,12 +8187,12 @@ promise-each@^2.2.0: dependencies: any-promise "^0.1.0" -promise.prototype.finally@^3.0.0: - version "3.0.1" - resolved "https://registry.yarnpkg.com/promise.prototype.finally/-/promise.prototype.finally-3.0.1.tgz#51ba2fa0a4cba5cbca54da818a8da8f24fc68f39" +promise.prototype.finally@^3.1.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/promise.prototype.finally/-/promise.prototype.finally-3.1.0.tgz#66f161b1643636e50e7cf201dc1b84a857f3864e" dependencies: define-properties "^1.1.2" - es-abstract "^1.8.2" + es-abstract "^1.9.0" function-bind "^1.1.1" promise@^7.1.1: @@ -8438,13 +8456,6 @@ react-icons@^2.2.7: dependencies: react-icon-base "2.1.0" -react-inspector@^2.2.1: - version "2.2.1" - resolved "https://registry.yarnpkg.com/react-inspector/-/react-inspector-2.2.1.tgz#c24f9a0131960b8e63c8392254d34df0717aabdf" - dependencies: - babel-runtime "^6.26.0" - is-dom "^1.0.9" - react-inspector@^2.2.2: version "2.2.2" resolved "https://registry.yarnpkg.com/react-inspector/-/react-inspector-2.2.2.tgz#c04f5248fa92ab6c23e37960e725fb7f48c34d05" @@ -8452,9 +8463,9 @@ react-inspector@^2.2.2: babel-runtime "^6.26.0" is-dom "^1.0.9" -react-modal@^3.1.4: - version "3.1.7" - resolved "https://registry.yarnpkg.com/react-modal/-/react-modal-3.1.7.tgz#21feb937c95cd722bf2d375cada751fdc8189c0e" +react-modal@^3.1.8: + version "3.1.8" + resolved "https://registry.yarnpkg.com/react-modal/-/react-modal-3.1.8.tgz#7d6b1958f44828babd2a1ce826c28fa40d026b0f" dependencies: exenv "^1.2.0" prop-types "^15.5.10" @@ -10019,9 +10030,9 @@ style-loader@^0.13.0: dependencies: loader-utils "^1.0.2" -style-loader@^0.18.2: - version "0.18.2" - resolved "https://registry.yarnpkg.com/style-loader/-/style-loader-0.18.2.tgz#cc31459afbcd6d80b7220ee54b291a9fd66ff5eb" +style-loader@^0.19.1: + version "0.19.1" + resolved "https://registry.yarnpkg.com/style-loader/-/style-loader-0.19.1.tgz#591ffc80bcefe268b77c5d9ebc0505d772619f85" dependencies: loader-utils "^1.0.2" schema-utils "^0.3.0" @@ -11001,9 +11012,9 @@ webpack@^1.13.3: watchpack "^0.2.1" webpack-core "~0.6.9" -webpack@^3.8.1: - version "3.8.1" - resolved "https://registry.yarnpkg.com/webpack/-/webpack-3.8.1.tgz#b16968a81100abe61608b0153c9159ef8bb2bd83" +webpack@^3.10.0: + version "3.10.0" + resolved "https://registry.yarnpkg.com/webpack/-/webpack-3.10.0.tgz#5291b875078cf2abf42bdd23afe3f8f96c17d725" dependencies: acorn "^5.0.0" acorn-dynamic-import "^2.0.0" From 13a2b2c352bfc052cfea3dc9202149a23a5a9d99 Mon Sep 17 00:00:00 2001 From: "Dependencies.io Bot" Date: Tue, 19 Dec 2017 16:28:27 +0000 Subject: [PATCH 66/83] Update axe-core from 2.5.0 to 2.6.0 in addons/a11y --- addons/a11y/package.json | 2 +- yarn.lock | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/addons/a11y/package.json b/addons/a11y/package.json index 20370bd6345c..510ff7041e24 100644 --- a/addons/a11y/package.json +++ b/addons/a11y/package.json @@ -26,7 +26,7 @@ "dependencies": { "@storybook/addons": "^3.2.18", "@storybook/components": "^3.2.18", - "axe-core": "^2.0.7", + "axe-core": "^2.6.0", "prop-types": "^15.6.0" }, "peerDependencies": { diff --git a/yarn.lock b/yarn.lock index 9ae9a248d9a4..2ae955b63640 100644 --- a/yarn.lock +++ b/yarn.lock @@ -601,9 +601,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.0.7: - version "2.5.0" - resolved "https://registry.yarnpkg.com/axe-core/-/axe-core-2.5.0.tgz#2f7c662c4d7d07cc8dc81f2f1d3d8288d8628039" +axe-core@^2.6.0: + version "2.6.0" + resolved "https://registry.yarnpkg.com/axe-core/-/axe-core-2.6.0.tgz#fa88e4cc34badee7eb208aae31fb4977ae488223" axobject-query@^0.1.0: version "0.1.0" From 596169953fa24ae15b0aba97fd8d20b03f1ac6ce Mon Sep 17 00:00:00 2001 From: "Dependencies.io Bot" Date: Tue, 19 Dec 2017 16:30:29 +0000 Subject: [PATCH 67/83] Update moment from 2.20.0 to 2.20.1 in addons/knobs --- addons/knobs/package.json | 2 +- yarn.lock | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/addons/knobs/package.json b/addons/knobs/package.json index 7cde16e53bd7..d41e53ed1558 100644 --- a/addons/knobs/package.json +++ b/addons/knobs/package.json @@ -20,7 +20,7 @@ "global": "^4.3.2", "insert-css": "^2.0.0", "lodash.debounce": "^4.0.8", - "moment": "^2.20.0", + "moment": "^2.20.1", "prop-types": "^15.6.0", "react-color": "^2.11.4", "react-datetime": "^2.11.1", diff --git a/yarn.lock b/yarn.lock index 2ae955b63640..05790d879f39 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7725,6 +7725,10 @@ moment@^2.20.0: version "2.20.0" resolved "https://registry.yarnpkg.com/moment/-/moment-2.20.0.tgz#53396358994dd3a551e966a66af715ecb6c30ad0" +moment@^2.20.1: + version "2.20.1" + resolved "https://registry.yarnpkg.com/moment/-/moment-2.20.1.tgz#d6eb1a46cbcc14a2b2f9434112c1ff8907f313fd" + moment@^2.6.0: version "2.19.2" resolved "https://registry.yarnpkg.com/moment/-/moment-2.19.2.tgz#8a7f774c95a64550b4c7ebd496683908f9419dbe" From 463dd67dfddb7bd7912e744b6b09d3f3e9e8e44e Mon Sep 17 00:00:00 2001 From: "Dependencies.io Bot" Date: Tue, 19 Dec 2017 16:30:33 +0000 Subject: [PATCH 68/83] Update gatsby from 1.9.141 to 1.9.142 --- docs/package.json | 2 +- docs/yarn.lock | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/package.json b/docs/package.json index 19032e0d63bf..9bb9dc97efe4 100644 --- a/docs/package.json +++ b/docs/package.json @@ -30,7 +30,7 @@ "babel-preset-react": "^6.24.1", "babel-preset-stage-0": "^6.24.1", "bootstrap": "^3.3.7", - "gatsby": "^1.9.141", + "gatsby": "^1.9.142", "gatsby-link": "^1.6.32", "gatsby-plugin-sharp": "^1.6.24", "gatsby-remark-autolink-headers": "^1.4.10", diff --git a/docs/yarn.lock b/docs/yarn.lock index df25b868ca18..8f3daab7fe05 100644 --- a/docs/yarn.lock +++ b/docs/yarn.lock @@ -4378,9 +4378,9 @@ gatsby-transformer-remark@^1.7.25: unist-util-select "^1.5.0" unist-util-visit "^1.1.1" -gatsby@^1.9.141: - version "1.9.141" - resolved "https://registry.yarnpkg.com/gatsby/-/gatsby-1.9.141.tgz#8cde1d84900abcb7dfa910778cafebdb461e73cd" +gatsby@^1.9.142: + version "1.9.142" + resolved "https://registry.yarnpkg.com/gatsby/-/gatsby-1.9.142.tgz#020393389a759675012b120253e16663abe8dc14" dependencies: async "^2.1.2" babel-code-frame "^6.22.0" From 8e75e8a468bd4f2abcbad047c5ae70fafd729f55 Mon Sep 17 00:00:00 2001 From: "Dependencies.io Bot" Date: Tue, 19 Dec 2017 16:32:21 +0000 Subject: [PATCH 69/83] Update vue from 2.5.11 to 2.5.12 in addons/knobs --- addons/knobs/package.json | 2 +- yarn.lock | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/addons/knobs/package.json b/addons/knobs/package.json index d41e53ed1558..af9484b7dde4 100644 --- a/addons/knobs/package.json +++ b/addons/knobs/package.json @@ -34,7 +34,7 @@ "style-loader": "^0.19.1", "typescript": "^2.6.2", "typescript-definition-tester": "^0.0.5", - "vue": "^2.5.11" + "vue": "^2.5.12" }, "peerDependencies": { "react": "*", diff --git a/yarn.lock b/yarn.lock index 05790d879f39..fec501775d7b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -11779,6 +11779,10 @@ vue@^2.5.11: version "2.5.11" resolved "https://registry.yarnpkg.com/vue/-/vue-2.5.11.tgz#80ca2657aa81f03545cd8dd5a2f55454641e6405" +vue@^2.5.12: + version "2.5.12" + resolved "https://registry.yarnpkg.com/vue/-/vue-2.5.12.tgz#88bb58307b51d9dd9f772019765c0d110da816e7" + vuex@^3.0.0: version "3.0.1" resolved "https://registry.yarnpkg.com/vuex/-/vuex-3.0.1.tgz#e761352ebe0af537d4bb755a9b9dc4be3df7efd2" From 6c6578432529151f88d1b069bf9cc6ef744ae5eb Mon Sep 17 00:00:00 2001 From: "Dependencies.io Bot" Date: Tue, 19 Dec 2017 16:33:42 +0000 Subject: [PATCH 70/83] Update vue from 2.5.11 to 2.5.12 in app/vue --- app/vue/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/vue/package.json b/app/vue/package.json index c92cc98ec62c..09670be33e9b 100644 --- a/app/vue/package.json +++ b/app/vue/package.json @@ -77,12 +77,12 @@ }, "devDependencies": { "nodemon": "^1.13.3", - "vue": "^2.5.11", + "vue": "^2.5.12", "vue-loader": "^13.6.0", "vue-template-compiler": "^2.5.11" }, "peerDependencies": { - "vue": "2.5.11", + "vue": "2.5.12", "vue-loader": "13.6.0", "vue-template-compiler": "2.5.11" } From 4f4b0f2e2c15b233f9180fa1384136aa5db3e29f Mon Sep 17 00:00:00 2001 From: "Dependencies.io Bot" Date: Tue, 19 Dec 2017 16:35:02 +0000 Subject: [PATCH 71/83] Update vue-template-compiler from 2.5.11 to 2.5.12 in app/vue --- app/vue/package.json | 4 ++-- yarn.lock | 7 +++++++ 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/app/vue/package.json b/app/vue/package.json index 09670be33e9b..d88c54385f40 100644 --- a/app/vue/package.json +++ b/app/vue/package.json @@ -79,11 +79,11 @@ "nodemon": "^1.13.3", "vue": "^2.5.12", "vue-loader": "^13.6.0", - "vue-template-compiler": "^2.5.11" + "vue-template-compiler": "^2.5.12" }, "peerDependencies": { "vue": "2.5.12", "vue-loader": "13.6.0", - "vue-template-compiler": "2.5.11" + "vue-template-compiler": "2.5.12" } } diff --git a/yarn.lock b/yarn.lock index fec501775d7b..c5f4e7e7c11b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -11771,6 +11771,13 @@ vue-template-compiler@^2.5.11: de-indent "^1.0.2" he "^1.1.0" +vue-template-compiler@^2.5.12: + version "2.5.12" + resolved "https://registry.yarnpkg.com/vue-template-compiler/-/vue-template-compiler-2.5.12.tgz#c3fbf60eaecdef06f20f51ed24bc178e3dda57b1" + dependencies: + de-indent "^1.0.2" + he "^1.1.0" + vue-template-es2015-compiler@^1.6.0: version "1.6.0" resolved "https://registry.yarnpkg.com/vue-template-es2015-compiler/-/vue-template-es2015-compiler-1.6.0.tgz#dc42697133302ce3017524356a6c61b7b69b4a18" From e19dfc70a6cf6e37de7697eca917a47d9b6248d8 Mon Sep 17 00:00:00 2001 From: "Dependencies.io Bot" Date: Tue, 19 Dec 2017 16:36:26 +0000 Subject: [PATCH 72/83] Update moment from 2.20.0 to 2.20.1 in addons/comments --- addons/comments/package.json | 2 +- yarn.lock | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/addons/comments/package.json b/addons/comments/package.json index f5897ffc6462..daf175d07c26 100644 --- a/addons/comments/package.json +++ b/addons/comments/package.json @@ -30,7 +30,7 @@ "global": "^4.3.2", "insert-css": "^2.0.0", "marked": "^0.3.7", - "moment": "^2.20.0", + "moment": "^2.20.1", "prop-types": "^15.6.0", "react-render-html": "^0.6.0", "react-textarea-autosize": "^5.2.1" diff --git a/yarn.lock b/yarn.lock index c5f4e7e7c11b..024a20d7d1df 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7721,10 +7721,6 @@ modify-values@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/modify-values/-/modify-values-1.0.0.tgz#e2b6cdeb9ce19f99317a53722f3dbf5df5eaaab2" -moment@^2.20.0: - version "2.20.0" - resolved "https://registry.yarnpkg.com/moment/-/moment-2.20.0.tgz#53396358994dd3a551e966a66af715ecb6c30ad0" - moment@^2.20.1: version "2.20.1" resolved "https://registry.yarnpkg.com/moment/-/moment-2.20.1.tgz#d6eb1a46cbcc14a2b2f9434112c1ff8907f313fd" From 92253981c942b192e2e7f69a2b4da1d3ca064ebd Mon Sep 17 00:00:00 2001 From: "Dependencies.io Bot" Date: Tue, 19 Dec 2017 16:37:46 +0000 Subject: [PATCH 73/83] Update vue from 2.5.11 to 2.5.12 in examples/vue-kitchen-sink --- examples/vue-kitchen-sink/package.json | 2 +- yarn.lock | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/examples/vue-kitchen-sink/package.json b/examples/vue-kitchen-sink/package.json index 21938099c7c7..c610a0d9c16c 100644 --- a/examples/vue-kitchen-sink/package.json +++ b/examples/vue-kitchen-sink/package.json @@ -25,7 +25,7 @@ "webpack-dev-server": "^2.9.7" }, "dependencies": { - "vue": "^2.5.11", + "vue": "^2.5.12", "vuex": "^3.0.0" }, "scripts": { diff --git a/yarn.lock b/yarn.lock index 024a20d7d1df..9a8890c2a28d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -11778,10 +11778,6 @@ vue-template-es2015-compiler@^1.6.0: version "1.6.0" resolved "https://registry.yarnpkg.com/vue-template-es2015-compiler/-/vue-template-es2015-compiler-1.6.0.tgz#dc42697133302ce3017524356a6c61b7b69b4a18" -vue@^2.5.11: - version "2.5.11" - resolved "https://registry.yarnpkg.com/vue/-/vue-2.5.11.tgz#80ca2657aa81f03545cd8dd5a2f55454641e6405" - vue@^2.5.12: version "2.5.12" resolved "https://registry.yarnpkg.com/vue/-/vue-2.5.12.tgz#88bb58307b51d9dd9f772019765c0d110da816e7" From 66f74b7819d2440d73e498fb2a736fa9f1a8b2f0 Mon Sep 17 00:00:00 2001 From: "Dependencies.io Bot" Date: Tue, 19 Dec 2017 16:39:03 +0000 Subject: [PATCH 74/83] Update vue-template-compiler from 2.5.11 to 2.5.12 in examples/vue-kitchen-sink --- examples/vue-kitchen-sink/package.json | 2 +- yarn.lock | 7 ------- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/examples/vue-kitchen-sink/package.json b/examples/vue-kitchen-sink/package.json index c610a0d9c16c..b81b7784b173 100644 --- a/examples/vue-kitchen-sink/package.json +++ b/examples/vue-kitchen-sink/package.json @@ -20,7 +20,7 @@ "vue-hot-reload-api": "^2.2.4", "vue-loader": "^13.6.0", "vue-style-loader": "^3.0.1", - "vue-template-compiler": "^2.5.11", + "vue-template-compiler": "^2.5.12", "webpack": "^3.10.0", "webpack-dev-server": "^2.9.7" }, diff --git a/yarn.lock b/yarn.lock index 9a8890c2a28d..e01a239f5882 100644 --- a/yarn.lock +++ b/yarn.lock @@ -11760,13 +11760,6 @@ vue-style-loader@^3.0.0, vue-style-loader@^3.0.1: hash-sum "^1.0.2" loader-utils "^1.0.2" -vue-template-compiler@^2.5.11: - version "2.5.11" - resolved "https://registry.yarnpkg.com/vue-template-compiler/-/vue-template-compiler-2.5.11.tgz#7dda6905e464ff173c8e70e1dfd1769a7888b7e8" - dependencies: - de-indent "^1.0.2" - he "^1.1.0" - vue-template-compiler@^2.5.12: version "2.5.12" resolved "https://registry.yarnpkg.com/vue-template-compiler/-/vue-template-compiler-2.5.12.tgz#c3fbf60eaecdef06f20f51ed24bc178e3dda57b1" From 1fc6080c9ebc60eac754110b9d98833cb5143b37 Mon Sep 17 00:00:00 2001 From: "Dependencies.io Bot" Date: Tue, 19 Dec 2017 18:17:27 +0000 Subject: [PATCH 75/83] Update gatsby from 1.9.142 to 1.9.143 --- docs/package.json | 2 +- docs/yarn.lock | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/package.json b/docs/package.json index 9bb9dc97efe4..a49dfc57cc4e 100644 --- a/docs/package.json +++ b/docs/package.json @@ -30,7 +30,7 @@ "babel-preset-react": "^6.24.1", "babel-preset-stage-0": "^6.24.1", "bootstrap": "^3.3.7", - "gatsby": "^1.9.142", + "gatsby": "^1.9.143", "gatsby-link": "^1.6.32", "gatsby-plugin-sharp": "^1.6.24", "gatsby-remark-autolink-headers": "^1.4.10", diff --git a/docs/yarn.lock b/docs/yarn.lock index 8f3daab7fe05..9901e694612c 100644 --- a/docs/yarn.lock +++ b/docs/yarn.lock @@ -4289,9 +4289,9 @@ gatsby-plugin-sharp@^1.6.24: sharp "^0.17.3" svgo "^0.7.2" -gatsby-react-router-scroll@^1.0.6: - version "1.0.6" - resolved "https://registry.yarnpkg.com/gatsby-react-router-scroll/-/gatsby-react-router-scroll-1.0.6.tgz#7cf83afec00ed5441522c3db3b84ec4a12df509a" +gatsby-react-router-scroll@^1.0.7: + version "1.0.7" + resolved "https://registry.yarnpkg.com/gatsby-react-router-scroll/-/gatsby-react-router-scroll-1.0.7.tgz#50be2d6d3857625eb087c14f2a6789672fd73219" dependencies: babel-runtime "^6.26.0" scroll-behavior "^0.9.1" @@ -4378,9 +4378,9 @@ gatsby-transformer-remark@^1.7.25: unist-util-select "^1.5.0" unist-util-visit "^1.1.1" -gatsby@^1.9.142: - version "1.9.142" - resolved "https://registry.yarnpkg.com/gatsby/-/gatsby-1.9.142.tgz#020393389a759675012b120253e16663abe8dc14" +gatsby@^1.9.143: + version "1.9.143" + resolved "https://registry.yarnpkg.com/gatsby/-/gatsby-1.9.143.tgz#cfd72477808e5315d0de3a3a2fc29ef645a56d3b" dependencies: async "^2.1.2" babel-code-frame "^6.22.0" @@ -4423,7 +4423,7 @@ gatsby@^1.9.142: gatsby-cli "^1.1.27" gatsby-link "^1.6.30" gatsby-module-loader "^1.0.9" - gatsby-react-router-scroll "^1.0.6" + gatsby-react-router-scroll "^1.0.7" glob "^7.1.1" graphql "^0.11.7" graphql-relay "^0.5.1" From dd0d1859e9523e58fa19a61a2369c0b887dcccfb Mon Sep 17 00:00:00 2001 From: igor Date: Wed, 20 Dec 2017 08:09:24 +0200 Subject: [PATCH 76/83] Move back to peer deps --- addons/knobs/package.json | 2 +- addons/knobs/src/angular/utils.js | 19 +++++++++++++++ app/angular/package.json | 12 ++++++---- .../src/client/preview/angular/utils.ts | 23 +++++++++++++++++++ .../src/server/config/webpack.config.js | 11 --------- 5 files changed, 50 insertions(+), 17 deletions(-) diff --git a/addons/knobs/package.json b/addons/knobs/package.json index 8a2cb8e5ef2a..738089b7dc6f 100644 --- a/addons/knobs/package.json +++ b/addons/knobs/package.json @@ -14,7 +14,6 @@ "storybook": "start-storybook -p 9010" }, "dependencies": { - "@angular/core": "^5.0.0-beta.7", "babel-runtime": "^6.26.0", "deep-equal": "^1.0.1", "global": "^4.3.2", @@ -34,6 +33,7 @@ }, "peerDependencies": { "@storybook/addons": "^3.3.0-alpha.4", + "@angular/core": "=>4.0.0", "react": "*", "react-dom": "*" } diff --git a/addons/knobs/src/angular/utils.js b/addons/knobs/src/angular/utils.js index 03a810a8d7e8..72b4e545768b 100644 --- a/addons/knobs/src/angular/utils.js +++ b/addons/knobs/src/angular/utils.js @@ -18,6 +18,17 @@ function getMeta(component, [name1, name2], defaultValue) { return window.Reflect.getMetadata(name2, component) || defaultValue; } +function setMeta(component, [name1, name2], value) { + if (!name2) { + name2 = name1; + name1 = `__${name1}__`; + } + + component[name1] = value; + component[name2] = value; + window.Reflect.defineMetadata(name2, value, component); +} + export function getAnnotations(component) { return getMeta(component, ['annotations'], []); } @@ -29,3 +40,11 @@ export function getPropMetadata(component) { export function getParameters(component) { return getMeta(component, ['parameters'], []); } + +export function setAnnotations(component, value) { + setMeta(component, ['annotations'], value); +} + +export function setParameters(component, value) { + setMeta(component, ['parameters'], value); +} diff --git a/app/angular/package.json b/app/angular/package.json index 3b6e84ea2776..f6a66e8cd1f6 100644 --- a/app/angular/package.json +++ b/app/angular/package.json @@ -22,11 +22,6 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@angular/common": "^5.0.0-beta.7", - "@angular/compiler": "^5.0.0-beta.7", - "@angular/core": "^5.0.0-beta.7", - "@angular/platform-browser": "^5.0.0-beta.7", - "@angular/platform-browser-dynamic": "^5.0.0-beta.7", "@storybook/addon-actions": "^3.3.0-alpha.4", "@storybook/addon-links": "^3.3.0-alpha.4", "@storybook/addons": "^3.3.0-alpha.4", @@ -91,5 +86,12 @@ "mock-fs": "^4.3.0", "nodemon": "^1.12.0", "typescript": "^2.4.0" + }, + "peerDependencies": { + "@angular/common": "=>4.0.0", + "@angular/compiler": "=>4.0.0", + "@angular/core": "=>4.0.0", + "@angular/platform-browser": "=>4.0.0", + "@angular/platform-browser-dynamic": "=>4.0.0" } } diff --git a/app/angular/src/client/preview/angular/utils.ts b/app/angular/src/client/preview/angular/utils.ts index 843aa5ac4df4..91fda7be6faf 100644 --- a/app/angular/src/client/preview/angular/utils.ts +++ b/app/angular/src/client/preview/angular/utils.ts @@ -15,6 +15,17 @@ function getMeta(component, [name1, name2]: any, defaultValue) { return window['Reflect'].getMetadata(name2, component) || defaultValue; } +function setMeta(component, [name1, name2]: any, value) { + if (!name2) { + name2 = name1; + name1 = `__${name1}__`; + } + + component[name1] = value; + component[name2] = value; + window['Reflect'].defineMetadata(name2, value, component); +} + export function getAnnotations(component) { return getMeta(component, ['annotations'], []); } @@ -25,4 +36,16 @@ export function getPropMetadata(component) { export function getParameters(component) { return getMeta(component, ['parameters'], []); +} + +export function setAnnotations(component, value) { + setMeta(component, ['annotations'], value); +} + +export function setParameters(component, value) { + setMeta(component, ['parameters'], value); +} + +export function setPropMetadata(component, value) { + setMeta(component, ['__prop__metadata__', 'propMetadata'], value); } \ No newline at end of file diff --git a/app/angular/src/server/config/webpack.config.js b/app/angular/src/server/config/webpack.config.js index c256bc0a739b..4bbe176499c3 100644 --- a/app/angular/src/server/config/webpack.config.js +++ b/app/angular/src/server/config/webpack.config.js @@ -1,4 +1,3 @@ -/* eslint-disable no-param-reassign */ import path from 'path'; import webpack from 'webpack'; import CaseSensitivePathsPlugin from 'case-sensitive-paths-webpack-plugin'; @@ -57,16 +56,6 @@ export default function() { new CaseSensitivePathsPlugin(), new WatchMissingNodeModulesPlugin(nodeModulesPaths), new webpack.ProgressPlugin(), - // temp plugin to make webpack bundle only one v5 version. - new webpack.NormalModuleReplacementPlugin( - /addons(\\|\/)knobs(\\|\/)node_modules(\\|\/)@angular/, - resource => { - resource.request = resource.request.replace( - /addons(\\|\/)knobs(\\|\/)node_modules(\\|\/)@angular/, - 'app\\angular\\node_modules\\@angular' - ); - } - ), new webpack.ContextReplacementPlugin( /angular(\\|\/)core(\\|\/)(@angular|esm5)/, path.resolve(__dirname, '../src') From 08b0bdafa6a004fd4d1f75c83053e7310297769b Mon Sep 17 00:00:00 2001 From: igor Date: Wed, 20 Dec 2017 08:38:30 +0200 Subject: [PATCH 77/83] Remove setMeta --- addons/knobs/src/angular/utils.js | 19 --------------- .../src/client/preview/angular/utils.ts | 23 ------------------- 2 files changed, 42 deletions(-) diff --git a/addons/knobs/src/angular/utils.js b/addons/knobs/src/angular/utils.js index 72b4e545768b..03a810a8d7e8 100644 --- a/addons/knobs/src/angular/utils.js +++ b/addons/knobs/src/angular/utils.js @@ -18,17 +18,6 @@ function getMeta(component, [name1, name2], defaultValue) { return window.Reflect.getMetadata(name2, component) || defaultValue; } -function setMeta(component, [name1, name2], value) { - if (!name2) { - name2 = name1; - name1 = `__${name1}__`; - } - - component[name1] = value; - component[name2] = value; - window.Reflect.defineMetadata(name2, value, component); -} - export function getAnnotations(component) { return getMeta(component, ['annotations'], []); } @@ -40,11 +29,3 @@ export function getPropMetadata(component) { export function getParameters(component) { return getMeta(component, ['parameters'], []); } - -export function setAnnotations(component, value) { - setMeta(component, ['annotations'], value); -} - -export function setParameters(component, value) { - setMeta(component, ['parameters'], value); -} diff --git a/app/angular/src/client/preview/angular/utils.ts b/app/angular/src/client/preview/angular/utils.ts index 91fda7be6faf..843aa5ac4df4 100644 --- a/app/angular/src/client/preview/angular/utils.ts +++ b/app/angular/src/client/preview/angular/utils.ts @@ -15,17 +15,6 @@ function getMeta(component, [name1, name2]: any, defaultValue) { return window['Reflect'].getMetadata(name2, component) || defaultValue; } -function setMeta(component, [name1, name2]: any, value) { - if (!name2) { - name2 = name1; - name1 = `__${name1}__`; - } - - component[name1] = value; - component[name2] = value; - window['Reflect'].defineMetadata(name2, value, component); -} - export function getAnnotations(component) { return getMeta(component, ['annotations'], []); } @@ -36,16 +25,4 @@ export function getPropMetadata(component) { export function getParameters(component) { return getMeta(component, ['parameters'], []); -} - -export function setAnnotations(component, value) { - setMeta(component, ['annotations'], value); -} - -export function setParameters(component, value) { - setMeta(component, ['parameters'], value); -} - -export function setPropMetadata(component, value) { - setMeta(component, ['__prop__metadata__', 'propMetadata'], value); } \ No newline at end of file From a1470f6d860fad1e08538df4c8434f3964f855b7 Mon Sep 17 00:00:00 2001 From: igor Date: Wed, 20 Dec 2017 08:39:50 +0200 Subject: [PATCH 78/83] Add required click handler to prevent errors. --- examples/angular-cli/src/stories/index.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/examples/angular-cli/src/stories/index.ts b/examples/angular-cli/src/stories/index.ts index dab525efdd1f..5f800a4d60a9 100644 --- a/examples/angular-cli/src/stories/index.ts +++ b/examples/angular-cli/src/stories/index.ts @@ -105,7 +105,8 @@ storiesOf('Addon Notes', module) withNotes({ text: 'My notes on some button' })(() => ({ component: Button, props: { - text: 'Notes on some Button' + text: 'Notes on some Button', + onClick: () => {}, } })) ) @@ -122,7 +123,8 @@ storiesOf('Addon Notes', module) })(() => ({ component: Button, props: { - text: 'Notes with HTML' + text: 'Notes with HTML', + onClick: () => {}, } })) ); From 24873e7988e8cfad894d4b61018d7a40e1124fb0 Mon Sep 17 00:00:00 2001 From: igor Date: Wed, 20 Dec 2017 08:57:57 +0200 Subject: [PATCH 79/83] Remove pathinfo --- app/angular/src/server/config/webpack.config.js | 1 - 1 file changed, 1 deletion(-) diff --git a/app/angular/src/server/config/webpack.config.js b/app/angular/src/server/config/webpack.config.js index 4bbe176499c3..e479e77efd8b 100644 --- a/app/angular/src/server/config/webpack.config.js +++ b/app/angular/src/server/config/webpack.config.js @@ -28,7 +28,6 @@ export default function() { ], }, output: { - pathinfo: true, path: path.join(__dirname, 'dist'), filename: 'static/[name].bundle.js', publicPath: '/', From 6ed2fd848365dbb252ed983a8c26b296b9b99e75 Mon Sep 17 00:00:00 2001 From: igor Date: Wed, 20 Dec 2017 09:08:53 +0200 Subject: [PATCH 80/83] Fix `Critical dependency: the request of a dependency is an expression` in webpack.config.prod --- app/angular/src/server/config/webpack.config.prod.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/angular/src/server/config/webpack.config.prod.js b/app/angular/src/server/config/webpack.config.prod.js index 465127ec1a32..33e6c5ff1e50 100644 --- a/app/angular/src/server/config/webpack.config.prod.js +++ b/app/angular/src/server/config/webpack.config.prod.js @@ -56,7 +56,7 @@ export default function() { }, }), new webpack.ContextReplacementPlugin( - /angular(\\|\/)core(\\|\/)@angular/, + /angular(\\|\/)core(\\|\/)(@angular|esm5)/, path.resolve(__dirname, '../src') ), ], From 1ecd649defd9cc946fb1088b3637c60f56380f69 Mon Sep 17 00:00:00 2001 From: Carlos Vega Date: Wed, 20 Dec 2017 09:09:46 -0600 Subject: [PATCH 81/83] Updating fixtures to reflect deprecation of angular 2 Signed-off-by: Carlos Vega --- .../test/fixtures/angular-cli/package.json | 18 +++++------ .../test/snapshots/angular-cli/package.json | 18 +++++------ yarn.lock | 30 +++++-------------- 3 files changed, 26 insertions(+), 40 deletions(-) diff --git a/lib/cli/test/fixtures/angular-cli/package.json b/lib/cli/test/fixtures/angular-cli/package.json index 1b45787178d8..4085f190ec9b 100644 --- a/lib/cli/test/fixtures/angular-cli/package.json +++ b/lib/cli/test/fixtures/angular-cli/package.json @@ -12,21 +12,21 @@ }, "private": true, "dependencies": { - "@angular/common": "^2.3.1", - "@angular/compiler": "^2.3.1", - "@angular/core": "^2.3.1", - "@angular/forms": "^2.3.1", - "@angular/http": "^2.3.1", - "@angular/platform-browser": "^2.3.1", - "@angular/platform-browser-dynamic": "^2.3.1", - "@angular/router": "^3.3.1", + "@angular/common": "4.0.0", + "@angular/compiler": "4.0.0", + "@angular/core": "4.0.0", + "@angular/forms": "4.0.0", + "@angular/http": "4.0.0", + "@angular/platform-browser": "4.0.0", + "@angular/platform-browser-dynamic": "4.0.0", + "@angular/router": "4.0.0", "core-js": "^2.4.1", "rxjs": "^5.0.1", "ts-helpers": "^1.1.1", "zone.js": "^0.7.2" }, "devDependencies": { - "@angular/compiler-cli": "^2.3.1", + "@angular/compiler-cli": "4.0.0", "@types/jasmine": "2.5.38", "@types/node": "^6.0.42", "angular-cli": "1.0.0-beta.28.3", diff --git a/lib/cli/test/snapshots/angular-cli/package.json b/lib/cli/test/snapshots/angular-cli/package.json index c3280e3ade9f..080fcf713ca7 100644 --- a/lib/cli/test/snapshots/angular-cli/package.json +++ b/lib/cli/test/snapshots/angular-cli/package.json @@ -14,21 +14,21 @@ }, "private": true, "dependencies": { - "@angular/common": "^2.3.1", - "@angular/compiler": "^2.3.1", - "@angular/core": "^2.3.1", - "@angular/forms": "^2.3.1", - "@angular/http": "^2.3.1", - "@angular/platform-browser": "^2.3.1", - "@angular/platform-browser-dynamic": "^2.3.1", - "@angular/router": "^3.3.1", + "@angular/common": "4.0.0", + "@angular/compiler": "4.0.0", + "@angular/core": "4.0.0", + "@angular/forms": "4.0.0", + "@angular/http": "4.0.0", + "@angular/platform-browser": "4.0.0", + "@angular/platform-browser-dynamic": "4.0.0", + "@angular/router": "4.0.0", "core-js": "^2.4.1", "rxjs": "^5.0.1", "ts-helpers": "^1.1.1", "zone.js": "^0.7.2" }, "devDependencies": { - "@angular/compiler-cli": "^2.3.1", + "@angular/compiler-cli": "4.0.0", "@types/jasmine": "2.5.38", "@types/node": "^6.0.42", "angular-cli": "1.0.0-beta.28.3", diff --git a/yarn.lock b/yarn.lock index 63b8b2ce26dc..ad2f894aea78 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3692,7 +3692,7 @@ debug@2.3.3: dependencies: ms "0.7.2" -debuglog@*, debuglog@^1.0.1: +debuglog@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/debuglog/-/debuglog-1.0.1.tgz#aa24ffb9ac3df9a2351837cfb2d279360cd78492" @@ -6346,7 +6346,7 @@ import-local@^0.1.1: pkg-dir "^2.0.0" resolve-cwd "^2.0.0" -imurmurhash@*, imurmurhash@^0.1.4: +imurmurhash@^0.1.4: version "0.1.4" resolved "https://registry.yarnpkg.com/imurmurhash/-/imurmurhash-0.1.4.tgz#9218b9b2b928a238b13dc4fb6b6d576f231453ea" @@ -8028,10 +8028,6 @@ lodash._basecopy@^3.0.0: version "3.0.1" resolved "https://registry.yarnpkg.com/lodash._basecopy/-/lodash._basecopy-3.0.1.tgz#8da0e6a876cf344c0ad8a54882111dd3c5c7ca36" -lodash._baseindexof@*: - version "3.1.0" - resolved "https://registry.yarnpkg.com/lodash._baseindexof/-/lodash._baseindexof-3.1.0.tgz#fe52b53a1c6761e42618d654e4a25789ed61822c" - lodash._baseisequal@^3.0.0: version "3.0.7" resolved "https://registry.yarnpkg.com/lodash._baseisequal/-/lodash._baseisequal-3.0.7.tgz#d8025f76339d29342767dcc887ce5cb95a5b51f1" @@ -8055,14 +8051,10 @@ lodash._basevalues@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/lodash._basevalues/-/lodash._basevalues-3.0.0.tgz#5b775762802bde3d3297503e26300820fdf661b7" -lodash._bindcallback@*, lodash._bindcallback@^3.0.0: +lodash._bindcallback@^3.0.0: version "3.0.1" resolved "https://registry.yarnpkg.com/lodash._bindcallback/-/lodash._bindcallback-3.0.1.tgz#e531c27644cf8b57a99e17ed95b35c748789392e" -lodash._cacheindexof@*: - version "3.0.2" - resolved "https://registry.yarnpkg.com/lodash._cacheindexof/-/lodash._cacheindexof-3.0.2.tgz#3dc69ac82498d2ee5e3ce56091bafd2adc7bde92" - lodash._createassigner@^3.0.0: version "3.1.1" resolved "https://registry.yarnpkg.com/lodash._createassigner/-/lodash._createassigner-3.1.1.tgz#838a5bae2fdaca63ac22dee8e19fa4e6d6970b11" @@ -8071,17 +8063,11 @@ lodash._createassigner@^3.0.0: lodash._isiterateecall "^3.0.0" lodash.restparam "^3.0.0" -lodash._createcache@*: - version "3.1.2" - resolved "https://registry.yarnpkg.com/lodash._createcache/-/lodash._createcache-3.1.2.tgz#56d6a064017625e79ebca6b8018e17440bdcf093" - dependencies: - lodash._getnative "^3.0.0" - lodash._createset@~4.0.0: version "4.0.3" resolved "https://registry.yarnpkg.com/lodash._createset/-/lodash._createset-4.0.3.tgz#0f4659fbb09d75194fa9e2b88a6644d363c9fe26" -lodash._getnative@*, lodash._getnative@^3.0.0: +lodash._getnative@^3.0.0: version "3.9.1" resolved "https://registry.yarnpkg.com/lodash._getnative/-/lodash._getnative-3.9.1.tgz#570bc7dede46d61cdcde687d65d3eecbaa3aaff5" @@ -8231,7 +8217,7 @@ lodash.pick@^4.4.0: version "4.4.0" resolved "https://registry.yarnpkg.com/lodash.pick/-/lodash.pick-4.4.0.tgz#52f05610fff9ded422611441ed1fc123a03001b3" -lodash.restparam@*, lodash.restparam@^3.0.0: +lodash.restparam@^3.0.0: version "3.6.1" resolved "https://registry.yarnpkg.com/lodash.restparam/-/lodash.restparam-3.6.1.tgz#936a4e309ef330a7645ed4145986c85ae5b20805" @@ -11103,7 +11089,7 @@ readable-stream@~1.1.10, readable-stream@~1.1.8, readable-stream@~1.1.9: isarray "0.0.1" string_decoder "~0.10.x" -readdir-scoped-modules@*, readdir-scoped-modules@^1.0.0: +readdir-scoped-modules@^1.0.0: version "1.0.2" resolved "https://registry.yarnpkg.com/readdir-scoped-modules/-/readdir-scoped-modules-1.0.2.tgz#9fafa37d286be5d92cbaebdee030dc9b5f406747" dependencies: @@ -13640,7 +13626,7 @@ v8flags@^3.0.0: dependencies: homedir-polyfill "^1.0.1" -validate-npm-package-license@*, validate-npm-package-license@^3.0.1: +validate-npm-package-license@^3.0.1: version "3.0.1" resolved "https://registry.yarnpkg.com/validate-npm-package-license/-/validate-npm-package-license-3.0.1.tgz#2804babe712ad3379459acfbe24746ab2c303fbc" dependencies: @@ -13741,7 +13727,7 @@ vm-browserify@0.0.4: dependencies: indexof "0.0.1" -"vm2@github:patriksimek/vm2#custom_files": +vm2@patriksimek/vm2#custom_files: version "3.5.0" resolved "https://codeload.github.com/patriksimek/vm2/tar.gz/7e82f90ac705fc44fad044147cb0df09b4c79a57" From f06a3f358979a8f185c9f2cd1eb414944157613b Mon Sep 17 00:00:00 2001 From: "Dependencies.io Bot" Date: Wed, 20 Dec 2017 16:24:28 +0000 Subject: [PATCH 82/83] Update gatsby from 1.9.143 to 1.9.144 --- docs/package.json | 2 +- docs/yarn.lock | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/package.json b/docs/package.json index a49dfc57cc4e..d2d666f7a6f9 100644 --- a/docs/package.json +++ b/docs/package.json @@ -30,7 +30,7 @@ "babel-preset-react": "^6.24.1", "babel-preset-stage-0": "^6.24.1", "bootstrap": "^3.3.7", - "gatsby": "^1.9.143", + "gatsby": "^1.9.144", "gatsby-link": "^1.6.32", "gatsby-plugin-sharp": "^1.6.24", "gatsby-remark-autolink-headers": "^1.4.10", diff --git a/docs/yarn.lock b/docs/yarn.lock index 9901e694612c..682b48c30ec4 100644 --- a/docs/yarn.lock +++ b/docs/yarn.lock @@ -4235,9 +4235,9 @@ gatsby-1-config-css-modules@^1.0.8: dependencies: babel-runtime "^6.26.0" -gatsby-cli@^1.1.27: - version "1.1.27" - resolved "https://registry.yarnpkg.com/gatsby-cli/-/gatsby-cli-1.1.27.tgz#40be97cde1721ee61c25d21a21c84867e7ba3678" +gatsby-cli@^1.1.28: + version "1.1.28" + resolved "https://registry.yarnpkg.com/gatsby-cli/-/gatsby-cli-1.1.28.tgz#0d0a397566154a3ce3e4680d545c9cfdc33ad95b" dependencies: babel-code-frame "^6.26.0" babel-runtime "^6.26.0" @@ -4378,9 +4378,9 @@ gatsby-transformer-remark@^1.7.25: unist-util-select "^1.5.0" unist-util-visit "^1.1.1" -gatsby@^1.9.143: - version "1.9.143" - resolved "https://registry.yarnpkg.com/gatsby/-/gatsby-1.9.143.tgz#cfd72477808e5315d0de3a3a2fc29ef645a56d3b" +gatsby@^1.9.144: + version "1.9.144" + resolved "https://registry.yarnpkg.com/gatsby/-/gatsby-1.9.144.tgz#1b0b3a0c547b617b07b7c99c4c1a146525cf0708" dependencies: async "^2.1.2" babel-code-frame "^6.22.0" @@ -4420,7 +4420,7 @@ gatsby@^1.9.143: front-matter "^2.1.0" fs-extra "^4.0.1" gatsby-1-config-css-modules "^1.0.8" - gatsby-cli "^1.1.27" + gatsby-cli "^1.1.28" gatsby-link "^1.6.30" gatsby-module-loader "^1.0.9" gatsby-react-router-scroll "^1.0.7" From 5bfae4521186203c7e29359f966a4431fb0cbf5a Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Thu, 21 Dec 2017 08:37:53 +0100 Subject: [PATCH 83/83] FIX the failing netlify builds --- netlify.toml | 1 + package.json | 28 ++++++++++++++-------------- scripts/netlify-build.sh | 4 +++- 3 files changed, 18 insertions(+), 15 deletions(-) diff --git a/netlify.toml b/netlify.toml index 3d2fd195c821..a2251b21abba 100644 --- a/netlify.toml +++ b/netlify.toml @@ -4,3 +4,4 @@ [build.environment] NODE_VERSION = "8" YARN_VERSION = "1.3.2" + YARN_FLAGS = "--version" diff --git a/package.json b/package.json index f53b4ede9f5a..f0426d522ddd 100644 --- a/package.json +++ b/package.json @@ -1,25 +1,16 @@ { - "private": true, - "name": "storybook", + "name": "@storybook/root", "version": "3.0.0", "repository": { "type": "git", "url": "https://github.com/storybooks/storybook.git" }, - "workspaces": [ - "addons/*", - "app/*", - "lib/*", - "examples/cra-kitchen-sink", - "examples/vue-kitchen-sink" - ], "scripts": { "bootstrap": "node ./scripts/bootstrap.js", + "bootstrap:crna-kitchen-sink": "npm --prefix examples/crna-kitchen-sink install", "bootstrap:docs": "yarn install --cwd docs", "bootstrap:react-native-vanilla": "npm --prefix examples/react-native-vanilla install", - "bootstrap:crna-kitchen-sink": "npm --prefix examples/crna-kitchen-sink install", "build-packs": "lerna exec --scope '@storybook/*' --parallel -- ../../scripts/build-pack.sh ../../packs", - "start": "npm --prefix examples/cra-kitchen-sink run storybook", "changelog": "pr-log --sloppy", "precommit": "lint-staged", "coverage": "codecov", @@ -34,8 +25,9 @@ "lint:js": "NODE_ENV=production eslint --cache --cache-location=.cache/eslint --ext .js,.jsx,.json", "lint:md": "remark", "publish": "lerna publish", - "test": "node ./scripts/test.js", - "repo-dirty-check": "node ./scripts/repo-dirty-check" + "repo-dirty-check": "node ./scripts/repo-dirty-check", + "start": "npm --prefix examples/cra-kitchen-sink run storybook", + "test": "node ./scripts/test.js" }, "devDependencies": { "babel-cli": "^6.26.0", @@ -95,6 +87,7 @@ "node": ">=8.0.0", "yarn": ">=1.0.0" }, + "private": true, "collective": { "type": "opencollective", "url": "https://opencollective.com/storybook" @@ -125,5 +118,12 @@ "dependencies": "Dependency Upgrades", "other": "Other" } - } + }, + "workspaces": [ + "addons/*", + "app/*", + "lib/*", + "examples/cra-kitchen-sink", + "examples/vue-kitchen-sink" + ] } diff --git a/scripts/netlify-build.sh b/scripts/netlify-build.sh index b248b3769af7..92e6b309a984 100644 --- a/scripts/netlify-build.sh +++ b/scripts/netlify-build.sh @@ -3,8 +3,10 @@ # Make sure to set $BUILD_CONTEXT in the Netlify "Deploy Settings" echo "Building for Netlify. BUILD_CONTEXT: $BUILD_CONTEXT" +# Fixes +npm i -g process-nextick-args util-deprecate gauge + yarn -yarn add gauge --ignore-workspace-root-check # quirk with netlify build instance yarn bootstrap --core if [ "$BUILD_CONTEXT" = "DOCS" ]; then