Skip to content

Commit 73fe959

Browse files
committed
build: add back babel-preset-stage-1
1 parent b877baa commit 73fe959

File tree

4 files changed

+45
-18
lines changed

4 files changed

+45
-18
lines changed

.babelrc

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"presets": [
3+
"stage-1",
34
"flow",
45
"react"
56
],
@@ -9,13 +10,15 @@
910
"env": {
1011
"test": {
1112
"presets": [
12-
["env", {"targets": {"node": "current"}}]
13+
["env", {"targets": {"node": "current"}}],
14+
"stage-1", "flow", "react"
1315
],
1416
"plugins": ["istanbul"]
1517
},
1618
"es5": {
1719
"presets": [
18-
["env", {"forceAllTransforms": true}]
20+
["env", {"forceAllTransforms": true}],
21+
"stage-1", "flow", "react"
1922
],
2023
"plugins": [
2124
"transform-runtime",

.eslintrc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
2-
"env": {
3-
"es6": true
4-
},
52
"extends": [
63
"@jedwards1211/eslint-config-react", "@jedwards1211/eslint-config-flow"
74
],
8-
"parser": "babel-eslint"
5+
"parser": "babel-eslint",
6+
"env": {
7+
"es6": true
8+
}
99
}

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@
6363
"@jedwards1211/eslint-config": "^2.0.0",
6464
"@jedwards1211/eslint-config-flow": "^1.0.0",
6565
"@jedwards1211/eslint-config-react": "^4.0.0",
66-
"babel-cli": "^6.22.2",
67-
"babel-core": "^6.22.1",
66+
"babel-cli": "^6.23.0",
67+
"babel-core": "^6.23.1",
6868
"babel-eslint": "^7.1.1",
6969
"babel-plugin-flow-react-proptypes": "^17.0.0",
7070
"babel-plugin-istanbul": "^4.0.0",
@@ -73,15 +73,15 @@
7373
"babel-preset-env": "^1.7.0",
7474
"babel-preset-flow": "^6.23.0",
7575
"babel-preset-react": "^6.16.0",
76-
"babel-preset-stage-1": "^6.22.0",
76+
"babel-preset-stage-1": "^6.24.1",
7777
"babel-register": "^6.23.0",
7878
"babel-runtime": "^6.23.0",
7979
"chai": "^4.1.2",
8080
"codecov": "^3.0.0",
8181
"copy": "^0.3.0",
8282
"enzyme": "^3.3.0",
8383
"enzyme-adapter-react-16": "^1.1.1",
84-
"eslint": "^3.13.1",
84+
"eslint": "^3.15.0",
8585
"eslint-plugin-flowtype": "^2.30.0",
8686
"eslint-plugin-react": "^7.0.0",
8787
"eslint-watch": "^3.0.0",

yarn.lock

Lines changed: 32 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -516,7 +516,7 @@ aws4@^1.6.0:
516516
version "1.7.0"
517517
resolved "https://registry.npmjs.org/aws4/-/aws4-1.7.0.tgz#d4d0e9b9dbfca77bf08eeb0a8a471550fe39e289"
518518

519-
babel-cli@^6.22.2:
519+
babel-cli@^6.23.0:
520520
version "6.26.0"
521521
resolved "https://registry.npmjs.org/babel-cli/-/babel-cli-6.26.0.tgz#502ab54874d7db88ad00b887a06383ce03d002f1"
522522
dependencies:
@@ -545,7 +545,31 @@ babel-code-frame@^6.16.0, babel-code-frame@^6.22.0, babel-code-frame@^6.26.0:
545545
esutils "^2.0.2"
546546
js-tokens "^3.0.2"
547547

548-
babel-core@^6.22.1, babel-core@^6.25.0, babel-core@^6.26.0:
548+
babel-core@^6.23.1:
549+
version "6.26.3"
550+
resolved "https://registry.npmjs.org/babel-core/-/babel-core-6.26.3.tgz#b2e2f09e342d0f0c88e2f02e067794125e75c207"
551+
dependencies:
552+
babel-code-frame "^6.26.0"
553+
babel-generator "^6.26.0"
554+
babel-helpers "^6.24.1"
555+
babel-messages "^6.23.0"
556+
babel-register "^6.26.0"
557+
babel-runtime "^6.26.0"
558+
babel-template "^6.26.0"
559+
babel-traverse "^6.26.0"
560+
babel-types "^6.26.0"
561+
babylon "^6.18.0"
562+
convert-source-map "^1.5.1"
563+
debug "^2.6.9"
564+
json5 "^0.5.1"
565+
lodash "^4.17.4"
566+
minimatch "^3.0.4"
567+
path-is-absolute "^1.0.1"
568+
private "^0.1.8"
569+
slash "^1.0.0"
570+
source-map "^0.5.7"
571+
572+
babel-core@^6.25.0, babel-core@^6.26.0:
549573
version "6.26.0"
550574
resolved "https://registry.npmjs.org/babel-core/-/babel-core-6.26.0.tgz#af32f78b31a6fcef119c87b0fd8d9753f03a0bb8"
551575
dependencies:
@@ -1182,7 +1206,7 @@ babel-preset-react@^6.16.0:
11821206
babel-plugin-transform-react-jsx-source "^6.22.0"
11831207
babel-preset-flow "^6.23.0"
11841208

1185-
babel-preset-stage-1@^6.22.0:
1209+
babel-preset-stage-1@^6.24.1:
11861210
version "6.24.1"
11871211
resolved "https://registry.npmjs.org/babel-preset-stage-1/-/babel-preset-stage-1-6.24.1.tgz#7692cd7dcd6849907e6ae4a0a85589cfb9e2bfb0"
11881212
dependencies:
@@ -1821,7 +1845,7 @@ conventional-commits-parser@^2.0.0, conventional-commits-parser@^2.1.0:
18211845
through2 "^2.0.0"
18221846
trim-off-newlines "^1.0.0"
18231847

1824-
convert-source-map@^1.3.0, convert-source-map@^1.5.0:
1848+
convert-source-map@^1.3.0, convert-source-map@^1.5.0, convert-source-map@^1.5.1:
18251849
version "1.5.1"
18261850
resolved "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.5.1.tgz#b8278097b9bc229365de5c62cf5fcaed8b5599e5"
18271851

@@ -1989,7 +2013,7 @@ debug@3.1.0, debug@^3.0.1, debug@^3.1.0:
19892013
dependencies:
19902014
ms "2.0.0"
19912015

1992-
debug@^2.1.1, debug@^2.2.0, debug@^2.3.3, debug@^2.6.8:
2016+
debug@^2.1.1, debug@^2.2.0, debug@^2.3.3, debug@^2.6.8, debug@^2.6.9:
19932017
version "2.6.9"
19942018
resolved "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz#5d128515df134ff327e90a4c93f4e077a536341f"
19952019
dependencies:
@@ -2402,7 +2426,7 @@ eslint-watch@^3.0.0:
24022426
text-table "^0.2.0"
24032427
unicons "0.0.3"
24042428

2405-
eslint@^3.13.1:
2429+
eslint@^3.15.0:
24062430
version "3.19.0"
24072431
resolved "https://registry.npmjs.org/eslint/-/eslint-3.19.0.tgz#c8fc6201c7f40dd08941b87c085767386a679acc"
24082432
dependencies:
@@ -5050,7 +5074,7 @@ preserve@^0.2.0:
50505074
version "0.2.0"
50515075
resolved "https://registry.npmjs.org/preserve/-/preserve-0.2.0.tgz#815ed1f6ebc65926f865b310c0713bcb3315ce4b"
50525076

5053-
private@^0.1.6, private@^0.1.7:
5077+
private@^0.1.6, private@^0.1.7, private@^0.1.8:
50545078
version "0.1.8"
50555079
resolved "https://registry.npmjs.org/private/-/private-0.1.8.tgz#2381edb3689f7a53d653190060fcf822d2f368ff"
50565080

@@ -5762,7 +5786,7 @@ source-map@^0.4.4:
57625786
dependencies:
57635787
amdefine ">=0.0.4"
57645788

5765-
source-map@^0.5.3, source-map@^0.5.6, source-map@~0.5.1, source-map@~0.5.6:
5789+
source-map@^0.5.3, source-map@^0.5.6, source-map@^0.5.7, source-map@~0.5.1, source-map@~0.5.6:
57665790
version "0.5.7"
57675791
resolved "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz#8a039d2d1021d22d1ea14c80d8ea468ba2ef3fcc"
57685792

0 commit comments

Comments
 (0)