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