@telefonica/opensource-scaffold
Version:
Scaffolding for open source projects. A CLI tool to create open source repositories with standard tools and resources
26 lines (25 loc) • 777 B
TypeScript
import type { LogLevel } from "./Logger.types.js";
import type { Resource } from "./Resources.types.js";
/** Options for scaffold checker */
export interface CheckerOptions {
/** Log level */
log?: LogLevel;
/** List of globule patterns to ignore */
ignore?: string[];
}
/** Report for a resource */
export type ResourceReport = Omit<Resource, "origin">;
/** Result of checking resources */
export interface CheckResult {
/** Whether all resources are valid */
valid: boolean;
/** Report with missing resources */
report: {
/** Message with the result */
message: string;
/** List of missing resources */
missing: ResourceReport[];
/** List of found resources */
found: ResourceReport[];
};
}