Upgrade from Angular 10 to Angular 12
Bug #1948035 reported by
Bill Erickson
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Evergreen post-3.8
The guide: https:/
summary: |
- Upgrade from Angualr 10 to Angular 12 + Upgrade from Angular 10 to Angular 12 |
Changed in evergreen: | |
assignee: | nobody → Jane Sandberg (sandbergja) |
tags: | added: signedoff |
Changed in evergreen: | |
assignee: | Jane Sandberg (sandbergja) → nobody |
status: | New → Fix Committed |
importance: | Undecided → Medium |
Changed in evergreen: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Here's a branch:
https:/ /git.evergreen- ils.org/ ?p=working/ Evergreen. git;a=shortlog; h=refs/ heads/user/ berick/ lp1948035- angular- 12
Minimal changes required. "ng update" did most of the work. Initial UI testing looks good.
Beware of a few things:
1. A couple of tests are failing for DateRangeSelect and EgHelpPopoverCo mponent. It was not immediately clear to me how to fix them.
2. I could have updated ng-bootstrap to version 10, however v10 no longer supports NgbTabset (which is currently deprecated), so a number of our components break. Because of this, I stuck with version 7. We should migrate all ng-bootstrap tabs to navs before the next update. (Will open a new LP).
----
To update an existing server:
cd /tmp /nodejs. org/dist/ v14.18. 1/node- v14.18. 1-linux- x64.tar. xz' 18.1-linux- x64.tar. xz cli@^12. 2.0 Open-ILS/ src/eg2
wget 'https:/
sudo tar -C /usr/local --strip-components 1 -xJf node-v14.
sudo npm install -g @angular/
cd $EVERGREEN/
rm -rf node_modules/
npm install
ng build # etc.