diff options
author | ArthurHoaro <arthur@hoa.ro> | 2020-09-22 17:49:49 +0200 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2020-09-22 17:51:42 +0200 |
commit | 96746d7165f28553b53bd259d03aaf5d63290b7a (patch) | |
tree | d6ff84649d848b051e452ea1c72c7f1c70c74755 /Makefile | |
parent | 0d930454a2892715e691f9c7713e26a3bb4ee96c (diff) | |
download | Shaarli-96746d7165f28553b53bd259d03aaf5d63290b7a.tar.gz Shaarli-96746d7165f28553b53bd259d03aaf5d63290b7a.tar.zst Shaarli-96746d7165f28553b53bd259d03aaf5d63290b7a.zip |
Upgrade front end dependencies
Mostly in order to get rid of deprecated deps, and upgrade vulnerable ones.
- Upgrade webpack from 3.x to 4.x
- Moved babel package to main repo
- Replaced deprecated extract-text-webpack-plugin with extract-text-webpack-plugin
- Replaced deprecated babel-minify-webpack-plugin with terser-webpack-plugin
- Replaced deprecated node-sass with (dart) sass package
- Replaced deprecated sass-lint with stylelint (the rules might be a bit different
Related to #1531: trivy doesn't raise any more issue
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -174,4 +174,4 @@ eslint: | |||
174 | 174 | ||
175 | ### Run CSSLint check against Shaarli's SCSS files | 175 | ### Run CSSLint check against Shaarli's SCSS files |
176 | sasslint: | 176 | sasslint: |
177 | @yarn run sass-lint -c .dev/.sasslintrc 'assets/default/scss/*.scss' -v -q | 177 | @yarn run stylelint --config .dev/.stylelintrc.js 'assets/default/scss/*.scss' |