add npm owners
This commit is contained in:
12
scripts/grant-npm-owner.sh
Executable file
12
scripts/grant-npm-owner.sh
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
read -p "Username: " username
|
||||
|
||||
for f in packages/*; do
|
||||
package=`basename $f`
|
||||
|
||||
if [ -d "$f" ]; then
|
||||
npm owner add $username $package
|
||||
fi
|
||||
done
|
||||
Reference in New Issue
Block a user