Install public npm package with ProGet npm connector

For security reason, private CI server may not have internet access. Instead, it connect to private registry like ProGet. To install public npm package, ProGet connector is here to help, steps as following :

  1. Go to Connectors => create connectors => Feed type:npm => Save
  2. Go to feeds => Create New Feed => Feed type:npm => Feed name:npm
  3. Feed Connectors => add connector =>
  4. Set up npm via command line in server
    npm config set registry http://{progethost}/npm/npm

Now try npm install, it should work as it connect to public npm registry.

Reference :