Reputation: 113
I have a private npm module registered for a private github repo.
I want to enable a client to install this npm module. I can "npm access" him to the module, so he is able to reach the module... However, he still can't access the github repo for getting the download...
How can I achieve this?
Edit: to clarify, i can't add the client as collaborator to the github repo, because i can't let look into issues/PRs... sadly, github has no option for hiding issues/PRs for non-admins
Upvotes: 1
Views: 249
Reputation: 113365
To be able to access your private repository, you have to add your client as collaborator. To add him as collaborator in your GitHub repository, you have to go to the Collaboration settings:
(replace user
with your username and repo
with your repository name)
Note that npm
supports installing packages from git too. So, your friend can do:
npm install user/repo
(obviously, after having access to the repository)
Upvotes: 1