From dd0c4bac4d458dc53aaa2a66ef28175a9e428ede Mon Sep 17 00:00:00 2001 From: igor Date: Tue, 30 Jan 2018 16:46:59 +0200 Subject: [PATCH 01/57] Resolve directory in require.context based on NODE_PATH if provided. --- addons/storyshots/src/require_context.js | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/addons/storyshots/src/require_context.js b/addons/storyshots/src/require_context.js index ff77a6902e89..3aaf5d30c054 100644 --- a/addons/storyshots/src/require_context.js +++ b/addons/storyshots/src/require_context.js @@ -1,3 +1,4 @@ +import { process } from 'global'; import vm from 'vm'; import fs from 'fs'; import path from 'path'; @@ -51,13 +52,22 @@ export default function runWithRequireContext(content, options) { return require(request); // eslint-disable-line }; + const getFullPath = directory => { + if (process.env.NODE_PATH) { + return path.resolve(process.env.NODE_PATH, directory); + } + + return path.resolve(dirname, directory); + }; + newRequire.resolve = require.resolve; newRequire.extensions = require.extensions; newRequire.main = require.main; newRequire.cache = require.cache; newRequire.context = (directory, useSubdirectories = false, regExp = /^\.\//) => { - const fullPath = path.resolve(dirname, directory); + const fullPath = getFullPath(directory); + const keys = {}; requireModules(keys, fullPath, '.', regExp, useSubdirectories); From 7423f94e4f6b5bf9b5736e3bc00aa54548a17848 Mon Sep 17 00:00:00 2001 From: igor Date: Thu, 1 Feb 2018 12:31:37 +0200 Subject: [PATCH 02/57] Check if the requested directory in context is relative when calculating the full path --- addons/storyshots/src/require_context.js | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/addons/storyshots/src/require_context.js b/addons/storyshots/src/require_context.js index 3aaf5d30c054..c4af43351277 100644 --- a/addons/storyshots/src/require_context.js +++ b/addons/storyshots/src/require_context.js @@ -41,6 +41,14 @@ function isRelativeRequest(request) { ); } +function getFullPath(dirname, request) { + if (isRelativeRequest(request) || !process.env.NODE_PATH) { + return path.resolve(dirname, request); + } + + return path.resolve(process.env.NODE_PATH, request); +} + export default function runWithRequireContext(content, options) { const { filename, dirname } = options; @@ -52,21 +60,13 @@ export default function runWithRequireContext(content, options) { return require(request); // eslint-disable-line }; - const getFullPath = directory => { - if (process.env.NODE_PATH) { - return path.resolve(process.env.NODE_PATH, directory); - } - - return path.resolve(dirname, directory); - }; - newRequire.resolve = require.resolve; newRequire.extensions = require.extensions; newRequire.main = require.main; newRequire.cache = require.cache; newRequire.context = (directory, useSubdirectories = false, regExp = /^\.\//) => { - const fullPath = getFullPath(directory); + const fullPath = getFullPath(dirname, directory); const keys = {}; requireModules(keys, fullPath, '.', regExp, useSubdirectories); From a0ddd598a26ddd0d22504de471706ddded77732d Mon Sep 17 00:00:00 2001 From: "Dependencies.io Bot" Date: Thu, 1 Feb 2018 16:38:18 +0000 Subject: [PATCH 03/57] Update @angular/common from 5.2.2 to 5.2.3 in / --- package.json | 2 +- yarn.lock | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 22c88c7d77f0..42142554648d 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,7 @@ "chromatic": "npm --prefix examples/official-storybook run chromatic" }, "devDependencies": { - "@angular/common": "^5.2.2", + "@angular/common": "^5.2.3", "@angular/compiler": "^5.2.2", "@angular/core": "^5.2.2", "@angular/forms": "^5.2.2", diff --git a/yarn.lock b/yarn.lock index d15832234d8b..3432831625ef 100644 --- a/yarn.lock +++ b/yarn.lock @@ -103,6 +103,12 @@ dependencies: tslib "^1.7.1" +"@angular/common@^5.2.3": + version "5.2.3" + resolved "https://registry.yarnpkg.com/@angular/common/-/common-5.2.3.tgz#f2a5c12ec44b73a248d8dcb2d37ac2749f091cf7" + dependencies: + tslib "^1.7.1" + "@angular/compiler-cli@^5.2.2": version "5.2.2" resolved "https://registry.yarnpkg.com/@angular/compiler-cli/-/compiler-cli-5.2.2.tgz#0929463252adcf3f8094b1689cc5cbdcb6f8ceaa" From f06c80b44729169ee495440e2d72911baeb2ecc3 Mon Sep 17 00:00:00 2001 From: "Dependencies.io Bot" Date: Thu, 1 Feb 2018 16:40:19 +0000 Subject: [PATCH 04/57] Update @angular/compiler from 5.2.2 to 5.2.3 in / --- package.json | 2 +- yarn.lock | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 42142554648d..27ea665c79b4 100644 --- a/package.json +++ b/package.json @@ -37,7 +37,7 @@ }, "devDependencies": { "@angular/common": "^5.2.3", - "@angular/compiler": "^5.2.2", + "@angular/compiler": "^5.2.3", "@angular/core": "^5.2.2", "@angular/forms": "^5.2.2", "@angular/platform-browser": "^5.2.2", diff --git a/yarn.lock b/yarn.lock index 3432831625ef..72a23e02f2de 100644 --- a/yarn.lock +++ b/yarn.lock @@ -124,6 +124,12 @@ dependencies: tslib "^1.7.1" +"@angular/compiler@^5.2.3": + version "5.2.3" + resolved "https://registry.yarnpkg.com/@angular/compiler/-/compiler-5.2.3.tgz#49167adb35bdb5e7e915cce912c432300fc16816" + dependencies: + tslib "^1.7.1" + "@angular/core@^5.2.2": version "5.2.2" resolved "https://registry.yarnpkg.com/@angular/core/-/core-5.2.2.tgz#54950023b971d9e01f6f6fdbc30d2b68e4d05eb2" From 86cc42aa4989ed2533800684ccb3d2297cd0ecff Mon Sep 17 00:00:00 2001 From: "Dependencies.io Bot" Date: Thu, 1 Feb 2018 16:42:15 +0000 Subject: [PATCH 05/57] Update @angular/core from 5.2.2 to 5.2.3 in / --- package.json | 2 +- yarn.lock | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 27ea665c79b4..257a47ec78ee 100644 --- a/package.json +++ b/package.json @@ -38,7 +38,7 @@ "devDependencies": { "@angular/common": "^5.2.3", "@angular/compiler": "^5.2.3", - "@angular/core": "^5.2.2", + "@angular/core": "^5.2.3", "@angular/forms": "^5.2.2", "@angular/platform-browser": "^5.2.2", "@angular/platform-browser-dynamic": "^5.2.2", diff --git a/yarn.lock b/yarn.lock index 72a23e02f2de..56fa46987d3a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -136,6 +136,12 @@ dependencies: tslib "^1.7.1" +"@angular/core@^5.2.3": + version "5.2.3" + resolved "https://registry.yarnpkg.com/@angular/core/-/core-5.2.3.tgz#157dcb437d085b325513689e0e4ae70182f3f708" + dependencies: + tslib "^1.7.1" + "@angular/forms@^5.2.2": version "5.2.2" resolved "https://registry.yarnpkg.com/@angular/forms/-/forms-5.2.2.tgz#eca24f15d96de285cd0726601db4bffec39c01f3" From 8efbc8e87e78771e3ec7e987cabacb7aa8f881cf Mon Sep 17 00:00:00 2001 From: "Dependencies.io Bot" Date: Thu, 1 Feb 2018 16:44:11 +0000 Subject: [PATCH 06/57] Update @angular/forms from 5.2.2 to 5.2.3 in / --- package.json | 2 +- yarn.lock | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 257a47ec78ee..a76b63d85d92 100644 --- a/package.json +++ b/package.json @@ -39,7 +39,7 @@ "@angular/common": "^5.2.3", "@angular/compiler": "^5.2.3", "@angular/core": "^5.2.3", - "@angular/forms": "^5.2.2", + "@angular/forms": "^5.2.3", "@angular/platform-browser": "^5.2.2", "@angular/platform-browser-dynamic": "^5.2.2", "babel-cli": "^6.26.0", diff --git a/yarn.lock b/yarn.lock index 56fa46987d3a..2217fa11308b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -148,6 +148,12 @@ dependencies: tslib "^1.7.1" +"@angular/forms@^5.2.3": + version "5.2.3" + resolved "https://registry.yarnpkg.com/@angular/forms/-/forms-5.2.3.tgz#4992419191a3800516085209be331fc0d63bd099" + dependencies: + tslib "^1.7.1" + "@angular/http@^5.2.2": version "5.2.2" resolved "https://registry.yarnpkg.com/@angular/http/-/http-5.2.2.tgz#d33c128d5737f8d701bbac3e7e23d831deec3457" From f4695f09d840216772b5275250274316a25a1000 Mon Sep 17 00:00:00 2001 From: "Dependencies.io Bot" Date: Thu, 1 Feb 2018 16:46:02 +0000 Subject: [PATCH 07/57] Update @angular/platform-browser from 5.2.2 to 5.2.3 in / --- package.json | 2 +- yarn.lock | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index a76b63d85d92..3e43463acf52 100644 --- a/package.json +++ b/package.json @@ -40,7 +40,7 @@ "@angular/compiler": "^5.2.3", "@angular/core": "^5.2.3", "@angular/forms": "^5.2.3", - "@angular/platform-browser": "^5.2.2", + "@angular/platform-browser": "^5.2.3", "@angular/platform-browser-dynamic": "^5.2.2", "babel-cli": "^6.26.0", "babel-core": "^6.26.0", diff --git a/yarn.lock b/yarn.lock index 2217fa11308b..b0310869c088 100644 --- a/yarn.lock +++ b/yarn.lock @@ -176,6 +176,12 @@ dependencies: tslib "^1.7.1" +"@angular/platform-browser@^5.2.3": + version "5.2.3" + resolved "https://registry.yarnpkg.com/@angular/platform-browser/-/platform-browser-5.2.3.tgz#953df896839879e2b8ca89a364d66e3ac1dcd167" + dependencies: + tslib "^1.7.1" + "@angular/router@^5.2.2": version "5.2.2" resolved "https://registry.yarnpkg.com/@angular/router/-/router-5.2.2.tgz#b0ffd7121290e8c01f20862b4a2638ebcebc61cf" From 4c5c2968989c14e28a8dc9677315205981db809b Mon Sep 17 00:00:00 2001 From: "Dependencies.io Bot" Date: Thu, 1 Feb 2018 16:48:00 +0000 Subject: [PATCH 08/57] Update @angular/platform-browser-dynamic from 5.2.2 to 5.2.3 in / --- package.json | 2 +- yarn.lock | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 3e43463acf52..c3da3b3280a8 100644 --- a/package.json +++ b/package.json @@ -41,7 +41,7 @@ "@angular/core": "^5.2.3", "@angular/forms": "^5.2.3", "@angular/platform-browser": "^5.2.3", - "@angular/platform-browser-dynamic": "^5.2.2", + "@angular/platform-browser-dynamic": "^5.2.3", "babel-cli": "^6.26.0", "babel-core": "^6.26.0", "babel-eslint": "^8.2.1", diff --git a/yarn.lock b/yarn.lock index b0310869c088..18cdc72fb016 100644 --- a/yarn.lock +++ b/yarn.lock @@ -170,6 +170,12 @@ dependencies: tslib "^1.7.1" +"@angular/platform-browser-dynamic@^5.2.3": + version "5.2.3" + resolved "https://registry.yarnpkg.com/@angular/platform-browser-dynamic/-/platform-browser-dynamic-5.2.3.tgz#87d5172da2c102c3cf48da29d39e9b4b9414b419" + dependencies: + tslib "^1.7.1" + "@angular/platform-browser@^5.2.2": version "5.2.2" resolved "https://registry.yarnpkg.com/@angular/platform-browser/-/platform-browser-5.2.2.tgz#3eedcbbcc8c0e6c91eba7ed2b32de7c6679d9b62" From 6258791fc05adb13e8de5a972052f741b3c4b73b Mon Sep 17 00:00:00 2001 From: "Dependencies.io Bot" Date: Thu, 1 Feb 2018 16:49:58 +0000 Subject: [PATCH 09/57] Update tslint-config-prettier from 1.6.0 to 1.7.0 in / --- package.json | 2 +- yarn.lock | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index c3da3b3280a8..591ee39cd79f 100644 --- a/package.json +++ b/package.json @@ -105,7 +105,7 @@ "symlink-dir": "^1.1.1", "ts-jest": "^22.0.0", "tslint": "~5.9.1", - "tslint-config-prettier": "^1.6.0", + "tslint-config-prettier": "^1.7.0", "tslint-plugin-prettier": "^1.3.0", "typescript": "^2.7.1" }, diff --git a/yarn.lock b/yarn.lock index 18cdc72fb016..13eff244e38b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -14700,9 +14700,9 @@ tslib@^1.7.1, tslib@^1.8.0, tslib@^1.8.1: version "1.8.1" resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.8.1.tgz#6946af2d1d651a7b1863b531d6e5afa41aa44eac" -tslint-config-prettier@^1.6.0: - version "1.6.0" - resolved "https://registry.yarnpkg.com/tslint-config-prettier/-/tslint-config-prettier-1.6.0.tgz#fec1ee8fb07e8f033c63fed6b135af997f31962a" +tslint-config-prettier@^1.7.0: + version "1.7.0" + resolved "https://registry.yarnpkg.com/tslint-config-prettier/-/tslint-config-prettier-1.7.0.tgz#1588f794c6863ba31420e8b1d14ae91326063815" tslint-plugin-prettier@^1.3.0: version "1.3.0" From 34a0e535b382c6f5afa80fba0b211d10e97d3e23 Mon Sep 17 00:00:00 2001 From: "Dependencies.io Bot" Date: Thu, 1 Feb 2018 16:51:58 +0000 Subject: [PATCH 10/57] Update react-split-pane from 0.1.74 to 0.1.75 in lib/ui --- lib/ui/package.json | 2 +- yarn.lock | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/ui/package.json b/lib/ui/package.json index f850996a965e..7673bd209802 100644 --- a/lib/ui/package.json +++ b/lib/ui/package.json @@ -35,7 +35,7 @@ "react-icons": "^2.2.7", "react-inspector": "^2.2.2", "react-modal": "^3.1.11", - "react-split-pane": "^0.1.74", + "react-split-pane": "^0.1.75", "react-treebeard": "^2.1.0", "redux": "^3.7.2" }, diff --git a/yarn.lock b/yarn.lock index 13eff244e38b..fce0292e37f4 100644 --- a/yarn.lock +++ b/yarn.lock @@ -12223,9 +12223,9 @@ react-scripts@^1.1.0: optionalDependencies: fsevents "1.1.2" -react-split-pane@^0.1.74: - version "0.1.74" - resolved "https://registry.yarnpkg.com/react-split-pane/-/react-split-pane-0.1.74.tgz#cf79fc98b51ab0763fdc778749b810a102b036ca" +react-split-pane@^0.1.75: + version "0.1.76" + resolved "https://registry.yarnpkg.com/react-split-pane/-/react-split-pane-0.1.76.tgz#b2ba11e1055e18b6b0fd56e13e3adb35aec87af6" dependencies: "@types/inline-style-prefixer" "^3.0.0" "@types/react" "^16.0.18" From fe3bfde81e22ed9347b4cd10acd9deaa66442483 Mon Sep 17 00:00:00 2001 From: "Dependencies.io Bot" Date: Thu, 1 Feb 2018 16:53:58 +0000 Subject: [PATCH 11/57] Update @angular/animations from 5.2.2 to 5.2.3 in examples/angular-cli --- examples/angular-cli/package.json | 2 +- yarn.lock | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/angular-cli/package.json b/examples/angular-cli/package.json index a97502dedf32..69c5eef943f5 100644 --- a/examples/angular-cli/package.json +++ b/examples/angular-cli/package.json @@ -13,7 +13,7 @@ "test": "ng test" }, "dependencies": { - "@angular/animations": "^5.2.2", + "@angular/animations": "^5.2.3", "@angular/common": "^5.2.2", "@angular/compiler": "^5.2.2", "@angular/core": "^5.2.2", diff --git a/yarn.lock b/yarn.lock index fce0292e37f4..90d0b75eaa21 100644 --- a/yarn.lock +++ b/yarn.lock @@ -27,9 +27,9 @@ "@ngtools/json-schema" "^1.1.0" rxjs "^5.5.6" -"@angular/animations@^5.2.2": - version "5.2.2" - resolved "https://registry.yarnpkg.com/@angular/animations/-/animations-5.2.2.tgz#3364a0c4f355d3313dda9bde526e376c137fa169" +"@angular/animations@^5.2.3": + version "5.2.3" + resolved "https://registry.yarnpkg.com/@angular/animations/-/animations-5.2.3.tgz#e0eb8d55f807e799df128af9150c075c9ab82adf" dependencies: tslib "^1.7.1" From d6547114c5006ac7b4ffef73bb0a844c1e761a89 Mon Sep 17 00:00:00 2001 From: "Dependencies.io Bot" Date: Thu, 1 Feb 2018 16:55:52 +0000 Subject: [PATCH 12/57] Update @angular/common from 5.2.2 to 5.2.3 in examples/angular-cli --- examples/angular-cli/package.json | 2 +- yarn.lock | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/examples/angular-cli/package.json b/examples/angular-cli/package.json index 69c5eef943f5..0b58a2b83bd0 100644 --- a/examples/angular-cli/package.json +++ b/examples/angular-cli/package.json @@ -14,7 +14,7 @@ }, "dependencies": { "@angular/animations": "^5.2.3", - "@angular/common": "^5.2.2", + "@angular/common": "^5.2.3", "@angular/compiler": "^5.2.2", "@angular/core": "^5.2.2", "@angular/forms": "^5.2.2", diff --git a/yarn.lock b/yarn.lock index 90d0b75eaa21..a859af5de95b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -97,12 +97,6 @@ optionalDependencies: node-sass "^4.7.2" -"@angular/common@^5.2.2": - version "5.2.2" - resolved "https://registry.yarnpkg.com/@angular/common/-/common-5.2.2.tgz#24f0f21dbc29a8b2dbfe93d19ec5a18defca9edf" - dependencies: - tslib "^1.7.1" - "@angular/common@^5.2.3": version "5.2.3" resolved "https://registry.yarnpkg.com/@angular/common/-/common-5.2.3.tgz#f2a5c12ec44b73a248d8dcb2d37ac2749f091cf7" From fb724bb627ebb8436af01c0a336d961ad9ac46e7 Mon Sep 17 00:00:00 2001 From: "Dependencies.io Bot" Date: Thu, 1 Feb 2018 16:57:41 +0000 Subject: [PATCH 13/57] Update @angular/compiler from 5.2.2 to 5.2.3 in examples/angular-cli --- examples/angular-cli/package.json | 2 +- yarn.lock | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/examples/angular-cli/package.json b/examples/angular-cli/package.json index 0b58a2b83bd0..f957f1f4dc49 100644 --- a/examples/angular-cli/package.json +++ b/examples/angular-cli/package.json @@ -15,7 +15,7 @@ "dependencies": { "@angular/animations": "^5.2.3", "@angular/common": "^5.2.3", - "@angular/compiler": "^5.2.2", + "@angular/compiler": "^5.2.3", "@angular/core": "^5.2.2", "@angular/forms": "^5.2.2", "@angular/http": "^5.2.2", diff --git a/yarn.lock b/yarn.lock index a859af5de95b..3adda21dfdfc 100644 --- a/yarn.lock +++ b/yarn.lock @@ -112,12 +112,6 @@ reflect-metadata "^0.1.2" tsickle "^0.26.0" -"@angular/compiler@^5.2.2": - version "5.2.2" - resolved "https://registry.yarnpkg.com/@angular/compiler/-/compiler-5.2.2.tgz#cf6ef310c5ca2fdae9551af62d10ab24d4feb51a" - dependencies: - tslib "^1.7.1" - "@angular/compiler@^5.2.3": version "5.2.3" resolved "https://registry.yarnpkg.com/@angular/compiler/-/compiler-5.2.3.tgz#49167adb35bdb5e7e915cce912c432300fc16816" From eeb31dbbf5ad8145ff359fc7f528bd1c9a96859f Mon Sep 17 00:00:00 2001 From: "Dependencies.io Bot" Date: Thu, 1 Feb 2018 16:59:32 +0000 Subject: [PATCH 14/57] Update @angular/core from 5.2.2 to 5.2.3 in examples/angular-cli --- examples/angular-cli/package.json | 2 +- yarn.lock | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/examples/angular-cli/package.json b/examples/angular-cli/package.json index f957f1f4dc49..9c7d1b452f4b 100644 --- a/examples/angular-cli/package.json +++ b/examples/angular-cli/package.json @@ -16,7 +16,7 @@ "@angular/animations": "^5.2.3", "@angular/common": "^5.2.3", "@angular/compiler": "^5.2.3", - "@angular/core": "^5.2.2", + "@angular/core": "^5.2.3", "@angular/forms": "^5.2.2", "@angular/http": "^5.2.2", "@angular/platform-browser": "^5.2.2", diff --git a/yarn.lock b/yarn.lock index 3adda21dfdfc..c0870e9998da 100644 --- a/yarn.lock +++ b/yarn.lock @@ -118,12 +118,6 @@ dependencies: tslib "^1.7.1" -"@angular/core@^5.2.2": - version "5.2.2" - resolved "https://registry.yarnpkg.com/@angular/core/-/core-5.2.2.tgz#54950023b971d9e01f6f6fdbc30d2b68e4d05eb2" - dependencies: - tslib "^1.7.1" - "@angular/core@^5.2.3": version "5.2.3" resolved "https://registry.yarnpkg.com/@angular/core/-/core-5.2.3.tgz#157dcb437d085b325513689e0e4ae70182f3f708" From ef87df4b924a049cc55e9159db2daaa2de07b81e Mon Sep 17 00:00:00 2001 From: "Dependencies.io Bot" Date: Thu, 1 Feb 2018 17:01:27 +0000 Subject: [PATCH 15/57] Update @angular/forms from 5.2.2 to 5.2.3 in examples/angular-cli --- examples/angular-cli/package.json | 2 +- yarn.lock | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/examples/angular-cli/package.json b/examples/angular-cli/package.json index 9c7d1b452f4b..55447008358b 100644 --- a/examples/angular-cli/package.json +++ b/examples/angular-cli/package.json @@ -17,7 +17,7 @@ "@angular/common": "^5.2.3", "@angular/compiler": "^5.2.3", "@angular/core": "^5.2.3", - "@angular/forms": "^5.2.2", + "@angular/forms": "^5.2.3", "@angular/http": "^5.2.2", "@angular/platform-browser": "^5.2.2", "@angular/platform-browser-dynamic": "^5.2.2", diff --git a/yarn.lock b/yarn.lock index c0870e9998da..161f1843186f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -124,12 +124,6 @@ dependencies: tslib "^1.7.1" -"@angular/forms@^5.2.2": - version "5.2.2" - resolved "https://registry.yarnpkg.com/@angular/forms/-/forms-5.2.2.tgz#eca24f15d96de285cd0726601db4bffec39c01f3" - dependencies: - tslib "^1.7.1" - "@angular/forms@^5.2.3": version "5.2.3" resolved "https://registry.yarnpkg.com/@angular/forms/-/forms-5.2.3.tgz#4992419191a3800516085209be331fc0d63bd099" From 6d19514c37be46b734f12d30591180bec2fee4bf Mon Sep 17 00:00:00 2001 From: "Dependencies.io Bot" Date: Thu, 1 Feb 2018 17:03:16 +0000 Subject: [PATCH 16/57] Update @angular/http from 5.2.2 to 5.2.3 in examples/angular-cli --- examples/angular-cli/package.json | 2 +- yarn.lock | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/angular-cli/package.json b/examples/angular-cli/package.json index 55447008358b..8b7440654d76 100644 --- a/examples/angular-cli/package.json +++ b/examples/angular-cli/package.json @@ -18,7 +18,7 @@ "@angular/compiler": "^5.2.3", "@angular/core": "^5.2.3", "@angular/forms": "^5.2.3", - "@angular/http": "^5.2.2", + "@angular/http": "^5.2.3", "@angular/platform-browser": "^5.2.2", "@angular/platform-browser-dynamic": "^5.2.2", "@angular/router": "^5.2.2", diff --git a/yarn.lock b/yarn.lock index 161f1843186f..3b7a81c4c3ab 100644 --- a/yarn.lock +++ b/yarn.lock @@ -130,9 +130,9 @@ dependencies: tslib "^1.7.1" -"@angular/http@^5.2.2": - version "5.2.2" - resolved "https://registry.yarnpkg.com/@angular/http/-/http-5.2.2.tgz#d33c128d5737f8d701bbac3e7e23d831deec3457" +"@angular/http@^5.2.3": + version "5.2.3" + resolved "https://registry.yarnpkg.com/@angular/http/-/http-5.2.3.tgz#067945f6339619b0b3fd13e8af7b6a1301e69176" dependencies: tslib "^1.7.1" From 8cc5488aea91c43e3246bbbedae5115676b52f9a Mon Sep 17 00:00:00 2001 From: "Dependencies.io Bot" Date: Thu, 1 Feb 2018 17:05:11 +0000 Subject: [PATCH 17/57] Update @angular/platform-browser from 5.2.2 to 5.2.3 in examples/angular-cli --- examples/angular-cli/package.json | 2 +- yarn.lock | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/examples/angular-cli/package.json b/examples/angular-cli/package.json index 8b7440654d76..f1916c1651c7 100644 --- a/examples/angular-cli/package.json +++ b/examples/angular-cli/package.json @@ -19,7 +19,7 @@ "@angular/core": "^5.2.3", "@angular/forms": "^5.2.3", "@angular/http": "^5.2.3", - "@angular/platform-browser": "^5.2.2", + "@angular/platform-browser": "^5.2.3", "@angular/platform-browser-dynamic": "^5.2.2", "@angular/router": "^5.2.2", "core-js": "^2.4.1", diff --git a/yarn.lock b/yarn.lock index 3b7a81c4c3ab..c4ea39fa0157 100644 --- a/yarn.lock +++ b/yarn.lock @@ -152,12 +152,6 @@ dependencies: tslib "^1.7.1" -"@angular/platform-browser@^5.2.2": - version "5.2.2" - resolved "https://registry.yarnpkg.com/@angular/platform-browser/-/platform-browser-5.2.2.tgz#3eedcbbcc8c0e6c91eba7ed2b32de7c6679d9b62" - dependencies: - tslib "^1.7.1" - "@angular/platform-browser@^5.2.3": version "5.2.3" resolved "https://registry.yarnpkg.com/@angular/platform-browser/-/platform-browser-5.2.3.tgz#953df896839879e2b8ca89a364d66e3ac1dcd167" From 8c9286c9a3f0e3055ce7e71570813dfb1dc60fde Mon Sep 17 00:00:00 2001 From: "Dependencies.io Bot" Date: Thu, 1 Feb 2018 17:07:11 +0000 Subject: [PATCH 18/57] Update @angular/platform-browser-dynamic from 5.2.2 to 5.2.3 in examples/angular-cli --- examples/angular-cli/package.json | 2 +- yarn.lock | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/examples/angular-cli/package.json b/examples/angular-cli/package.json index f1916c1651c7..1838f04d928e 100644 --- a/examples/angular-cli/package.json +++ b/examples/angular-cli/package.json @@ -20,7 +20,7 @@ "@angular/forms": "^5.2.3", "@angular/http": "^5.2.3", "@angular/platform-browser": "^5.2.3", - "@angular/platform-browser-dynamic": "^5.2.2", + "@angular/platform-browser-dynamic": "^5.2.3", "@angular/router": "^5.2.2", "core-js": "^2.4.1", "rxjs": "^5.4.2", diff --git a/yarn.lock b/yarn.lock index c4ea39fa0157..60c6e8deb3e5 100644 --- a/yarn.lock +++ b/yarn.lock @@ -140,12 +140,6 @@ version "5.2.2" resolved "https://registry.yarnpkg.com/@angular/language-service/-/language-service-5.2.2.tgz#2829214885096c4168566a9f74364a8fed641a49" -"@angular/platform-browser-dynamic@^5.2.2": - version "5.2.2" - resolved "https://registry.yarnpkg.com/@angular/platform-browser-dynamic/-/platform-browser-dynamic-5.2.2.tgz#2ddd7fa28bb34ae9e181e6f286dfe4c96bde95a6" - dependencies: - tslib "^1.7.1" - "@angular/platform-browser-dynamic@^5.2.3": version "5.2.3" resolved "https://registry.yarnpkg.com/@angular/platform-browser-dynamic/-/platform-browser-dynamic-5.2.3.tgz#87d5172da2c102c3cf48da29d39e9b4b9414b419" From 66ef0b8d64d6edf7056921e494e0ed5140de7c99 Mon Sep 17 00:00:00 2001 From: "Dependencies.io Bot" Date: Thu, 1 Feb 2018 17:09:02 +0000 Subject: [PATCH 19/57] Update @angular/router from 5.2.2 to 5.2.3 in examples/angular-cli --- examples/angular-cli/package.json | 2 +- yarn.lock | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/angular-cli/package.json b/examples/angular-cli/package.json index 1838f04d928e..4b73d0e6f63e 100644 --- a/examples/angular-cli/package.json +++ b/examples/angular-cli/package.json @@ -21,7 +21,7 @@ "@angular/http": "^5.2.3", "@angular/platform-browser": "^5.2.3", "@angular/platform-browser-dynamic": "^5.2.3", - "@angular/router": "^5.2.2", + "@angular/router": "^5.2.3", "core-js": "^2.4.1", "rxjs": "^5.4.2", "zone.js": "^0.8.20" diff --git a/yarn.lock b/yarn.lock index 60c6e8deb3e5..f571fab67e26 100644 --- a/yarn.lock +++ b/yarn.lock @@ -152,9 +152,9 @@ dependencies: tslib "^1.7.1" -"@angular/router@^5.2.2": - version "5.2.2" - resolved "https://registry.yarnpkg.com/@angular/router/-/router-5.2.2.tgz#b0ffd7121290e8c01f20862b4a2638ebcebc61cf" +"@angular/router@^5.2.3": + version "5.2.3" + resolved "https://registry.yarnpkg.com/@angular/router/-/router-5.2.3.tgz#c56bce42817c67aeb65291e5adf293300038069e" dependencies: tslib "^1.7.1" From a989f99ebf1d02ef8758cd3e584b1082e1b24f00 Mon Sep 17 00:00:00 2001 From: "Dependencies.io Bot" Date: Thu, 1 Feb 2018 17:10:51 +0000 Subject: [PATCH 20/57] Update @angular/cli from 1.6.6 to 1.6.7 in examples/angular-cli --- examples/angular-cli/package.json | 2 +- yarn.lock | 43 ++++++++++++------------------- 2 files changed, 18 insertions(+), 27 deletions(-) diff --git a/examples/angular-cli/package.json b/examples/angular-cli/package.json index 4b73d0e6f63e..795db8055f44 100644 --- a/examples/angular-cli/package.json +++ b/examples/angular-cli/package.json @@ -27,7 +27,7 @@ "zone.js": "^0.8.20" }, "devDependencies": { - "@angular/cli": "1.6.6", + "@angular/cli": "1.6.7", "@angular/compiler-cli": "^5.2.2", "@angular/language-service": "^5.2.2", "@storybook/addon-actions": "^3.4.0-alpha.6", diff --git a/yarn.lock b/yarn.lock index f571fab67e26..4ac22fe2e2c5 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2,7 +2,7 @@ # yarn lockfile v1 -"@angular-devkit/build-optimizer@~0.0.42": +"@angular-devkit/build-optimizer@0.0.42": version "0.0.42" resolved "https://registry.yarnpkg.com/@angular-devkit/build-optimizer/-/build-optimizer-0.0.42.tgz#402b0dda4883db91e2381c3ddc55888408a7894e" dependencies: @@ -11,7 +11,7 @@ typescript "~2.6.2" webpack-sources "^1.0.1" -"@angular-devkit/core@~0.0.29": +"@angular-devkit/core@0.0.29": version "0.0.29" resolved "https://registry.yarnpkg.com/@angular-devkit/core/-/core-0.0.29.tgz#6fb319b45a62eff172318cbe256fdb24ef20af2b" dependencies: @@ -20,7 +20,7 @@ rxjs "^5.5.6" source-map "^0.5.6" -"@angular-devkit/schematics@~0.0.52": +"@angular-devkit/schematics@0.0.52": version "0.0.52" resolved "https://registry.yarnpkg.com/@angular-devkit/schematics/-/schematics-0.0.52.tgz#cbd2f42778b50d6422a254ffaec05ad4ef3cb6c0" dependencies: @@ -33,16 +33,16 @@ dependencies: tslib "^1.7.1" -"@angular/cli@1.6.6": - version "1.6.6" - resolved "https://registry.yarnpkg.com/@angular/cli/-/cli-1.6.6.tgz#002119ab2ed804bbdc86075e0095eadda2a0baa0" +"@angular/cli@1.6.7": + version "1.6.7" + resolved "https://registry.yarnpkg.com/@angular/cli/-/cli-1.6.7.tgz#e2323753c144b5de6c699bbebee688105a394641" dependencies: - "@angular-devkit/build-optimizer" "~0.0.42" - "@angular-devkit/core" "~0.0.29" - "@angular-devkit/schematics" "~0.0.52" + "@angular-devkit/build-optimizer" "0.0.42" + "@angular-devkit/core" "0.0.29" + "@angular-devkit/schematics" "0.0.52" "@ngtools/json-schema" "1.1.0" - "@ngtools/webpack" "1.9.6" - "@schematics/angular" "~0.1.17" + "@ngtools/webpack" "1.9.7" + "@schematics/angular" "0.1.17" autoprefixer "^7.2.3" chalk "~2.2.0" circular-dependency-plugin "^4.2.1" @@ -81,7 +81,6 @@ sass-loader "^6.0.6" semver "^5.1.0" silent-error "^1.0.0" - source-map-loader "^0.2.0" source-map-support "^0.4.1" style-loader "^0.13.1" stylus "^0.54.5" @@ -222,9 +221,9 @@ version "1.1.0" resolved "https://registry.yarnpkg.com/@ngtools/json-schema/-/json-schema-1.1.0.tgz#c3a0c544d62392acc2813a42c8a0dc6f58f86922" -"@ngtools/webpack@1.9.6": - version "1.9.6" - resolved "https://registry.yarnpkg.com/@ngtools/webpack/-/webpack-1.9.6.tgz#102c60ee4b8a84a26ddc1e2b334f327e91821a4d" +"@ngtools/webpack@1.9.7": + version "1.9.7" + resolved "https://registry.yarnpkg.com/@ngtools/webpack/-/webpack-1.9.7.tgz#ef15b90142ddf2a2c9072fe3d58c6bf500163fe5" dependencies: chalk "~2.2.0" enhanced-resolve "^3.1.0" @@ -239,7 +238,7 @@ version "2.4.0" resolved "https://registry.yarnpkg.com/@polymer/polymer/-/polymer-2.4.0.tgz#a6151e43a72141bc39e9e2c420d04f702a923cf3" -"@schematics/angular@~0.1.17": +"@schematics/angular@0.1.17": version "0.1.17" resolved "https://registry.yarnpkg.com/@schematics/angular/-/angular-0.1.17.tgz#084a7cbe2de6f94a856bd08d95c9d35ef8905e2b" dependencies: @@ -842,7 +841,7 @@ async-limiter@~1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/async-limiter/-/async-limiter-1.0.0.tgz#78faed8c3d074ab81f22b4e985d79e8738f720f8" -async@2.6.0, async@^2.1.2, async@^2.1.4, async@^2.1.5, async@^2.4.0, async@^2.4.1, async@^2.5.0: +async@2.6.0, async@^2.1.2, async@^2.1.4, async@^2.1.5, async@^2.4.0, async@^2.4.1: version "2.6.0" resolved "https://registry.yarnpkg.com/async/-/async-2.6.0.tgz#61a29abb6fcc026fea77e56d1c6ec53a795951f4" dependencies: @@ -9114,7 +9113,7 @@ loader-utils@1.1.0, loader-utils@^1.0.1, loader-utils@^1.0.2, loader-utils@^1.1. emojis-list "^2.0.0" json5 "^0.5.0" -loader-utils@^0.2.15, loader-utils@^0.2.16, loader-utils@~0.2.2: +loader-utils@^0.2.15, loader-utils@^0.2.16: version "0.2.17" resolved "https://registry.yarnpkg.com/loader-utils/-/loader-utils-0.2.17.tgz#f86e6374d43205a6e6c60e9196f17c0299bfb348" dependencies: @@ -13727,14 +13726,6 @@ source-list-map@~0.1.7: version "0.1.8" resolved "https://registry.yarnpkg.com/source-list-map/-/source-list-map-0.1.8.tgz#c550b2ab5427f6b3f21f5afead88c4f5587b2106" -source-map-loader@^0.2.0: - version "0.2.3" - resolved "https://registry.yarnpkg.com/source-map-loader/-/source-map-loader-0.2.3.tgz#d4b0c8cd47d54edce3e6bfa0f523f452b5b0e521" - dependencies: - async "^2.5.0" - loader-utils "~0.2.2" - source-map "~0.6.1" - source-map-resolve@^0.5.0: version "0.5.1" resolved "https://registry.yarnpkg.com/source-map-resolve/-/source-map-resolve-0.5.1.tgz#7ad0f593f2281598e854df80f19aae4b92d7a11a" From 54f1f7a82ae407a8a29335a0c51e028cca47ef21 Mon Sep 17 00:00:00 2001 From: "Dependencies.io Bot" Date: Thu, 1 Feb 2018 17:12:40 +0000 Subject: [PATCH 21/57] Update @angular/compiler-cli from 5.2.2 to 5.2.3 in examples/angular-cli --- examples/angular-cli/package.json | 2 +- yarn.lock | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/angular-cli/package.json b/examples/angular-cli/package.json index 795db8055f44..486103a91b4d 100644 --- a/examples/angular-cli/package.json +++ b/examples/angular-cli/package.json @@ -28,7 +28,7 @@ }, "devDependencies": { "@angular/cli": "1.6.7", - "@angular/compiler-cli": "^5.2.2", + "@angular/compiler-cli": "^5.2.3", "@angular/language-service": "^5.2.2", "@storybook/addon-actions": "^3.4.0-alpha.6", "@storybook/addon-links": "^3.4.0-alpha.6", diff --git a/yarn.lock b/yarn.lock index 4ac22fe2e2c5..bc2e270d05c5 100644 --- a/yarn.lock +++ b/yarn.lock @@ -102,9 +102,9 @@ dependencies: tslib "^1.7.1" -"@angular/compiler-cli@^5.2.2": - version "5.2.2" - resolved "https://registry.yarnpkg.com/@angular/compiler-cli/-/compiler-cli-5.2.2.tgz#0929463252adcf3f8094b1689cc5cbdcb6f8ceaa" +"@angular/compiler-cli@^5.2.3": + version "5.2.3" + resolved "https://registry.yarnpkg.com/@angular/compiler-cli/-/compiler-cli-5.2.3.tgz#75b39a346f1b2a95ebc403016d19fc33d5315221" dependencies: chokidar "^1.4.2" minimist "^1.2.0" From ea67a2d83e9eb1d016aee40ed255fe56d3d5604f Mon Sep 17 00:00:00 2001 From: "Dependencies.io Bot" Date: Thu, 1 Feb 2018 17:14:27 +0000 Subject: [PATCH 22/57] Update @angular/language-service from 5.2.2 to 5.2.3 in examples/angular-cli --- examples/angular-cli/package.json | 2 +- yarn.lock | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/angular-cli/package.json b/examples/angular-cli/package.json index 486103a91b4d..bf9c04deafb5 100644 --- a/examples/angular-cli/package.json +++ b/examples/angular-cli/package.json @@ -29,7 +29,7 @@ "devDependencies": { "@angular/cli": "1.6.7", "@angular/compiler-cli": "^5.2.3", - "@angular/language-service": "^5.2.2", + "@angular/language-service": "^5.2.3", "@storybook/addon-actions": "^3.4.0-alpha.6", "@storybook/addon-links": "^3.4.0-alpha.6", "@storybook/addon-notes": "^3.4.0-alpha.6", diff --git a/yarn.lock b/yarn.lock index bc2e270d05c5..f4e3008bba65 100644 --- a/yarn.lock +++ b/yarn.lock @@ -135,9 +135,9 @@ dependencies: tslib "^1.7.1" -"@angular/language-service@^5.2.2": - version "5.2.2" - resolved "https://registry.yarnpkg.com/@angular/language-service/-/language-service-5.2.2.tgz#2829214885096c4168566a9f74364a8fed641a49" +"@angular/language-service@^5.2.3": + version "5.2.3" + resolved "https://registry.yarnpkg.com/@angular/language-service/-/language-service-5.2.3.tgz#b858c1cd3740b29de145a6d60b2562eef391d3b3" "@angular/platform-browser-dynamic@^5.2.3": version "5.2.3" From 1ab018a8fd222c25764af5bc6f7f75304912e189 Mon Sep 17 00:00:00 2001 From: Guy Livni Date: Fri, 2 Feb 2018 01:19:46 +0200 Subject: [PATCH 23/57] Check for correct props in Flow or prop-types, change label prop to union, fix typo --- addons/info/src/components/types/OneOfType.js | 6 +++--- examples/official-storybook/components/FlowTypeButton.js | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/addons/info/src/components/types/OneOfType.js b/addons/info/src/components/types/OneOfType.js index fab5bb53bc94..4592d511ed62 100644 --- a/addons/info/src/components/types/OneOfType.js +++ b/addons/info/src/components/types/OneOfType.js @@ -4,15 +4,15 @@ import PrettyPropType from './PrettyPropType'; import { TypeInfo } from './proptypes'; const OneOfType = ({ propType }) => { - const { length } = propType.value; + const propTypes = propType.elements || propType.value; return ( - {propType.value + {propTypes .map((value, i) => { const key = `${value.name}${value.value ? `-${value.value}` : ''}`; return [ , - i < length - 1 ? | : null, + i < propTypes.length - 1 ? | : null, ]; }) .reduce((acc, tuple) => acc.concat(tuple), [])} diff --git a/examples/official-storybook/components/FlowTypeButton.js b/examples/official-storybook/components/FlowTypeButton.js index 4511adf970f6..8ebab0009bda 100644 --- a/examples/official-storybook/components/FlowTypeButton.js +++ b/examples/official-storybook/components/FlowTypeButton.js @@ -2,11 +2,11 @@ import React from 'react'; type PropsType = { - /** The text to be rendered in the button */ - label: string, + /** A multi-type prop to be rendered in the button */ + label: string | number, /** Function to be called when the button is clicked */ onClick?: Function, - /** Boolean representing wether the button is disabled */ + /** Boolean representing whether the button is disabled */ disabled?: boolean, }; From 2bb47bbc5149ee4e32dcf3124903058da764af91 Mon Sep 17 00:00:00 2001 From: "Dependencies.io Bot" Date: Fri, 2 Feb 2018 16:30:43 +0000 Subject: [PATCH 24/57] Update gatsby-link from 1.6.35 to 1.6.36 --- docs/package.json | 2 +- docs/yarn.lock | 12 +++++++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/docs/package.json b/docs/package.json index cb07205250d7..58a236975084 100644 --- a/docs/package.json +++ b/docs/package.json @@ -32,7 +32,7 @@ "babel-preset-stage-0": "^6.24.1", "bootstrap": "^3.3.7", "gatsby": "^1.9.174", - "gatsby-link": "^1.6.35", + "gatsby-link": "^1.6.36", "gatsby-plugin-sharp": "^1.6.27", "gatsby-remark-autolink-headers": "^1.4.11", "gatsby-remark-copy-linked-files": "^1.5.25", diff --git a/docs/yarn.lock b/docs/yarn.lock index b11501d74de4..baadc9141f39 100644 --- a/docs/yarn.lock +++ b/docs/yarn.lock @@ -177,7 +177,7 @@ react-treebeard "^2.1.0" redux "^3.7.2" -"@types/history@*": +"@types/history@*", "@types/history@^4.6.2": version "4.6.2" resolved "https://registry.yarnpkg.com/@types/history/-/history-4.6.2.tgz#12cfaba693ba20f114ed5765467ff25fdf67ddb0" @@ -4383,6 +4383,16 @@ gatsby-link@^1.6.35: prop-types "^15.5.8" ric "^1.3.0" +gatsby-link@^1.6.36: + version "1.6.36" + resolved "https://registry.yarnpkg.com/gatsby-link/-/gatsby-link-1.6.36.tgz#3f969d38e9396e2650d3804543c76881eab98feb" + dependencies: + "@types/history" "^4.6.2" + "@types/react-router-dom" "^4.2.2" + babel-runtime "^6.26.0" + prop-types "^15.5.8" + ric "^1.3.0" + gatsby-module-loader@^1.0.9: version "1.0.9" resolved "https://registry.yarnpkg.com/gatsby-module-loader/-/gatsby-module-loader-1.0.9.tgz#a33f3496589577749d2fbb680f7bab9ddcc86172" From c1ca2a7831953993dcf36506b09fbc872f1f4142 Mon Sep 17 00:00:00 2001 From: "Dependencies.io Bot" Date: Fri, 2 Feb 2018 16:32:42 +0000 Subject: [PATCH 25/57] Update gatsby from 1.9.175 to 1.9.177 --- docs/package.json | 2 +- docs/yarn.lock | 25 ++++++++----------------- 2 files changed, 9 insertions(+), 18 deletions(-) diff --git a/docs/package.json b/docs/package.json index 58a236975084..08e9eb3f289f 100644 --- a/docs/package.json +++ b/docs/package.json @@ -31,7 +31,7 @@ "babel-preset-react": "^6.24.1", "babel-preset-stage-0": "^6.24.1", "bootstrap": "^3.3.7", - "gatsby": "^1.9.174", + "gatsby": "^1.9.177", "gatsby-link": "^1.6.36", "gatsby-plugin-sharp": "^1.6.27", "gatsby-remark-autolink-headers": "^1.4.11", diff --git a/docs/yarn.lock b/docs/yarn.lock index baadc9141f39..8bd8446001fa 100644 --- a/docs/yarn.lock +++ b/docs/yarn.lock @@ -4352,9 +4352,9 @@ gatsby-1-config-css-modules@^1.0.8: dependencies: babel-runtime "^6.26.0" -gatsby-cli@^1.1.33: - version "1.1.33" - resolved "https://registry.yarnpkg.com/gatsby-cli/-/gatsby-cli-1.1.33.tgz#a79337d73f88ef1157aceefd245242ec0d463680" +gatsby-cli@^1.1.34: + version "1.1.34" + resolved "https://registry.yarnpkg.com/gatsby-cli/-/gatsby-cli-1.1.34.tgz#85c17bf67bc717be0274c8e4a56c7df819ede1f5" dependencies: babel-code-frame "^6.26.0" babel-runtime "^6.26.0" @@ -4374,15 +4374,6 @@ gatsby-cli@^1.1.33: yargs "^8.0.2" yurnalist "^0.2.1" -gatsby-link@^1.6.35: - version "1.6.35" - resolved "https://registry.yarnpkg.com/gatsby-link/-/gatsby-link-1.6.35.tgz#28ade7aa44460d0a3102d45e4f7413ff7a633e47" - dependencies: - "@types/react-router-dom" "^4.2.2" - babel-runtime "^6.26.0" - prop-types "^15.5.8" - ric "^1.3.0" - gatsby-link@^1.6.36: version "1.6.36" resolved "https://registry.yarnpkg.com/gatsby-link/-/gatsby-link-1.6.36.tgz#3f969d38e9396e2650d3804543c76881eab98feb" @@ -4509,9 +4500,9 @@ gatsby-transformer-remark@^1.7.30: unist-util-select "^1.5.0" unist-util-visit "^1.1.1" -gatsby@^1.9.174: - version "1.9.175" - resolved "https://registry.yarnpkg.com/gatsby/-/gatsby-1.9.175.tgz#a0e1f9a66202f5821abfc1fdbcf3673c3dfa5b4c" +gatsby@^1.9.177: + version "1.9.177" + resolved "https://registry.yarnpkg.com/gatsby/-/gatsby-1.9.177.tgz#d6cb06655fa93d28673ca93261b976d370c2e2c7" dependencies: async "^2.1.2" babel-code-frame "^6.22.0" @@ -4551,8 +4542,8 @@ gatsby@^1.9.174: front-matter "^2.1.0" fs-extra "^4.0.1" gatsby-1-config-css-modules "^1.0.8" - gatsby-cli "^1.1.33" - gatsby-link "^1.6.35" + gatsby-cli "^1.1.34" + gatsby-link "^1.6.36" gatsby-module-loader "^1.0.9" gatsby-react-router-scroll "^1.0.9" glob "^7.1.1" From cb75ef5e1e8d6f2551ec0d7a7c35a7a871747e60 Mon Sep 17 00:00:00 2001 From: "Dependencies.io Bot" Date: Fri, 2 Feb 2018 16:34:01 +0000 Subject: [PATCH 26/57] Update eslint-plugin-prettier from 2.5.0 to 2.6.0 in / --- package.json | 2 +- yarn.lock | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 591ee39cd79f..8172b317ab5b 100644 --- a/package.json +++ b/package.json @@ -68,7 +68,7 @@ "eslint-plugin-jest": "^21.7.0", "eslint-plugin-json": "^1.2.0", "eslint-plugin-jsx-a11y": "^6.0.3", - "eslint-plugin-prettier": "^2.5.0", + "eslint-plugin-prettier": "^2.6.0", "eslint-plugin-react": "^7.6.0", "gh-pages": "^1.1.0", "github-release-from-changelog": "^1.3.1", diff --git a/yarn.lock b/yarn.lock index f4e3008bba65..c23b9c5b4929 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4910,9 +4910,9 @@ eslint-plugin-prettier@^2.2.0: fast-diff "^1.1.1" jest-docblock "^21.0.0" -eslint-plugin-prettier@^2.5.0: - version "2.5.0" - resolved "https://registry.yarnpkg.com/eslint-plugin-prettier/-/eslint-plugin-prettier-2.5.0.tgz#39a91dd7528eaf19cd42c0ee3f2c1f684606a05f" +eslint-plugin-prettier@^2.6.0: + version "2.6.0" + resolved "https://registry.yarnpkg.com/eslint-plugin-prettier/-/eslint-plugin-prettier-2.6.0.tgz#33e4e228bdb06142d03c560ce04ec23f6c767dd7" dependencies: fast-diff "^1.1.1" jest-docblock "^21.0.0" From 8f2e7a145f211325133c2fcb83c722d4c63fa300 Mon Sep 17 00:00:00 2001 From: "Dependencies.io Bot" Date: Fri, 2 Feb 2018 16:36:16 +0000 Subject: [PATCH 27/57] Update nodemon from 1.14.11 to 1.14.12 in / --- package.json | 2 +- yarn.lock | 14 ++++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 8172b317ab5b..519eccac0424 100644 --- a/package.json +++ b/package.json @@ -88,7 +88,7 @@ "lerna": "2.6.0", "lint-staged": "^6.1.0", "lodash": "^4.17.4", - "nodemon": "^1.14.11", + "nodemon": "^1.14.12", "npmlog": "^4.1.2", "prettier": "^1.10.2", "puppeteer": "^0.13.0", diff --git a/yarn.lock b/yarn.lock index c23b9c5b4929..b10c85a651d4 100644 --- a/yarn.lock +++ b/yarn.lock @@ -10229,6 +10229,20 @@ nodemon@^1.12.1, nodemon@^1.14.11: undefsafe "^2.0.1" update-notifier "^2.3.0" +nodemon@^1.14.12: + version "1.14.12" + resolved "https://registry.yarnpkg.com/nodemon/-/nodemon-1.14.12.tgz#fe059424b15ebdb107696287a558d9cf53a63999" + dependencies: + chokidar "^2.0.0" + debug "^3.1.0" + ignore-by-default "^1.0.1" + minimatch "^3.0.4" + pstree.remy "^1.1.0" + semver "^5.4.1" + touch "^3.1.0" + undefsafe "^2.0.1" + 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 071215808e3e803d6fd47996908e8ef4f2da660d Mon Sep 17 00:00:00 2001 From: "Dependencies.io Bot" Date: Fri, 2 Feb 2018 16:38:44 +0000 Subject: [PATCH 28/57] Update postcss-loader from 2.0.10 to 2.1.0 in lib/core --- lib/core/package.json | 2 +- yarn.lock | 11 ++++++++++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/lib/core/package.json b/lib/core/package.json index 2efd91542aef..14c10ce729fa 100644 --- a/lib/core/package.json +++ b/lib/core/package.json @@ -30,7 +30,7 @@ "global": "^4.3.2", "json-loader": "^0.5.7", "postcss-flexbugs-fixes": "^3.2.0", - "postcss-loader": "^2.0.10", + "postcss-loader": "^2.1.0", "prop-types": "^15.5.10", "qs": "^6.5.1", "react": "^16.0.0", diff --git a/yarn.lock b/yarn.lock index b10c85a651d4..57501a812dd3 100644 --- a/yarn.lock +++ b/yarn.lock @@ -11329,6 +11329,15 @@ postcss-loader@^2.0.10, postcss-loader@^2.0.8: postcss-load-config "^1.2.0" schema-utils "^0.3.0" +postcss-loader@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/postcss-loader/-/postcss-loader-2.1.0.tgz#038c2d6d59753fef4667827fd3ae03f5dc5e6a7a" + dependencies: + loader-utils "^1.1.0" + postcss "^6.0.0" + postcss-load-config "^1.2.0" + schema-utils "^0.4.0" + postcss-merge-idents@^2.1.5: version "2.1.7" resolved "https://registry.yarnpkg.com/postcss-merge-idents/-/postcss-merge-idents-2.1.7.tgz#4c5530313c08e1d5b3bbf3d2bbc747e278eea270" @@ -13245,7 +13254,7 @@ schema-utils@^0.3.0: dependencies: ajv "^5.0.0" -schema-utils@^0.4.2, schema-utils@^0.4.3: +schema-utils@^0.4.0, schema-utils@^0.4.2, schema-utils@^0.4.3: version "0.4.3" resolved "https://registry.yarnpkg.com/schema-utils/-/schema-utils-0.4.3.tgz#e2a594d3395834d5e15da22b48be13517859458e" dependencies: From 2cfb79c40149b0d28dddd700dde6a9683bfe4d49 Mon Sep 17 00:00:00 2001 From: "Dependencies.io Bot" Date: Fri, 2 Feb 2018 16:41:11 +0000 Subject: [PATCH 29/57] Update postcss-loader from 2.0.10 to 2.1.0 in app/angular --- app/angular/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/angular/package.json b/app/angular/package.json index 97643c836250..275f5d45f080 100644 --- a/app/angular/package.json +++ b/app/angular/package.json @@ -64,7 +64,7 @@ "markdown-loader": "^2.0.2", "node-sass": "^4.7.2", "postcss-flexbugs-fixes": "^3.3.0", - "postcss-loader": "^2.0.10", + "postcss-loader": "^2.1.0", "prop-types": "^15.5.10", "qs": "^6.5.1", "raw-loader": "^0.5.1", From d321229189c10c6b1f47eb0f4cbd2d3d8df1e338 Mon Sep 17 00:00:00 2001 From: "Dependencies.io Bot" Date: Fri, 2 Feb 2018 16:43:30 +0000 Subject: [PATCH 30/57] Update nodemon from 1.14.11 to 1.14.12 in app/angular --- app/angular/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/angular/package.json b/app/angular/package.json index 275f5d45f080..d3a1accd56fe 100644 --- a/app/angular/package.json +++ b/app/angular/package.json @@ -95,7 +95,7 @@ "babel-plugin-transform-decorators-legacy": "^1.3.4", "codelyzer": "^3.1.2", "mock-fs": "^4.3.0", - "nodemon": "^1.14.11", + "nodemon": "^1.14.12", "typescript": "^2.7.1" }, "peerDependencies": { From df40c56315c7599b71783490a57f8056acc498e6 Mon Sep 17 00:00:00 2001 From: "Dependencies.io Bot" Date: Fri, 2 Feb 2018 16:45:42 +0000 Subject: [PATCH 31/57] Update postcss-loader from 2.0.10 to 2.1.0 in app/polymer --- app/polymer/package.json | 2 +- yarn.lock | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/polymer/package.json b/app/polymer/package.json index f9a2cc82f8a0..155dfb7783a2 100644 --- a/app/polymer/package.json +++ b/app/polymer/package.json @@ -64,7 +64,7 @@ "lodash.pick": "^4.4.0", "polymer-webpack-loader": "2.0.1", "postcss-flexbugs-fixes": "^3.3.0", - "postcss-loader": "^2.0.8", + "postcss-loader": "^2.1.0", "prop-types": "^15.6.0", "qs": "^6.5.1", "react": "^16.0.0", diff --git a/yarn.lock b/yarn.lock index 57501a812dd3..f87979f87b1b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -11320,7 +11320,7 @@ postcss-loader@2.0.8: postcss-load-config "^1.2.0" schema-utils "^0.3.0" -postcss-loader@^2.0.10, postcss-loader@^2.0.8: +postcss-loader@^2.0.10: version "2.0.10" resolved "https://registry.yarnpkg.com/postcss-loader/-/postcss-loader-2.0.10.tgz#090db0540140bd56a7a7f717c41bc29aeef4c674" dependencies: From b1d74ed58df9f562e3538014bda91be7f71f3b3d Mon Sep 17 00:00:00 2001 From: "Dependencies.io Bot" Date: Fri, 2 Feb 2018 16:47:58 +0000 Subject: [PATCH 32/57] Update nodemon from 1.14.11 to 1.14.12 in app/polymer --- app/polymer/package.json | 2 +- yarn.lock | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/polymer/package.json b/app/polymer/package.json index 155dfb7783a2..7cc957b4bc11 100644 --- a/app/polymer/package.json +++ b/app/polymer/package.json @@ -85,6 +85,6 @@ }, "devDependencies": { "babel-cli": "^6.26.0", - "nodemon": "^1.12.1" + "nodemon": "^1.14.12" } } diff --git a/yarn.lock b/yarn.lock index f87979f87b1b..dbe3f74fa939 100644 --- a/yarn.lock +++ b/yarn.lock @@ -10215,7 +10215,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.1, nodemon@^1.14.11: +nodemon@^1.14.11: version "1.14.11" resolved "https://registry.yarnpkg.com/nodemon/-/nodemon-1.14.11.tgz#cc0009dd8d82f126f3aba50ace7e753827a8cebc" dependencies: From 47c09672b3948d01e26d5c9bfc74612d71a11ec0 Mon Sep 17 00:00:00 2001 From: "Dependencies.io Bot" Date: Fri, 2 Feb 2018 16:50:12 +0000 Subject: [PATCH 33/57] Update postcss-loader from 2.0.10 to 2.1.0 in app/react-native --- app/react-native/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/react-native/package.json b/app/react-native/package.json index 17be1836b7da..850019f3a723 100644 --- a/app/react-native/package.json +++ b/app/react-native/package.json @@ -57,7 +57,7 @@ "html-webpack-plugin": "^2.30.1", "json-loader": "^0.5.7", "json5": "^0.5.1", - "postcss-loader": "^2.0.10", + "postcss-loader": "^2.1.0", "prop-types": "^15.6.0", "react-native-compat": "^1.0.0", "react-native-iphone-x-helper": "^1.0.1", From 8348eb241d8a398ec14c54d202d1d1cd0c8e7a32 Mon Sep 17 00:00:00 2001 From: "Dependencies.io Bot" Date: Fri, 2 Feb 2018 16:52:23 +0000 Subject: [PATCH 34/57] Update postcss-loader from 2.0.10 to 2.1.0 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 155fd768b804..389fd505d87b 100644 --- a/app/react/package.json +++ b/app/react/package.json @@ -67,7 +67,7 @@ "markdown-loader": "^2.0.2", "npmlog": "^4.1.2", "postcss-flexbugs-fixes": "^3.3.0", - "postcss-loader": "^2.0.10", + "postcss-loader": "^2.1.0", "prop-types": "^15.6.0", "qs": "^6.5.1", "react-dev-utils": "^5.0.0", From 734aacec5dc90b5f8c781a9e6f9f566681afaca2 Mon Sep 17 00:00:00 2001 From: "Dependencies.io Bot" Date: Fri, 2 Feb 2018 16:54:41 +0000 Subject: [PATCH 35/57] Update nodemon from 1.14.11 to 1.14.12 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 389fd505d87b..63234566dfaa 100644 --- a/app/react/package.json +++ b/app/react/package.json @@ -85,7 +85,7 @@ "webpack-hot-middleware": "^2.21.0" }, "devDependencies": { - "nodemon": "^1.14.11" + "nodemon": "^1.14.12" }, "peerDependencies": { "babel-core": "^6.26.0 || ^7.0.0-0", From 6d3e8cf681df8e1fa3bd87a484914e44167a1bd2 Mon Sep 17 00:00:00 2001 From: "Dependencies.io Bot" Date: Fri, 2 Feb 2018 16:56:54 +0000 Subject: [PATCH 36/57] Update postcss-loader from 2.0.10 to 2.1.0 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 4ef0560a85f0..fbf8c6dd76bb 100644 --- a/app/vue/package.json +++ b/app/vue/package.json @@ -61,7 +61,7 @@ "json5": "^0.5.1", "markdown-loader": "^2.0.2", "postcss-flexbugs-fixes": "^3.3.0", - "postcss-loader": "^2.0.10", + "postcss-loader": "^2.1.0", "prop-types": "^15.6.0", "qs": "^6.5.1", "react": "^16.2.0", From 00dc22b6ba5f106ea81d20d6852396a41a5ed856 Mon Sep 17 00:00:00 2001 From: "Dependencies.io Bot" Date: Fri, 2 Feb 2018 16:59:07 +0000 Subject: [PATCH 37/57] Update nodemon from 1.14.11 to 1.14.12 in app/vue --- app/vue/package.json | 2 +- yarn.lock | 14 -------------- 2 files changed, 1 insertion(+), 15 deletions(-) diff --git a/app/vue/package.json b/app/vue/package.json index fbf8c6dd76bb..ee2b5b34f840 100644 --- a/app/vue/package.json +++ b/app/vue/package.json @@ -83,7 +83,7 @@ "webpack-hot-middleware": "^2.21.0" }, "devDependencies": { - "nodemon": "^1.14.11", + "nodemon": "^1.14.12", "vue": "^2.5.13", "vue-loader": "^13.7.1", "vue-template-compiler": "^2.5.13" diff --git a/yarn.lock b/yarn.lock index dbe3f74fa939..65161048f3c0 100644 --- a/yarn.lock +++ b/yarn.lock @@ -10215,20 +10215,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.14.11: - version "1.14.11" - resolved "https://registry.yarnpkg.com/nodemon/-/nodemon-1.14.11.tgz#cc0009dd8d82f126f3aba50ace7e753827a8cebc" - dependencies: - chokidar "^2.0.0" - debug "^3.1.0" - ignore-by-default "^1.0.1" - minimatch "^3.0.4" - pstree.remy "^1.1.0" - semver "^5.4.1" - touch "^3.1.0" - undefsafe "^2.0.1" - update-notifier "^2.3.0" - nodemon@^1.14.12: version "1.14.12" resolved "https://registry.yarnpkg.com/nodemon/-/nodemon-1.14.12.tgz#fe059424b15ebdb107696287a558d9cf53a63999" From fd6387e1543bbe80d3cdfda9824fd2326409d20e Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Sat, 3 Feb 2018 11:36:48 +0900 Subject: [PATCH 38/57] Fix expo version in CRNA example --- examples/crna-kitchen-sink/app.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/crna-kitchen-sink/app.json b/examples/crna-kitchen-sink/app.json index 2f9f5b8269a3..7acefb4d1c1e 100644 --- a/examples/crna-kitchen-sink/app.json +++ b/examples/crna-kitchen-sink/app.json @@ -1,5 +1,5 @@ { "expo": { - "sdkVersion": "24.0.2" + "sdkVersion": "24.0.0" } } From 4181d0944f35a0f703763f8f6c541da235c898ae Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Fri, 2 Feb 2018 08:13:59 +0900 Subject: [PATCH 39/57] 3.3.12 changelog # Conflicts: # CHANGELOG.md --- CHANGELOG.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 39beccab8ff8..c47eed24e745 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,15 @@ +# 3.3.12 + +2018-February-02 + +#### Bug Fixes + +- Fix browser navigation again [#2870](https://github.com/storybooks/storybook/pull/2870) + +#### Dependency Upgrades + +- Update url-loader from 0.5.8 to 0.6.2 in app/angular [#2847](https://github.com/storybooks/storybook/pull/2847) + # 3.4.0-alpha.6 2018-January-27 From 015b34c6ecc2e40cff05fd0257fa970185080870 Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Sat, 3 Feb 2018 11:46:34 +0900 Subject: [PATCH 40/57] Changelog 3.4.0-alpha.7 --- CHANGELOG.md | 111 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 111 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index c47eed24e745..b13076d8b0fc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,114 @@ +# 3.4.0-alpha.7 + +2018-February-03 + +#### Features + +- Storyshots: env.NODE_PATH support [#2873](https://github.com/storybooks/storybook/pull/2873) +- Knobs: Select knob key/value ordering [#1745](https://github.com/storybooks/storybook/pull/1745) +- Angular: Add option to pass custom styles for ng components [#2856](https://github.com/storybooks/storybook/pull/2856) +- Core: Add watch mode for build-storybook [#2866](https://github.com/storybooks/storybook/pull/2866) +- Core: Add `__dirname` support [#2791](https://github.com/storybooks/storybook/pull/2791) + +#### Bug Fixes + +- UI: remove zero on story loading [#2857](https://github.com/storybooks/storybook/pull/2857) + +#### Documentation + +- StoryShots: Document ref mocking [#2869](https://github.com/storybooks/storybook/pull/2869) + +#### Maintenance + +- Typescript distribution [#2846](https://github.com/storybooks/storybook/pull/2846) +- Use UTC timezone in formatting too for knobs test [#2861](https://github.com/storybooks/storybook/pull/2861) + +#### Dependency Upgrades + +
+ +76 Upgrades + + +- Upgraded `eslint-plugin-prettier` in `/` from "2.5.0" to "2.6.0" [#2910](https://github.com/storybooks/storybook/pull/2910) +- Upgraded `nodemon` in `/` from "1.14.11" to "1.14.12" [#2910](https://github.com/storybooks/storybook/pull/2910) +- Upgraded `postcss-loader` in `lib/core` from "2.0.10" to "2.1.0" [#2910](https://github.com/storybooks/storybook/pull/2910) +- Upgraded `postcss-loader` in `app/angular` from "2.0.10" to "2.1.0" [#2910](https://github.com/storybooks/storybook/pull/2910) +- Upgraded `nodemon` in `app/angular` from "1.14.11" to "1.14.12" [#2910](https://github.com/storybooks/storybook/pull/2910) +- Upgraded `postcss-loader` in `app/polymer` from "2.0.10" to "2.1.0" [#2910](https://github.com/storybooks/storybook/pull/2910) +- Upgraded `nodemon` in `app/polymer` from "1.14.11" to "1.14.12" [#2910](https://github.com/storybooks/storybook/pull/2910) +- Upgraded `postcss-loader` in `app/react-native` from "2.0.10" to "2.1.0" [#2910](https://github.com/storybooks/storybook/pull/2910) +- Upgraded `postcss-loader` in `app/react` from "2.0.10" to "2.1.0" [#2910](https://github.com/storybooks/storybook/pull/2910) +- Upgraded `nodemon` in `app/react` from "1.14.11" to "1.14.12" [#2910](https://github.com/storybooks/storybook/pull/2910) +- Upgraded `postcss-loader` in `app/vue` from "2.0.10" to "2.1.0" [#2910](https://github.com/storybooks/storybook/pull/2910) +- Upgraded `nodemon` in `app/vue` from "1.14.11" to "1.14.12" [#2910](https://github.com/storybooks/storybook/pull/2910) +- Upgraded `@angular/common` in `/` from "5.2.2" to "5.2.3" [#2901](https://github.com/storybooks/storybook/pull/2901) +- Upgraded `@angular/compiler` in `/` from "5.2.2" to "5.2.3" [#2901](https://github.com/storybooks/storybook/pull/2901) +- Upgraded `@angular/core` in `/` from "5.2.2" to "5.2.3" [#2901](https://github.com/storybooks/storybook/pull/2901) +- Upgraded `@angular/forms` in `/` from "5.2.2" to "5.2.3" [#2901](https://github.com/storybooks/storybook/pull/2901) +- Upgraded `@angular/platform-browser` in `/` from "5.2.2" to "5.2.3" [#2901](https://github.com/storybooks/storybook/pull/2901) +- Upgraded `@angular/platform-browser-dynamic` in `/` from "5.2.2" to "5.2.3" [#2901](https://github.com/storybooks/storybook/pull/2901) +- Upgraded `tslint-config-prettier` in `/` from "1.6.0" to "1.7.0" [#2901](https://github.com/storybooks/storybook/pull/2901) +- Upgraded `react-split-pane` in `lib/ui` from "0.1.74" to "0.1.75" [#2901](https://github.com/storybooks/storybook/pull/2901) +- Upgraded `@angular/animations` in `examples/angular-cli` from "5.2.2" to "5.2.3" [#2901](https://github.com/storybooks/storybook/pull/2901) +- Upgraded `@angular/common` in `examples/angular-cli` from "5.2.2" to "5.2.3" [#2901](https://github.com/storybooks/storybook/pull/2901) +- Upgraded `@angular/compiler` in `examples/angular-cli` from "5.2.2" to "5.2.3" [#2901](https://github.com/storybooks/storybook/pull/2901) +- Upgraded `@angular/core` in `examples/angular-cli` from "5.2.2" to "5.2.3" [#2901](https://github.com/storybooks/storybook/pull/2901) +- Upgraded `@angular/forms` in `examples/angular-cli` from "5.2.2" to "5.2.3" [#2901](https://github.com/storybooks/storybook/pull/2901) +- Upgraded `@angular/http` in `examples/angular-cli` from "5.2.2" to "5.2.3" [#2901](https://github.com/storybooks/storybook/pull/2901) +- Upgraded `@angular/platform-browser` in `examples/angular-cli` from "5.2.2" to "5.2.3" [#2901](https://github.com/storybooks/storybook/pull/2901) +- Upgraded `@angular/platform-browser-dynamic` in `examples/angular-cli` from "5.2.2" to "5.2.3" [#2901](https://github.com/storybooks/storybook/pull/2901) +- Upgraded `@angular/router` in `examples/angular-cli` from "5.2.2" to "5.2.3" [#2901](https://github.com/storybooks/storybook/pull/2901) +- Upgraded `@angular/cli` in `examples/angular-cli` from "1.6.6" to "1.6.7" [#2901](https://github.com/storybooks/storybook/pull/2901) +- Upgraded `@angular/compiler-cli` in `examples/angular-cli` from "5.2.2" to "5.2.3" [#2901](https://github.com/storybooks/storybook/pull/2901) +- Upgraded `@angular/language-service` in `examples/angular-cli` from "5.2.2" to "5.2.3" [#2901](https://github.com/storybooks/storybook/pull/2901) +- Upgraded `babel-plugin-macros` in `/` from "2.0.0" to "2.1.0" [#2891](https://github.com/storybooks/storybook/pull/2891) +- Upgraded `babel-plugin-macros` in `app/angular` from "2.0.0" to "2.1.0" [#2891](https://github.com/storybooks/storybook/pull/2891) +- Upgraded `typescript` in `app/angular` from "2.6.2" to "2.7.1" [#2891](https://github.com/storybooks/storybook/pull/2891) +- Upgraded `babel-plugin-macros` in `app/polymer` from "2.0.0" to "2.1.0" [#2891](https://github.com/storybooks/storybook/pull/2891) +- Upgraded `babel-preset-minify` in `app/polymer` from "0.2.0" to "0.3.0" [#2891](https://github.com/storybooks/storybook/pull/2891) +- Upgraded `babel-plugin-macros` in `app/react-native` from "2.0.0" to "2.1.0" [#2891](https://github.com/storybooks/storybook/pull/2891) +- Upgraded `babel-preset-minify` in `app/react-native` from "0.2.0" to "0.3.0" [#2891](https://github.com/storybooks/storybook/pull/2891) +- Upgraded `babel-plugin-macros` in `app/react` from "2.0.0" to "2.1.0" [#2891](https://github.com/storybooks/storybook/pull/2891) +- Upgraded `babel-preset-minify` in `app/react` from "0.2.0" to "0.3.0" [#2891](https://github.com/storybooks/storybook/pull/2891) +- Upgraded `babel-plugin-macros` in `app/vue` from "2.0.0" to "2.1.0" [#2891](https://github.com/storybooks/storybook/pull/2891) +- Upgraded `babel-preset-minify` in `app/vue` from "0.2.0" to "0.3.0" [#2891](https://github.com/storybooks/storybook/pull/2891) +- Upgraded `vue-style-loader` in `app/vue` from "3.1.1" to "3.1.2" [#2891](https://github.com/storybooks/storybook/pull/2891) +- Upgraded `vue-loader` in `app/vue` from "13.7.0" to "13.7.1" [#2891](https://github.com/storybooks/storybook/pull/2891) +- Upgraded `typescript` in `examples/angular-cli` from "2.6.2" to "2.7.1" [#2891](https://github.com/storybooks/storybook/pull/2891) +- Upgraded `vue-loader` in `examples/vue-kitchen-sink` from "13.7.0" to "13.7.1" [#2891](https://github.com/storybooks/storybook/pull/2891) +- Upgraded `vue-style-loader` in `examples/vue-kitchen-sink` from "3.1.1" to "3.1.2" [#2891](https://github.com/storybooks/storybook/pull/2891) +- Upgraded `gatsby-source-filesystem` in `/docs` from "1.5.15" to "1.5.16" [#2875](https://github.com/storybooks/storybook/pull/2875) +- Upgraded `gatsby` in `/docs` from "1.9.172" to "1.9.174" [#2875](https://github.com/storybooks/storybook/pull/2875) +- Upgraded `@types/lodash` in `/` from "4.14.97" to "4.14.98" [#2876](https://github.com/storybooks/storybook/pull/2876) +- Upgraded `jest-enzyme` in `/` from "4.0.2" to "4.1.0" [#2876](https://github.com/storybooks/storybook/pull/2876) +- Upgraded `uglifyjs-webpack-plugin` in `app/angular` from "1.1.6" to "1.1.7" [#2876](https://github.com/storybooks/storybook/pull/2876) +- Upgraded `uglifyjs-webpack-plugin` in `app/react-native` from "1.1.6" to "1.1.7" [#2876](https://github.com/storybooks/storybook/pull/2876) +- Upgraded `uglifyjs-webpack-plugin` in `app/react` from "1.1.6" to "1.1.7" [#2876](https://github.com/storybooks/storybook/pull/2876) +- Upgraded `uglifyjs-webpack-plugin` in `app/vue` from "1.1.6" to "1.1.7" [#2876](https://github.com/storybooks/storybook/pull/2876) +- Upgraded `gatsby-link` in `/docs` from "1.6.34" to "1.6.35" [#2858](https://github.com/storybooks/storybook/pull/2858) +- Upgraded `gatsby-transformer-remark` in `/docs` from "1.7.29" to "1.7.30" [#2858](https://github.com/storybooks/storybook/pull/2858) +- Upgraded `gatsby` in `/docs` from "1.9.169" to "1.9.171" [#2858](https://github.com/storybooks/storybook/pull/2858) +- Make dependencies in polymer & angular up to date with other apps [#2852](https://github.com/storybooks/storybook/pull/2852) +- Upgraded `@types/lodash` in `/` from "4.14.96" to "4.14.97" [#2850](https://github.com/storybooks/storybook/pull/2850) +- Upgraded `react-datetime` in `addons/knobs` from "2.11.1" to "2.12.0" [#2850](https://github.com/storybooks/storybook/pull/2850) +- Upgraded `style-loader` in `addons/knobs` from "0.19.1" to "0.20.1" [#2850](https://github.com/storybooks/storybook/pull/2850) +- Upgraded `style-loader` in `lib/core` from "0.19.1" to "0.20.1" [#2850](https://github.com/storybooks/storybook/pull/2850) +- Upgraded `style-loader` in `app/angular` from "0.18.2" to "0.20.1" [#2850](https://github.com/storybooks/storybook/pull/2850) +- Upgraded `style-loader` in `app/polymer` from "0.18.2" to "0.20.1" [#2850](https://github.com/storybooks/storybook/pull/2850) +- Upgraded `style-loader` in `app/react-native` from "0.19.1" to "0.20.1" [#2850](https://github.com/storybooks/storybook/pull/2850) +- Upgraded `style-loader` in `app/react` from "0.19.1" to "0.20.1" [#2850](https://github.com/storybooks/storybook/pull/2850) +- Upgraded `style-loader` in `app/vue` from "0.19.1" to "0.20.1" [#2850](https://github.com/storybooks/storybook/pull/2850) +- Upgraded `@polymer/polymer` in `examples/polymer-cli` from "2.3.1" to "2.4.0" [#2850](https://github.com/storybooks/storybook/pull/2850) +- Upgraded `@types/jasmine` in `examples/angular-cli` from "2.8.5" to "2.8.6" [#2850](https://github.com/storybooks/storybook/pull/2850) +- Upgraded `@storybook/addon-actions` in `/docs` from "3.3.10" to "3.3.11" [#2849](https://github.com/storybooks/storybook/pull/2849) +- Upgraded `@storybook/addon-links` in `/docs` from "3.3.10" to "3.3.11" [#2849](https://github.com/storybooks/storybook/pull/2849) +- Upgraded `@storybook/addons` in `/docs` from "3.3.10" to "3.3.11" [#2849](https://github.com/storybooks/storybook/pull/2849) +- Upgraded `@storybook/react` in `/docs` from "3.3.10" to "3.3.11" [#2849](https://github.com/storybooks/storybook/pull/2849) +- Update url-loader from 0.5.8 to 0.6.2 in app/angular [#2847](https://github.com/storybooks/storybook/pull/2847) + +
+ # 3.3.12 2018-February-02 From d5355cac754b864e43c3eab7af70f828bf4424f3 Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Sat, 3 Feb 2018 11:54:40 +0900 Subject: [PATCH 41/57] v3.4.0-alpha.7 --- addons/a11y/package.json | 4 +-- addons/actions/package.json | 2 +- addons/background/package.json | 2 +- addons/centered/package.json | 2 +- addons/events/package.json | 2 +- addons/graphql/package.json | 2 +- addons/info/package.json | 6 ++-- addons/jest/package.json | 4 +-- addons/knobs/package.json | 2 +- addons/links/package.json | 4 +-- addons/notes/package.json | 2 +- addons/options/package.json | 2 +- addons/storyshots/package.json | 10 +++--- addons/viewport/package.json | 4 +-- app/angular/package.json | 16 ++++----- app/polymer/package.json | 14 ++++---- app/react-native/package.json | 14 ++++---- app/react/package.json | 18 +++++----- app/vue/package.json | 14 ++++---- examples/angular-cli/package.json | 14 ++++---- examples/cra-kitchen-sink/package.json | 36 ++++++++++---------- examples/official-storybook/package.json | 34 +++++++++---------- examples/polymer-cli/package.json | 12 +++---- examples/vue-kitchen-sink/package.json | 20 +++++------ 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 | 42 ++++++++++++------------ lib/client-logger/package.json | 2 +- lib/codemod/package.json | 2 +- lib/components/package.json | 8 ++--- lib/core/package.json | 10 +++--- lib/node-logger/package.json | 2 +- lib/ui/package.json | 8 ++--- 36 files changed, 164 insertions(+), 164 deletions(-) diff --git a/addons/a11y/package.json b/addons/a11y/package.json index 86530ad5efac..c0a23227f4b8 100644 --- a/addons/a11y/package.json +++ b/addons/a11y/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-a11y", - "version": "3.4.0-alpha.6", + "version": "3.4.0-alpha.7", "description": "a11y addon for storybook", "keywords": [ "a11y", @@ -25,7 +25,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/components": "^3.4.0-alpha.6", + "@storybook/components": "^3.4.0-alpha.7", "axe-core": "^2.6.1", "glamorous": "^4.11.4", "prop-types": "^15.6.0" diff --git a/addons/actions/package.json b/addons/actions/package.json index 36f2e3a753b5..a3bbdb45c9a6 100644 --- a/addons/actions/package.json +++ b/addons/actions/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-actions", - "version": "3.4.0-alpha.6", + "version": "3.4.0-alpha.7", "description": "Action Logger addon for storybook", "keywords": [ "storybook" diff --git a/addons/background/package.json b/addons/background/package.json index c5d4c21f6087..1124d8b9c67f 100644 --- a/addons/background/package.json +++ b/addons/background/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-backgrounds", - "version": "3.4.0-alpha.6", + "version": "3.4.0-alpha.7", "description": "A storybook addon to show different backgrounds for your preview", "keywords": [ "addon", diff --git a/addons/centered/package.json b/addons/centered/package.json index 30823deee04e..69081fbb7507 100644 --- a/addons/centered/package.json +++ b/addons/centered/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-centered", - "version": "3.4.0-alpha.6", + "version": "3.4.0-alpha.7", "description": "Storybook decorator to center components", "license": "MIT", "author": "Muhammed Thanish ", diff --git a/addons/events/package.json b/addons/events/package.json index 4f17da3137b6..6c09ac3e0cad 100644 --- a/addons/events/package.json +++ b/addons/events/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-events", - "version": "3.4.0-alpha.6", + "version": "3.4.0-alpha.7", "description": "Add events to your Storybook stories.", "keywords": [ "addon", diff --git a/addons/graphql/package.json b/addons/graphql/package.json index cc42dde6d69f..1e9a9c88f1b1 100644 --- a/addons/graphql/package.json +++ b/addons/graphql/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-graphql", - "version": "3.4.0-alpha.6", + "version": "3.4.0-alpha.7", "description": "Storybook addon to display the GraphiQL IDE", "keywords": [ "storybook" diff --git a/addons/info/package.json b/addons/info/package.json index 9b1c66e1aade..ef24a050d67c 100644 --- a/addons/info/package.json +++ b/addons/info/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-info", - "version": "3.4.0-alpha.6", + "version": "3.4.0-alpha.7", "description": "A Storybook addon to show additional information for your stories.", "license": "MIT", "main": "dist/index.js", @@ -15,8 +15,8 @@ "storybook": "start-storybook -p 9010" }, "dependencies": { - "@storybook/client-logger": "^3.4.0-alpha.6", - "@storybook/components": "^3.4.0-alpha.6", + "@storybook/client-logger": "^3.4.0-alpha.7", + "@storybook/components": "^3.4.0-alpha.7", "babel-runtime": "^6.26.0", "glamorous": "^4.11.4", "global": "^4.3.2", diff --git a/addons/jest/package.json b/addons/jest/package.json index c300db362273..ee39d5ec02b8 100644 --- a/addons/jest/package.json +++ b/addons/jest/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-jest", - "version": "3.4.0-alpha.6", + "version": "3.4.0-alpha.7", "description": "React storybook addon that show component jest report", "keywords": [ "addon", @@ -25,7 +25,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/components": "^3.4.0-alpha.6", + "@storybook/components": "^3.4.0-alpha.7", "glamor": "^2.20.40", "glamorous": "^4.11.4", "global": "^4.3.2", diff --git a/addons/knobs/package.json b/addons/knobs/package.json index 5728b8c6c490..2e1fcbca6fce 100644 --- a/addons/knobs/package.json +++ b/addons/knobs/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-knobs", - "version": "3.4.0-alpha.6", + "version": "3.4.0-alpha.7", "description": "Storybook Addon Prop Editor Component", "license": "MIT", "main": "dist/index.js", diff --git a/addons/links/package.json b/addons/links/package.json index 3a155ec86651..a34ae29a18b0 100644 --- a/addons/links/package.json +++ b/addons/links/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-links", - "version": "3.4.0-alpha.6", + "version": "3.4.0-alpha.7", "description": "Story Links addon for storybook", "keywords": [ "storybook" @@ -22,7 +22,7 @@ "storybook": "start-storybook -p 9001" }, "dependencies": { - "@storybook/components": "^3.4.0-alpha.6", + "@storybook/components": "^3.4.0-alpha.7", "global": "^4.3.2", "prop-types": "^15.5.10" }, diff --git a/addons/notes/package.json b/addons/notes/package.json index 80f4cb77b9fe..6824ef07bd6b 100644 --- a/addons/notes/package.json +++ b/addons/notes/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-notes", - "version": "3.4.0-alpha.6", + "version": "3.4.0-alpha.7", "description": "Write notes for your Storybook stories.", "keywords": [ "addon", diff --git a/addons/options/package.json b/addons/options/package.json index d02c29fb6218..17be522a38a5 100644 --- a/addons/options/package.json +++ b/addons/options/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-options", - "version": "3.4.0-alpha.6", + "version": "3.4.0-alpha.7", "description": "Options addon for storybook", "keywords": [ "storybook" diff --git a/addons/storyshots/package.json b/addons/storyshots/package.json index 38c072c87f07..e82e4369c05f 100644 --- a/addons/storyshots/package.json +++ b/addons/storyshots/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-storyshots", - "version": "3.4.0-alpha.6", + "version": "3.4.0-alpha.7", "description": "StoryShots is a Jest Snapshot Testing Addon for Storybook.", "license": "MIT", "main": "dist/index.js", @@ -16,7 +16,7 @@ "storybook": "start-storybook -p 6006" }, "dependencies": { - "@storybook/channels": "^3.4.0-alpha.6", + "@storybook/channels": "^3.4.0-alpha.7", "babel-runtime": "^6.26.0", "glob": "^7.1.2", "global": "^4.3.2", @@ -27,8 +27,8 @@ "read-pkg-up": "^3.0.0" }, "devDependencies": { - "@storybook/addons": "^3.4.0-alpha.6", - "@storybook/react": "^3.4.0-alpha.6", + "@storybook/addons": "^3.4.0-alpha.7", + "@storybook/react": "^3.4.0-alpha.7", "babel-cli": "^6.26.0", "babel-jest": "^20.0.3", "babel-plugin-transform-runtime": "^6.23.0", @@ -42,7 +42,7 @@ "react-dom": "^16.1.0" }, "peerDependencies": { - "@storybook/addons": "^3.4.0-alpha.6", + "@storybook/addons": "^3.4.0-alpha.7", "babel-core": "^6.26.0 || ^7.0.0-0" } } diff --git a/addons/viewport/package.json b/addons/viewport/package.json index bc5f28b6a2ec..2a6685cf586a 100644 --- a/addons/viewport/package.json +++ b/addons/viewport/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-viewport", - "version": "3.4.0-alpha.6", + "version": "3.4.0-alpha.7", "description": "Storybook addon to change the viewport size to mobile", "keywords": [ "storybook" @@ -11,7 +11,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/components": "^3.4.0-alpha.6", + "@storybook/components": "^3.4.0-alpha.7", "global": "^4.3.2", "prop-types": "^15.5.10" }, diff --git a/app/angular/package.json b/app/angular/package.json index d3a1accd56fe..fd41e3a719b9 100644 --- a/app/angular/package.json +++ b/app/angular/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/angular", - "version": "3.4.0-alpha.6", + "version": "3.4.0-alpha.7", "description": "Storybook for Angular: Develop Angular Components in isolation with Hot Reloading.", "homepage": "https://github.com/storybooks/storybook/tree/master/apps/angular", "bugs": { @@ -23,13 +23,13 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addon-actions": "^3.4.0-alpha.6", - "@storybook/addon-links": "^3.4.0-alpha.6", - "@storybook/addons": "^3.4.0-alpha.6", - "@storybook/channel-postmessage": "^3.4.0-alpha.6", - "@storybook/core": "^3.4.0-alpha.6", - "@storybook/node-logger": "^3.4.0-alpha.6", - "@storybook/ui": "^3.4.0-alpha.6", + "@storybook/addon-actions": "^3.4.0-alpha.7", + "@storybook/addon-links": "^3.4.0-alpha.7", + "@storybook/addons": "^3.4.0-alpha.7", + "@storybook/channel-postmessage": "^3.4.0-alpha.7", + "@storybook/core": "^3.4.0-alpha.7", + "@storybook/node-logger": "^3.4.0-alpha.7", + "@storybook/ui": "^3.4.0-alpha.7", "airbnb-js-shims": "^1.4.1", "angular2-template-loader": "^0.6.2", "autoprefixer": "^7.2.5", diff --git a/app/polymer/package.json b/app/polymer/package.json index 7cc957b4bc11..e0de3b383416 100644 --- a/app/polymer/package.json +++ b/app/polymer/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/polymer", - "version": "3.4.0-alpha.6", + "version": "3.4.0-alpha.7", "description": "Storybook for Polymer: Develop Polymer components in isolation with Hot Reloading.", "homepage": "https://github.com/storybooks/storybook/tree/master/apps/polymer", "bugs": { @@ -22,12 +22,12 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "^3.4.0-alpha.6", - "@storybook/channel-postmessage": "^3.4.0-alpha.6", - "@storybook/client-logger": "^3.4.0-alpha.6", - "@storybook/core": "^3.4.0-alpha.6", - "@storybook/node-logger": "^3.4.0-alpha.6", - "@storybook/ui": "^3.4.0-alpha.6", + "@storybook/addons": "^3.4.0-alpha.7", + "@storybook/channel-postmessage": "^3.4.0-alpha.7", + "@storybook/client-logger": "^3.4.0-alpha.7", + "@storybook/core": "^3.4.0-alpha.7", + "@storybook/node-logger": "^3.4.0-alpha.7", + "@storybook/ui": "^3.4.0-alpha.7", "@webcomponents/webcomponentsjs": "^1.1.0", "airbnb-js-shims": "^1.4.1", "autoprefixer": "^7.1.6", diff --git a/app/react-native/package.json b/app/react-native/package.json index 850019f3a723..a7444ca58087 100644 --- a/app/react-native/package.json +++ b/app/react-native/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/react-native", - "version": "3.4.0-alpha.6", + "version": "3.4.0-alpha.7", "description": "A better way to develop React Native Components for your app", "keywords": [ "react", @@ -25,12 +25,12 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addon-actions": "^3.4.0-alpha.6", - "@storybook/addon-links": "^3.4.0-alpha.6", - "@storybook/addons": "^3.4.0-alpha.6", - "@storybook/channel-websocket": "^3.4.0-alpha.6", - "@storybook/core": "^3.4.0-alpha.6", - "@storybook/ui": "^3.4.0-alpha.6", + "@storybook/addon-actions": "^3.4.0-alpha.7", + "@storybook/addon-links": "^3.4.0-alpha.7", + "@storybook/addons": "^3.4.0-alpha.7", + "@storybook/channel-websocket": "^3.4.0-alpha.7", + "@storybook/core": "^3.4.0-alpha.7", + "@storybook/ui": "^3.4.0-alpha.7", "autoprefixer": "^7.2.5", "babel-loader": "^7.1.2", "babel-plugin-macros": "^2.1.0", diff --git a/app/react/package.json b/app/react/package.json index 63234566dfaa..eb59701f3838 100644 --- a/app/react/package.json +++ b/app/react/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/react", - "version": "3.4.0-alpha.6", + "version": "3.4.0-alpha.7", "description": "Storybook for React: Develop React Component in isolation with Hot Reloading.", "homepage": "https://github.com/storybooks/storybook/tree/master/app/react", "bugs": { @@ -23,14 +23,14 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addon-actions": "^3.4.0-alpha.6", - "@storybook/addon-links": "^3.4.0-alpha.6", - "@storybook/addons": "^3.4.0-alpha.6", - "@storybook/channel-postmessage": "^3.4.0-alpha.6", - "@storybook/client-logger": "^3.4.0-alpha.6", - "@storybook/core": "^3.4.0-alpha.6", - "@storybook/node-logger": "^3.4.0-alpha.6", - "@storybook/ui": "^3.4.0-alpha.6", + "@storybook/addon-actions": "^3.4.0-alpha.7", + "@storybook/addon-links": "^3.4.0-alpha.7", + "@storybook/addons": "^3.4.0-alpha.7", + "@storybook/channel-postmessage": "^3.4.0-alpha.7", + "@storybook/client-logger": "^3.4.0-alpha.7", + "@storybook/core": "^3.4.0-alpha.7", + "@storybook/node-logger": "^3.4.0-alpha.7", + "@storybook/ui": "^3.4.0-alpha.7", "airbnb-js-shims": "^1.4.1", "autoprefixer": "^7.2.5", "babel-loader": "^7.1.2", diff --git a/app/vue/package.json b/app/vue/package.json index ee2b5b34f840..10589a679c35 100644 --- a/app/vue/package.json +++ b/app/vue/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/vue", - "version": "3.4.0-alpha.6", + "version": "3.4.0-alpha.7", "description": "Storybook for Vue: Develop Vue Component in isolation with Hot Reloading.", "homepage": "https://github.com/storybooks/storybook/tree/master/apps/vue", "bugs": { @@ -23,12 +23,12 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addon-actions": "^3.4.0-alpha.6", - "@storybook/addon-links": "^3.4.0-alpha.6", - "@storybook/addons": "^3.4.0-alpha.6", - "@storybook/channel-postmessage": "^3.4.0-alpha.6", - "@storybook/core": "^3.4.0-alpha.6", - "@storybook/ui": "^3.4.0-alpha.6", + "@storybook/addon-actions": "^3.4.0-alpha.7", + "@storybook/addon-links": "^3.4.0-alpha.7", + "@storybook/addons": "^3.4.0-alpha.7", + "@storybook/channel-postmessage": "^3.4.0-alpha.7", + "@storybook/core": "^3.4.0-alpha.7", + "@storybook/ui": "^3.4.0-alpha.7", "airbnb-js-shims": "^1.4.1", "autoprefixer": "^7.2.5", "babel-loader": "^7.1.2", diff --git a/examples/angular-cli/package.json b/examples/angular-cli/package.json index bf9c04deafb5..cae500b863f6 100644 --- a/examples/angular-cli/package.json +++ b/examples/angular-cli/package.json @@ -1,6 +1,6 @@ { "name": "angular-cli", - "version": "3.4.0-alpha.6", + "version": "3.4.0-alpha.7", "private": true, "license": "MIT", "scripts": { @@ -30,12 +30,12 @@ "@angular/cli": "1.6.7", "@angular/compiler-cli": "^5.2.3", "@angular/language-service": "^5.2.3", - "@storybook/addon-actions": "^3.4.0-alpha.6", - "@storybook/addon-links": "^3.4.0-alpha.6", - "@storybook/addon-notes": "^3.4.0-alpha.6", - "@storybook/addon-storyshots": "^3.4.0-alpha.6", - "@storybook/addons": "^3.4.0-alpha.6", - "@storybook/angular": "^3.4.0-alpha.6", + "@storybook/addon-actions": "^3.4.0-alpha.7", + "@storybook/addon-links": "^3.4.0-alpha.7", + "@storybook/addon-notes": "^3.4.0-alpha.7", + "@storybook/addon-storyshots": "^3.4.0-alpha.7", + "@storybook/addons": "^3.4.0-alpha.7", + "@storybook/angular": "^3.4.0-alpha.7", "@types/jasmine": "~2.8.6", "@types/node": "~6.0.96", "global": "^4.3.2", diff --git a/examples/cra-kitchen-sink/package.json b/examples/cra-kitchen-sink/package.json index 6421b33ce7aa..f667c1c22bf5 100644 --- a/examples/cra-kitchen-sink/package.json +++ b/examples/cra-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "cra-kitchen-sink", - "version": "3.4.0-alpha.6", + "version": "3.4.0-alpha.7", "private": true, "scripts": { "build": "react-scripts build", @@ -19,23 +19,23 @@ "react-dom": "^16.2.0" }, "devDependencies": { - "@storybook/addon-a11y": "^3.4.0-alpha.6", - "@storybook/addon-actions": "^3.4.0-alpha.6", - "@storybook/addon-backgrounds": "^3.4.0-alpha.6", - "@storybook/addon-centered": "^3.4.0-alpha.6", - "@storybook/addon-events": "^3.4.0-alpha.6", - "@storybook/addon-info": "^3.4.0-alpha.6", - "@storybook/addon-jest": "^3.4.0-alpha.6", - "@storybook/addon-knobs": "^3.4.0-alpha.6", - "@storybook/addon-links": "^3.4.0-alpha.6", - "@storybook/addon-notes": "^3.4.0-alpha.6", - "@storybook/addon-options": "^3.4.0-alpha.6", - "@storybook/addon-storyshots": "^3.4.0-alpha.6", - "@storybook/addon-viewport": "^3.4.0-alpha.6", - "@storybook/addons": "^3.4.0-alpha.6", - "@storybook/client-logger": "^3.4.0-alpha.6", - "@storybook/components": "^3.4.0-alpha.6", - "@storybook/react": "^3.4.0-alpha.6", + "@storybook/addon-a11y": "^3.4.0-alpha.7", + "@storybook/addon-actions": "^3.4.0-alpha.7", + "@storybook/addon-backgrounds": "^3.4.0-alpha.7", + "@storybook/addon-centered": "^3.4.0-alpha.7", + "@storybook/addon-events": "^3.4.0-alpha.7", + "@storybook/addon-info": "^3.4.0-alpha.7", + "@storybook/addon-jest": "^3.4.0-alpha.7", + "@storybook/addon-knobs": "^3.4.0-alpha.7", + "@storybook/addon-links": "^3.4.0-alpha.7", + "@storybook/addon-notes": "^3.4.0-alpha.7", + "@storybook/addon-options": "^3.4.0-alpha.7", + "@storybook/addon-storyshots": "^3.4.0-alpha.7", + "@storybook/addon-viewport": "^3.4.0-alpha.7", + "@storybook/addons": "^3.4.0-alpha.7", + "@storybook/client-logger": "^3.4.0-alpha.7", + "@storybook/components": "^3.4.0-alpha.7", + "@storybook/react": "^3.4.0-alpha.7", "babel-jest": "^22.1.0", "enzyme": "^3.3.0", "enzyme-adapter-react-16": "^1.1.0", diff --git a/examples/official-storybook/package.json b/examples/official-storybook/package.json index e0b6a10f4e86..d02fb7f74cfc 100644 --- a/examples/official-storybook/package.json +++ b/examples/official-storybook/package.json @@ -1,6 +1,6 @@ { "name": "official-storybook", - "version": "3.4.0-alpha.6", + "version": "3.4.0-alpha.7", "private": true, "scripts": { "build-storybook": "build-storybook -c ./", @@ -10,22 +10,22 @@ "storybook": "start-storybook -p 9010 -c ./" }, "devDependencies": { - "@storybook/addon-a11y": "^3.4.0-alpha.6", - "@storybook/addon-actions": "^3.4.0-alpha.6", - "@storybook/addon-backgrounds": "^3.4.0-alpha.6", - "@storybook/addon-centered": "^3.4.0-alpha.6", - "@storybook/addon-events": "^3.4.0-alpha.6", - "@storybook/addon-info": "^3.4.0-alpha.6", - "@storybook/addon-jest": "^3.4.0-alpha.6", - "@storybook/addon-knobs": "^3.4.0-alpha.6", - "@storybook/addon-links": "^3.4.0-alpha.6", - "@storybook/addon-notes": "^3.4.0-alpha.6", - "@storybook/addon-options": "^3.4.0-alpha.6", - "@storybook/addon-storyshots": "^3.4.0-alpha.6", - "@storybook/addon-viewport": "^3.4.0-alpha.6", - "@storybook/addons": "^3.4.0-alpha.6", - "@storybook/components": "^3.4.0-alpha.6", - "@storybook/react": "^3.4.0-alpha.6", + "@storybook/addon-a11y": "^3.4.0-alpha.7", + "@storybook/addon-actions": "^3.4.0-alpha.7", + "@storybook/addon-backgrounds": "^3.4.0-alpha.7", + "@storybook/addon-centered": "^3.4.0-alpha.7", + "@storybook/addon-events": "^3.4.0-alpha.7", + "@storybook/addon-info": "^3.4.0-alpha.7", + "@storybook/addon-jest": "^3.4.0-alpha.7", + "@storybook/addon-knobs": "^3.4.0-alpha.7", + "@storybook/addon-links": "^3.4.0-alpha.7", + "@storybook/addon-notes": "^3.4.0-alpha.7", + "@storybook/addon-options": "^3.4.0-alpha.7", + "@storybook/addon-storyshots": "^3.4.0-alpha.7", + "@storybook/addon-viewport": "^3.4.0-alpha.7", + "@storybook/addons": "^3.4.0-alpha.7", + "@storybook/components": "^3.4.0-alpha.7", + "@storybook/react": "^3.4.0-alpha.7", "babel-jest": "^21.2.0", "enzyme": "^3.3.0", "enzyme-adapter-react-16": "^1.1.0", diff --git a/examples/polymer-cli/package.json b/examples/polymer-cli/package.json index a354a06d62b7..345f456565c2 100644 --- a/examples/polymer-cli/package.json +++ b/examples/polymer-cli/package.json @@ -1,6 +1,6 @@ { "name": "polymer-cli", - "version": "3.4.0-alpha.6", + "version": "3.4.0-alpha.7", "private": true, "scripts": { "start": "webpack-dev-server", @@ -8,11 +8,11 @@ }, "dependencies": { "@polymer/polymer": "^2.4.0", - "@storybook/addon-actions": "^3.4.0-alpha.6", - "@storybook/addon-knobs": "^3.4.0-alpha.6", - "@storybook/addon-notes": "^3.4.0-alpha.6", - "@storybook/addon-viewport": "^3.4.0-alpha.6", - "@storybook/polymer": "^3.4.0-alpha.6", + "@storybook/addon-actions": "^3.4.0-alpha.7", + "@storybook/addon-knobs": "^3.4.0-alpha.7", + "@storybook/addon-notes": "^3.4.0-alpha.7", + "@storybook/addon-viewport": "^3.4.0-alpha.7", + "@storybook/polymer": "^3.4.0-alpha.7", "@webcomponents/webcomponentsjs": "^1.1.0", "global": "^4.3.2", "polymer-webpack-loader": "^2.0.0", diff --git a/examples/vue-kitchen-sink/package.json b/examples/vue-kitchen-sink/package.json index 80acd6189727..2382600e3949 100644 --- a/examples/vue-kitchen-sink/package.json +++ b/examples/vue-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "vue-example", - "version": "3.4.0-alpha.6", + "version": "3.4.0-alpha.7", "private": true, "scripts": { "build": "cross-env NODE_ENV=production webpack --progress --hide-modules", @@ -13,15 +13,15 @@ "vuex": "^3.0.0" }, "devDependencies": { - "@storybook/addon-actions": "^3.4.0-alpha.6", - "@storybook/addon-centered": "^3.4.0-alpha.6", - "@storybook/addon-knobs": "^3.4.0-alpha.6", - "@storybook/addon-links": "^3.4.0-alpha.6", - "@storybook/addon-notes": "^3.4.0-alpha.6", - "@storybook/addon-storyshots": "^3.4.0-alpha.6", - "@storybook/addon-viewport": "^3.4.0-alpha.6", - "@storybook/addons": "^3.4.0-alpha.6", - "@storybook/vue": "^3.4.0-alpha.6", + "@storybook/addon-actions": "^3.4.0-alpha.7", + "@storybook/addon-centered": "^3.4.0-alpha.7", + "@storybook/addon-knobs": "^3.4.0-alpha.7", + "@storybook/addon-links": "^3.4.0-alpha.7", + "@storybook/addon-notes": "^3.4.0-alpha.7", + "@storybook/addon-storyshots": "^3.4.0-alpha.7", + "@storybook/addon-viewport": "^3.4.0-alpha.7", + "@storybook/addons": "^3.4.0-alpha.7", + "@storybook/vue": "^3.4.0-alpha.7", "babel-core": "^6.26.0", "babel-loader": "^7.1.2", "babel-preset-env": "^1.6.0", diff --git a/lerna.json b/lerna.json index 33449f79a631..d985aac84106 100644 --- a/lerna.json +++ b/lerna.json @@ -8,5 +8,5 @@ } }, "concurrency": 1, - "version": "3.4.0-alpha.6" + "version": "3.4.0-alpha.7" } diff --git a/lib/addons/package.json b/lib/addons/package.json index a1aedd451ef6..58257b99aaca 100644 --- a/lib/addons/package.json +++ b/lib/addons/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addons", - "version": "3.4.0-alpha.6", + "version": "3.4.0-alpha.7", "description": "Storybook addons store", "keywords": [ "storybook" diff --git a/lib/channel-postmessage/package.json b/lib/channel-postmessage/package.json index ef0a5da128b9..cdd398a14495 100644 --- a/lib/channel-postmessage/package.json +++ b/lib/channel-postmessage/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/channel-postmessage", - "version": "3.4.0-alpha.6", + "version": "3.4.0-alpha.7", "description": "", "license": "MIT", "main": "dist/index.js", @@ -9,7 +9,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/channels": "^3.4.0-alpha.6", + "@storybook/channels": "^3.4.0-alpha.7", "global": "^4.3.2", "json-stringify-safe": "^5.0.1" } diff --git a/lib/channel-websocket/package.json b/lib/channel-websocket/package.json index d4a36af7f3be..fbe8c52bf343 100644 --- a/lib/channel-websocket/package.json +++ b/lib/channel-websocket/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/channel-websocket", - "version": "3.4.0-alpha.6", + "version": "3.4.0-alpha.7", "description": "", "license": "MIT", "main": "dist/index.js", @@ -9,7 +9,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/channels": "^3.4.0-alpha.6", + "@storybook/channels": "^3.4.0-alpha.7", "global": "^4.3.2" } } diff --git a/lib/channels/package.json b/lib/channels/package.json index 81e777534f15..17bdda5a1d89 100644 --- a/lib/channels/package.json +++ b/lib/channels/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/channels", - "version": "3.4.0-alpha.6", + "version": "3.4.0-alpha.7", "description": "", "license": "MIT", "main": "dist/index.js", diff --git a/lib/cli/package.json b/lib/cli/package.json index 9181cdf08db3..5841cdfe2c18 100644 --- a/lib/cli/package.json +++ b/lib/cli/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/cli", - "version": "3.4.0-alpha.6", + "version": "3.4.0-alpha.7", "description": "Storybook's CLI - easiest method of adding storybook to your projects", "keywords": [ "cli", @@ -25,7 +25,7 @@ "test-latest-cra": "cd test && ./test_latest_cra.sh" }, "dependencies": { - "@storybook/codemod": "^3.4.0-alpha.6", + "@storybook/codemod": "^3.4.0-alpha.7", "babel-plugin-transform-runtime": "^6.23.0", "babel-preset-env": "^1.6.0", "babel-register": "^6.26.0", @@ -43,25 +43,25 @@ "update-notifier": "^2.3.0" }, "devDependencies": { - "@storybook/addon-actions": "^3.4.0-alpha.6", - "@storybook/addon-centered": "^3.4.0-alpha.6", - "@storybook/addon-graphql": "^3.4.0-alpha.6", - "@storybook/addon-info": "^3.4.0-alpha.6", - "@storybook/addon-knobs": "^3.4.0-alpha.6", - "@storybook/addon-links": "^3.4.0-alpha.6", - "@storybook/addon-notes": "^3.4.0-alpha.6", - "@storybook/addon-options": "^3.4.0-alpha.6", - "@storybook/addon-storyshots": "^3.4.0-alpha.6", - "@storybook/addons": "^3.4.0-alpha.6", - "@storybook/angular": "^3.4.0-alpha.6", - "@storybook/channel-postmessage": "^3.4.0-alpha.6", - "@storybook/channel-websocket": "^3.4.0-alpha.6", - "@storybook/channels": "^3.4.0-alpha.6", - "@storybook/polymer": "^3.4.0-alpha.6", - "@storybook/react": "^3.4.0-alpha.6", - "@storybook/react-native": "^3.4.0-alpha.6", - "@storybook/ui": "^3.4.0-alpha.6", - "@storybook/vue": "^3.4.0-alpha.6", + "@storybook/addon-actions": "^3.4.0-alpha.7", + "@storybook/addon-centered": "^3.4.0-alpha.7", + "@storybook/addon-graphql": "^3.4.0-alpha.7", + "@storybook/addon-info": "^3.4.0-alpha.7", + "@storybook/addon-knobs": "^3.4.0-alpha.7", + "@storybook/addon-links": "^3.4.0-alpha.7", + "@storybook/addon-notes": "^3.4.0-alpha.7", + "@storybook/addon-options": "^3.4.0-alpha.7", + "@storybook/addon-storyshots": "^3.4.0-alpha.7", + "@storybook/addons": "^3.4.0-alpha.7", + "@storybook/angular": "^3.4.0-alpha.7", + "@storybook/channel-postmessage": "^3.4.0-alpha.7", + "@storybook/channel-websocket": "^3.4.0-alpha.7", + "@storybook/channels": "^3.4.0-alpha.7", + "@storybook/polymer": "^3.4.0-alpha.7", + "@storybook/react": "^3.4.0-alpha.7", + "@storybook/react-native": "^3.4.0-alpha.7", + "@storybook/ui": "^3.4.0-alpha.7", + "@storybook/vue": "^3.4.0-alpha.7", "check-node-version": "2.1.0", "npx": "9.7.1" } diff --git a/lib/client-logger/package.json b/lib/client-logger/package.json index b1982cf2cd51..69b6e6ef2efd 100644 --- a/lib/client-logger/package.json +++ b/lib/client-logger/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/client-logger", - "version": "3.4.0-alpha.6", + "version": "3.4.0-alpha.7", "description": "", "license": "MIT", "main": "dist/index.js", diff --git a/lib/codemod/package.json b/lib/codemod/package.json index 13a96b096f2d..8030ecd29f3e 100644 --- a/lib/codemod/package.json +++ b/lib/codemod/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/codemod", - "version": "3.4.0-alpha.6", + "version": "3.4.0-alpha.7", "description": "A collection of codemod scripts written with JSCodeshift", "license": "MIT", "main": "dist/index.js", diff --git a/lib/components/package.json b/lib/components/package.json index 386502c6195d..35a13a181342 100644 --- a/lib/components/package.json +++ b/lib/components/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/components", - "version": "3.4.0-alpha.6", + "version": "3.4.0-alpha.7", "description": "Core Storybook Components", "license": "MIT", "main": "dist/index.js", @@ -24,8 +24,8 @@ "react-dom": "*" }, "devDependencies": { - "@storybook/addon-actions": "^3.4.0-alpha.6", - "@storybook/addon-knobs": "^3.4.0-alpha.6", - "@storybook/react": "^3.4.0-alpha.6" + "@storybook/addon-actions": "^3.4.0-alpha.7", + "@storybook/addon-knobs": "^3.4.0-alpha.7", + "@storybook/react": "^3.4.0-alpha.7" } } diff --git a/lib/core/package.json b/lib/core/package.json index 14c10ce729fa..9594f2d47fe5 100644 --- a/lib/core/package.json +++ b/lib/core/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/core", - "version": "3.4.0-alpha.6", + "version": "3.4.0-alpha.7", "description": "Storybook framework-agnostic API", "homepage": "https://github.com/storybooks/storybook/tree/master/lib/core", "bugs": { @@ -17,10 +17,10 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "^3.4.0-alpha.6", - "@storybook/channel-postmessage": "^3.4.0-alpha.6", - "@storybook/client-logger": "^3.4.0-alpha.6", - "@storybook/ui": "^3.4.0-alpha.6", + "@storybook/addons": "^3.4.0-alpha.7", + "@storybook/channel-postmessage": "^3.4.0-alpha.7", + "@storybook/client-logger": "^3.4.0-alpha.7", + "@storybook/ui": "^3.4.0-alpha.7", "autoprefixer": "^7.2.5", "babel-runtime": "^6.26.0", "css-loader": "^0.28.9", diff --git a/lib/node-logger/package.json b/lib/node-logger/package.json index 987722815c2f..66578d8c1f9b 100644 --- a/lib/node-logger/package.json +++ b/lib/node-logger/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/node-logger", - "version": "3.4.0-alpha.6", + "version": "3.4.0-alpha.7", "description": "", "license": "MIT", "main": "dist/index.js", diff --git a/lib/ui/package.json b/lib/ui/package.json index 7673bd209802..355cec6f634e 100644 --- a/lib/ui/package.json +++ b/lib/ui/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/ui", - "version": "3.4.0-alpha.6", + "version": "3.4.0-alpha.7", "description": "Core Storybook UI", "license": "MIT", "main": "dist/index.js", @@ -15,7 +15,7 @@ "storybook": "start-storybook -p 9010" }, "dependencies": { - "@storybook/components": "^3.4.0-alpha.6", + "@storybook/components": "^3.4.0-alpha.7", "@storybook/mantra-core": "^1.7.2", "@storybook/react-komposer": "^2.0.3", "babel-runtime": "^6.26.0", @@ -44,7 +44,7 @@ "react-dom": "*" }, "devDependencies": { - "@storybook/addon-actions": "^3.4.0-alpha.6", - "@storybook/react": "^3.4.0-alpha.6" + "@storybook/addon-actions": "^3.4.0-alpha.7", + "@storybook/react": "^3.4.0-alpha.7" } } From b0d5632d76f8c9ad9394e1084d1d46c7ca3e822c Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Sat, 3 Feb 2018 11:58:37 +0900 Subject: [PATCH 42/57] 3.4.0-alpha.7 snapshots --- lib/cli/test/snapshots/angular-cli/package.json | 10 +++++----- lib/cli/test/snapshots/meteor/package.json | 8 ++++---- lib/cli/test/snapshots/polymer/package.json | 2 +- lib/cli/test/snapshots/react/package.json | 8 ++++---- lib/cli/test/snapshots/react_native/package.json | 8 ++++---- .../test/snapshots/react_native_scripts/package.json | 8 ++++---- lib/cli/test/snapshots/react_project/package.json | 8 ++++---- lib/cli/test/snapshots/react_scripts/package.json | 8 ++++---- lib/cli/test/snapshots/sfc_vue/package.json | 8 ++++---- .../update_package_organisations/package.json | 4 ++-- lib/cli/test/snapshots/vue/package.json | 8 ++++---- lib/cli/test/snapshots/webpack_react/package.json | 8 ++++---- 12 files changed, 44 insertions(+), 44 deletions(-) diff --git a/lib/cli/test/snapshots/angular-cli/package.json b/lib/cli/test/snapshots/angular-cli/package.json index 3e2b85377c55..dccd08df50eb 100644 --- a/lib/cli/test/snapshots/angular-cli/package.json +++ b/lib/cli/test/snapshots/angular-cli/package.json @@ -44,11 +44,11 @@ "ts-node": "1.2.1", "tslint": "^4.3.0", "typescript": "~2.4.0", - "@storybook/angular": "^3.4.0-alpha.6", - "@storybook/addon-notes": "^3.4.0-alpha.6", - "@storybook/addon-actions": "^3.4.0-alpha.6", - "@storybook/addon-links": "^3.4.0-alpha.6", - "@storybook/addons": "^3.4.0-alpha.6", + "@storybook/angular": "^3.4.0-alpha.7", + "@storybook/addon-notes": "^3.4.0-alpha.7", + "@storybook/addon-actions": "^3.4.0-alpha.7", + "@storybook/addon-links": "^3.4.0-alpha.7", + "@storybook/addons": "^3.4.0-alpha.7", "babel-core": "^6.26.0" } } diff --git a/lib/cli/test/snapshots/meteor/package.json b/lib/cli/test/snapshots/meteor/package.json index b6c3d6c110ff..fe4146593f20 100644 --- a/lib/cli/test/snapshots/meteor/package.json +++ b/lib/cli/test/snapshots/meteor/package.json @@ -19,9 +19,9 @@ "babel-preset-react": "^6.24.1", "babel-preset-stage-1": "^6.24.1", "babel-root-slash-import": "^1.1.0", - "@storybook/react": "^3.4.0-alpha.6", - "@storybook/addon-actions": "^3.4.0-alpha.6", - "@storybook/addon-links": "^3.4.0-alpha.6", - "@storybook/addons": "^3.4.0-alpha.6" + "@storybook/react": "^3.4.0-alpha.7", + "@storybook/addon-actions": "^3.4.0-alpha.7", + "@storybook/addon-links": "^3.4.0-alpha.7", + "@storybook/addons": "^3.4.0-alpha.7" } } diff --git a/lib/cli/test/snapshots/polymer/package.json b/lib/cli/test/snapshots/polymer/package.json index 7649eebafa2b..9e7f426d370d 100644 --- a/lib/cli/test/snapshots/polymer/package.json +++ b/lib/cli/test/snapshots/polymer/package.json @@ -12,6 +12,6 @@ "@polymer/polymer": "^2.2.0" }, "devDependencies": { - "@storybook/polymer": "^3.4.0-alpha.6" + "@storybook/polymer": "^3.4.0-alpha.7" } } diff --git a/lib/cli/test/snapshots/react/package.json b/lib/cli/test/snapshots/react/package.json index c8e79f4d9735..6726871d1f8b 100644 --- a/lib/cli/test/snapshots/react/package.json +++ b/lib/cli/test/snapshots/react/package.json @@ -20,10 +20,10 @@ "rollup-plugin-commonjs": "^8.2.0", "rollup-plugin-node-resolve": "^3.0.0", "rollup-plugin-replace": "^1.1.1", - "@storybook/react": "^3.4.0-alpha.6", - "@storybook/addon-actions": "^3.4.0-alpha.6", - "@storybook/addon-links": "^3.4.0-alpha.6", - "@storybook/addons": "^3.4.0-alpha.6", + "@storybook/react": "^3.4.0-alpha.7", + "@storybook/addon-actions": "^3.4.0-alpha.7", + "@storybook/addon-links": "^3.4.0-alpha.7", + "@storybook/addons": "^3.4.0-alpha.7", "babel-core": "^6.26.0" } } diff --git a/lib/cli/test/snapshots/react_native/package.json b/lib/cli/test/snapshots/react_native/package.json index dcf0dc4c3a5f..621bce9902a6 100644 --- a/lib/cli/test/snapshots/react_native/package.json +++ b/lib/cli/test/snapshots/react_native/package.json @@ -16,10 +16,10 @@ "babel-preset-react-native": "3.0.1", "jest": "20.0.4", "react-test-renderer": "16.0.0-alpha.12", - "@storybook/react-native": "^3.4.0-alpha.6", - "@storybook/addon-actions": "^3.4.0-alpha.6", - "@storybook/addon-links": "^3.4.0-alpha.6", - "@storybook/addons": "^3.4.0-alpha.6", + "@storybook/react-native": "^3.4.0-alpha.7", + "@storybook/addon-actions": "^3.4.0-alpha.7", + "@storybook/addon-links": "^3.4.0-alpha.7", + "@storybook/addons": "^3.4.0-alpha.7", "babel-core": "^6.26.0", "react-dom": "16.0.0-alpha.12", "prop-types": "^15.6.0" diff --git a/lib/cli/test/snapshots/react_native_scripts/package.json b/lib/cli/test/snapshots/react_native_scripts/package.json index 8d75b0c50aa0..d5989ccb94ae 100644 --- a/lib/cli/test/snapshots/react_native_scripts/package.json +++ b/lib/cli/test/snapshots/react_native_scripts/package.json @@ -6,10 +6,10 @@ "react-native-scripts": "1.3.1", "jest-expo": "~20.0.0", "react-test-renderer": "16.0.0-alpha.12", - "@storybook/react-native": "^3.4.0-alpha.6", - "@storybook/addon-actions": "^3.4.0-alpha.6", - "@storybook/addon-links": "^3.4.0-alpha.6", - "@storybook/addons": "^3.4.0-alpha.6", + "@storybook/react-native": "^3.4.0-alpha.7", + "@storybook/addon-actions": "^3.4.0-alpha.7", + "@storybook/addon-links": "^3.4.0-alpha.7", + "@storybook/addons": "^3.4.0-alpha.7", "babel-core": "^6.26.0", "react-dom": "16.0.0-alpha.12", "prop-types": "^15.6.0" diff --git a/lib/cli/test/snapshots/react_project/package.json b/lib/cli/test/snapshots/react_project/package.json index 9acbdcb675e7..f3e74d032be6 100644 --- a/lib/cli/test/snapshots/react_project/package.json +++ b/lib/cli/test/snapshots/react_project/package.json @@ -13,10 +13,10 @@ "babel-preset-react": "^6.24.1", "react": "^15.6.1", "react-dom": "^15.6.1", - "@storybook/react": "^3.4.0-alpha.6", - "@storybook/addon-actions": "^3.4.0-alpha.6", - "@storybook/addon-links": "^3.4.0-alpha.6", - "@storybook/addons": "^3.4.0-alpha.6", + "@storybook/react": "^3.4.0-alpha.7", + "@storybook/addon-actions": "^3.4.0-alpha.7", + "@storybook/addon-links": "^3.4.0-alpha.7", + "@storybook/addons": "^3.4.0-alpha.7", "babel-core": "^6.26.0" }, "peerDependencies": { diff --git a/lib/cli/test/snapshots/react_scripts/package.json b/lib/cli/test/snapshots/react_scripts/package.json index 281cb09f5b5f..0c8064788580 100644 --- a/lib/cli/test/snapshots/react_scripts/package.json +++ b/lib/cli/test/snapshots/react_scripts/package.json @@ -16,10 +16,10 @@ "build-storybook": "build-storybook -s public" }, "devDependencies": { - "@storybook/react": "^3.4.0-alpha.6", - "@storybook/addon-actions": "^3.4.0-alpha.6", - "@storybook/addon-links": "^3.4.0-alpha.6", - "@storybook/addons": "^3.4.0-alpha.6", + "@storybook/react": "^3.4.0-alpha.7", + "@storybook/addon-actions": "^3.4.0-alpha.7", + "@storybook/addon-links": "^3.4.0-alpha.7", + "@storybook/addons": "^3.4.0-alpha.7", "babel-core": "^6.26.0" } } diff --git a/lib/cli/test/snapshots/sfc_vue/package.json b/lib/cli/test/snapshots/sfc_vue/package.json index 234aa75a1b05..a8627e17c0a7 100644 --- a/lib/cli/test/snapshots/sfc_vue/package.json +++ b/lib/cli/test/snapshots/sfc_vue/package.json @@ -49,10 +49,10 @@ "webpack-dev-middleware": "^1.10.0", "webpack-hot-middleware": "^2.18.0", "webpack-merge": "^4.1.0", - "@storybook/vue": "^3.4.0-alpha.6", - "@storybook/addon-actions": "^3.4.0-alpha.6", - "@storybook/addon-links": "^3.4.0-alpha.6", - "@storybook/addons": "^3.4.0-alpha.6", + "@storybook/vue": "^3.4.0-alpha.7", + "@storybook/addon-actions": "^3.4.0-alpha.7", + "@storybook/addon-links": "^3.4.0-alpha.7", + "@storybook/addons": "^3.4.0-alpha.7", "babel-preset-vue": "^2.0.1" }, "engines": { diff --git a/lib/cli/test/snapshots/update_package_organisations/package.json b/lib/cli/test/snapshots/update_package_organisations/package.json index cc0c321cf8d9..4b82e3f5a909 100644 --- a/lib/cli/test/snapshots/update_package_organisations/package.json +++ b/lib/cli/test/snapshots/update_package_organisations/package.json @@ -8,8 +8,8 @@ "react-scripts": "0.9.x" }, "devDependencies": { - "@storybook/react": "^3.4.0-alpha.6", - "@storybook/addons": "^3.4.0-alpha.6", + "@storybook/react": "^3.4.0-alpha.7", + "@storybook/addons": "^3.4.0-alpha.7", "babel-core": "^6.26.0" }, "scripts": { diff --git a/lib/cli/test/snapshots/vue/package.json b/lib/cli/test/snapshots/vue/package.json index 9a24e0bf0bb4..029d3c0c5ace 100644 --- a/lib/cli/test/snapshots/vue/package.json +++ b/lib/cli/test/snapshots/vue/package.json @@ -34,10 +34,10 @@ "rollup-plugin-serve": "^0.4.0", "rollup-plugin-vue": "^2.4.0", "rollup-watch": "^4.0.0", - "@storybook/vue": "^3.4.0-alpha.6", - "@storybook/addon-actions": "^3.4.0-alpha.6", - "@storybook/addon-links": "^3.4.0-alpha.6", - "@storybook/addons": "^3.4.0-alpha.6", + "@storybook/vue": "^3.4.0-alpha.7", + "@storybook/addon-actions": "^3.4.0-alpha.7", + "@storybook/addon-links": "^3.4.0-alpha.7", + "@storybook/addons": "^3.4.0-alpha.7", "babel-preset-vue": "^2.0.1" } } diff --git a/lib/cli/test/snapshots/webpack_react/package.json b/lib/cli/test/snapshots/webpack_react/package.json index ddcbe7b73258..d930246672d6 100644 --- a/lib/cli/test/snapshots/webpack_react/package.json +++ b/lib/cli/test/snapshots/webpack_react/package.json @@ -17,9 +17,9 @@ "babel-loader": "^7.1.2", "babel-preset-react": "^6.24.1", "webpack": "^3.5.5", - "@storybook/react": "^3.4.0-alpha.6", - "@storybook/addon-actions": "^3.4.0-alpha.6", - "@storybook/addon-links": "^3.4.0-alpha.6", - "@storybook/addons": "^3.4.0-alpha.6" + "@storybook/react": "^3.4.0-alpha.7", + "@storybook/addon-actions": "^3.4.0-alpha.7", + "@storybook/addon-links": "^3.4.0-alpha.7", + "@storybook/addons": "^3.4.0-alpha.7" } } From 9708ae41bed6e68762bbfef406596c9d5f3704ed Mon Sep 17 00:00:00 2001 From: Guy Livni Date: Sat, 3 Feb 2018 14:40:56 +0200 Subject: [PATCH 43/57] Add getPropTypes function for value/elements check, check all type components for value or elements --- addons/info/src/components/types/ArrayOf.js | 4 ++-- addons/info/src/components/types/Enum.js | 10 ++++++++-- addons/info/src/components/types/InstanceOf.js | 4 ++-- addons/info/src/components/types/ObjectOf.js | 4 ++-- addons/info/src/components/types/OneOf.js | 10 ++++++++-- addons/info/src/components/types/OneOfType.js | 4 ++-- addons/info/src/components/types/Shape.js | 9 +++++---- addons/info/src/components/types/proptypes.js | 2 ++ 8 files changed, 31 insertions(+), 16 deletions(-) diff --git a/addons/info/src/components/types/ArrayOf.js b/addons/info/src/components/types/ArrayOf.js index ce78fc6fb65f..81834331cedb 100644 --- a/addons/info/src/components/types/ArrayOf.js +++ b/addons/info/src/components/types/ArrayOf.js @@ -1,13 +1,13 @@ import React from 'react'; import PrettyPropType from './PrettyPropType'; -import { TypeInfo } from './proptypes'; +import { TypeInfo, getPropTypes } from './proptypes'; const ArrayOf = ({ propType }) => ( [ - + ] diff --git a/addons/info/src/components/types/Enum.js b/addons/info/src/components/types/Enum.js index 83b017eed92e..2de8d4830a87 100644 --- a/addons/info/src/components/types/Enum.js +++ b/addons/info/src/components/types/Enum.js @@ -1,7 +1,13 @@ import React from 'react'; -import { TypeInfo } from './proptypes'; +import { TypeInfo, getPropTypes } from './proptypes'; -const Enum = ({ propType }) => {propType.value.map(({ value }) => value).join(' | ')}; +const Enum = ({ propType }) => ( + + {getPropTypes(propType) + .map(({ value }) => value) + .join(' | ')} + +); Enum.propTypes = { propType: TypeInfo.isRequired, diff --git a/addons/info/src/components/types/InstanceOf.js b/addons/info/src/components/types/InstanceOf.js index 94577c950954..786c77fdd399 100644 --- a/addons/info/src/components/types/InstanceOf.js +++ b/addons/info/src/components/types/InstanceOf.js @@ -1,7 +1,7 @@ import React from 'react'; -import { TypeInfo } from './proptypes'; +import { TypeInfo, getPropTypes } from './proptypes'; -const InstanceOf = ({ propType }) => {propType.value}; +const InstanceOf = ({ propType }) => {getPropTypes(propType)}; InstanceOf.propTypes = { propType: TypeInfo.isRequired, diff --git a/addons/info/src/components/types/ObjectOf.js b/addons/info/src/components/types/ObjectOf.js index c9604d299017..e27908d814a2 100644 --- a/addons/info/src/components/types/ObjectOf.js +++ b/addons/info/src/components/types/ObjectOf.js @@ -1,12 +1,12 @@ import React from 'react'; import PrettyPropType from './PrettyPropType'; -import { TypeInfo } from './proptypes'; +import { TypeInfo, getPropTypes } from './proptypes'; const ObjectOf = ({ propType }) => ( {'{[]: '} - + {'}'} ); diff --git a/addons/info/src/components/types/OneOf.js b/addons/info/src/components/types/OneOf.js index a771772d8e1f..b10f27b89794 100644 --- a/addons/info/src/components/types/OneOf.js +++ b/addons/info/src/components/types/OneOf.js @@ -1,7 +1,13 @@ import React from 'react'; -import { TypeInfo } from './proptypes'; +import { TypeInfo, getPropTypes } from './proptypes'; -const OneOf = ({ propType }) => {propType.value.map(({ value }) => value).join(' | ')}; +const OneOf = ({ propType }) => ( + + {getPropTypes(propType) + .map(({ value }) => value) + .join(' | ')} + +); OneOf.propTypes = { propType: TypeInfo.isRequired, diff --git a/addons/info/src/components/types/OneOfType.js b/addons/info/src/components/types/OneOfType.js index 4592d511ed62..8b04c5fb4849 100644 --- a/addons/info/src/components/types/OneOfType.js +++ b/addons/info/src/components/types/OneOfType.js @@ -1,10 +1,10 @@ import React from 'react'; import PrettyPropType from './PrettyPropType'; -import { TypeInfo } from './proptypes'; +import { TypeInfo, getPropTypes } from './proptypes'; const OneOfType = ({ propType }) => { - const propTypes = propType.elements || propType.value; + const propTypes = getPropTypes(propType); return ( {propTypes diff --git a/addons/info/src/components/types/Shape.js b/addons/info/src/components/types/Shape.js index fc366b935a79..3349c96a1478 100644 --- a/addons/info/src/components/types/Shape.js +++ b/addons/info/src/components/types/Shape.js @@ -5,7 +5,7 @@ import { HighlightButton } from '@storybook/components'; import PrettyPropType from './PrettyPropType'; import PropertyLabel from './PropertyLabel'; -import { TypeInfo } from './proptypes'; +import { TypeInfo, getPropTypes } from './proptypes'; const MARGIN_SIZE = 15; @@ -33,6 +33,7 @@ class Shape extends React.Component { render() { const { propType, depth } = this.props; + const propTypes = getPropTypes(propType); return ( ... {!this.state.minimized && - Object.keys(propType.value).map(childProperty => ( + Object.keys(propTypes).map(childProperty => (
- + ,
))} diff --git a/addons/info/src/components/types/proptypes.js b/addons/info/src/components/types/proptypes.js index 03b101ae76b5..5aee013bed17 100644 --- a/addons/info/src/components/types/proptypes.js +++ b/addons/info/src/components/types/proptypes.js @@ -7,3 +7,5 @@ export const TypeInfo = oneOfType([ }), PropTypes.string, ]); + +export const getPropTypes = propType => propType.value || propType.elements; From 4ccfb90a8e00234d53ab127c4720371d5967bb17 Mon Sep 17 00:00:00 2001 From: "Dependencies.io Bot" Date: Sat, 3 Feb 2018 16:33:08 +0000 Subject: [PATCH 44/57] Update @storybook/addon-actions from 3.3.11 to 3.3.12 --- docs/package.json | 2 +- docs/yarn.lock | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/docs/package.json b/docs/package.json index cb07205250d7..5ec7d6756fe8 100644 --- a/docs/package.json +++ b/docs/package.json @@ -18,7 +18,7 @@ "storybook": "start-storybook -p 9009 -s src/pages" }, "dependencies": { - "@storybook/addon-actions": "^3.3.11", + "@storybook/addon-actions": "^3.3.12", "@storybook/addon-links": "^3.3.11", "@storybook/addons": "^3.3.11", "@storybook/react": "^3.3.11", diff --git a/docs/yarn.lock b/docs/yarn.lock index b11501d74de4..70e49b116b6b 100644 --- a/docs/yarn.lock +++ b/docs/yarn.lock @@ -13,6 +13,17 @@ react-inspector "^2.2.2" uuid "^3.1.0" +"@storybook/addon-actions@^3.3.12": + version "3.3.12" + resolved "https://registry.yarnpkg.com/@storybook/addon-actions/-/addon-actions-3.3.12.tgz#1bd2668918a62f32c0907af14946cdd0c6be66f5" + dependencies: + deep-equal "^1.0.1" + global "^4.3.2" + make-error "^1.3.2" + prop-types "^15.6.0" + react-inspector "^2.2.2" + uuid "^3.1.0" + "@storybook/addon-links@^3.3.11": version "3.3.11" resolved "https://registry.yarnpkg.com/@storybook/addon-links/-/addon-links-3.3.11.tgz#7bc57baddd1502153ee94cf11fcb88d49131b211" From 1f680baf03038dd5b21d28b43533981c5847067d Mon Sep 17 00:00:00 2001 From: "Dependencies.io Bot" Date: Sat, 3 Feb 2018 16:34:56 +0000 Subject: [PATCH 45/57] Update @storybook/addon-links from 3.3.11 to 3.3.12 --- docs/package.json | 2 +- docs/yarn.lock | 16 ++++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/docs/package.json b/docs/package.json index 5ec7d6756fe8..65812e6f939a 100644 --- a/docs/package.json +++ b/docs/package.json @@ -19,7 +19,7 @@ }, "dependencies": { "@storybook/addon-actions": "^3.3.12", - "@storybook/addon-links": "^3.3.11", + "@storybook/addon-links": "^3.3.12", "@storybook/addons": "^3.3.11", "@storybook/react": "^3.3.11", "babel-cli": "^6.26.0", diff --git a/docs/yarn.lock b/docs/yarn.lock index 70e49b116b6b..9423272b126f 100644 --- a/docs/yarn.lock +++ b/docs/yarn.lock @@ -32,6 +32,14 @@ global "^4.3.2" prop-types "^15.5.10" +"@storybook/addon-links@^3.3.12": + version "3.3.12" + resolved "https://registry.yarnpkg.com/@storybook/addon-links/-/addon-links-3.3.12.tgz#e1bb6e207506a45bea9e5f64cd78c045327412b7" + dependencies: + "@storybook/components" "^3.3.12" + global "^4.3.2" + prop-types "^15.5.10" + "@storybook/addons@^3.3.11": version "3.3.11" resolved "https://registry.yarnpkg.com/@storybook/addons/-/addons-3.3.11.tgz#7f85136d6da785160658aee512fd3cac99780f42" @@ -60,6 +68,14 @@ glamorous "^4.11.2" prop-types "^15.6.0" +"@storybook/components@^3.3.12": + version "3.3.12" + resolved "https://registry.yarnpkg.com/@storybook/components/-/components-3.3.12.tgz#e2571ca7150488f4ac3fa1cd1f70fa91ce38da8b" + dependencies: + glamor "^2.20.40" + glamorous "^4.11.2" + prop-types "^15.6.0" + "@storybook/mantra-core@^1.7.2": version "1.7.2" resolved "https://registry.yarnpkg.com/@storybook/mantra-core/-/mantra-core-1.7.2.tgz#e10c7faca29769e97131e0e0308ef7cfb655b70c" From 48bbb897a02f0a33310724ba9d6574ae05046630 Mon Sep 17 00:00:00 2001 From: "Dependencies.io Bot" Date: Sat, 3 Feb 2018 16:36:09 +0000 Subject: [PATCH 46/57] Update eslint from 4.16.0 to 4.17.0 in / --- package.json | 2 +- yarn.lock | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 519eccac0424..7afacb24d75f 100644 --- a/package.json +++ b/package.json @@ -61,7 +61,7 @@ "danger": "^2.1.10", "enzyme": "^3.3.0", "enzyme-adapter-react-16": "^1.1.1", - "eslint": "^4.16.0", + "eslint": "^4.17.0", "eslint-config-airbnb": "^16.1.0", "eslint-config-prettier": "^2.9.0", "eslint-plugin-import": "^2.8.0", diff --git a/yarn.lock b/yarn.lock index 65161048f3c0..ad57b57b6d83 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5032,9 +5032,9 @@ eslint@^3.16.1: text-table "~0.2.0" user-home "^2.0.0" -eslint@^4.16.0: - version "4.16.0" - resolved "https://registry.yarnpkg.com/eslint/-/eslint-4.16.0.tgz#934ada9e98715e1d7bbfd6f6f0519ed2fab35cc1" +eslint@^4.17.0: + version "4.17.0" + resolved "https://registry.yarnpkg.com/eslint/-/eslint-4.17.0.tgz#dc24bb51ede48df629be7031c71d9dc0ee4f3ddf" dependencies: ajv "^5.3.0" babel-code-frame "^6.22.0" From 2a5a2c6fd66e02c4abd4baf0f407c34f284fa2ac Mon Sep 17 00:00:00 2001 From: "Dependencies.io Bot" Date: Sat, 3 Feb 2018 16:36:44 +0000 Subject: [PATCH 47/57] Update @storybook/addons from 3.3.11 to 3.3.12 --- docs/package.json | 2 +- docs/yarn.lock | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/package.json b/docs/package.json index 65812e6f939a..af343bdb2a46 100644 --- a/docs/package.json +++ b/docs/package.json @@ -20,7 +20,7 @@ "dependencies": { "@storybook/addon-actions": "^3.3.12", "@storybook/addon-links": "^3.3.12", - "@storybook/addons": "^3.3.11", + "@storybook/addons": "^3.3.12", "@storybook/react": "^3.3.11", "babel-cli": "^6.26.0", "babel-core": "^6.26.0", diff --git a/docs/yarn.lock b/docs/yarn.lock index 9423272b126f..50483a7e1fb4 100644 --- a/docs/yarn.lock +++ b/docs/yarn.lock @@ -44,6 +44,10 @@ version "3.3.11" resolved "https://registry.yarnpkg.com/@storybook/addons/-/addons-3.3.11.tgz#7f85136d6da785160658aee512fd3cac99780f42" +"@storybook/addons@^3.3.12": + version "3.3.12" + resolved "https://registry.yarnpkg.com/@storybook/addons/-/addons-3.3.12.tgz#682927b5ac4baad796922eec505a7e956a3f79d9" + "@storybook/channel-postmessage@^3.3.11": version "3.3.11" resolved "https://registry.yarnpkg.com/@storybook/channel-postmessage/-/channel-postmessage-3.3.11.tgz#a379f96f7819ba3752bb471ebf90ad07c3fc28ea" From c377cd466b5d2879fa49551aa0687c3b4e245e8d Mon Sep 17 00:00:00 2001 From: "Dependencies.io Bot" Date: Sat, 3 Feb 2018 16:38:19 +0000 Subject: [PATCH 48/57] Update ts-jest from 22.0.1 to 22.0.3 in / --- package.json | 2 +- yarn.lock | 38 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 7afacb24d75f..26d90ce0f5e6 100644 --- a/package.json +++ b/package.json @@ -103,7 +103,7 @@ "remark-preset-lint-recommended": "^3.0.1", "shelljs": "^0.8.1", "symlink-dir": "^1.1.1", - "ts-jest": "^22.0.0", + "ts-jest": "^22.0.3", "tslint": "~5.9.1", "tslint-config-prettier": "^1.7.0", "tslint-plugin-prettier": "^1.3.0", diff --git a/yarn.lock b/yarn.lock index ad57b57b6d83..bcb9ca144808 100644 --- a/yarn.lock +++ b/yarn.lock @@ -14620,6 +14620,21 @@ ts-jest@^22.0.0: source-map-support "^0.5.0" yargs "^10.0.3" +ts-jest@^22.0.3: + version "22.0.3" + resolved "https://registry.yarnpkg.com/ts-jest/-/ts-jest-22.0.3.tgz#4d30f42c1b26a78d438ad908f9b0bcb4b1e6e32b" + dependencies: + babel-core "^6.24.1" + babel-plugin-istanbul "^4.1.4" + babel-plugin-transform-es2015-modules-commonjs "^6.24.1" + babel-preset-jest "^22.0.1" + cpx "^1.5.0" + fs-extra "4.0.3" + jest-config "^22.0.1" + pkg-dir "^2.0.0" + source-map-support "^0.5.0" + yargs "^11.0.0" + ts-loader@^2.2.2: version "2.3.7" resolved "https://registry.yarnpkg.com/ts-loader/-/ts-loader-2.3.7.tgz#a9028ced473bee12f28a75f9c5b139979d33f2fc" @@ -16035,6 +16050,12 @@ yargs-parser@^8.1.0: dependencies: camelcase "^4.1.0" +yargs-parser@^9.0.2: + version "9.0.2" + resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-9.0.2.tgz#9ccf6a43460fe4ed40a9bb68f48d43b8a68cc077" + dependencies: + camelcase "^4.1.0" + yargs@3.29.0: version "3.29.0" resolved "https://registry.yarnpkg.com/yargs/-/yargs-3.29.0.tgz#1aab9660eae79d8b8f675bcaeeab6ee34c2cf69c" @@ -16081,6 +16102,23 @@ yargs@^10.0.3: y18n "^3.2.1" yargs-parser "^8.1.0" +yargs@^11.0.0: + version "11.0.0" + resolved "https://registry.yarnpkg.com/yargs/-/yargs-11.0.0.tgz#c052931006c5eee74610e5fc0354bedfd08a201b" + dependencies: + cliui "^4.0.0" + decamelize "^1.1.1" + find-up "^2.1.0" + get-caller-file "^1.0.1" + os-locale "^2.0.0" + require-directory "^2.1.1" + require-main-filename "^1.0.1" + set-blocking "^2.0.0" + string-width "^2.0.0" + which-module "^2.0.0" + y18n "^3.2.1" + yargs-parser "^9.0.2" + yargs@^4.8.0: version "4.8.1" resolved "https://registry.yarnpkg.com/yargs/-/yargs-4.8.1.tgz#c0c42924ca4aaa6b0e6da1739dfb216439f9ddc0" From a0542c06467ef4ae1f77a95d70c19fdcbbc06641 Mon Sep 17 00:00:00 2001 From: "Dependencies.io Bot" Date: Sat, 3 Feb 2018 16:38:22 +0000 Subject: [PATCH 49/57] Update @storybook/react from 3.3.11 to 3.3.12 --- docs/package.json | 2 +- docs/yarn.lock | 87 +++++++++++++++-------------------------------- 2 files changed, 29 insertions(+), 60 deletions(-) diff --git a/docs/package.json b/docs/package.json index af343bdb2a46..80d817a0d419 100644 --- a/docs/package.json +++ b/docs/package.json @@ -21,7 +21,7 @@ "@storybook/addon-actions": "^3.3.12", "@storybook/addon-links": "^3.3.12", "@storybook/addons": "^3.3.12", - "@storybook/react": "^3.3.11", + "@storybook/react": "^3.3.12", "babel-cli": "^6.26.0", "babel-core": "^6.26.0", "babel-loader": "^6.4.1", diff --git a/docs/yarn.lock b/docs/yarn.lock index 50483a7e1fb4..6c9c3f004abe 100644 --- a/docs/yarn.lock +++ b/docs/yarn.lock @@ -2,17 +2,6 @@ # yarn lockfile v1 -"@storybook/addon-actions@^3.3.11": - version "3.3.11" - resolved "https://registry.yarnpkg.com/@storybook/addon-actions/-/addon-actions-3.3.11.tgz#158a64f01c97fcf6922e7a370c6519d216544bcd" - dependencies: - deep-equal "^1.0.1" - global "^4.3.2" - make-error "^1.3.2" - prop-types "^15.6.0" - react-inspector "^2.2.2" - uuid "^3.1.0" - "@storybook/addon-actions@^3.3.12": version "3.3.12" resolved "https://registry.yarnpkg.com/@storybook/addon-actions/-/addon-actions-3.3.12.tgz#1bd2668918a62f32c0907af14946cdd0c6be66f5" @@ -24,14 +13,6 @@ react-inspector "^2.2.2" uuid "^3.1.0" -"@storybook/addon-links@^3.3.11": - version "3.3.11" - resolved "https://registry.yarnpkg.com/@storybook/addon-links/-/addon-links-3.3.11.tgz#7bc57baddd1502153ee94cf11fcb88d49131b211" - dependencies: - "@storybook/components" "^3.3.11" - global "^4.3.2" - prop-types "^15.5.10" - "@storybook/addon-links@^3.3.12": version "3.3.12" resolved "https://registry.yarnpkg.com/@storybook/addon-links/-/addon-links-3.3.12.tgz#e1bb6e207506a45bea9e5f64cd78c045327412b7" @@ -40,37 +21,25 @@ global "^4.3.2" prop-types "^15.5.10" -"@storybook/addons@^3.3.11": - version "3.3.11" - resolved "https://registry.yarnpkg.com/@storybook/addons/-/addons-3.3.11.tgz#7f85136d6da785160658aee512fd3cac99780f42" - "@storybook/addons@^3.3.12": version "3.3.12" resolved "https://registry.yarnpkg.com/@storybook/addons/-/addons-3.3.12.tgz#682927b5ac4baad796922eec505a7e956a3f79d9" -"@storybook/channel-postmessage@^3.3.11": - version "3.3.11" - resolved "https://registry.yarnpkg.com/@storybook/channel-postmessage/-/channel-postmessage-3.3.11.tgz#a379f96f7819ba3752bb471ebf90ad07c3fc28ea" +"@storybook/channel-postmessage@^3.3.12": + version "3.3.12" + resolved "https://registry.yarnpkg.com/@storybook/channel-postmessage/-/channel-postmessage-3.3.12.tgz#a4e7ac32ff84d2cc41bf3a5f30608ce5f82bcf82" dependencies: - "@storybook/channels" "^3.3.11" + "@storybook/channels" "^3.3.12" global "^4.3.2" json-stringify-safe "^5.0.1" -"@storybook/channels@^3.3.11": - version "3.3.11" - resolved "https://registry.yarnpkg.com/@storybook/channels/-/channels-3.3.11.tgz#569f1c7c364aeb076df78eb829c58f9c9f0a3936" - -"@storybook/client-logger@^3.3.11": - version "3.3.11" - resolved "https://registry.yarnpkg.com/@storybook/client-logger/-/client-logger-3.3.11.tgz#35c851dbed2067201189847c7aa92f8d567a4d61" +"@storybook/channels@^3.3.12": + version "3.3.12" + resolved "https://registry.yarnpkg.com/@storybook/channels/-/channels-3.3.12.tgz#aa4106888971f9e689511093b0e6f2b569973a09" -"@storybook/components@^3.3.11": - version "3.3.11" - resolved "https://registry.yarnpkg.com/@storybook/components/-/components-3.3.11.tgz#cb2a48b52e7cb45408172f4462f4730ca6970e78" - dependencies: - glamor "^2.20.40" - glamorous "^4.11.2" - prop-types "^15.6.0" +"@storybook/client-logger@^3.3.12": + version "3.3.12" + resolved "https://registry.yarnpkg.com/@storybook/client-logger/-/client-logger-3.3.12.tgz#5307eba4d63d6dc54676e14a40bc0d4be3439d92" "@storybook/components@^3.3.12": version "3.3.12" @@ -88,9 +57,9 @@ "@storybook/react-simple-di" "^1.2.1" babel-runtime "6.x.x" -"@storybook/node-logger@^3.3.11": - version "3.3.11" - resolved "https://registry.yarnpkg.com/@storybook/node-logger/-/node-logger-3.3.11.tgz#e459cbf8da75e2671a08de4f6dfe32b556b20af6" +"@storybook/node-logger@^3.3.12": + version "3.3.12" + resolved "https://registry.yarnpkg.com/@storybook/node-logger/-/node-logger-3.3.12.tgz#97251cfa46be4a0d856b394f5dbbf32d6ab2f2cd" dependencies: chalk "^2.3.0" npmlog "^4.1.2" @@ -118,17 +87,17 @@ dependencies: babel-runtime "^6.5.0" -"@storybook/react@^3.3.11": - version "3.3.11" - resolved "https://registry.yarnpkg.com/@storybook/react/-/react-3.3.11.tgz#5438d40aa095dd7b0c2f4e8e51a83fd5151df0c1" - dependencies: - "@storybook/addon-actions" "^3.3.11" - "@storybook/addon-links" "^3.3.11" - "@storybook/addons" "^3.3.11" - "@storybook/channel-postmessage" "^3.3.11" - "@storybook/client-logger" "^3.3.11" - "@storybook/node-logger" "^3.3.11" - "@storybook/ui" "^3.3.11" +"@storybook/react@^3.3.12": + version "3.3.12" + resolved "https://registry.yarnpkg.com/@storybook/react/-/react-3.3.12.tgz#f1f6587499e0aaa7b14be911a53d09a61e219ccd" + dependencies: + "@storybook/addon-actions" "^3.3.12" + "@storybook/addon-links" "^3.3.12" + "@storybook/addons" "^3.3.12" + "@storybook/channel-postmessage" "^3.3.12" + "@storybook/client-logger" "^3.3.12" + "@storybook/node-logger" "^3.3.12" + "@storybook/ui" "^3.3.12" airbnb-js-shims "^1.4.0" autoprefixer "^7.2.3" babel-loader "^7.1.2" @@ -180,11 +149,11 @@ webpack-dev-middleware "^1.12.2" webpack-hot-middleware "^2.21.0" -"@storybook/ui@^3.3.11": - version "3.3.11" - resolved "https://registry.yarnpkg.com/@storybook/ui/-/ui-3.3.11.tgz#df500b97739da484d51d6a1bcb52ce3866ad2148" +"@storybook/ui@^3.3.12": + version "3.3.12" + resolved "https://registry.yarnpkg.com/@storybook/ui/-/ui-3.3.12.tgz#b0a9cd83423c4d6cded0a0340fc4f48d5bdf3bc0" dependencies: - "@storybook/components" "^3.3.11" + "@storybook/components" "^3.3.12" "@storybook/mantra-core" "^1.7.2" "@storybook/react-komposer" "^2.0.3" babel-runtime "^6.26.0" From 3ba9dca3a47ad66c0d92866b938ec3a2cd2f5f18 Mon Sep 17 00:00:00 2001 From: "Dependencies.io Bot" Date: Sat, 3 Feb 2018 16:40:00 +0000 Subject: [PATCH 50/57] Update gatsby from 1.9.175 to 1.9.178 --- docs/package.json | 2 +- docs/yarn.lock | 28 +++++++++++++++++++--------- 2 files changed, 20 insertions(+), 10 deletions(-) diff --git a/docs/package.json b/docs/package.json index 80d817a0d419..02e310d1f2a3 100644 --- a/docs/package.json +++ b/docs/package.json @@ -31,7 +31,7 @@ "babel-preset-react": "^6.24.1", "babel-preset-stage-0": "^6.24.1", "bootstrap": "^3.3.7", - "gatsby": "^1.9.174", + "gatsby": "^1.9.178", "gatsby-link": "^1.6.35", "gatsby-plugin-sharp": "^1.6.27", "gatsby-remark-autolink-headers": "^1.4.11", diff --git a/docs/yarn.lock b/docs/yarn.lock index 6c9c3f004abe..ec4506ee9f5b 100644 --- a/docs/yarn.lock +++ b/docs/yarn.lock @@ -177,7 +177,7 @@ react-treebeard "^2.1.0" redux "^3.7.2" -"@types/history@*": +"@types/history@*", "@types/history@^4.6.2": version "4.6.2" resolved "https://registry.yarnpkg.com/@types/history/-/history-4.6.2.tgz#12cfaba693ba20f114ed5765467ff25fdf67ddb0" @@ -4352,9 +4352,9 @@ gatsby-1-config-css-modules@^1.0.8: dependencies: babel-runtime "^6.26.0" -gatsby-cli@^1.1.33: - version "1.1.33" - resolved "https://registry.yarnpkg.com/gatsby-cli/-/gatsby-cli-1.1.33.tgz#a79337d73f88ef1157aceefd245242ec0d463680" +gatsby-cli@^1.1.34: + version "1.1.34" + resolved "https://registry.yarnpkg.com/gatsby-cli/-/gatsby-cli-1.1.34.tgz#85c17bf67bc717be0274c8e4a56c7df819ede1f5" dependencies: babel-code-frame "^6.26.0" babel-runtime "^6.26.0" @@ -4383,6 +4383,16 @@ gatsby-link@^1.6.35: prop-types "^15.5.8" ric "^1.3.0" +gatsby-link@^1.6.36: + version "1.6.36" + resolved "https://registry.yarnpkg.com/gatsby-link/-/gatsby-link-1.6.36.tgz#3f969d38e9396e2650d3804543c76881eab98feb" + dependencies: + "@types/history" "^4.6.2" + "@types/react-router-dom" "^4.2.2" + babel-runtime "^6.26.0" + prop-types "^15.5.8" + ric "^1.3.0" + gatsby-module-loader@^1.0.9: version "1.0.9" resolved "https://registry.yarnpkg.com/gatsby-module-loader/-/gatsby-module-loader-1.0.9.tgz#a33f3496589577749d2fbb680f7bab9ddcc86172" @@ -4499,9 +4509,9 @@ gatsby-transformer-remark@^1.7.30: unist-util-select "^1.5.0" unist-util-visit "^1.1.1" -gatsby@^1.9.174: - version "1.9.175" - resolved "https://registry.yarnpkg.com/gatsby/-/gatsby-1.9.175.tgz#a0e1f9a66202f5821abfc1fdbcf3673c3dfa5b4c" +gatsby@^1.9.178: + version "1.9.178" + resolved "https://registry.yarnpkg.com/gatsby/-/gatsby-1.9.178.tgz#56601badc81d527fef7a6d25d87e9d7ff44e52e9" dependencies: async "^2.1.2" babel-code-frame "^6.22.0" @@ -4541,8 +4551,8 @@ gatsby@^1.9.174: front-matter "^2.1.0" fs-extra "^4.0.1" gatsby-1-config-css-modules "^1.0.8" - gatsby-cli "^1.1.33" - gatsby-link "^1.6.35" + gatsby-cli "^1.1.34" + gatsby-link "^1.6.36" gatsby-module-loader "^1.0.9" gatsby-react-router-scroll "^1.0.9" glob "^7.1.1" From f4b01ba835dd597927f3ede91accdcfec55a0928 Mon Sep 17 00:00:00 2001 From: "Dependencies.io Bot" Date: Sat, 3 Feb 2018 16:40:30 +0000 Subject: [PATCH 51/57] Update @polymer/polymer from 2.4.0 to 2.5.0 in examples/polymer-cli --- examples/polymer-cli/package.json | 2 +- yarn.lock | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/polymer-cli/package.json b/examples/polymer-cli/package.json index 345f456565c2..c91e7010e13d 100644 --- a/examples/polymer-cli/package.json +++ b/examples/polymer-cli/package.json @@ -7,7 +7,7 @@ "storybook": "start-storybook -p 9001 -c .storybook" }, "dependencies": { - "@polymer/polymer": "^2.4.0", + "@polymer/polymer": "^2.5.0", "@storybook/addon-actions": "^3.4.0-alpha.7", "@storybook/addon-knobs": "^3.4.0-alpha.7", "@storybook/addon-notes": "^3.4.0-alpha.7", diff --git a/yarn.lock b/yarn.lock index bcb9ca144808..030d40838882 100644 --- a/yarn.lock +++ b/yarn.lock @@ -234,9 +234,9 @@ tree-kill "^1.0.0" webpack-sources "^1.1.0" -"@polymer/polymer@^2.4.0": - version "2.4.0" - resolved "https://registry.yarnpkg.com/@polymer/polymer/-/polymer-2.4.0.tgz#a6151e43a72141bc39e9e2c420d04f702a923cf3" +"@polymer/polymer@^2.5.0": + version "2.5.0" + resolved "https://registry.yarnpkg.com/@polymer/polymer/-/polymer-2.5.0.tgz#261439f5ab691c230d0c5dfb518b9247064ac13d" "@schematics/angular@0.1.17": version "0.1.17" From d18d10bcf2e0f9e6cf44c37198ee6ee38e42bc07 Mon Sep 17 00:00:00 2001 From: Guy Livni Date: Sun, 4 Feb 2018 00:13:46 +0200 Subject: [PATCH 52/57] Added types similar to DocgenButton --- .../components/FlowTypeButton.js | 29 ++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/examples/official-storybook/components/FlowTypeButton.js b/examples/official-storybook/components/FlowTypeButton.js index 8ebab0009bda..be85c3a40d4a 100644 --- a/examples/official-storybook/components/FlowTypeButton.js +++ b/examples/official-storybook/components/FlowTypeButton.js @@ -1,13 +1,40 @@ // @flow import React from 'react'; +/* eslint-disable react/no-unused-prop-types,react/require-default-props */ + +const Message = {}; + type PropsType = { /** A multi-type prop to be rendered in the button */ - label: string | number, + label: string, /** Function to be called when the button is clicked */ onClick?: Function, /** Boolean representing whether the button is disabled */ disabled?: boolean, + /** A plain object */ + obj?: Object, + /** A complex Object with nested types */ + shape: { + id: number, + func?: Function, + arr?: Array<{ + index: number, + }>, + shape?: { + shape?: { + foo?: string, + }, + }, + }, + /** An array of numbers */ + arrayOf?: Array, + /** A custom type */ + msg?: typeof Message, + /** `oneOf` as Enum */ + enm?: 'News' | 'Photos', + /** `oneOf` A multi-type prop of string or custom Message */ + union?: string | typeof Message, }; /** FlowTypeButton component description imported from comments inside the component file */ From bb7f93e03cdd6e152479f69da6d973d07a490673 Mon Sep 17 00:00:00 2001 From: Hypnosphi Date: Sun, 4 Feb 2018 20:50:34 +0300 Subject: [PATCH 53/57] Run prettier --- addons/knobs/src/index.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/addons/knobs/src/index.js b/addons/knobs/src/index.js index f144aac24aec..51c13caacd49 100644 --- a/addons/knobs/src/index.js +++ b/addons/knobs/src/index.js @@ -22,10 +22,8 @@ import { export { knob, text, boolean, number, color, object, array, date, button, select, selectV2 }; -deprecate( - () => {}, - 'Using @storybook/addon-knobs directly is discouraged, please use @storybook/addon-knobs/{{framework}}' -); +deprecate(() => {}, +'Using @storybook/addon-knobs directly is discouraged, please use @storybook/addon-knobs/{{framework}}'); // generic higher-order component decorator for all platforms - usage is discouraged // This file Should be removed with 4.0 release From f72b2f932d9581d8d61fadf5bdde39f376e846de Mon Sep 17 00:00:00 2001 From: Hypnosphi Date: Sun, 4 Feb 2018 20:54:00 +0300 Subject: [PATCH 54/57] Docs package: fix eslint warnings --- docs/src/components/Homepage/UsedBy/{index.jsx => index.js} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename docs/src/components/Homepage/UsedBy/{index.jsx => index.js} (100%) diff --git a/docs/src/components/Homepage/UsedBy/index.jsx b/docs/src/components/Homepage/UsedBy/index.js similarity index 100% rename from docs/src/components/Homepage/UsedBy/index.jsx rename to docs/src/components/Homepage/UsedBy/index.js From 3aac9254811bb786bf8bcb290bb23e56e20ef0ab Mon Sep 17 00:00:00 2001 From: "Dependencies.io Bot" Date: Sun, 4 Feb 2018 18:18:05 +0000 Subject: [PATCH 55/57] Update lodash from 4.17.4 to 4.17.5 --- docs/package.json | 2 +- docs/yarn.lock | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/package.json b/docs/package.json index 02e310d1f2a3..22b03c923f31 100644 --- a/docs/package.json +++ b/docs/package.json @@ -43,7 +43,7 @@ "gh-pages": "^1.1.0", "global": "^4.3.2", "highlight.js": "^9.12.0", - "lodash": "^4.17.2", + "lodash": "^4.17.5", "marked": "^0.3.12", "prop-types": "^15.6.0", "react": "^15.6.1", diff --git a/docs/yarn.lock b/docs/yarn.lock index ec4506ee9f5b..27e1e0a8a5c7 100644 --- a/docs/yarn.lock +++ b/docs/yarn.lock @@ -6604,6 +6604,10 @@ lodash@4.11.1: version "4.11.1" resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.11.1.tgz#a32106eb8e2ec8e82c241611414773c9df15f8bc" +lodash@^4.17.5: + version "4.17.5" + resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.5.tgz#99a92d65c0272debe8c96b6057bc8fbfa3bed511" + log-symbols@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/log-symbols/-/log-symbols-1.0.2.tgz#376ff7b58ea3086a0f09facc74617eca501e1a18" From 049a37dee465073e50037e95f0d8507766ccebd3 Mon Sep 17 00:00:00 2001 From: "Dependencies.io Bot" Date: Sun, 4 Feb 2018 18:22:23 +0000 Subject: [PATCH 56/57] Update lodash from 4.17.4 to 4.17.5 in / --- package.json | 2 +- yarn.lock | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 26d90ce0f5e6..aca1aa3a4ba7 100644 --- a/package.json +++ b/package.json @@ -87,7 +87,7 @@ "jest-vue-preprocessor": "^1.3.1", "lerna": "2.6.0", "lint-staged": "^6.1.0", - "lodash": "^4.17.4", + "lodash": "^4.17.5", "nodemon": "^1.14.12", "npmlog": "^4.1.2", "prettier": "^1.10.2", diff --git a/yarn.lock b/yarn.lock index 030d40838882..a0d42b9f0cd3 100644 --- a/yarn.lock +++ b/yarn.lock @@ -9400,6 +9400,10 @@ lodash@^3.10.1, lodash@^3.3.1, lodash@^3.5.0, lodash@^3.8.0: version "3.10.1" resolved "https://registry.yarnpkg.com/lodash/-/lodash-3.10.1.tgz#5bf45e8e49ba4189e17d482789dfd15bd140b7b6" +lodash@^4.17.5: + version "4.17.5" + resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.5.tgz#99a92d65c0272debe8c96b6057bc8fbfa3bed511" + log-symbols@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/log-symbols/-/log-symbols-1.0.2.tgz#376ff7b58ea3086a0f09facc74617eca501e1a18" From c65933bceabcb0d4566b72f8abffdf3be1ab79f4 Mon Sep 17 00:00:00 2001 From: Guy Livni Date: Mon, 5 Feb 2018 01:56:18 +0200 Subject: [PATCH 57/57] Add literal type for flow enums --- addons/info/src/components/types/Literal.js | 10 ++++++++++ addons/info/src/components/types/PrettyPropType.js | 2 ++ 2 files changed, 12 insertions(+) create mode 100644 addons/info/src/components/types/Literal.js diff --git a/addons/info/src/components/types/Literal.js b/addons/info/src/components/types/Literal.js new file mode 100644 index 000000000000..83b222e40788 --- /dev/null +++ b/addons/info/src/components/types/Literal.js @@ -0,0 +1,10 @@ +import React from 'react'; +import { TypeInfo } from './proptypes'; + +const Literal = ({ propType }) => {propType.value}; + +Literal.propTypes = { + propType: TypeInfo.isRequired, +}; + +export default Literal; diff --git a/addons/info/src/components/types/PrettyPropType.js b/addons/info/src/components/types/PrettyPropType.js index 846842ffc136..d725edcb841e 100644 --- a/addons/info/src/components/types/PrettyPropType.js +++ b/addons/info/src/components/types/PrettyPropType.js @@ -9,6 +9,7 @@ import ObjectOf from './ObjectOf'; import OneOf from './OneOf'; import InstanceOf from './InstanceOf'; import Signature from './Signature'; +import Literal from './Literal'; import { TypeInfo } from './proptypes'; @@ -20,6 +21,7 @@ const propTypeComponentMap = new Map([ ['objectOf', ObjectOf], // Might be overkill to have below proptypes as separate components *shrug* ['object', ObjectType], + ['literal', Literal], ['enum', OneOf], ['instanceOf', InstanceOf], ['signature', Signature],