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 list <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.