Skip to content

Commit 6498cb9

Browse files
author
Wojciech Maj
committed
Get rid of babel-preset-stage-2
1 parent 228cd49 commit 6498cb9

File tree

7 files changed

+8
-54
lines changed

7 files changed

+8
-54
lines changed

.babelrc

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
{
22
"presets": [
33
"env",
4-
"stage-2",
4+
"stage-3",
55
"react"
66
],
77
"plugins": [
8-
"transform-class-properties",
9-
"transform-es2015-modules-commonjs"
8+
"transform-class-properties"
109
]
1110
}

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,9 @@
5757
"babel-eslint": "^8.2.1",
5858
"babel-jest": "^22.1.0",
5959
"babel-plugin-transform-class-properties": "^6.24.1",
60-
"babel-plugin-transform-es2015-modules-commonjs": "^6.26.0",
6160
"babel-preset-env": "^1.6.1",
6261
"babel-preset-react": "^6.24.1",
63-
"babel-preset-stage-2": "^6.24.1",
62+
"babel-preset-stage-3": "^6.24.1",
6463
"enzyme": "^3.3.0",
6564
"enzyme-adapter-react-16": "^1.1.1",
6665
"eslint": "^4.19.1",

sample/.babelrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"modules": false
77
}
88
],
9-
"stage-2",
9+
"stage-3",
1010
"react"
1111
],
1212
"plugins": [

sample/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"babel-plugin-transform-class-properties": "^6.24.1",
2525
"babel-preset-env": "^1.7.0",
2626
"babel-preset-react": "^6.24.1",
27-
"babel-preset-stage-2": "^6.24.1",
27+
"babel-preset-stage-3": "^6.24.1",
2828
"eslint": "^4.19.1",
2929
"eslint-config-airbnb": "^17.1.0",
3030
"eslint-plugin-import": "^2.14.0",

test/.babelrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"modules": false
77
}
88
],
9-
"stage-2",
9+
"stage-3",
1010
"react"
1111
],
1212
"plugins": [

test/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"babel-plugin-transform-class-properties": "^6.24.1",
2525
"babel-preset-env": "^1.7.0",
2626
"babel-preset-react": "^6.24.1",
27-
"babel-preset-stage-2": "^6.24.1",
27+
"babel-preset-stage-3": "^6.24.1",
2828
"eslint": "^4.19.1",
2929
"eslint-config-airbnb": "^17.1.0",
3030
"eslint-plugin-import": "^2.14.0",

yarn.lock

Lines changed: 1 addition & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -421,14 +421,6 @@ babel-generator@^6.18.0, babel-generator@^6.26.0:
421421
source-map "^0.5.7"
422422
trim-right "^1.0.1"
423423

424-
babel-helper-bindify-decorators@^6.24.1:
425-
version "6.24.1"
426-
resolved "https://registry.yarnpkg.com/babel-helper-bindify-decorators/-/babel-helper-bindify-decorators-6.24.1.tgz#14c19e5f142d7b47f19a52431e52b1ccbc40a330"
427-
dependencies:
428-
babel-runtime "^6.22.0"
429-
babel-traverse "^6.24.1"
430-
babel-types "^6.24.1"
431-
432424
babel-helper-builder-binary-assignment-operator-visitor@^6.24.1:
433425
version "6.24.1"
434426
resolved "https://registry.yarnpkg.com/babel-helper-builder-binary-assignment-operator-visitor/-/babel-helper-builder-binary-assignment-operator-visitor-6.24.1.tgz#cce4517ada356f4220bcae8a02c2b346f9a56664"
@@ -471,15 +463,6 @@ babel-helper-explode-assignable-expression@^6.24.1:
471463
babel-traverse "^6.24.1"
472464
babel-types "^6.24.1"
473465

474-
babel-helper-explode-class@^6.24.1:
475-
version "6.24.1"
476-
resolved "https://registry.yarnpkg.com/babel-helper-explode-class/-/babel-helper-explode-class-6.24.1.tgz#7dc2a3910dee007056e1e31d640ced3d54eaa9eb"
477-
dependencies:
478-
babel-helper-bindify-decorators "^6.24.1"
479-
babel-runtime "^6.22.0"
480-
babel-traverse "^6.24.1"
481-
babel-types "^6.24.1"
482-
483466
babel-helper-function-name@^6.24.1:
484467
version "6.24.1"
485468
resolved "https://registry.yarnpkg.com/babel-helper-function-name/-/babel-helper-function-name-6.24.1.tgz#d3475b8c03ed98242a25b48351ab18399d3580a9"
@@ -602,14 +585,6 @@ babel-plugin-syntax-class-properties@^6.8.0:
602585
version "6.13.0"
603586
resolved "https://registry.yarnpkg.com/babel-plugin-syntax-class-properties/-/babel-plugin-syntax-class-properties-6.13.0.tgz#d7eb23b79a317f8543962c505b827c7d6cac27de"
604587

605-
babel-plugin-syntax-decorators@^6.13.0:
606-
version "6.13.0"
607-
resolved "https://registry.yarnpkg.com/babel-plugin-syntax-decorators/-/babel-plugin-syntax-decorators-6.13.0.tgz#312563b4dbde3cc806cee3e416cceeaddd11ac0b"
608-
609-
babel-plugin-syntax-dynamic-import@^6.18.0:
610-
version "6.18.0"
611-
resolved "https://registry.yarnpkg.com/babel-plugin-syntax-dynamic-import/-/babel-plugin-syntax-dynamic-import-6.18.0.tgz#8d6a26229c83745a9982a441051572caa179b1da"
612-
613588
babel-plugin-syntax-exponentiation-operator@^6.8.0:
614589
version "6.13.0"
615590
resolved "https://registry.yarnpkg.com/babel-plugin-syntax-exponentiation-operator/-/babel-plugin-syntax-exponentiation-operator-6.13.0.tgz#9ee7e8337290da95288201a6a57f4170317830de"
@@ -655,16 +630,6 @@ babel-plugin-transform-class-properties@^6.24.1:
655630
babel-runtime "^6.22.0"
656631
babel-template "^6.24.1"
657632

658-
babel-plugin-transform-decorators@^6.24.1:
659-
version "6.24.1"
660-
resolved "https://registry.yarnpkg.com/babel-plugin-transform-decorators/-/babel-plugin-transform-decorators-6.24.1.tgz#788013d8f8c6b5222bdf7b344390dfd77569e24d"
661-
dependencies:
662-
babel-helper-explode-class "^6.24.1"
663-
babel-plugin-syntax-decorators "^6.13.0"
664-
babel-runtime "^6.22.0"
665-
babel-template "^6.24.1"
666-
babel-types "^6.24.1"
667-
668633
babel-plugin-transform-es2015-arrow-functions@^6.22.0:
669634
version "6.22.0"
670635
resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-arrow-functions/-/babel-plugin-transform-es2015-arrow-functions-6.22.0.tgz#452692cb711d5f79dc7f85e440ce41b9f244d221"
@@ -749,7 +714,7 @@ babel-plugin-transform-es2015-modules-amd@^6.22.0, babel-plugin-transform-es2015
749714
babel-runtime "^6.22.0"
750715
babel-template "^6.24.1"
751716

752-
babel-plugin-transform-es2015-modules-commonjs@^6.23.0, babel-plugin-transform-es2015-modules-commonjs@^6.24.1, babel-plugin-transform-es2015-modules-commonjs@^6.26.0:
717+
babel-plugin-transform-es2015-modules-commonjs@^6.23.0, babel-plugin-transform-es2015-modules-commonjs@^6.24.1:
753718
version "6.26.2"
754719
resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-modules-commonjs/-/babel-plugin-transform-es2015-modules-commonjs-6.26.2.tgz#58a793863a9e7ca870bdc5a881117ffac27db6f3"
755720
dependencies:
@@ -970,15 +935,6 @@ babel-preset-react@^6.24.1:
970935
babel-plugin-transform-react-jsx-source "^6.22.0"
971936
babel-preset-flow "^6.23.0"
972937

973-
babel-preset-stage-2@^6.24.1:
974-
version "6.24.1"
975-
resolved "https://registry.yarnpkg.com/babel-preset-stage-2/-/babel-preset-stage-2-6.24.1.tgz#d9e2960fb3d71187f0e64eec62bc07767219bdc1"
976-
dependencies:
977-
babel-plugin-syntax-dynamic-import "^6.18.0"
978-
babel-plugin-transform-class-properties "^6.24.1"
979-
babel-plugin-transform-decorators "^6.24.1"
980-
babel-preset-stage-3 "^6.24.1"
981-
982938
babel-preset-stage-3@^6.24.1:
983939
version "6.24.1"
984940
resolved "https://registry.yarnpkg.com/babel-preset-stage-3/-/babel-preset-stage-3-6.24.1.tgz#836ada0a9e7a7fa37cb138fb9326f87934a48395"

0 commit comments

Comments
 (0)