[MGNLFE-528] Upgrade Angular and dependency libraries to the latest suitable versions for angular projects Created: 21/Jun/23  Updated: 19/Jul/23  Resolved: 28/Jun/23

Status: Closed
Project: Magnolia Frontend Helpers
Component/s: None
Affects Version/s: None
Fix Version/s: 1.4

Type: Improvement Priority: Neutral
Reporter: Phong Le Quoc Assignee: Phong Le Quoc
Resolution: Fixed Votes: 0
Labels: None
Σ Remaining Estimate: Not Specified Remaining Estimate: Not Specified
Σ Time Spent: 7.75h Time Spent: 7.75h
Σ Original Estimate: Not Specified Original Estimate: Not Specified

Attachments: PNG File Screen Shot 2023-06-28 at 9.59.26 AM.png    
Sub-Tasks:
Key
Summary
Type
Status
Assignee
MGNLFE-529 Implementation Sub-task Completed Phong Le Quoc  
MGNLFE-530 Review Sub-task Completed Robert Šiška  
MGNLFE-531 Pre-Integration QA Sub-task Completed Robert Šiška  
MGNLFE-532 QA Sub-task Closed Rishab Dhar  
Template:
Acceptance criteria:
Empty
Task DoD:
[X]* Doc/release notes changes? Comment present?
[X]* Downstream builds green?
[X]* Solution information and context easily available?
[X]* Tests
[X]* FixVersion filled and not yet released
[X]  Architecture Decision Record (ADR)
Epic Link: SPA Library Updates
Sprint: DevX 40, DevX 41
Story Points: 1
Team: DeveloperX
Work Started:
Approved:
Yes

 Description   

There is an error when building angular sample

An unhandled exception occurred: (0 , rxjs_1.switchMap) is not a functionSee "/private/var/folders/xd/hbq3_h0n1q3dpgw5mnsrshph0000gn/T/ng-Chq2T9/angular-errors.log" for further details. 

Upgrade rxjs will resolve the error. In addition, we will release new frontend helper soon. Therefore, we should upgrade dependency libraries of angular-editor and angular-sample. We should upgrade to the latest angular version for angular-sample also.

Steps to reproduce:

1. `./clean-all.sh` at scripts folder
2. `npm install && npm run build` at frontend-helper folder


Generated at Mon Feb 12 05:48:18 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.