Currently, it is not possible to change the scope of a pre-existing public or private, scoped or not, package to an Organization.
Specifically, given a private, scoped package
there is currently no way to make that exact package scoped to
@ag_org/foo without creating
a new package.
However, Organization members who are either a
that are also:
and, as of
... are able to grant Organization team access to packages that are not scoped within the Organization.
meow-org Super Admin, Irina, is also a Team Admin for
Irina can grant the
meow-org/cyborgs team access to the
puppyco/corgis Team Admin, Lewis, has a personal private package,
@lewis/corgis. Lewis can grant the
puppyco/corgis team access
cactus-inc Super Admin, Corey, was also the last person to publish
the public package,
bdaypresent. Corey can grant the
cactus-inc/friends team access to the
(*yup. this is weird. we know.)
So, let's say you have a package
@ag_dubs/foo that you would like to
collaborate on within the Organization
First, ensure that you have the correct permissions. The user must:
Then, you can grant team access to a package, as though it were scoped to the Organization:
> > npm access grant <read-only|read-write> <org:team> @ag_dubs/foo
Last modified December 29, 2015 Found a typo? Send a pull request!