Skip to content

Commit

Permalink
Upgrade babel and rollup (#1031)
Browse files Browse the repository at this point in the history
- upgraded babel including runtime (to dedupe it later)
- upgraded rollup to fix the problem with swallowed errors
- replaced uglify with less buggy terser
  • Loading branch information
TrySound authored Feb 11, 2019
1 parent a02b364 commit 15a24af
Show file tree
Hide file tree
Showing 38 changed files with 728 additions and 844 deletions.
26 changes: 13 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,13 @@
"yarn": ">=1.9"
},
"devDependencies": {
"@babel/core": "^7.0.0",
"@babel/plugin-proposal-class-properties": "^7.0.0",
"@babel/core": "^7.2.2",
"@babel/plugin-proposal-class-properties": "^7.3.0",
"@babel/plugin-proposal-export-namespace-from": "^7.2.0",
"@babel/plugin-proposal-object-rest-spread": "^7.2.0",
"@babel/plugin-transform-runtime": "^7.0.0",
"@babel/plugin-proposal-object-rest-spread": "^7.3.2",
"@babel/plugin-transform-runtime": "^7.2.0",
"@babel/polyfill": "^7.2.5",
"@babel/preset-env": "^7.0.0",
"@babel/preset-env": "^7.3.1",
"@babel/preset-flow": "^7.0.0",
"@babel/preset-react": "^7.0.0",
"@lerna/prompt": "^3.6.0",
Expand Down Expand Up @@ -90,14 +90,14 @@
"react": "^16.4.1",
"react-test-renderer": "^16.7.0",
"rimraf": "^2.5.4",
"rollup": "^0.65.0",
"rollup-plugin-babel": "^4.0.3",
"rollup-plugin-commonjs": "^9.1.6",
"rollup-plugin-node-globals": "^1.3.0",
"rollup-plugin-node-resolve": "^3.4.0",
"rollup-plugin-replace": "^2.0.0",
"rollup-plugin-size-snapshot": "^0.6.1",
"rollup-plugin-uglify": "^4.0.0",
"rollup": "^1.1.2",
"rollup-plugin-babel": "^4.3.2",
"rollup-plugin-commonjs": "^9.2.0",
"rollup-plugin-node-globals": "^1.4.0",
"rollup-plugin-node-resolve": "^4.0.0",
"rollup-plugin-replace": "^2.1.0",
"rollup-plugin-size-snapshot": "^0.8.0",
"rollup-plugin-terser": "^4.0.4",
"shelljs": "^0.8.2",
"sinon": "4.5.0",
"typescript": "^3.1.3",
Expand Down
12 changes: 6 additions & 6 deletions packages/jss-plugin-cache/.size-snapshot.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"dist/jss-plugin-cache.js": {
"bundled": 1066,
"minified": 518,
"gzipped": 331
"bundled": 1087,
"minified": 528,
"gzipped": 339
},
"dist/jss-plugin-cache.min.js": {
"bundled": 1066,
"minified": 518,
"gzipped": 331
"bundled": 1087,
"minified": 528,
"gzipped": 339
},
"dist/jss-plugin-cache.cjs.js": {
"bundled": 748,
Expand Down
2 changes: 1 addition & 1 deletion packages/jss-plugin-cache/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"check-snapshot": "node ../../scripts/match-snapshot.js"
},
"dependencies": {
"@babel/runtime": "^7.0.0",
"@babel/runtime": "^7.3.1",
"jss": "10.0.0-alpha.10"
}
}
12 changes: 6 additions & 6 deletions packages/jss-plugin-camel-case/.size-snapshot.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"dist/jss-plugin-camel-case.js": {
"bundled": 2403,
"minified": 800,
"gzipped": 458
"bundled": 2424,
"minified": 810,
"gzipped": 466
},
"dist/jss-plugin-camel-case.min.js": {
"bundled": 2403,
"minified": 800,
"gzipped": 458
"bundled": 2424,
"minified": 810,
"gzipped": 466
},
"dist/jss-plugin-camel-case.cjs.js": {
"bundled": 1703,
Expand Down
2 changes: 1 addition & 1 deletion packages/jss-plugin-camel-case/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"jss-plugin-rule-value-function": "10.0.0-alpha.10"
},
"dependencies": {
"@babel/runtime": "^7.0.0",
"@babel/runtime": "^7.3.1",
"hyphenate-style-name": "^1.0.2",
"jss": "10.0.0-alpha.10"
}
Expand Down
12 changes: 6 additions & 6 deletions packages/jss-plugin-compose/.size-snapshot.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"dist/jss-plugin-compose.js": {
"bundled": 2536,
"minified": 933,
"gzipped": 541
"bundled": 2557,
"minified": 943,
"gzipped": 549
},
"dist/jss-plugin-compose.min.js": {
"bundled": 2079,
"minified": 686,
"gzipped": 418
"bundled": 2100,
"minified": 696,
"gzipped": 426
},
"dist/jss-plugin-compose.cjs.js": {
"bundled": 2131,
Expand Down
2 changes: 1 addition & 1 deletion packages/jss-plugin-compose/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"check-snapshot": "node ../../scripts/match-snapshot.js"
},
"dependencies": {
"@babel/runtime": "^7.0.0",
"@babel/runtime": "^7.3.1",
"jss": "10.0.0-alpha.10",
"tiny-warning": "^1.0.2"
}
Expand Down
12 changes: 6 additions & 6 deletions packages/jss-plugin-default-unit/.size-snapshot.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"dist/jss-plugin-default-unit.js": {
"bundled": 5910,
"minified": 2732,
"gzipped": 1047
"bundled": 5933,
"minified": 2742,
"gzipped": 1055
},
"dist/jss-plugin-default-unit.min.js": {
"bundled": 5910,
"minified": 2732,
"gzipped": 1047
"bundled": 5933,
"minified": 2742,
"gzipped": 1055
},
"dist/jss-plugin-default-unit.cjs.js": {
"bundled": 5221,
Expand Down
2 changes: 1 addition & 1 deletion packages/jss-plugin-default-unit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"jss-plugin-rule-value-observable": "10.0.0-alpha.10"
},
"dependencies": {
"@babel/runtime": "^7.0.0",
"@babel/runtime": "^7.3.1",
"jss": "10.0.0-alpha.10"
}
}
12 changes: 6 additions & 6 deletions packages/jss-plugin-expand/.size-snapshot.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"dist/jss-plugin-expand.js": {
"bundled": 11123,
"minified": 4106,
"gzipped": 1445
"bundled": 11144,
"minified": 4116,
"gzipped": 1452
},
"dist/jss-plugin-expand.min.js": {
"bundled": 11123,
"minified": 4106,
"gzipped": 1445
"bundled": 11144,
"minified": 4116,
"gzipped": 1452
},
"dist/jss-plugin-expand.cjs.js": {
"bundled": 10144,
Expand Down
2 changes: 1 addition & 1 deletion packages/jss-plugin-expand/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"jss-plugin-rule-value-observable": "10.0.0-alpha.10"
},
"dependencies": {
"@babel/runtime": "^7.0.0",
"@babel/runtime": "^7.3.1",
"jss": "10.0.0-alpha.10"
}
}
12 changes: 6 additions & 6 deletions packages/jss-plugin-extend/.size-snapshot.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"dist/jss-plugin-extend.js": {
"bundled": 4113,
"minified": 1410,
"gzipped": 697
"bundled": 4134,
"minified": 1420,
"gzipped": 703
},
"dist/jss-plugin-extend.min.js": {
"bundled": 3741,
"minified": 1225,
"gzipped": 587
"bundled": 3762,
"minified": 1235,
"gzipped": 594
},
"dist/jss-plugin-extend.cjs.js": {
"bundled": 3566,
Expand Down
2 changes: 1 addition & 1 deletion packages/jss-plugin-extend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"jss-plugin-rule-value-function": "10.0.0-alpha.10"
},
"dependencies": {
"@babel/runtime": "^7.0.0",
"@babel/runtime": "^7.3.1",
"jss": "10.0.0-alpha.10",
"tiny-warning": "^1.0.2"
}
Expand Down
16 changes: 8 additions & 8 deletions packages/jss-plugin-global/.size-snapshot.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
{
"dist/jss-plugin-global.js": {
"bundled": 5100,
"minified": 2237,
"gzipped": 923
"bundled": 5135,
"minified": 2247,
"gzipped": 931
},
"dist/jss-plugin-global.min.js": {
"bundled": 5100,
"minified": 2237,
"gzipped": 923
"bundled": 5135,
"minified": 2247,
"gzipped": 931
},
"dist/jss-plugin-global.cjs.js": {
"bundled": 4301,
"bundled": 4307,
"minified": 2318,
"gzipped": 900
},
"dist/jss-plugin-global.esm.js": {
"bundled": 4089,
"bundled": 4095,
"minified": 2157,
"gzipped": 815,
"treeshaked": {
Expand Down
2 changes: 1 addition & 1 deletion packages/jss-plugin-global/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"jss-plugin-nested": "10.0.0-alpha.10"
},
"dependencies": {
"@babel/runtime": "^7.0.0",
"@babel/runtime": "^7.3.1",
"jss": "10.0.0-alpha.10"
}
}
12 changes: 6 additions & 6 deletions packages/jss-plugin-isolate/.size-snapshot.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"dist/jss-plugin-isolate.js": {
"bundled": 14375,
"minified": 9411,
"gzipped": 2674
"bundled": 14396,
"minified": 9421,
"gzipped": 2682
},
"dist/jss-plugin-isolate.min.js": {
"bundled": 14375,
"minified": 9411,
"gzipped": 2674
"bundled": 14396,
"minified": 9421,
"gzipped": 2682
},
"dist/jss-plugin-isolate.cjs.js": {
"bundled": 3927,
Expand Down
2 changes: 1 addition & 1 deletion packages/jss-plugin-isolate/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"check-snapshot": "node ../../scripts/match-snapshot.js"
},
"dependencies": {
"@babel/runtime": "^7.0.0",
"@babel/runtime": "^7.3.1",
"css-initials": "^0.2.0",
"jss": "10.0.0-alpha.10"
}
Expand Down
12 changes: 6 additions & 6 deletions packages/jss-plugin-nested/.size-snapshot.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"dist/jss-plugin-nested.js": {
"bundled": 4491,
"minified": 1542,
"gzipped": 845
"bundled": 4512,
"minified": 1552,
"gzipped": 852
},
"dist/jss-plugin-nested.min.js": {
"bundled": 4061,
"minified": 1330,
"gzipped": 719
"bundled": 4082,
"minified": 1340,
"gzipped": 726
},
"dist/jss-plugin-nested.cjs.js": {
"bundled": 3643,
Expand Down
2 changes: 1 addition & 1 deletion packages/jss-plugin-nested/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"jss-plugin-rule-value-function": "10.0.0-alpha.10"
},
"dependencies": {
"@babel/runtime": "^7.0.0",
"@babel/runtime": "^7.3.1",
"jss": "10.0.0-alpha.10",
"tiny-warning": "^1.0.2"
}
Expand Down
12 changes: 6 additions & 6 deletions packages/jss-plugin-props-sort/.size-snapshot.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"dist/jss-plugin-props-sort.js": {
"bundled": 899,
"minified": 460,
"gzipped": 297
"bundled": 920,
"minified": 470,
"gzipped": 304
},
"dist/jss-plugin-props-sort.min.js": {
"bundled": 899,
"minified": 460,
"gzipped": 297
"bundled": 920,
"minified": 470,
"gzipped": 304
},
"dist/jss-plugin-props-sort.cjs.js": {
"bundled": 579,
Expand Down
2 changes: 1 addition & 1 deletion packages/jss-plugin-props-sort/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"check-snapshot": "node ../../scripts/match-snapshot.js"
},
"dependencies": {
"@babel/runtime": "^7.0.0",
"@babel/runtime": "^7.3.1",
"jss": "10.0.0-alpha.10"
}
}
12 changes: 6 additions & 6 deletions packages/jss-plugin-rule-value-function/.size-snapshot.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"dist/jss-plugin-rule-value-function.js": {
"bundled": 2025,
"minified": 729,
"gzipped": 424
"bundled": 2048,
"minified": 739,
"gzipped": 432
},
"dist/jss-plugin-rule-value-function.min.js": {
"bundled": 2025,
"minified": 729,
"gzipped": 424
"bundled": 2048,
"minified": 739,
"gzipped": 432
},
"dist/jss-plugin-rule-value-function.cjs.js": {
"bundled": 1642,
Expand Down
2 changes: 1 addition & 1 deletion packages/jss-plugin-rule-value-function/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"check-snapshot": "node ../../scripts/match-snapshot.js"
},
"dependencies": {
"@babel/runtime": "^7.0.0",
"@babel/runtime": "^7.3.1",
"jss": "10.0.0-alpha.10"
}
}
12 changes: 6 additions & 6 deletions packages/jss-plugin-rule-value-observable/.size-snapshot.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"dist/jss-plugin-rule-value-observable.js": {
"bundled": 3531,
"minified": 1101,
"gzipped": 533
"bundled": 3554,
"minified": 1111,
"gzipped": 538
},
"dist/jss-plugin-rule-value-observable.min.js": {
"bundled": 3531,
"minified": 1101,
"gzipped": 533
"bundled": 3554,
"minified": 1111,
"gzipped": 538
},
"dist/jss-plugin-rule-value-observable.cjs.js": {
"bundled": 1709,
Expand Down
2 changes: 1 addition & 1 deletion packages/jss-plugin-rule-value-observable/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"check-snapshot": "node ../../scripts/match-snapshot.js"
},
"dependencies": {
"@babel/runtime": "^7.0.0",
"@babel/runtime": "^7.3.1",
"jss": "10.0.0-alpha.10",
"symbol-observable": "^1.2.0"
}
Expand Down
Loading

0 comments on commit 15a24af

Please sign in to comment.