Skip to content

Commit 023f2c5

Browse files
authored
feat: Upgrade Rollup and Plugins (#357)
Test your bundle before releasing it on npm. BREAKING CHANGE: - use latest version of rollup and its plugins
1 parent a21420c commit 023f2c5

File tree

9 files changed

+4341
-4141
lines changed

9 files changed

+4341
-4141
lines changed

.releaserc.json

-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
{
77
"preset": "angular",
88
"releaseRules": [
9-
{ "type": "chore", "release": "patch" },
109
{ "type": "refactor", "release": "patch" },
1110
{ "type": "style", "release": "patch" },
1211
{ "scope": "no-release", "release": false }

package.json

+52-63
Original file line numberDiff line numberDiff line change
@@ -31,84 +31,73 @@
3131
"node 6"
3232
],
3333
"dependencies": {
34-
"@babel/core": "^7.9.6",
35-
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.8.3",
36-
"@babel/plugin-proposal-object-rest-spread": "^7.3.1",
37-
"@babel/plugin-proposal-optional-chaining": "^7.9.0",
38-
"@babel/plugin-transform-react-jsx": "^7.3.0",
39-
"@babel/preset-env": "^7.9.6",
40-
"@babel/preset-typescript": "^7.1.0",
41-
"@rollup/plugin-replace": "^2.3.2",
34+
"@babel/core": "^7.10.2",
35+
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.10.1",
36+
"@babel/plugin-proposal-object-rest-spread": "^7.10.1",
37+
"@babel/plugin-proposal-optional-chaining": "^7.10.1",
38+
"@babel/plugin-transform-react-jsx": "^7.10.1",
39+
"@babel/preset-env": "^7.10.2",
40+
"@babel/preset-typescript": "^7.10.1",
41+
"@rollup/plugin-babel": "^5.0.3",
42+
"@rollup/plugin-buble": "^0.21.3",
43+
"@rollup/plugin-commonjs": "^13.0.0",
44+
"@rollup/plugin-json": "^4.1.0",
45+
"@rollup/plugin-node-resolve": "^8.0.1",
46+
"@rollup/plugin-replace": "^2.3.3",
4247
"babel-plugin-transform-async-to-promises": "^0.8.15",
43-
"chalk": "^2.4.2",
44-
"ora": "^3.0.0",
45-
"rollup": "^1.1.2",
46-
"rollup-plugin-babel": "^4.3.2",
47-
"rollup-plugin-buble": "^0.19.6",
48-
"rollup-plugin-commonjs": "^9.2.0",
48+
"chalk": "^4.1.0",
49+
"ora": "^4.0.4",
50+
"rollup": "^2.16.1",
4951
"rollup-plugin-hashbang": "^2.2.2",
50-
"rollup-plugin-json": "^3.1.0",
51-
"rollup-plugin-node-resolve": "^4.2.3",
52-
"rollup-plugin-postcss": "^2.0.3",
53-
"rollup-plugin-terser": "^5.3.0"
52+
"rollup-plugin-postcss": "^3.1.2",
53+
"rollup-plugin-terser": "^6.1.0",
54+
"v8-compile-cache": "^2.1.1"
5455
},
5556
"devDependencies": {
56-
"@types/babel__core": "^7.0.4",
57-
"@types/babel__generator": "^7.0.1",
58-
"@types/babel__template": "^7.0.1",
59-
"@types/babel__traverse": "^7.0.4",
60-
"@types/boxen": "^2.1.0",
61-
"@types/builtin-modules": "^2.0.0",
57+
"@types/babel__core": "^7.1.8",
58+
"@types/babel__generator": "^7.6.1",
59+
"@types/babel__template": "^7.0.2",
60+
"@types/babel__traverse": "^7.0.12",
6261
"@types/elegant-spinner": "^2.0.1",
63-
"@types/figures": "^2.0.0",
64-
"@types/gzip-size": "^4.1.0",
65-
"@types/jest": "^23.3.13",
66-
"@types/lodash": "^4.14.120",
67-
"@types/log-update": "^2.0.0",
68-
"@types/node": "^10.12.18",
69-
"@types/ora": "^3.0.0",
70-
"@types/p-waterfall": "^1.0.0",
62+
"@types/jest": "^26.0.0",
63+
"@types/lodash": "^4.14.155",
64+
"@types/node": "^14.0.13",
7165
"@types/pify": "^3.0.2",
72-
"@types/pretty-bytes": "^5.1.0",
73-
"@types/pretty-ms": "^4.0.0",
7466
"@types/require-from-string": "^1.2.0",
75-
"@types/resolve": "^0.0.8",
76-
"@types/slash": "^2.0.0",
77-
"@types/string-width": "^2.0.0",
67+
"@types/resolve": "^1.17.1",
7868
"babel-plugin-alter-object-assign": "^1.0.2",
79-
"boxen": "^2.1.0",
80-
"builtin-modules": "^3.0.0",
81-
"cac": "^6.4.2",
82-
"commitizen": "^3.0.5",
83-
"cz-conventional-changelog": "^2.1.0",
84-
"gzip-size": "^5.0.0",
85-
"husky": "^2.5.0",
86-
"jest": "^23.0.0",
87-
"joycon": "^2.2.4",
88-
"lint-staged": "^7.2.0",
89-
"lodash": "^4.17.11",
69+
"boxen": "^4.2.0",
70+
"builtin-modules": "^3.1.0",
71+
"cac": "^6.5.10",
72+
"commitizen": "^4.1.2",
73+
"cz-conventional-changelog": "^3.2.0",
74+
"gzip-size": "^5.1.1",
75+
"husky": "^4.2.5",
76+
"jest": "^26.0.1",
77+
"joycon": "^2.2.5",
78+
"lint-staged": "^10.2.10",
79+
"lodash": "^4.17.15",
9080
"nswatch": "^0.2.0",
9181
"p-waterfall": "^2.1.0",
92-
"pify": "^4.0.1",
93-
"prettier": "^1.15.2",
94-
"pretty-bytes": "^5.1.0",
95-
"pretty-ms": "^4.0.0",
82+
"pify": "^5.0.0",
83+
"prettier": "^2.0.5",
84+
"pretty-bytes": "^5.3.0",
85+
"pretty-ms": "^7.0.0",
9686
"require-from-string": "^2.0.2",
97-
"require-so-slow": "^1.2.0",
98-
"resolve": "^1.10.0",
87+
"require-so-slow": "^2.0.2",
88+
"resolve": "^1.17.0",
9989
"resolve-from": "^5.0.0",
100-
"rollup-plugin-typescript2": "^0.19.2",
101-
"semantic-release": "^17.0.7",
90+
"rollup-plugin-typescript2": "^0.27.1",
91+
"semantic-release": "^17.0.8",
10292
"semver": "^7.3.2",
103-
"slash": "^2.0.0",
104-
"string-width": "^3.0.0",
93+
"slash": "^3.0.0",
94+
"string-width": "^4.2.0",
10595
"stringify-author": "^0.1.3",
10696
"text-table": "^0.2.0",
107-
"tinydate": "^1.0.1",
108-
"ts-jest": "^23.10.5",
109-
"typedoc": "^0.14.2",
110-
"typescript": "^3.2.4",
111-
"v8-compile-cache": "^2.0.2"
97+
"tinydate": "^1.2.0",
98+
"ts-jest": "^26.1.0",
99+
"typedoc": "^0.17.7",
100+
"typescript": "^3.9.5"
112101
},
113102
"husky": {
114103
"hooks": {

0 commit comments

Comments
 (0)