Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
Reviewed
Description
As we use semver to denote dependency version, every time a new build is made, the latest available version of the dependency would be downloaded. This affects the reliability of the UI build. Hence we must lockdown the dependencies.
Lockdown must happen in both the package managers used by the UI - NPM & Bower.
Yarn:
Replace NPM with Yarn. Yarn is a package manager developed to solve this issue and many more. It also enables offline build.
Bower:
Bower shrinkwrap resolver plugin can be used to lock the dependency versions.