mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-02-10 02:24:35 +08:00
- Added Phase 2: Test-Cycle Execution documentation outlining the process for dynamic test-fix execution, including agent roles, core responsibilities, intelligent strategy engine, and progressive testing. - Introduced new PowerShell scripts for analyzing TypeScript errors, focusing on error categorization and reporting. - Created end-to-end tests for the Help Page, ensuring content visibility, documentation navigation, internationalization support, and accessibility compliance.
20 lines
856 B
PowerShell
20 lines
856 B
PowerShell
Set-Location 'D:\Claude_dms3\ccw\frontend'
|
|
$output = npx tsc --noEmit 2>&1
|
|
$errorLines = $output | Select-String 'error TS'
|
|
|
|
Write-Host "=== TOTAL ERRORS ==="
|
|
Write-Host $errorLines.Count
|
|
|
|
Write-Host "`n=== BY ERROR CODE ==="
|
|
$errorLines | ForEach-Object {
|
|
if ($_.Line -match 'error (TS\d+)') { $Matches[1] }
|
|
} | Group-Object | Sort-Object Count -Descending | Select-Object -First 15 | Format-Table Name, Count -AutoSize
|
|
|
|
Write-Host "`n=== BY FILE (top 25) ==="
|
|
$errorLines | ForEach-Object {
|
|
($_.Line -split '\(')[0]
|
|
} | Group-Object | Sort-Object Count -Descending | Select-Object -First 25 | Format-Table Name, Count -AutoSize
|
|
|
|
Write-Host "`n=== NON-TS6133 ERRORS (real issues, not unused vars) ==="
|
|
$errorLines | Where-Object { $_.Line -notmatch 'TS6133' -and $_.Line -notmatch 'TS1149' } | ForEach-Object { $_.Line } | Select-Object -First 60
|