mirror of https://github.com/abpframework/abp.git
17 changed files with 31 additions and 16 deletions
@ -0,0 +1,15 @@ |
|||
Get-ChildItem -Recurse -Filter package.json -ErrorAction SilentlyContinue | |
|||
Where-Object { $_.FullName -notmatch '\\node_modules\\' } | |
|||
ForEach-Object { |
|||
Write-Host "🔍 Checking $($_.FullName)" -ForegroundColor Cyan |
|||
Push-Location $_.DirectoryName |
|||
try { |
|||
npx npm-check-updates |
|||
} |
|||
catch { |
|||
Write-Host "⚠️ Error running ncu in $($_.DirectoryName)" -ForegroundColor Red |
|||
} |
|||
Pop-Location |
|||
} |
|||
|
|||
Write-Host "`n✅ All package.json files have been checked." -ForegroundColor Green |
|||
Loading…
Reference in new issue