I have a private Verdaccio
npm repository.
I configured authentification
for using htppasswd file
auth:
htpasswd:
file: /verdaccio/conf/htpasswd
max_users: -1
So now nobody can do npm add ...
but must use npm login ...
After being logged, I can publish my library with npm publish
But there are few point I don't understand :
npm login
is asking me an email. But what's the point ? I don't find any trace of that email in the published package.- After
npm login
a token is generated in my .npmrc file. Does it have a validity date ? - After being published, in Verdaccio, I see anonymous as
author name
. The only solution I found to 'put' my name is adding an author tag in thepackage.json
. But if we are 3 persons working on that library we have to change our name each time ? Is there a way to associate (on the server) an htpasswdd with a author name/email ?