目录
将协作者添加到用户账户拥有的私有 包中
目录
作为具有付费用户账户的 npm 用户,你可以添加另一个具有付费账户的 npm 用户作为你拥有的私有包的协作者。
¥As an npm user with a paid user account, you can add another npm user with a paid account as a collaborator on a private package you own.
注意:你要添加为私有包的协作者的用户必须具有付费用户账户。要注册付费账户,他们可以访问 https://www.npmjs.com/settings/username/billing
,将 username
替换为他们的 npm 用户名。
¥Note: The user you want to add as a collaborator on your private package must have a paid user account. To sign up for a paid account, they can visit https://www.npmjs.com/settings/username/billing
, replacing username
with their npm username.
当你将成员添加到你的包时,他们会收到一封电子邮件,邀请他们加入包。新成员必须接受邀请才能访问包。
¥When you add a member to your package, they are sent an email inviting them to the package. The new member has to accept the invitation to gain access to the package.
在网站上授予对私有用户 包的访问权限
¥Granting access to a private user package on the web
-
在 npm 网站 上,转到要添加协作者的包:
https://www.npmjs.com/package/<your-package-name>
。¥On the npm website, go to the package to which you want to add a collaborator:
https://www.npmjs.com/package/<your-package-name>
. -
在包页面上,单击“"设置"”选项卡。
¥On the package page, click the "Settings" tab.
-
转到 "邀请维护者" 部分。