nomercy2124
nomercy2124
DDeno
Created by nomercy2124 on 7/11/2024 in #help
Private NPM Registry config with $HOME/.npmrc and project/.npmrc
I'm trying to introduce Deno into my company that use Azure Npm Registry Something missing with the config below. (That the configuration that work with NPM) My configuration deno : 1.44.4 OS : macos 13.2.1 $HOME/.npmrc
//mycompany.com/npm/registry:username=myusername
//mycompany.com/npm/registry:_password=mypassword
//mycompany.com/npm:username=myusername
//mycompany.com/npm:_password=mypassword
//mycompany.com/npm:email=myemail
//mycompany.com/npm/registry:username=myusername
//mycompany.com/npm/registry:_password=mypassword
//mycompany.com/npm:username=myusername
//mycompany.com/npm:_password=mypassword
//mycompany.com/npm:email=myemail
project/.npmrc
registry=https://mycompany.com/npm/registry
always-auth=true
registry=https://mycompany.com/npm/registry
always-auth=true
The problem According to deno doc we have to change the project/.npmrc or the $HOME/.npmrc like :
@mycompany:registry=http://mycompany.com:8111/
//mycompany.com:8111/:_auth=secretToken
@mycompany:registry=http://mycompany.com:8111/
//mycompany.com:8111/:_auth=secretToken
But... We do not use secretToken. Request Will deno follow .npmrc convention for private NPM registry ? I mean implement username _password like NPM binary does. Will deno will handle multiple .npmrc configuration like our ? Password inside $HOME/.npmrc and registry configuration inside project/.npmrc ? Thanks for reading.
3 replies