UNPKG

@softwareventures/maintain-project

Version:

Automatically create and maintain TypeScript projects with standard settings for Software Ventures Limited

10 lines (9 loc) 652 B
import type { Date } from "@softwareventures/date"; import type { ProjectSource } from "../project/project.js"; import type { ReadJsonFailureReason } from "../project/read-json.js"; import type { Result } from "../result/result.js"; import type { ReadYamlFailureReason } from "../project/read-yaml.js"; import type { NodeVersions } from "./node-versions.js"; export type ReadNodeVersionsResult = Result<ReadNodeVersionsFailureReason, NodeVersions>; export type ReadNodeVersionsFailureReason = ReadJsonFailureReason | ReadYamlFailureReason; export declare function readNodeVersions(project: ProjectSource, today: Date): Promise<ReadNodeVersionsResult>;