Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to securely publish same npm package by several different people?

There is an open source project. Multiple people are working on it. Multiple people need to publish it to the NPM registry.

How to securely publish a single project by multiple people?

Obviously, the owner of the package do not want to give his login/password to other people.

like image 640
Vasyl Boroviak Avatar asked Oct 31 '22 12:10

Vasyl Boroviak


1 Answers

From the npm docs:

npm owner add <user> [<@scope>/]<pkg>

npm owner rm <user> [<@scope>/]<pkg>

npm owner ls [<@scope>/]<pkg>

https://docs.npmjs.com/cli/owner

like image 127
mariocatch Avatar answered Nov 09 '22 10:11

mariocatch