feat: enhance logging and linting functionality with detailed reports
All checks were successful
Lint / lint (pull_request) Successful in 16s

This commit is contained in:
2026-03-26 13:03:10 +01:00
parent b54a94c6d3
commit 79ea7dfc7e
8 changed files with 133 additions and 44 deletions

View File

@@ -11,6 +11,23 @@ export interface GeneratedCount {
specs: number;
}
/**
* Result returned by the lint/format step.
*/
export interface LintResult {
prettier: { ran: boolean; filesFormatted: number };
eslint: { ran: boolean; filesFixed: number };
}
/**
* Per-tag summary included in the generation report.
*/
export interface TagDetail {
name: string;
description: string;
endpoints: number;
}
/**
* Final generation report persisted as `generation-report.json`.
*/
@@ -18,7 +35,9 @@ export interface GenerationReport {
timestamp: string;
tags: number;
endpoints: number;
tagDetails: TagDetail[];
outputDirectory: string;
linting: LintResult;
structure: {
dtos: number;
repositories: number;