作为组织所有者或团队管理员,你可以创建团队来管理对由你的组织管理的包集的访问。

As an organization owner or team admin, you can create teams to manage access to sets of packages governed by your organization.

注意:团队名称不能更改。要 "rename" 一个团队,你必须删除该团队并重新创建它。

Note: Team names cannot be changed. To "rename" a team, you must delete the team and recreate it.

  1. 在 npm“登录”页面上,输入您的帐户详细信息并单击登录 Screenshot of npm login dialog
  2. 在页面的右上角,点击您的个人资料照片,然后点击帐户 Screenshot of account settings selection in user menu
  3. 在左侧边栏中,单击您的组织名称。 Screenshot of a selected organization
  4. 在组织设置页面上,单击团队 Screenshot of the organization teams tab
  5. 在 "名称" 和 "描述" 字段中,输入团队名称和有用的描述。团队名称必须小写且不能包含空格或标点符号。

    In the "Name" and "Description" fields, type a team name and helpful description. Team names must be lower case and cannot contain spaces or punctuation.

    Screenshot of team name and description
  6. 单击创建团队。

    Click Create Team.

    Screenshot of the team creation confirmation button

注意:默认情况下,新团队没有成员或包访问权限。创建团队后,从 "团队" 选项卡添加包和成员。

Note: New teams do not have members or package access by default. Once you create a team, add packages and members from the "Teams" tab.

npm 中文网 - 粤ICP备13048890号