❗ This branch should not be merged to main unless all environments are on node 16
The following changes are noteworthy:
Upgrading encore requires that we now have webpack as its own dependency. link
The scripts test:es-check and lint appear broken before the change. I have avoided removing the related packages es-check and sass-lint-auto-fix. If confirmed that they both serve no purpose, they can be removed in a follow-up.
The diffs in css files are from running the build:css script after changing to dart-sass. If not needed, I can revert the changes.
node-sass is deprecated since at least 3 years now. I have removed it in favor of dart-sass.
All the babel-* have been replaced with the new @babel/* counterparts.
Introduced .npmrc and engine in package.json to aid proper feedback in upgrade.
All other scripts are ok and the tests are passing.
Tested on:
Local MacOSX setup
Local docker setup from ioda-ui-development
On ioda-dev
Note:
New webpack build is slightly lighter in size but requires more memory to build > 3GB of memory.
❗ This branch should not be merged to main unless all environments are on node 16
The following changes are noteworthy:
test:es-check
andlint
appear broken before the change. I have avoided removing the related packageses-check
andsass-lint-auto-fix
. If confirmed that they both serve no purpose, they can be removed in a follow-up.build:css
script after changing to dart-sass. If not needed, I can revert the changes.node-sass
is deprecated since at least 3 years now. I have removed it in favor ofdart-sass
.babel-*
have been replaced with the new@babel/*
counterparts..npmrc
and engine inpackage.json
to aid proper feedback in upgrade.Tested on:
Note: