Skip to content

Dependencies updates and small fixes

Compare
Choose a tag to compare
@onigoetz onigoetz released this 22 Jan 10:53
· 1896 commits to master since this release

Highlights

  • Allow to use Crafty's ESLint integration as a global tool
  • Webpack configuration improvements
  • Drop Node 8 support

ESLint module resolver patch

The node module resolution used by ESLint depends on finding modules in the current working directory.
If used within a GitHub hook, or similar, it won't work. We are currently patching ESLint to allow this to work. With the hope to be able to remove it once ESLint offers more configuration options for global modules

Webpack options changes

  • Automatically exclude the dist folder from watch, to avoid compilation loops
  • Allow to change the host for the devServer
  • Read the port from the configuration for the devServer in case it was changed by a preset
  • Set the publicPath only if it wasn't defined yet

Drop Node 8 support

Since node 8 isn't supported anymore and many of our dependencies dropped it; we are dropping the support as well.

Internal

  • Replace Dependabot with Renovate
  • Remove most of the builds from Travis, use Github Actions instead

Dependency Replacement

  • rollup-plugin-commonjs replaced with @rollup/plugin-commonjs
  • rollup-plugin-json replaced with @rollup/plugin-json
  • rollup-plugin-node-resolve replaced with @rollup/plugin-node-resolve
  • rollup-plugin-replace replaced with @rollup/plugin-replace

Dependency Updates

  • node to >=10.0.0
  • @babel/* from 7.7.5 to 7.8.3
  • autoprefixer from 9.7.3 to 9.7.4
  • babel-plugin-istanbulfrom 5.2.0 to 6.0.0
  • browserslist from 4.8.2 to 4.8.5
  • case-sensitive-paths-webpack-plugin from 2.2.0 to 2.3.0
  • css-loader from 3.3.2 to 3.4.2
  • enzyme-adapter-react-16 from 1.15.1 to 1.15.2
  • enzyme from 3.10.0 to 3.11.0
  • eslint from 6.7.2 to 6.8.0
  • eslint-plugin-import from 2.19.1 to 2.20.0
  • eslint-plugin-prettier from 3.1.1 to 3.1.2
  • eslint-plugin-react from 7.17.0 to 7.18.0
  • execa from 3.2.0 to 4.0.0
  • gulp-imagemin from 6.2.0 to 7.0.0
  • inspectpack from 4.2.2 to 4.3.1
  • mini-css-extract-plugin from 0.8.0 to 0.9.0
  • postcss-font-family-system-ui from 4.1.1 to 4.2.0
  • postcss from 7.0.24 to 7.0.26
  • rollup from 1.27.12 to 1.29.1
  • rollup-plugin-pnp-resolve from ^1.0.1 to ^2.0.0
  • rollup-plugin-terser from 5.1.3 to 5.2.0
  • stylelint from 12.0.0 to 13.0.0
  • stylelint-prettier from 1.1.1 to 1.1.2
  • style-loader from 1.0.1 to 1.1.3
  • terser-webpack-plugin from 2.3.0 to 2.3.2
  • ts-jest from 24.2.0 to 24.3.0
  • @typescript-eslint/* from 2.11.0 to 2.17.0
  • typescript from 3.7.3 to 3.7.5
  • typescript from 3.7.3 to 3.7.5
  • webpack-chain from 6.0.0 to 6.3.0
  • webpack-dev-server from 3.9.0 to 3.10.1
  • webpack from 4.41.2 to 4.41.5
  • xml2js from 0.4.22 to 0.4.23