microsoft / beachball

The Sunniest Semantic Version Bumper

Home Page:https://microsoft.github.io/beachball

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Use registry options from `.npmrc`

paulius-valiunas opened this issue · comments

beachball.config.js has a registry option that can be useful, but sometimes that's not enough. For example, the .npmrc in my monorepo looks like this:

@myprefix:registry=https://pkgs.dev.azure.com/myorg/_packaging/Packages/npm/registry/
registry=https://registry.npmjs.org/

What this means is, during pnpm install, packages with the @myprefix prefix will be pulled from a private registry, whereas all the other packages will be pulled from public NPM registry.

The same settings should be respected when publishing packages.

sorry, it appears that beachball already does that. I was misreading my configuration.