Skip to content

TypeScript API / @laikacms/astro / resolveRepositories

Function: resolveRepositories() ​

ts
function resolveRepositories(options, root): LaikaRepositories;

Resolve a LaikaRepositoryOptions into concrete repositories.

root is the Astro project root (config.root), used to resolve a relative LaikaRepositoryOptions.dir. Loaders that run outside a configured integration pass process.cwd(), which is where Astro is invoked from.

Parameters ​

ParameterType
optionsLaikaRepositoryOptions
rootstring

Returns ​

LaikaRepositories

Released under the MIT License.