Bumped Angular version to v11
Version at release is 11.1.2. All syntax/pattern changes needed were made. These included updating the loadChildren
syntax, as well as a couple changes to how webpack builds the app. Additionally, @angular-devkit/build-optimizer was added to inherit some improvements in the build via @ngtools/webpack.
Bumped webpack version to 5
Updated all config files and dependencies to versions compatible with v5+, and tried to avoid polyfilling any of the removed node internals.
Added "graceful shutdown" logic to node
Previously, when the node server was closed via an interrupt or the restart logic from gulp, it simply exited immediately. These changes add a new "health service", which monitors the open connections, handles worker restarts, and exposes a healthcheck endpoint for use by things like kubernetes clusters.
Gulpfile changes
the gulpfile was switched to typescript, but should run exactly as before. A dev-server
function was added to launch and live-reload exclusively the server for testing/developing BFF changes. Lastly, the server restart logic was adjusted to handle the new graceful shutdown procedures.