Closed Nightsphere closed 3 years ago
The changes for the update to Angular 10 is now merged. The Angular update guide helped with a lot of the process, and most
of the changes were done automatically using some ng
commands. The biggest complaints I got were:
npm i
will need to be performed to update them on the next git pull.There was a warning in the console about using the common JS package showdown
. In the angular.json
file, I added a new allowedCommonJsDependency
property:
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"allowedCommonJsDependencies": [
"showdown"
]
}
}
Number 2 is more of a reminder for me to add to the developer documentation later, as it was the only thing not covered in the update guide. I'll leave this issue open for now in case an overlooked update issue shows up.
This hasn't been giving any issues or slowed down the application. It seems like the upgrade was successful. Closing the issue.
Even though the InfoMapper has recently been updated from Angular 7 to 9, version 10 has now been out for long enough that updating would be a good idea. Other major packages such as Angular Material have also been upgraded to 10, and will work nicely with the new Angular version; there are already some newly implemented features that I'm missing out on and can add to the InfoMapper once upgraded.