Skip to content

Commit 7638303

Browse files
committed
Get rid of babel-preset-stage-3
1 parent 6498cb9 commit 7638303

File tree

7 files changed

+6
-32
lines changed

7 files changed

+6
-32
lines changed

.babelrc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"presets": [
33
"env",
4-
"stage-3",
54
"react"
65
],
76
"plugins": [
8-
"transform-class-properties"
7+
"transform-class-properties",
8+
"transform-object-rest-spread"
99
]
1010
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,9 +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-object-rest-spread": "^6.26.0",
6061
"babel-preset-env": "^1.6.1",
6162
"babel-preset-react": "^6.24.1",
62-
"babel-preset-stage-3": "^6.24.1",
6363
"enzyme": "^3.3.0",
6464
"enzyme-adapter-react-16": "^1.1.1",
6565
"eslint": "^4.19.1",

sample/.babelrc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
"modules": false
77
}
88
],
9-
"stage-3",
109
"react"
1110
],
1211
"plugins": [

sample/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
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-3": "^6.24.1",
2827
"eslint": "^4.19.1",
2928
"eslint-config-airbnb": "^17.1.0",
3029
"eslint-plugin-import": "^2.14.0",

test/.babelrc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
"modules": false
77
}
88
],
9-
"stage-3",
109
"react"
1110
],
1211
"plugins": [

test/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
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-3": "^6.24.1",
2827
"eslint": "^4.19.1",
2928
"eslint-config-airbnb": "^17.1.0",
3029
"eslint-plugin-import": "^2.14.0",

yarn.lock

Lines changed: 3 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -577,10 +577,6 @@ babel-plugin-syntax-async-functions@^6.8.0:
577577
version "6.13.0"
578578
resolved "https://registry.yarnpkg.com/babel-plugin-syntax-async-functions/-/babel-plugin-syntax-async-functions-6.13.0.tgz#cad9cad1191b5ad634bf30ae0872391e0647be95"
579579

580-
babel-plugin-syntax-async-generators@^6.5.0:
581-
version "6.13.0"
582-
resolved "https://registry.yarnpkg.com/babel-plugin-syntax-async-generators/-/babel-plugin-syntax-async-generators-6.13.0.tgz#6bc963ebb16eccbae6b92b596eb7f35c342a8b9a"
583-
584580
babel-plugin-syntax-class-properties@^6.8.0:
585581
version "6.13.0"
586582
resolved "https://registry.yarnpkg.com/babel-plugin-syntax-class-properties/-/babel-plugin-syntax-class-properties-6.13.0.tgz#d7eb23b79a317f8543962c505b827c7d6cac27de"
@@ -605,15 +601,7 @@ babel-plugin-syntax-trailing-function-commas@^6.22.0:
605601
version "6.22.0"
606602
resolved "https://registry.yarnpkg.com/babel-plugin-syntax-trailing-function-commas/-/babel-plugin-syntax-trailing-function-commas-6.22.0.tgz#ba0360937f8d06e40180a43fe0d5616fff532cf3"
607603

608-
babel-plugin-transform-async-generator-functions@^6.24.1:
609-
version "6.24.1"
610-
resolved "https://registry.yarnpkg.com/babel-plugin-transform-async-generator-functions/-/babel-plugin-transform-async-generator-functions-6.24.1.tgz#f058900145fd3e9907a6ddf28da59f215258a5db"
611-
dependencies:
612-
babel-helper-remap-async-to-generator "^6.24.1"
613-
babel-plugin-syntax-async-generators "^6.5.0"
614-
babel-runtime "^6.22.0"
615-
616-
babel-plugin-transform-async-to-generator@^6.22.0, babel-plugin-transform-async-to-generator@^6.24.1:
604+
babel-plugin-transform-async-to-generator@^6.22.0:
617605
version "6.24.1"
618606
resolved "https://registry.yarnpkg.com/babel-plugin-transform-async-to-generator/-/babel-plugin-transform-async-to-generator-6.24.1.tgz#6536e378aff6cb1d5517ac0e40eb3e9fc8d08761"
619607
dependencies:
@@ -798,7 +786,7 @@ babel-plugin-transform-es2015-unicode-regex@^6.22.0:
798786
babel-runtime "^6.22.0"
799787
regexpu-core "^2.0.0"
800788

801-
babel-plugin-transform-exponentiation-operator@^6.22.0, babel-plugin-transform-exponentiation-operator@^6.24.1:
789+
babel-plugin-transform-exponentiation-operator@^6.22.0:
802790
version "6.24.1"
803791
resolved "https://registry.yarnpkg.com/babel-plugin-transform-exponentiation-operator/-/babel-plugin-transform-exponentiation-operator-6.24.1.tgz#2ab0c9c7f3098fa48907772bb813fe41e8de3a0e"
804792
dependencies:
@@ -813,7 +801,7 @@ babel-plugin-transform-flow-strip-types@^6.22.0:
813801
babel-plugin-syntax-flow "^6.18.0"
814802
babel-runtime "^6.22.0"
815803

816-
babel-plugin-transform-object-rest-spread@^6.22.0:
804+
babel-plugin-transform-object-rest-spread@^6.26.0:
817805
version "6.26.0"
818806
resolved "https://registry.yarnpkg.com/babel-plugin-transform-object-rest-spread/-/babel-plugin-transform-object-rest-spread-6.26.0.tgz#0f36692d50fef6b7e2d4b3ac1478137a963b7b06"
819807
dependencies:
@@ -935,16 +923,6 @@ babel-preset-react@^6.24.1:
935923
babel-plugin-transform-react-jsx-source "^6.22.0"
936924
babel-preset-flow "^6.23.0"
937925

938-
babel-preset-stage-3@^6.24.1:
939-
version "6.24.1"
940-
resolved "https://registry.yarnpkg.com/babel-preset-stage-3/-/babel-preset-stage-3-6.24.1.tgz#836ada0a9e7a7fa37cb138fb9326f87934a48395"
941-
dependencies:
942-
babel-plugin-syntax-trailing-function-commas "^6.22.0"
943-
babel-plugin-transform-async-generator-functions "^6.24.1"
944-
babel-plugin-transform-async-to-generator "^6.24.1"
945-
babel-plugin-transform-exponentiation-operator "^6.24.1"
946-
babel-plugin-transform-object-rest-spread "^6.22.0"
947-
948926
babel-register@^6.26.0:
949927
version "6.26.0"
950928
resolved "https://registry.yarnpkg.com/babel-register/-/babel-register-6.26.0.tgz#6ed021173e2fcb486d7acb45c6009a856f647071"

0 commit comments

Comments
 (0)