Simplify NPM Registry authentication setup steps
Problem to solve
On the NPM Registry docs, when doing the setup for authentication, users are invited to edit their .npmrc
file. Here is the step. Then, next step, there is a section on avoiding hardcoding the auth token.
For new users following along, they create/edit the .npmrc
file first and on the next step, they have to re-edit it to avoid hardcoding. This is disturbing.
Proposal
I think it would be better to have a single section Authenticating with an OAuth token
and directly show the user that environment variables can be used.