UNPKG

@softwareventures/maintain-project

Version:

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

8 lines 375 B
import { textFile } from "../fs-stage/file.js"; import { readTemplateYamlAsDocument } from "./read-yaml.js"; export async function modifyTemplateYaml({ templateId, pathSegments, modify }) { return readTemplateYamlAsDocument(templateId, ...pathSegments) .then(modify) .then(document => textFile(String(document))); } //# sourceMappingURL=modify-yaml.js.map