I've been meaning to fix this for ages, but I finally ran into it here:
2598132540
We need to resolve the `@types` package as a fallback instead of eagerly
resolving it.
This commit adds initial support for ".npmrc" files.
Currently we only discover ".npmrc" files next to "package.json" files
and discovering these files in user home dir is left for a follow up.
This pass supports "_authToken" and "_auth" configuration
for providing authentication.
LSP support has been left for a follow up PR.
Towards https://github.com/denoland/deno/issues/16105