Mentions légales du service

Skip to content

update node to v18 and angular to v14

HUBERT Baptiste requested to merge chore/update-node-angular-lts into main

Updating Node and Angular

At the moment, The mute project uses Angular 13 and requires node between 10.13.0 and 15.0

The idea is to migrate Angular to version 14 LTS that will end support at the end of 2023

We also have to update Node (current version is @ 14.18.37) to v18 (which is in Active LTS and will reach its end of life in 2025)

Updating Angular

Tool provided by the Angular team

A few things to note about the page of changes :

The current version of typescript we installed (4.4.4) will no longer be supported. Following what's declared here, and knowing that angular uses Typescript 4.6, we can update Typescript version @ 4.6.4
@angular/flex-layout won't have any release starting from angular v15. This is a point where we should watch for a replacement (following this) Replacement for the import from the package will also be needed.

Updating node

Updated node to V18.15.0. Not a lot of change neede to be made. Updated needed node engine : "node": "^14.15.0 || >=16.10.0"

E2E situation

Miscelleanous change

Some packages were updated, such as :

Some packages were removed, such as :

  • codelyzer : A set of tslint rules for static code analysis of Angular TypeScript projects.
    • We aren't using Tslint anymore as it is deprecated
  • @types/loglevel
    • Deprecated

A fix to the ui had to be made as the description icon on the main menu (document or trash bin) were chopped : commit)

Edited by HUBERT Baptiste

Merge request reports