UNPKG

@softwareventures/maintain-project

Version:

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

10 lines (9 loc) 472 B
import type { Document } from "yaml"; import type { File } from "../fs-stage/file.js"; import type { TemplateId } from "./template.js"; export interface ModifyTemplateYamlOptions { readonly templateId: TemplateId; readonly pathSegments: readonly [string, ...string[]]; readonly modify: (document: Document.Parsed) => Document.Parsed; } export declare function modifyTemplateYaml({ templateId, pathSegments, modify }: ModifyTemplateYamlOptions): Promise<File>;