mirror of
https://github.com/storybookjs/storybook.git
synced 2025-03-17 05:02:23 +08:00
Removed the added @babel/core everywhere
This commit is contained in:
parent
70d9094e13
commit
2028cd4313
@ -84,7 +84,7 @@ Storybook now uses Babel 7. There's a couple of cases when it can break with you
|
||||
|
||||
* If you aren't using Babel yourself, and don't have .babelrc, install following dependencies:
|
||||
```
|
||||
npm i -D babel-loader@next
|
||||
npm i -D @babel/core babel-loader@next
|
||||
```
|
||||
* If you're using Babel 6, make sure that you have direct dependencies on `babel-core@6` and `babel-loader@7`.
|
||||
|
||||
|
@ -22,12 +22,10 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/core": "^7.0.0-rc.2",
|
||||
"@babel/runtime": "^7.0.0-rc.2",
|
||||
"@storybook/core": "4.0.0-alpha.16",
|
||||
"@storybook/node-logger": "4.0.0-alpha.16",
|
||||
"angular2-template-loader": "^0.6.2",
|
||||
"babel-core": "^7.0.0-bridge.0",
|
||||
"core-js": "^2.5.7",
|
||||
"global": "^4.3.2",
|
||||
"react": "^16.4.2",
|
||||
|
@ -21,10 +21,8 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/core": "^7.0.0-rc.2",
|
||||
"@babel/runtime": "^7.0.0-rc.2",
|
||||
"@storybook/core": "4.0.0-alpha.16",
|
||||
"babel-core": "^7.0.0-bridge.0",
|
||||
"common-tags": "^1.8.0",
|
||||
"global": "^4.3.2",
|
||||
"html-loader": "^0.5.5",
|
||||
|
@ -22,10 +22,8 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/core": "^7.0.0-rc.2",
|
||||
"@babel/runtime": "^7.0.0-rc.2",
|
||||
"@storybook/core": "4.0.0-alpha.16",
|
||||
"babel-core": "^7.0.0-bridge.0",
|
||||
"common-tags": "^1.8.0",
|
||||
"global": "^4.3.2",
|
||||
"marko-loader": "^1.3.3",
|
||||
|
@ -22,11 +22,9 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/core": "^7.0.0-rc.2",
|
||||
"@babel/plugin-transform-react-jsx": "^7.0.0-rc.2",
|
||||
"@babel/runtime": "^7.0.0-rc.2",
|
||||
"@storybook/core": "4.0.0-alpha.16",
|
||||
"babel-core": "^7.0.0-bridge.0",
|
||||
"common-tags": "^1.8.0",
|
||||
"global": "^4.3.2",
|
||||
"react": "^16.4.2",
|
||||
|
@ -21,12 +21,10 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/core": "^7.0.0-rc.2",
|
||||
"@babel/polyfill": "^7.0.0-rc.2",
|
||||
"@babel/runtime": "^7.0.0-rc.2",
|
||||
"@storybook/core": "4.0.0-alpha.16",
|
||||
"@webcomponents/webcomponentsjs": "^1.2.0",
|
||||
"babel-core": "^7.0.0-bridge.0",
|
||||
"common-tags": "^1.8.0",
|
||||
"global": "^4.3.2",
|
||||
"react": "^16.4.2",
|
||||
|
@ -22,12 +22,10 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/core": "^7.0.0-rc.2",
|
||||
"@babel/preset-flow": "^7.0.0-beta.49",
|
||||
"@babel/preset-flow": "^7.0.0-rc.2",
|
||||
"@babel/preset-react": "^7.0.0-rc.2",
|
||||
"@babel/runtime": "^7.0.0-rc.2",
|
||||
"@storybook/core": "4.0.0-alpha.16",
|
||||
"babel-core": "^7.0.0-bridge.0",
|
||||
"babel-plugin-react-docgen": "^2.0.0-babel7.0",
|
||||
"common-tags": "^1.8.0",
|
||||
"emotion": "^9.2.6",
|
||||
|
@ -22,9 +22,7 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/core": "^7.0.0-rc.2",
|
||||
"@storybook/core": "4.0.0-alpha.16",
|
||||
"babel-core": "^7.0.0-bridge.0",
|
||||
"common-tags": "^1.8.0",
|
||||
"global": "^4.3.2",
|
||||
"react": "^16.4.2",
|
||||
|
@ -22,10 +22,8 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/core": "^7.0.0-rc.2",
|
||||
"@babel/runtime": "^7.0.0-rc.2",
|
||||
"@storybook/core": "4.0.0-alpha.16",
|
||||
"babel-core": "^7.0.0-bridge.0",
|
||||
"common-tags": "^1.8.0",
|
||||
"global": "^4.3.2",
|
||||
"react": "^16.4.2",
|
||||
|
@ -16,7 +16,6 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/core": "^7.0.0-rc.2",
|
||||
"@babel/plugin-transform-regenerator": "^7.0.0-rc.2",
|
||||
"@babel/plugin-transform-runtime": "^7.0.0-rc.2",
|
||||
"@babel/preset-env": "^7.0.0-rc.2",
|
||||
@ -29,7 +28,6 @@
|
||||
"@storybook/ui": "4.0.0-alpha.16",
|
||||
"airbnb-js-shims": "^2.1.0",
|
||||
"autoprefixer": "^9.1.0",
|
||||
"babel-core": "^7.0.0-bridge.0",
|
||||
"babel-plugin-macros": "^2.2.2",
|
||||
"babel-preset-minify": "canary",
|
||||
"case-sensitive-paths-webpack-plugin": "^2.1.2",
|
||||
|
24
yarn.lock
24
yarn.lock
@ -347,10 +347,6 @@
|
||||
dependencies:
|
||||
"@babel/types" "7.0.0-rc.2"
|
||||
|
||||
"@babel/helper-plugin-utils@7.0.0-rc.1":
|
||||
version "7.0.0-rc.1"
|
||||
resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.0.0-rc.1.tgz#3e277eae59818e7d4caf4174f58a7a00d441336e"
|
||||
|
||||
"@babel/helper-plugin-utils@7.0.0-rc.2":
|
||||
version "7.0.0-rc.2"
|
||||
resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.0.0-rc.2.tgz#95bc3225bf6aeda5a5ebc90af2546b5b9317c0b4"
|
||||
@ -529,12 +525,6 @@
|
||||
dependencies:
|
||||
"@babel/helper-plugin-utils" "7.0.0-rc.2"
|
||||
|
||||
"@babel/plugin-syntax-flow@7.0.0-rc.1":
|
||||
version "7.0.0-rc.1"
|
||||
resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-flow/-/plugin-syntax-flow-7.0.0-rc.1.tgz#1c0165eb2fa7c5769eaf27f2bfb46e7df5d3f034"
|
||||
dependencies:
|
||||
"@babel/helper-plugin-utils" "7.0.0-rc.1"
|
||||
|
||||
"@babel/plugin-syntax-flow@7.0.0-rc.2":
|
||||
version "7.0.0-rc.2"
|
||||
resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-flow/-/plugin-syntax-flow-7.0.0-rc.2.tgz#9a7538905383db328d6c36507ec05c9f89f2f8ab"
|
||||
@ -638,13 +628,6 @@
|
||||
"@babel/helper-builder-binary-assignment-operator-visitor" "7.0.0-rc.2"
|
||||
"@babel/helper-plugin-utils" "7.0.0-rc.2"
|
||||
|
||||
"@babel/plugin-transform-flow-strip-types@7.0.0-rc.1":
|
||||
version "7.0.0-rc.1"
|
||||
resolved "https://registry.yarnpkg.com/@babel/plugin-transform-flow-strip-types/-/plugin-transform-flow-strip-types-7.0.0-rc.1.tgz#dd69161fd75bc0c68803c0c6051730d559cc2d85"
|
||||
dependencies:
|
||||
"@babel/helper-plugin-utils" "7.0.0-rc.1"
|
||||
"@babel/plugin-syntax-flow" "7.0.0-rc.1"
|
||||
|
||||
"@babel/plugin-transform-flow-strip-types@7.0.0-rc.2":
|
||||
version "7.0.0-rc.2"
|
||||
resolved "https://registry.yarnpkg.com/@babel/plugin-transform-flow-strip-types/-/plugin-transform-flow-strip-types-7.0.0-rc.2.tgz#87c482c195a3a5e2b8d392928db386a2b034c224"
|
||||
@ -856,13 +839,6 @@
|
||||
js-levenshtein "^1.1.3"
|
||||
semver "^5.3.0"
|
||||
|
||||
"@babel/preset-flow@^7.0.0-beta.49":
|
||||
version "7.0.0-rc.1"
|
||||
resolved "https://registry.yarnpkg.com/@babel/preset-flow/-/preset-flow-7.0.0-rc.1.tgz#d7a9e4a39bdd5355dc708a70fbbf7ce49a4b429b"
|
||||
dependencies:
|
||||
"@babel/helper-plugin-utils" "7.0.0-rc.1"
|
||||
"@babel/plugin-transform-flow-strip-types" "7.0.0-rc.1"
|
||||
|
||||
"@babel/preset-flow@^7.0.0-rc.2":
|
||||
version "7.0.0-rc.2"
|
||||
resolved "https://registry.yarnpkg.com/@babel/preset-flow/-/preset-flow-7.0.0-rc.2.tgz#415539cd74968b1d2ae5b53fe9572f8d16a355b9"
|
||||
|
Loading…
x
Reference in New Issue
Block a user