简体   繁体   English

客户专用npm

[英]Private npm for clients

I'm working in a library of components which I would like to deploy to npm. 我正在组件库中工作,我想将其部署到npm。 Everything is working great, however, I want my packages to be visible only for my customer, and not to everybody. 一切正常,但是,我希望我的包裹仅对我的客户可见,而不对所有人可见。

I was reading that I can create a private npm, but in that case, only the collaborators have access to it. 我读到我可以创建一个私有npm,但是在那种情况下,只有合作者才能访问它。

I dont want my customers to be my collaborators, I want they to have access, but not be able to edit it. 我不希望我的客户成为我的合作者,我希望他们可以访问,但不能对其进行编辑。

Is there a way to do this? 有没有办法做到这一点? any idea? 任何想法?

像Artifactory这样的产品可以发布npm模块,并确定谁可以访问以及具有哪种权限。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM