6

For security reason, I need a specific registry, but in the package-lock.json I still keep the https://registry.npmjs.org/

Is there any way to force it?

romuleald
  • 1,406
  • 16
  • 31
  • Does this answer your question? [Override registry for installed packages in package-lock.json](https://stackoverflow.com/questions/62439074/override-registry-for-installed-packages-in-package-lock-json) – JBallin Oct 20 '22 at 05:02

1 Answers1

-3

Best way to do so, use a .npmrc and also use npm ci to avoid package-lock.json modification.

romuleald
  • 1,406
  • 16
  • 31