UNPKG

@softwareventures/maintain-project

Version:

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

11 lines (10 loc) 535 B
import type { Result } from "../result/result.js"; import type { ProjectSource } from "../project/project.js"; export type YarnFixResult = Result<YarnFixFailureReason>; export interface YarnFixFailureReason { readonly type: "yarn-fix-failed"; readonly path: string; } export declare function yarnFix(project: ProjectSource): Promise<YarnFixResult>; export declare function yarnFixIfAvailable(project: ProjectSource): Promise<YarnFixResult>; export declare function isYarnFixAvailable(project: ProjectSource): Promise<boolean>;