buildVersionService
buildVersionService(
connection,project,filterIds?):Promise<PackageVersionService>
Defined in: simply-package-core/src/packageVersionService.ts:95
Load packages and package versions from the Dev Hub and build a PackageVersionService over them.
Parameters
Section titled “Parameters”connection
Section titled “connection”Connection
The Dev Hub connection to query.
project
Section titled “project”SfProject
The SFDX project, used by Package.listVersions for alias resolution.
filterIds?
Section titled “filterIds?”When provided, only loads packages/versions relevant to these IDs (plus the
packages owning any given subscriberVersionIds) instead of every package in the Dev Hub.
Returns
Section titled “Returns”Promise<PackageVersionService>
A version service backed by the loaded packages/versions.