From c2538e2d9102ec205fd84c8203b13d6db06d4384 Mon Sep 17 00:00:00 2001 From: hypnos Date: Sat, 18 Nov 2017 14:20:34 +0300 Subject: [PATCH 1/2] Optimize `@storybook/addon-storyshots` peerDependencies --- .eslintrc.js | 4 ++-- addons/storyshots/package.json | 6 ++---- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/.eslintrc.js b/.eslintrc.js index 8eb7119e3789..d05fded1d6a9 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -51,8 +51,8 @@ module.exports = { '*.js', '**/*.test.js', '**/scripts/*.js', - '**/stories/*.js', - '**/__tests__/*.js', + '**/stories/**/*.js', + '**/__tests__/**/*.js', ], peerDependencies: true, }, diff --git a/addons/storyshots/package.json b/addons/storyshots/package.json index 947e7d183956..1491be6c41c1 100644 --- a/addons/storyshots/package.json +++ b/addons/storyshots/package.json @@ -14,6 +14,8 @@ "storybook": "start-storybook -p 6006" }, "dependencies": { + "@storybook/channels": "^3.2.16", + "babel-core": "^6.26.0", "babel-runtime": "^6.26.0", "global": "^4.3.2", "prop-types": "^15.6.0", @@ -21,14 +23,10 @@ }, "devDependencies": { "@storybook/addons": "^3.2.16", - "@storybook/channels": "^3.2.16", "@storybook/react": "^3.2.16" }, "peerDependencies": { "@storybook/addons": "^3.2.16", - "@storybook/channels": "^3.2.16", - "@storybook/react": "^3.2.16", - "babel-core": "^6.26.0", "react": "*", "react-test-renderer": "*" } From e10786e1daaf99cbdeaf32a937396a7f7893ab46 Mon Sep 17 00:00:00 2001 From: Filipp Riabchun Date: Tue, 5 Dec 2017 01:34:10 +0300 Subject: [PATCH 2/2] Update package.json --- addons/storyshots/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/storyshots/package.json b/addons/storyshots/package.json index 3cba729fcacb..d28136cf5b3d 100644 --- a/addons/storyshots/package.json +++ b/addons/storyshots/package.json @@ -14,7 +14,7 @@ "storybook": "start-storybook -p 6006" }, "dependencies": { - "@storybook/channels": "^3.2.16", + "@storybook/channels": "^3.2.17", "babel-core": "^6.26.0", "babel-runtime": "^6.26.0", "global": "^4.3.2",