Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

@standard npm organization #1324

Open
feross opened this issue Jul 11, 2019 · 6 comments

Comments

@feross
Copy link
Member

commented Jul 11, 2019

Currently, our npm package permissions across all the various packages is inconsistent. What do folks think of making an npm organization? Not so that we can namespace modules, but just for managing permissions, i.e. every package in the standard ecosystem would be publishable by everyone in the @standard npm org?

I know that @bcomnes has the npm org standardjs that we could use. Does anyone know who has standard, which I think would be even nicer?

@brodybits

This comment has been minimized.

Copy link
Contributor

commented Jul 11, 2019

My understanding of https://www.npmjs.com/policies/disputes is that they don’t like squatting on org names. I think it should be reasonable to contact support@npmjs.com since I see 0 packages published in the standard org. The one possible exception I can see is if it is a paid org.

Good luck!

@feross

This comment has been minimized.

Copy link
Member Author

commented Jul 11, 2019

@brodybits Thanks for the tip. I just sent npm support an email.

@Flet

This comment has been minimized.

Copy link
Member

commented Jul 11, 2019

I'm on board for this!

@nexdrew

This comment has been minimized.

Copy link

commented Jul 12, 2019

Unfortunately, I don't think that's the way npm package access works. AFAIK you can't manage permissions for an unscoped package using an org/team.

Read about this here: https://docs.npmjs.com/package-scope-access-level-and-visibility

Here's an important note on that page:

Screen Shot 2019-07-12 at 8 23 33 AM

I also tried myself to grant an org read-write access to one of my unscoped packages via the npm access grant read-write org:team package command, and it fails with this message:

Usage: This command is only available for scoped packages.

So, unfortunately, the only way you could use an org on npm to manage access to standard packages is if you change the name of the packages to use the org's scope, e.g. @standard/standard.

@bcomnes

This comment has been minimized.

Copy link
Member

commented Jul 12, 2019

Standardjs is available whenever you want. But agreed, standard/standard would be better.

While it is entirely an awkward experience, you can move unscoped packages over to orgs, I've done this many times.

@vweevers

This comment has been minimized.

Copy link

commented Jul 14, 2019

How about automating the ownership management? Write a tool that, given a list of npm usernames and packages, does npm owner add <user> <pkg>.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
6 participants
You can’t perform that action at this time.