MCPcopy Create free account
hub / github.com/dmno-dev/bumpy / isGitHubPackagesRegistry

Function isGitHubPackagesRegistry

packages/bumpy/src/core/github-release.ts:231–233  ·  view source on GitHub ↗
(registry?: string)

Source from the content-addressed store, hash-verified

229
230/** Whether a registry URL points at GitHub Packages (npm.pkg.github.com). */
231export function isGitHubPackagesRegistry(registry?: string): boolean {
232 return !!registry && registryHost(registry) === GITHUB_PACKAGES_HOST;
233}
234
235/** Whether a registry URL is the public npmjs.com registry (the default). */
236function isDefaultNpmRegistry(registry?: string): boolean {

Callers 3

publishTargetLabelFunction · 0.85
buildPublishUrlFunction · 0.85

Calls 1

registryHostFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…