This repository was archived by the owner on May 1, 2024. It is now read-only.
Replies: 1 comment
-
Close in favor of npm/cli#7043 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
For example, If I have
publishConfig.registry = registryA
in@scope/foo
'spackage.json
, and$cwd/.npmrc
with@scope:registry=registryB
, when I runnpm publish
on@scope/foo
, I'd expect to publish it to registryA instead of registryB.However, the current behavior is unexpected to publish on registryB.
I have registryB as a proxy for registryA + official npm registry, what means it will resolve regsitryA first and try offical npm registry at the same time on installing, so that we can have some internal packages with some open sourced scoped packages at the same time.
Beta Was this translation helpful? Give feedback.
All reactions