Skip to content

Commit ad47578

Browse files
committed
feat: update deps
BREAKING CHANGE: This release removes rollup-plugin-size-snapshot. If you'd like to keep that feature, you'll need to extend the built-in config yourself.
1 parent 866eb32 commit ad47578

File tree

2 files changed

+27
-32
lines changed

2 files changed

+27
-32
lines changed

package.json

+27-29
Original file line numberDiff line numberDiff line change
@@ -32,62 +32,60 @@
3232
"author": "Kent C. Dodds <[email protected]> (https://kentcdodds.com)",
3333
"license": "MIT",
3434
"dependencies": {
35-
"@babel/cli": "^7.12.8",
36-
"@babel/core": "^7.12.9",
37-
"@babel/plugin-proposal-class-properties": "^7.12.1",
38-
"@babel/plugin-transform-modules-commonjs": "^7.12.1",
39-
"@babel/plugin-transform-runtime": "^7.12.1",
40-
"@babel/preset-env": "^7.12.7",
41-
"@babel/preset-react": "^7.12.7",
42-
"@babel/preset-typescript": "^7.12.7",
43-
"@babel/runtime": "^7.12.5",
44-
"@rollup/plugin-babel": "^5.2.2",
45-
"@rollup/plugin-commonjs": "^17.0.0",
35+
"@babel/cli": "^7.13.0",
36+
"@babel/core": "^7.13.8",
37+
"@babel/plugin-proposal-class-properties": "^7.13.0",
38+
"@babel/plugin-transform-modules-commonjs": "^7.13.8",
39+
"@babel/plugin-transform-runtime": "^7.13.8",
40+
"@babel/preset-env": "^7.13.8",
41+
"@babel/preset-react": "^7.12.13",
42+
"@babel/preset-typescript": "^7.13.0",
43+
"@babel/runtime": "^7.13.8",
44+
"@rollup/plugin-babel": "^5.3.0",
45+
"@rollup/plugin-commonjs": "^17.1.0",
4646
"@rollup/plugin-json": "^4.1.0",
47-
"@rollup/plugin-node-resolve": "^10.0.0",
48-
"@rollup/plugin-replace": "^2.3.4",
49-
"@types/jest": "^26.0.16",
47+
"@rollup/plugin-node-resolve": "^11.2.0",
48+
"@rollup/plugin-replace": "^2.4.1",
49+
"@types/jest": "^26.0.20",
5050
"arrify": "^2.0.1",
5151
"babel-jest": "^26.6.3",
52-
"babel-plugin-macros": "^3.0.0",
52+
"babel-plugin-macros": "^3.0.1",
5353
"babel-plugin-minify-dead-code-elimination": "^0.5.1",
54-
"babel-plugin-module-resolver": "^4.0.0",
54+
"babel-plugin-module-resolver": "^4.1.0",
5555
"babel-plugin-transform-inline-environment-variables": "^0.4.3",
5656
"babel-plugin-transform-react-remove-prop-types": "^0.4.24",
57-
"browserslist": "^4.14.7",
57+
"browserslist": "^4.16.3",
5858
"builtin-modules": "^3.2.0",
5959
"chalk": "^4.1.0",
60-
"concurrently": "^5.3.0",
60+
"concurrently": "^6.0.0",
6161
"cosmiconfig": "^7.0.0",
6262
"cross-env": "^7.0.3",
6363
"cross-spawn": "^7.0.3",
64-
"doctoc": "^1.4.0",
65-
"eslint": "^7.14.0",
66-
"eslint-config-kentcdodds": "^17.2.0",
67-
"eslint-config-prettier": "^6.15.0",
64+
"doctoc": "^2.0.0",
65+
"eslint": "^7.21.0",
66+
"eslint-config-kentcdodds": "^17.4.0",
6867
"glob": "^7.1.6",
69-
"husky": "^4.3.0",
70-
"is-ci": "^2.0.0",
68+
"husky": "^5.1.2",
69+
"is-ci": "^3.0.0",
7170
"jest": "^26.6.3",
7271
"jest-serializer-path": "^0.1.15",
7372
"jest-watch-typeahead": "^0.6.1",
74-
"lint-staged": "^10.5.2",
73+
"lint-staged": "^10.5.4",
7574
"lodash.camelcase": "^4.3.0",
7675
"lodash.has": "^4.5.2",
7776
"lodash.omit": "^4.5.0",
7877
"mkdirp": "^1.0.4",
7978
"prettier": "2.2.1",
8079
"read-pkg-up": "^7.0.1",
81-
"resolve": "^1.19.0",
80+
"resolve": "^1.20.0",
8281
"rimraf": "^3.0.2",
83-
"rollup": "^2.34.0",
82+
"rollup": "^2.40.0",
8483
"rollup-plugin-node-builtins": "^2.1.2",
8584
"rollup-plugin-node-globals": "^1.4.0",
86-
"rollup-plugin-size-snapshot": "^0.12.0",
8785
"rollup-plugin-terser": "^7.0.2",
8886
"semver": "^7.3.4",
8987
"which": "^2.0.2",
90-
"yargs-parser": "^20.2.4"
88+
"yargs-parser": "^20.2.6"
9189
},
9290
"eslintConfig": {
9391
"extends": [

src/config/rollup.config.js

-3
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ const camelcase = require('lodash.camelcase')
1212
const {terser} = require('rollup-plugin-terser')
1313
const nodeBuiltIns = require('rollup-plugin-node-builtins')
1414
const nodeGlobals = require('rollup-plugin-node-globals')
15-
const {sizeSnapshot} = require('rollup-plugin-size-snapshot')
1615
const omit = require('lodash.omit')
1716
const {
1817
pkg,
@@ -35,7 +34,6 @@ const format = process.env.BUILD_FORMAT
3534
const isPreact = parseEnv('BUILD_PREACT', false)
3635
const isNode = parseEnv('BUILD_NODE', false)
3736
const name = process.env.BUILD_NAME || capitalize(camelcase(pkg.name))
38-
const useSizeSnapshot = parseEnv('BUILD_SIZE_SNAPSHOT', false)
3937

4038
const esm = format === 'esm'
4139
const umd = format === 'umd'
@@ -156,7 +154,6 @@ module.exports = {
156154
extensions,
157155
}),
158156
replace(replacements),
159-
useSizeSnapshot ? sizeSnapshot({printInfo: false}) : null,
160157
minify ? terser() : null,
161158
codeSplitting &&
162159
((writes = 0) => ({

0 commit comments

Comments
 (0)