UNPKG

@softwareventures/maintain-project

Version:

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

6 lines (5 loc) 378 B
import type { ProjectSource } from "../project/project.js"; import type { ReadJsonFailureReason } from "../project/read-json.js"; import type { Result } from "../result/result.js"; import type { File } from "../fs-stage/file.js"; export declare function modifyPackageJson(project: ProjectSource, modify: (packageJson: any) => any): Promise<Result<ReadJsonFailureReason, File>>;