使用 powershell 脚本更新npm 包
$data = npm -g outdated --parseable --depth=0 foreach ($item in $data) { $package = ($item -split ":")[-1] npm -g install "$package" }
$data = npm -g outdated --parseable --depth=0 foreach ($item in $data) { $package = ($item -split ":")[-1] npm -g install "$package" }