From 98eb575b793f029163222e7fc878fc0aef2ddb91 Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Thu, 27 Apr 2017 23:41:50 +0200 Subject: [PATCH] MOVE all babel-dev-dependencies --- packages/addon-comments/.babelrc => .babelrc | 1 - package.json | 7 +++++++ packages/addon-actions/.babelrc | 3 --- packages/addon-actions/package.json | 4 ---- packages/addon-comments/package.json | 9 --------- packages/addon-graphql/.babelrc | 3 --- packages/addon-graphql/package.json | 4 ---- packages/addon-info/.babelrc | 3 --- packages/addon-info/package.json | 8 -------- packages/addon-knobs/.babelrc | 3 --- packages/addon-knobs/package.json | 9 --------- packages/addon-notes/.babelrc | 3 --- packages/addon-notes/package.json | 8 -------- packages/addon-options/.babelrc | 3 --- packages/addon-options/package.json | 4 ---- packages/addons/.babelrc | 3 --- packages/addons/package.json | 3 --- packages/channel-postmessage/.babelrc | 3 --- packages/channel-postmessage/package.json | 3 --- packages/channel-websocket/.babelrc | 3 --- packages/channel-websocket/package.json | 3 --- packages/channel/.babelrc | 3 --- packages/channel/package.json | 4 ---- packages/decorator-centered/.babelrc | 3 --- packages/decorator-centered/package.json | 5 ----- packages/storybook-ui/.babelrc | 3 --- packages/storybook-ui/package.json | 13 ------------- 27 files changed, 7 insertions(+), 114 deletions(-) rename packages/addon-comments/.babelrc => .babelrc (99%) delete mode 100644 packages/addon-actions/.babelrc delete mode 100644 packages/addon-graphql/.babelrc delete mode 100644 packages/addon-info/.babelrc delete mode 100644 packages/addon-knobs/.babelrc delete mode 100644 packages/addon-notes/.babelrc delete mode 100644 packages/addon-options/.babelrc delete mode 100644 packages/addons/.babelrc delete mode 100644 packages/channel-postmessage/.babelrc delete mode 100644 packages/channel-websocket/.babelrc delete mode 100644 packages/channel/.babelrc delete mode 100644 packages/decorator-centered/.babelrc delete mode 100644 packages/storybook-ui/.babelrc diff --git a/packages/addon-comments/.babelrc b/.babelrc similarity index 99% rename from packages/addon-comments/.babelrc rename to .babelrc index a68dddf26a80..b4f96f58d192 100644 --- a/packages/addon-comments/.babelrc +++ b/.babelrc @@ -6,5 +6,4 @@ "regenerator": true }] ] - } diff --git a/package.json b/package.json index cde31cfa6488..07e909049293 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,14 @@ { "name": "storybook", "devDependencies": { + "babel-cli": "^6.14.0", + "babel-core": "^6.24.1", "babel-eslint": "^7.2.2", + "babel-plugin-transform-runtime": "^6.23.0", + "babel-polyfill": "^6.13.0", + "babel-preset-env": "^1.4.0", + "babel-preset-react": "^6.11.1", + "babel-preset-stage-0": "^6.5.0", "codecov": "^2.1.0", "enzyme": "^2.8.2", "enzyme-to-json": "^1.5.1", diff --git a/packages/addon-actions/.babelrc b/packages/addon-actions/.babelrc deleted file mode 100644 index 9b7d435ad38f..000000000000 --- a/packages/addon-actions/.babelrc +++ /dev/null @@ -1,3 +0,0 @@ -{ - "presets": ["es2015", "stage-0", "react"] -} diff --git a/packages/addon-actions/package.json b/packages/addon-actions/package.json index 48b6d7c442cd..df281f92b732 100644 --- a/packages/addon-actions/package.json +++ b/packages/addon-actions/package.json @@ -24,10 +24,6 @@ "@kadira/storybook": "*", "@kadira/storybook-addons": "*", "@kadira/storybook-ui": "*", - "babel-cli": "^6.11.4", - "babel-preset-es2015": "^6.9.0", - "babel-preset-react": "^6.11.1", - "babel-preset-stage-0": "^6.5.0", "react": "^15.5.4", "react-dom": "^15.5.4", "react-test-renderer": "^15.5.4", diff --git a/packages/addon-comments/package.json b/packages/addon-comments/package.json index 5154e3d58f26..85aab1a87271 100644 --- a/packages/addon-comments/package.json +++ b/packages/addon-comments/package.json @@ -39,15 +39,6 @@ "@kadira/storybook-database-cloud": "*", "@kadira/storybook-deployer": "*", "@kadira/storybook-ui": "*", - "babel-cli": "^6.14.0", - "babel-core": "^6.24.1", - "babel-eslint": "^7.2.2", - "babel-loader": "^6.2.5", - "babel-plugin-transform-runtime": "^6.23.0", - "babel-polyfill": "^6.13.0", - "babel-preset-env": "^1.4.0", - "babel-preset-react": "^6.11.1", - "babel-preset-stage-0": "^6.5.0", "git-url-parse": "^6.0.1", "react": "^15.5.4", "react-dom": "^15.5.4", diff --git a/packages/addon-graphql/.babelrc b/packages/addon-graphql/.babelrc deleted file mode 100644 index 9b7d435ad38f..000000000000 --- a/packages/addon-graphql/.babelrc +++ /dev/null @@ -1,3 +0,0 @@ -{ - "presets": ["es2015", "stage-0", "react"] -} diff --git a/packages/addon-graphql/package.json b/packages/addon-graphql/package.json index bf066ca18d99..2893f38c7242 100644 --- a/packages/addon-graphql/package.json +++ b/packages/addon-graphql/package.json @@ -22,10 +22,6 @@ "homepage": "https://github.com/kadirahq/storybook-addon-graphql#readme", "devDependencies": { "@kadira/storybook": "*", - "babel-cli": "^6.11.4", - "babel-preset-es2015": "^6.9.0", - "babel-preset-react": "^6.11.1", - "babel-preset-stage-0": "^6.5.0", "react": "^15.5.4", "react-dom": "^15.5.4", "shelljs": "^0.7.3" diff --git a/packages/addon-info/.babelrc b/packages/addon-info/.babelrc deleted file mode 100644 index e68d2fea1136..000000000000 --- a/packages/addon-info/.babelrc +++ /dev/null @@ -1,3 +0,0 @@ -{ - "presets": ["es2015", "stage-2", "react"] -} diff --git a/packages/addon-info/package.json b/packages/addon-info/package.json index da0ed0ed1710..01676b839839 100644 --- a/packages/addon-info/package.json +++ b/packages/addon-info/package.json @@ -14,14 +14,6 @@ }, "devDependencies": { "@kadira/storybook": "*", - "babel-cli": "^6.5.0", - "babel-core": "^6.5.0", - "babel-eslint": "^7.0.0", - "babel-plugin-transform-runtime": "^6.5.0", - "babel-polyfill": "^6.5.0", - "babel-preset-es2015": "^6.5.0", - "babel-preset-react": "^6.5.0", - "babel-preset-stage-2": "^6.5.0", "git-url-parse": "^6.0.1", "react": "^15.5.4", "react-dom": "^15.5.4", diff --git a/packages/addon-knobs/.babelrc b/packages/addon-knobs/.babelrc deleted file mode 100644 index e68d2fea1136..000000000000 --- a/packages/addon-knobs/.babelrc +++ /dev/null @@ -1,3 +0,0 @@ -{ - "presets": ["es2015", "stage-2", "react"] -} diff --git a/packages/addon-knobs/package.json b/packages/addon-knobs/package.json index aa48af0737dd..bfbac8f2f47c 100644 --- a/packages/addon-knobs/package.json +++ b/packages/addon-knobs/package.json @@ -17,15 +17,6 @@ "@kadira/storybook": "*", "@types/node": "^7.0.12", "@types/react": "^15.0.21", - "babel-cli": "^6.24.1", - "babel-core": "^6.24.1", - "babel-eslint": "^7.2.2", - "babel-loader": "^6.4.1", - "babel-plugin-transform-runtime": "^6.23.0", - "babel-polyfill": "^6.23.0", - "babel-preset-es2015": "^6.24.1", - "babel-preset-react": "^6.24.1", - "babel-preset-stage-2": "^6.24.1", "git-url-parse": "^6.2.2", "raw-loader": "^0.5.1", "react": "^15.5.4", diff --git a/packages/addon-notes/.babelrc b/packages/addon-notes/.babelrc deleted file mode 100644 index e68d2fea1136..000000000000 --- a/packages/addon-notes/.babelrc +++ /dev/null @@ -1,3 +0,0 @@ -{ - "presets": ["es2015", "stage-2", "react"] -} diff --git a/packages/addon-notes/package.json b/packages/addon-notes/package.json index c94930f7f65c..ee2ea2adada6 100644 --- a/packages/addon-notes/package.json +++ b/packages/addon-notes/package.json @@ -14,14 +14,6 @@ }, "devDependencies": { "@kadira/storybook": "*", - "babel-cli": "^6.5.0", - "babel-core": "^6.5.0", - "babel-loader": "^6.2.4", - "babel-plugin-transform-runtime": "^6.5.0", - "babel-polyfill": "^6.5.0", - "babel-preset-es2015": "^6.5.0", - "babel-preset-react": "^6.5.0", - "babel-preset-stage-2": "^6.5.0", "git-url-parse": "^6.0.1", "react": "^15.3.2", "react-addons-test-utils": "^15.5.1", diff --git a/packages/addon-options/.babelrc b/packages/addon-options/.babelrc deleted file mode 100644 index 9b7d435ad38f..000000000000 --- a/packages/addon-options/.babelrc +++ /dev/null @@ -1,3 +0,0 @@ -{ - "presets": ["es2015", "stage-0", "react"] -} diff --git a/packages/addon-options/package.json b/packages/addon-options/package.json index ef6c8de15837..620c5b490a12 100644 --- a/packages/addon-options/package.json +++ b/packages/addon-options/package.json @@ -23,10 +23,6 @@ "@kadira/storybook": "*", "@kadira/storybook-addons": "*", "@kadira/storybook-ui": "*", - "babel-cli": "^6.24.1", - "babel-preset-es2015": "^6.24.1", - "babel-preset-react": "^6.24.1", - "babel-preset-stage-0": "^6.24.1", "react": "^15.5.4", "react-dom": "^15.5.4", "react-test-renderer": "^15.5.4", diff --git a/packages/addons/.babelrc b/packages/addons/.babelrc deleted file mode 100644 index eaf32387b56f..000000000000 --- a/packages/addons/.babelrc +++ /dev/null @@ -1,3 +0,0 @@ -{ - "presets": ["es2015", "stage-0"] -} diff --git a/packages/addons/package.json b/packages/addons/package.json index 45ee50fe0f0a..e9d838b039b1 100644 --- a/packages/addons/package.json +++ b/packages/addons/package.json @@ -19,9 +19,6 @@ }, "homepage": "https://github.com/kadirahq/storybook-addons#readme", "devDependencies": { - "babel-cli": "^6.11.4", - "babel-preset-es2015": "^6.9.0", - "babel-preset-stage-0": "^6.5.0", "shelljs": "^0.7.3" } } diff --git a/packages/channel-postmessage/.babelrc b/packages/channel-postmessage/.babelrc deleted file mode 100644 index eaf32387b56f..000000000000 --- a/packages/channel-postmessage/.babelrc +++ /dev/null @@ -1,3 +0,0 @@ -{ - "presets": ["es2015", "stage-0"] -} diff --git a/packages/channel-postmessage/package.json b/packages/channel-postmessage/package.json index 2df481f1392f..2f42bda77a99 100644 --- a/packages/channel-postmessage/package.json +++ b/packages/channel-postmessage/package.json @@ -8,9 +8,6 @@ }, "license": "MIT", "devDependencies": { - "babel-cli": "^6.24.1", - "babel-preset-es2015": "^6.9.0", - "babel-preset-stage-0": "^6.5.0", "shelljs": "^0.7.7" }, "dependencies": { diff --git a/packages/channel-websocket/.babelrc b/packages/channel-websocket/.babelrc deleted file mode 100644 index eaf32387b56f..000000000000 --- a/packages/channel-websocket/.babelrc +++ /dev/null @@ -1,3 +0,0 @@ -{ - "presets": ["es2015", "stage-0"] -} diff --git a/packages/channel-websocket/package.json b/packages/channel-websocket/package.json index 4144e03866fa..c0c709c7ed62 100644 --- a/packages/channel-websocket/package.json +++ b/packages/channel-websocket/package.json @@ -8,9 +8,6 @@ }, "license": "MIT", "devDependencies": { - "babel-cli": "^6.11.4", - "babel-preset-es2015": "^6.9.0", - "babel-preset-stage-0": "^6.5.0", "shelljs": "^0.7.3" }, "dependencies": { diff --git a/packages/channel/.babelrc b/packages/channel/.babelrc deleted file mode 100644 index eaf32387b56f..000000000000 --- a/packages/channel/.babelrc +++ /dev/null @@ -1,3 +0,0 @@ -{ - "presets": ["es2015", "stage-0"] -} diff --git a/packages/channel/package.json b/packages/channel/package.json index 3f2ccaf7d012..dd269a3e789a 100644 --- a/packages/channel/package.json +++ b/packages/channel/package.json @@ -8,10 +8,6 @@ }, "license": "MIT", "devDependencies": { - "babel-cli": "^6.11.4", - "babel-preset-es2015": "^6.9.0", - "babel-preset-stage-0": "^6.5.0", - "babel-register": "^6.16.3", "shelljs": "^0.7.3" } } diff --git a/packages/decorator-centered/.babelrc b/packages/decorator-centered/.babelrc deleted file mode 100644 index 4687bc4f4462..000000000000 --- a/packages/decorator-centered/.babelrc +++ /dev/null @@ -1,3 +0,0 @@ -{ - "presets": ["es2015", "react", "stage-0"] -} diff --git a/packages/decorator-centered/package.json b/packages/decorator-centered/package.json index 10f7d4b70577..d662cc383226 100644 --- a/packages/decorator-centered/package.json +++ b/packages/decorator-centered/package.json @@ -14,10 +14,5 @@ ] }, "devDependencies": { - "babel-cli": "^6.24.1", - "babel-core": "^6.24.1", - "babel-preset-es2015": "^6.24.1", - "babel-preset-react": "^6.24.1", - "babel-preset-stage-0": "^6.24.1" } } diff --git a/packages/storybook-ui/.babelrc b/packages/storybook-ui/.babelrc deleted file mode 100644 index 9b7d435ad38f..000000000000 --- a/packages/storybook-ui/.babelrc +++ /dev/null @@ -1,3 +0,0 @@ -{ - "presets": ["es2015", "stage-0", "react"] -} diff --git a/packages/storybook-ui/package.json b/packages/storybook-ui/package.json index 6771343b127d..c999639974f3 100644 --- a/packages/storybook-ui/package.json +++ b/packages/storybook-ui/package.json @@ -12,19 +12,6 @@ "storybook": "start-storybook -p 9010", "publish-storybook": "bash ./.scripts/publish_storybook.sh" }, - "devDependencies": { - "@kadira/storybook": "*", - "babel-cli": "^6.24.1", - "babel-core": "^6.24.1", - "babel-eslint": "^7.2.2", - "babel-plugin-transform-runtime": "^6.23.0", - "babel-polyfill": "^6.23.0", - "babel-preset-es2015": "^6.24.1", - "babel-preset-react": "^6.24.1", - "babel-preset-stage-0": "^6.24.1", - "react": "^15.5.4", - "react-dom": "^15.5.4" - }, "peerDependencies": { "react": "*", "react-dom": "*"