Open bkonicek-calm opened 1 year ago
Sounds similar to: https://github.com/oven-sh/bun/issues/5370
@taranek It does sound similar, but interestingly private registries do work for me with a bunfig.toml
like
[install.scopes]
"@privateorg" = { token = "foo", url = "https://npm.pkg.github.com/" }
It correctly leaves our private registry URLs intact, but still changes the public ones to npmjs.org. I've tried both of these but neither make a difference:
[install]
registry = "https://registry.yarnpkg.com/"
[install.scopes]
"@adobe" = { url = "https://registry.yarnpkg.com/" }
What version of Bun is running?
1.0.1+31aec4ebe325982fc0ef27498984b0ad9969162b
What platform is your computer?
Darwin 22.6.0 arm64 arm
What steps can reproduce the bug?
Take a sample
yarn.lock
fileAnd a
bunfig.toml
ofAnd run
bun install -y
. It changes all of the registry URLs tohttps://registry.npmjs.org
.However, we do have a private registry configured that works correctly and
bun
is able to download the packages just fine without changing the resolved URL.What is the expected behavior?
It should not change registry URLs.
What do you see instead?
Additional information
No response