Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

OpenLogic provies provides long term support for several angular js packages. But we only need to update the packages that we use in csmart scheduler project.

...

We usually get notification from OpenLogic (sent to stefan@marinels.com) if there is any updates of for these packages. Other that than we can check their release notes to see if there is any updates of the above packages. Release notes can be found here. https://angularjs.perforce.com/#browse/welcome

...

Packages can be downloaded in various ways (wget, npm or manually). Probably the easiest way is to download the packages from their file directory. https://angularjs.perforce.com/#browse/browse:perforce-angularjs-angular
Note: The login to the repository can be found in LastPass with the name angularjs.perforce.com (stefan - AngularJS Repository Access).

We must make sure, we are downloading the correct version (1.8.7). Every folder name ends with version number.

...

After downloading and unzipping the folder it looks like thisfiles from the above list (Which packages to update?) a package looks like the below (i.e. angular-animate-1.8.7):

...

How to update the packages in CSMART app?

Analyzing the codebase it seems following files needs to updated. After unzipping the downloaded folder the following files can be replaced.

...

Info

angularjs_1.8.7_LTS is the folder name for version v1.8.7. For other versions, If the solution should use a different version, a new folder can be created with corresponding version number. In that case we need to make sure folder name is updated inside BundleConfig.cs (MarineLMSExtensions.Web.Main\App_Start\BundleConfig.cs)

image-20240415-224111.pngImage Modified