readDependencyRepositories
readDependencyRepositories(
project,source?):DependencyRepositories
Defined in: simply-package-core/src/schemas/sfdx-project/dependencyRepositories.ts:122
Read and validate a project’s plugins.simply.packages map, and return the repository of
each entry that has one.
Parameters
Section titled “Parameters”project
Section titled “project”SfdxProject
The parsed project manifest.
source?
Section titled “source?”string = 'sfdx-project.json'
What to call the project in error messages, e.g. its file path.
Returns
Section titled “Returns”The repositories by package key, or an empty object if the project maps none.
Throws
Section titled “Throws”InvalidRepositoryConfigError if the map or an entry has the wrong shape, or
CredentialsInUrlError if a repository’s url contains credentials. Both name the offending key.