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.
29 lines
1.3 KiB
PowerShell
29 lines
1.3 KiB
PowerShell
Set-Location 'D:\Claude_dms3\ccw\frontend'
|
|
$output = npx tsc --noEmit 2>&1
|
|
$errorLines = $output | Select-String 'error TS'
|
|
|
|
Write-Host "=== NON-TS6133/TS1149/TS6196/TS6192 ERRORS (real issues) ==="
|
|
$real = $errorLines | Where-Object { $_.Line -notmatch 'TS6133' -and $_.Line -notmatch 'TS1149' -and $_.Line -notmatch 'TS6196' -and $_.Line -notmatch 'TS6192' }
|
|
Write-Host "Count: $($real.Count)"
|
|
Write-Host ""
|
|
|
|
Write-Host "=== GROUPED BY FILE ==="
|
|
$real | ForEach-Object {
|
|
($_.Line -split '\(')[0]
|
|
} | Group-Object | Sort-Object Count -Descending | Format-Table Name, Count -AutoSize
|
|
|
|
Write-Host "`n=== ROUTER.TSX ERRORS ==="
|
|
$errorLines | Where-Object { $_.Line -match 'src/router\.tsx' } | ForEach-Object { $_.Line }
|
|
|
|
Write-Host "`n=== STORES/INDEX.TS ERRORS ==="
|
|
$errorLines | Where-Object { $_.Line -match 'src/stores/index\.ts' } | ForEach-Object { $_.Line }
|
|
|
|
Write-Host "`n=== TYPES/INDEX.TS ERRORS ==="
|
|
$errorLines | Where-Object { $_.Line -match 'src/types/index\.ts' } | ForEach-Object { $_.Line }
|
|
|
|
Write-Host "`n=== SHARED/INDEX.TS ERRORS ==="
|
|
$errorLines | Where-Object { $_.Line -match 'src/components/shared/index\.ts' } | ForEach-Object { $_.Line }
|
|
|
|
Write-Host "`n=== HOOKS/INDEX.TS ERRORS ==="
|
|
$errorLines | Where-Object { $_.Line -match 'src/hooks/index\.ts' } | ForEach-Object { $_.Line }
|