Skip to content

Commit

Permalink
feat: update deps
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
kentcdodds committed Mar 1, 2021
1 parent 866eb32 commit ad47578
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 32 deletions.
56 changes: 27 additions & 29 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,62 +32,60 @@
"author": "Kent C. Dodds <me@kentcdodds.com> (https://kentcdodds.com)",
"license": "MIT",
"dependencies": {
"@babel/cli": "^7.12.8",
"@babel/core": "^7.12.9",
"@babel/plugin-proposal-class-properties": "^7.12.1",
"@babel/plugin-transform-modules-commonjs": "^7.12.1",
"@babel/plugin-transform-runtime": "^7.12.1",
"@babel/preset-env": "^7.12.7",
"@babel/preset-react": "^7.12.7",
"@babel/preset-typescript": "^7.12.7",
"@babel/runtime": "^7.12.5",
"@rollup/plugin-babel": "^5.2.2",
"@rollup/plugin-commonjs": "^17.0.0",
"@babel/cli": "^7.13.0",
"@babel/core": "^7.13.8",
"@babel/plugin-proposal-class-properties": "^7.13.0",
"@babel/plugin-transform-modules-commonjs": "^7.13.8",
"@babel/plugin-transform-runtime": "^7.13.8",
"@babel/preset-env": "^7.13.8",
"@babel/preset-react": "^7.12.13",
"@babel/preset-typescript": "^7.13.0",
"@babel/runtime": "^7.13.8",
"@rollup/plugin-babel": "^5.3.0",
"@rollup/plugin-commonjs": "^17.1.0",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^10.0.0",
"@rollup/plugin-replace": "^2.3.4",
"@types/jest": "^26.0.16",
"@rollup/plugin-node-resolve": "^11.2.0",
"@rollup/plugin-replace": "^2.4.1",
"@types/jest": "^26.0.20",
"arrify": "^2.0.1",
"babel-jest": "^26.6.3",
"babel-plugin-macros": "^3.0.0",
"babel-plugin-macros": "^3.0.1",
"babel-plugin-minify-dead-code-elimination": "^0.5.1",
"babel-plugin-module-resolver": "^4.0.0",
"babel-plugin-module-resolver": "^4.1.0",
"babel-plugin-transform-inline-environment-variables": "^0.4.3",
"babel-plugin-transform-react-remove-prop-types": "^0.4.24",
"browserslist": "^4.14.7",
"browserslist": "^4.16.3",
"builtin-modules": "^3.2.0",
"chalk": "^4.1.0",
"concurrently": "^5.3.0",
"concurrently": "^6.0.0",
"cosmiconfig": "^7.0.0",
"cross-env": "^7.0.3",
"cross-spawn": "^7.0.3",
"doctoc": "^1.4.0",
"eslint": "^7.14.0",
"eslint-config-kentcdodds": "^17.2.0",
"eslint-config-prettier": "^6.15.0",
"doctoc": "^2.0.0",
"eslint": "^7.21.0",
"eslint-config-kentcdodds": "^17.4.0",
"glob": "^7.1.6",
"husky": "^4.3.0",
"is-ci": "^2.0.0",
"husky": "^5.1.2",
"is-ci": "^3.0.0",
"jest": "^26.6.3",
"jest-serializer-path": "^0.1.15",
"jest-watch-typeahead": "^0.6.1",
"lint-staged": "^10.5.2",
"lint-staged": "^10.5.4",
"lodash.camelcase": "^4.3.0",
"lodash.has": "^4.5.2",
"lodash.omit": "^4.5.0",
"mkdirp": "^1.0.4",
"prettier": "2.2.1",
"read-pkg-up": "^7.0.1",
"resolve": "^1.19.0",
"resolve": "^1.20.0",
"rimraf": "^3.0.2",
"rollup": "^2.34.0",
"rollup": "^2.40.0",
"rollup-plugin-node-builtins": "^2.1.2",
"rollup-plugin-node-globals": "^1.4.0",
"rollup-plugin-size-snapshot": "^0.12.0",
"rollup-plugin-terser": "^7.0.2",
"semver": "^7.3.4",
"which": "^2.0.2",
"yargs-parser": "^20.2.4"
"yargs-parser": "^20.2.6"
},
"eslintConfig": {
"extends": [
Expand Down
3 changes: 0 additions & 3 deletions src/config/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ const camelcase = require('lodash.camelcase')
const {terser} = require('rollup-plugin-terser')
const nodeBuiltIns = require('rollup-plugin-node-builtins')
const nodeGlobals = require('rollup-plugin-node-globals')
const {sizeSnapshot} = require('rollup-plugin-size-snapshot')
const omit = require('lodash.omit')
const {
pkg,
Expand All @@ -35,7 +34,6 @@ const format = process.env.BUILD_FORMAT
const isPreact = parseEnv('BUILD_PREACT', false)
const isNode = parseEnv('BUILD_NODE', false)
const name = process.env.BUILD_NAME || capitalize(camelcase(pkg.name))
const useSizeSnapshot = parseEnv('BUILD_SIZE_SNAPSHOT', false)

const esm = format === 'esm'
const umd = format === 'umd'
Expand Down Expand Up @@ -156,7 +154,6 @@ module.exports = {
extensions,
}),
replace(replacements),
useSizeSnapshot ? sizeSnapshot({printInfo: false}) : null,
minify ? terser() : null,
codeSplitting &&
((writes = 0) => ({
Expand Down

0 comments on commit ad47578

Please sign in to comment.