Skip to content

Commit f01e456

Browse files
Add script to update all web dependencies
1 parent 82c266b commit f01e456

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

Update-NpmPackages.ps1

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
$null = & npm install -g npm-check-updates@latest
2+
Push-Location './Web/ClientApp'
3+
try {
4+
& ncu -u
5+
& npm install --audit false
6+
& npm audit --production
7+
} finally {
8+
Pop-Location
9+
}

0 commit comments

Comments
 (0)