[英]NPM: change registry in package-lock.json
For security reason, I need a specific registry, but in the package-lock.json
I still keep the https://registry.npmjs.org/
出于安全原因,我需要一个特定的注册表,但在
package-lock.json
我仍然保留https://registry.npmjs.org/
Is there any way to force it? 有没有办法强迫它?
最好的方法是,使用.npmrc
并使用npm ci
来避免package-lock.json
修改。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.