telerik / mobile-cli-lib

Contains common infrastructure for CLIs - mainly AppBuilder, NativeScript, DDB and Proton.
Apache License 2.0
11 stars 10 forks source link

Fix getting package.json from npm registry (again) #896

Closed rosen-vladimirov closed 7 years ago

rosen-vladimirov commented 7 years ago

CLI needs information for specific versions of packages. However registry.npmjs.org have broken something and the URL we've been using (http://registry.npmjs.org/<package_name>?version=<version>) does not work anymore. Instead it returns information for all versions. We've tried calling http://registry.npmjs.org/<package_name>/<version>, which seemed to work fine, but it turned out it has a lot of issues with scoped dependencies. Issues are describe here. In order to fix CLI and allow installation of all plugins, get the full information from the registry and find only the info we need for the specified version.

justcodebuilduser commented 7 years ago

:heart: