update-packages: Update all necessary packages
This merge request contains update for packages that could be afforded to be upgraded to their latest versions.
The following packages were not upgraded:
-
@toast-ui/editor
and@toast-ui/vue-editor
because the latest version3.x
requires another typed package to be installed in order for it to work. Since the editor is only used by admins (in this case usually only Maik) and it works perfectly fine, it would be better to not upgrade it and introduce another type package into our node-modules -
axios
Because the latest version0.23.0
which came out yesterday as of now, has some breaking changes. They can be viewed here. This causes huge compile time errors and would be better handled if it is fixed in a separate ticket on its own. -
draw2d
Because the latest version breaks the movement of bricks on a touch device (this has been so since a very long time) -
eslint
The latest version8.x
breaks thenpm run lint
command as it cannot find a certain constructor to run it. Therefore it is being kept at the latest7.25.x
version -
sass
andsass-loader
These two..... well, they styles dont load if they are upgraded. Even inPushbox
we keepsass-loader
at version10.x
-
webpack
Because its latest version5.x
demands the latestsass-loader
and sincesass-loader
cannot upgrade, webpack must also stay in its stable latest4.x
version
The following package was removed:
-
node-sass
The NPM page for this package says that it is used to compileLibSass
. We do not useLibSass
and usuallynode-sass
is used as an alternative tosass
and we already are usingsass
. If you feel that this is an important package and a mistake has been made, please install it again.