Replies: 2 comments
-
|
Did you eventually find a solution? I have similar issue described here: |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Any news on this? |
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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Background
My organization has two registries of the same name (say
my-org); one is public and is hosted via NPM, and the other one is private and hosted in GitHub. Unfortunately, there is no registry mirroring between the two, and internal packages that require annpmAuthTokenare published to the private one, while the others to public.Current Status
We have recently moved to Yarn v3 and initialized our
.yarnrc.ymllike:... and for the sake of simplicity our
package.jsoncontain these two dependencies that needs to be installed:@my-org/public-pkg(hosted in NPM publicly)@my-org/private-pkg(hosted in GitHub privately)Problem
Since the
yarnrc.ymlis configured to look in the private registry for everything with@my-org/*pattern, it fails to retrieve the@my-org/public-pkgpackage, when ideally it should look for it in the public registry as a fallback first before eventually failing.Question
.yarnrc.ymlor if there's a workaround for this? Just curious.Beta Was this translation helpful? Give feedback.
All reactions