NPM public registry blocked for ServiceNow IDE - possible to configure custom registry URL?

Chris Yang
Tera Sage

Hello,

 

My company blocks the public NPM registry (registry dot npmjs dot org) for security reasons.

This prevents us from downloading packages through the IDE.

 

We have our own package registry setup via jfrog, is it possible to configure the registry endpoint to use? (Of course, we'll take ownership of scanning @Servicenow/* packages and making them available to make the IDE work).

 

Another option is have NPM packages downloaded from IDE server side without the client needing to interact with the public npm registry, similar to Firebase Studio.

 

Thanks in advance!

5 REPLIES 5

Ron Chan
ServiceNow Employee
ServiceNow Employee

Hey Chris! Have you tried using verdaccio (https://www.npmjs.com/package/verdaccio)? Its a handy local proxy we have used to test this feature. However, if npmjs is still blocked locally (not just on the SN instance), not sure it can subvert the issue entirely.