Skip to content

Commit 2bc44b4

Browse files
author
Dev Optimizer Bot
committed
Update Architecture section in README
Changes: - Add JsonReporter.ts and SarifReporter.ts - Add BaselineManager.ts - Update descriptions for accuracy - Add --interactive flag for fix command
1 parent 517ec23 commit 2bc44b4

1 file changed

Lines changed: 12 additions & 8 deletions

File tree

README.md

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -344,21 +344,25 @@ These fixes are safe to apply automatically:
344344
```
345345
src/
346346
├── analyzers/
347-
│ ├── DockerAnalyzer.ts # Dockerfile + .dockerignore
348-
│ ├── DepsAnalyzer.ts # package.json + knip
347+
│ ├── DockerAnalyzer.ts # Dockerfile + .dockerignore analysis
348+
│ ├── DepsAnalyzer.ts # package.json + knip + npm audit
349349
│ └── CiAnalyzer.ts # GitHub Actions + GitLab CI
350350
├── commands/
351351
│ ├── analyze.ts # Main analysis command
352-
│ ├── fix.ts # Auto-fix command
352+
│ ├── fix.ts # Auto-fix command (--interactive)
353353
│ ├── baseline.ts # Baseline management
354354
│ └── metrics.ts # Metrics command
355355
├── reporters/
356-
│ ├── ConsoleReporter.ts # Table output
357-
│ └── MarkdownReporter.ts # PR comments
356+
│ ├── ConsoleReporter.ts # Table output (default)
357+
│ ├── MarkdownReporter.ts # PR comments
358+
│ ├── JsonReporter.ts # CI integration
359+
│ └── SarifReporter.ts # GitHub Code Scanning
360+
├── baseline/
361+
│ └── BaselineManager.ts # Baseline persistence
358362
├── discovery/
359-
│ └── RepoInventory.ts # Project detection
360-
├── deep-analyzer.ts # Size estimates
361-
├── self-analysis.ts # Self-check
363+
│ └── RepoInventory.ts # Project type detection
364+
├── deep-analyzer.ts # Size estimates + Docker layers
365+
├── self-analysis.ts # Self-check module
362366
└── types.ts # Finding schema
363367
```
364368

0 commit comments

Comments
 (0)