UNPKG

@softwareventures/maintain-project

Version:

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

9 lines 389 B
import { mapResultFn } from "../result/result.js"; import { textFile } from "../fs-stage/file.js"; import { readProjectXml } from "./read-xml.js"; export async function modifyProjectXml(project, path, modify) { return readProjectXml(project, path) .then(mapResultFn(modify)) .then(mapResultFn(dom => textFile(dom.serialize()))); } //# sourceMappingURL=modify-xml.js.map