File tree Expand file tree Collapse file tree 4 files changed +37
-6
lines changed Expand file tree Collapse file tree 4 files changed +37
-6
lines changed Original file line number Diff line number Diff line change 1
1
language : node_js
2
2
node_js :
3
- # - 'node'
3
+ - ' node'
4
+ - ' 12'
4
5
- ' 10'
5
6
- ' 8'
6
7
cache : yarn
Original file line number Diff line number Diff line change 38
38
"@babel/plugin-external-helpers" : " ^7.2.0" ,
39
39
"@babel/plugin-proposal-class-properties" : " ^7.2.0" ,
40
40
"@babel/plugin-proposal-object-rest-spread" : " ^7.2.0" ,
41
+ "@babel/plugin-transform-runtime" : " ^7.4.4" ,
41
42
"@babel/preset-env" : " ^7.2.0" ,
42
43
"@babel/preset-typescript" : " ^7.1.0" ,
44
+ "@babel/runtime" : " ^7.4.5" ,
43
45
"@types/jest" : " ^24.0.11" ,
44
46
"@typescript-eslint/eslint-plugin" : " ^1.8.0" ,
45
47
"@typescript-eslint/parser" : " ^1.7.0" ,
56
58
"jest-runner-tsc" : " ^1.3.2" ,
57
59
"jest-watch-typeahead" : " ^0.3.0" ,
58
60
"lodash" : " ^4.17.11" ,
59
- "regenerator-runtime" : " ^0.13.2" ,
60
61
"typescript" : " ^3.2.1" ,
61
62
"yargs" : " ^13.1.0"
62
63
},
Original file line number Diff line number Diff line change @@ -9,17 +9,22 @@ const getBabelConfig = (moduleType) => ({
9
9
{
10
10
targets : 'last 2 versions' ,
11
11
modules : moduleType === 'esm' ? false : moduleType ,
12
- useBuiltIns : 'usage' ,
13
- corejs : {
14
- version : 3 ,
15
- }
16
12
} ,
17
13
] ,
18
14
'@babel/preset-typescript' ,
19
15
] ,
20
16
plugins : [
21
17
[ '@babel/plugin-proposal-class-properties' , { loose : true } ] ,
22
18
'@babel/plugin-proposal-object-rest-spread' ,
19
+ [ '@babel/plugin-transform-runtime' , {
20
+ corejs : false ,
21
+ helpers : true ,
22
+ regenerator : true ,
23
+
24
+ // NOTE: May need to point this to a specific one, see
25
+ // https://github.com/facebook/create-react-app/blob/695ca7576a6d27912bcf9d992b00ef7316232555/packages/babel-preset-react-app/create.js#L181
26
+ absoluteRuntime : false ,
27
+ } ]
23
28
] ,
24
29
} )
25
30
Original file line number Diff line number Diff line change 586
586
dependencies :
587
587
" @babel/helper-plugin-utils" " ^7.0.0"
588
588
589
+ " @babel/plugin-transform-runtime@^7.4.4 " :
590
+ version "7.4.4"
591
+ resolved "https://registry.yarnpkg.com/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.4.4.tgz#a50f5d16e9c3a4ac18a1a9f9803c107c380bce08"
592
+ integrity sha512-aMVojEjPszvau3NRg+TIH14ynZLvPewH4xhlCW1w6A3rkxTS1m4uwzRclYR9oS+rl/dr+kT+pzbfHuAWP/lc7Q==
593
+ dependencies :
594
+ " @babel/helper-module-imports" " ^7.0.0"
595
+ " @babel/helper-plugin-utils" " ^7.0.0"
596
+ resolve "^1.8.1"
597
+ semver "^5.5.1"
598
+
589
599
" @babel/plugin-transform-shorthand-properties@^7.2.0 " :
590
600
version "7.2.0"
591
601
resolved "https://registry.yarnpkg.com/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.2.0.tgz#6333aee2f8d6ee7e28615457298934a3b46198f0"
702
712
" @babel/helper-plugin-utils" " ^7.0.0"
703
713
" @babel/plugin-transform-typescript" " ^7.3.2"
704
714
715
+ " @babel/runtime@^7.4.5 " :
716
+ version "7.4.5"
717
+ resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.4.5.tgz#582bb531f5f9dc67d2fcb682979894f75e253f12"
718
+ integrity sha512-TuI4qpWZP6lGOGIuGWtp9sPluqYICmbk8T/1vpSysqJxRPkudh/ofFWyqdcMsDf2s7KvDL4/YHgKyvcS3g9CJQ==
719
+ dependencies :
720
+ regenerator-runtime "^0.13.2"
721
+
705
722
706
723
version "7.0.0-beta.44"
707
724
resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.0.0-beta.44.tgz#f8832f4fdcee5d59bf515e595fc5106c529b394f"
@@ -4599,6 +4616,13 @@ resolve@^1.5.0:
4599
4616
dependencies :
4600
4617
path-parse "^1.0.5"
4601
4618
4619
+ resolve@^1.8.1 :
4620
+ version "1.11.0"
4621
+ resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.11.0.tgz#4014870ba296176b86343d50b60f3b50609ce232"
4622
+ integrity sha512-WL2pBDjqT6pGUNSUzMw00o4T7If+z4H2x3Gz893WoUQ5KW8Vr9txp00ykiP16VBaZF5+j/OcXJHZ9+PCvdiDKw==
4623
+ dependencies :
4624
+ path-parse "^1.0.6"
4625
+
4602
4626
restore-cursor@^2.0.0 :
4603
4627
version "2.0.0"
4604
4628
resolved "https://registry.yarnpkg.com/restore-cursor/-/restore-cursor-2.0.0.tgz#9f7ee287f82fd326d4fd162923d62129eee0dfaf"
You can’t perform that action at this time.
0 commit comments