yarn owner

yarn owner

Manage package owners.

What is a package owner?

A package “owner” in the registry is a user that has access to make changes to a package. A single package can have as many owners as you want.

Owners have permission to do the following tasks:

  1. Publish new versions of the package
  2. Add or remove other owners of the package
  3. Change metadata for a package

Caveats

There aren’t any other levels of access at this time. All users can either modify a package or they cannot. In the future, there may be more types of roles, but not at this time.

Commands

yarn owner ls <package>

Lists all of the owners of a <package>.

yarn owner add <user> <package>

Adds the <user> as an owner of the <package>. You must already be an owner of the <package> in order to run this command.

yarn owner rm <user> <package>

Removes the <user> as an owner of the <package>. You must already be an owner of the <package> in order to run this command.

© 2016–2017 Yarn Contributors
Licensed under the BSD License.
https://yarnpkg.com/en/docs/cli/owner

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部