Update updateByName implementation to update a package dependency type and version only when those options are specified:
if the only update option is to update the dependency type: production or development, it will only make the changes in the bower.json file and then, in the project model
if the version to update is given by parameters and it's different from the current installed version defined in the bower.json file, it will make the modifications in the bower.json file and then, executes the bower update command. The previous implementation, it always executes the bower update command. If any version was specified, it tried to update to the latest version available.
PackageUtils was removed, and the exported APIs where implemented as part of Package and PackageManager models.
Update
updateByName
implementation to update a package dependency type and version only when those options are specified:PackageUtils
was removed, and the exported APIs where implemented as part ofPackage
andPackageManager
models.@busykai could you review this PR? Thanks!