Skip to content

Commit 15307e8

Browse files
gabelevifacebook-github-bot
authored andcommitted
Small improvements to ./tool cherry-pick
Reviewed By: samwgoldman Differential Revision: D4970114 fbshipit-source-id: 4c5efb80e5fba900f58854ca64e6df846d6b58d9
1 parent 8512e18 commit 15307e8

File tree

3 files changed

+17
-3
lines changed

3 files changed

+17
-3
lines changed

npm-flow-lib/.babelrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"transform-flow-strip-types",
44
"transform-regenerator",
55
"syntax-async-functions",
6+
"transform-object-rest-spread",
67
],
78
"presets": ["es2015"]
89
}

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"babel-plugin-syntax-trailing-function-commas": "^6.8.0",
99
"babel-plugin-transform-class-properties": "^6.8.0",
1010
"babel-plugin-transform-flow-strip-types": "^6.8.0",
11+
"babel-plugin-transform-object-rest-spread": "^6.20.2",
1112
"babel-plugin-transform-regenerator": "^6.8.0",
1213
"babel-polyfill": "^6.8.0",
1314
"babel-preset-es2015": "^6.8.0",
@@ -20,11 +21,11 @@
2021
"minimist": "~1.2.0",
2122
"mkdirp": "^0.5.1",
2223
"ncp": "~2.0.0",
24+
"resolve": "^1.1.7",
2325
"rimraf": "^2.5.2",
2426
"sane": "^1.4.0",
2527
"source-map-support": "~0.4.0",
26-
"twit": "^2.1.5",
27-
"resolve": "^1.1.7"
28+
"twit": "^2.1.5"
2829
},
2930
"babel": {
3031
"presets": [
@@ -36,6 +37,7 @@
3637
"syntax-trailing-function-commas",
3738
"transform-class-properties",
3839
"transform-flow-strip-types",
40+
"transform-object-rest-spread",
3941
"transform-regenerator"
4042
]
4143
},

yarn.lock

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,10 @@ babel-plugin-syntax-flow@^6.18.0, babel-plugin-syntax-flow@^6.8.0:
214214
version "6.18.0"
215215
resolved "https://registry.yarnpkg.com/babel-plugin-syntax-flow/-/babel-plugin-syntax-flow-6.18.0.tgz#4c3ab20a2af26aa20cd25995c398c4eb70310c8d"
216216

217+
babel-plugin-syntax-object-rest-spread@^6.8.0:
218+
version "6.13.0"
219+
resolved babel-plugin-syntax-object-rest-spread-6.13.0.tgz#fd6536f2bce13836ffa3a5458c4903a597bb3bf5
220+
217221
babel-plugin-syntax-trailing-function-commas@^6.8.0:
218222
version "6.22.0"
219223
resolved "https://registry.yarnpkg.com/babel-plugin-syntax-trailing-function-commas/-/babel-plugin-syntax-trailing-function-commas-6.22.0.tgz#ba0360937f8d06e40180a43fe0d5616fff532cf3"
@@ -402,6 +406,13 @@ babel-plugin-transform-flow-strip-types@^6.8.0:
402406
babel-plugin-syntax-flow "^6.18.0"
403407
babel-runtime "^6.22.0"
404408

409+
babel-plugin-transform-object-rest-spread@^6.20.2:
410+
version "6.20.2"
411+
resolved babel-plugin-transform-object-rest-spread-6.20.2.tgz#e816c55bba77b14c16365d87e2ae48c8fd18fc2e
412+
dependencies:
413+
babel-plugin-syntax-object-rest-spread "^6.8.0"
414+
babel-runtime "^6.20.0"
415+
405416
babel-plugin-transform-regenerator@^6.24.1, babel-plugin-transform-regenerator@^6.8.0:
406417
version "6.24.1"
407418
resolved "https://registry.yarnpkg.com/babel-plugin-transform-regenerator/-/babel-plugin-transform-regenerator-6.24.1.tgz#b8da305ad43c3c99b4848e4fe4037b770d23c418"
@@ -464,7 +475,7 @@ babel-register@^6.24.1, babel-register@^6.8.0:
464475
mkdirp "^0.5.1"
465476
source-map-support "^0.4.2"
466477

467-
babel-runtime@^6.18.0, babel-runtime@^6.22.0:
478+
babel-runtime@^6.18.0, babel-runtime@^6.20.0, babel-runtime@^6.22.0:
468479
version "6.23.0"
469480
resolved "https://registry.yarnpkg.com/babel-runtime/-/babel-runtime-6.23.0.tgz#0a9489f144de70efb3ce4300accdb329e2fc543b"
470481
dependencies:

0 commit comments

Comments
 (0)