@softwareventures/maintain-project
Version:
Automatically create and maintain TypeScript projects with standard settings for Software Ventures Limited
7 lines (6 loc) • 433 B
TypeScript
import type { Document } from "yaml";
import type { Result } from "../result/result.js";
import type { File } from "../fs-stage/file.js";
import type { ProjectSource } from "./project.js";
import type { ReadYamlFailureReason } from "./read-yaml.js";
export declare function modifyProjectYaml(project: ProjectSource, path: string, modify: (document: Document.Parsed) => Document.Parsed): Promise<Result<ReadYamlFailureReason, File>>;