code: async function lastBuildInfo({repositoryDirectory, artifacts}) {
    return await Promise.all(
      artifacts.map(async artifact => {
        const biltJson = await readBiltJson(path.join(repositoryDirectory, '.bilt', artifact.path))
  
        return {
          name: artifact.name,
          path: artifact.path,
          ...biltJson,
        }
      }),
    )
  }
docs: @typedef {string} FileHash
  @typedef {{name: string, path: string}} ArtifactInfo
  @typedef {{name: string, path: string, lastSuccessfulBuild: {timestamp: string, commit: string, changedFilesInWorkspace: {[path: string]: FileHash}}}} ArtifactBuildInfo
  @param {{repositoryDirectory: string, artifacts: ArtifactInfo[]}} options
  
  @typedef {ArtifactBuildInfo[]} LastBuildInfo
  @returns {Promise<LastBuildInfo>}