DenoDDeno
Powered by
nomercy2124N
Denoβ€’2y agoβ€’
2 replies
nomercy2124

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
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
deno
follow .npmrc convention for private NPM registry ?

I mean implement
username
username
_password
_password
like NPM binary does.

Will
deno
deno
will handle multiple .npmrc configuration like our ?

Password inside $HOME/.npmrc and registry configuration inside project/.npmrc ?

Thanks for reading.
Deno banner
DenoJoin
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,934Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

esbuild-deno-loader with npm private registry
MariusVatasoiuMMariusVatasoiu / help
2y ago
How install from private registry?
fro.profesionalFfro.profesional / help
16mo ago
Does Deno NPM support other registries like github npm registry?
SBSSB / help
3y ago
Using private npm package from github
tjoskarTtjoskar / help
2y ago