MCPcopy Create free account
hub / github.com/angular/dev-infra / fetchProjectNpmPackageInfo

Function fetchProjectNpmPackageInfo

ng-dev/release/versioning/npm-registry.ts:42–44  ·  view source on GitHub ↗
(config: ReleaseConfig)

Source from the content-addressed store, hash-verified

40
41/** Fetches the NPM package representing the project. */
42export async function fetchProjectNpmPackageInfo(config: ReleaseConfig): Promise<NpmPackageInfo> {
43 return await fetchPackageInfoFromNpmRegistry(config.representativeNpmPackage);
44}
45
46/** Gets whether the given version is published to NPM or not */
47export async function isVersionPublishedToNpm(

Callers 4

isVersionPublishedToNpmFunction · 0.85
isActiveMethod · 0.85
assertActiveLtsBranchFunction · 0.85

Calls 1

Tested by

no test coverage detected