dfm: Added install-npm-packages.sh

This commit is contained in:
Ismo Vuorinen
2023-02-16 08:28:53 +02:00
parent 305355beaf
commit 75b99dd117
2 changed files with 13 additions and 2 deletions

View File

@@ -11,6 +11,13 @@ fi
packages=(
# This is a tool to check if your files consider your .editorconfig rules.
"editorconfig-checker"
# Node module to create a release or a changelog from
# a tag and uses issues or commits to creating the release notes.
"github-release-notes"
"neovim"
"prettier"
"@bchatard/alfred-jetbrains"
"@johnnymorganz/stylua-bin"
)
for pkg in "${packages[@]}"; do
@@ -20,7 +27,7 @@ for pkg in "${packages[@]}"; do
if [[ ${pkg:0:1} == "#" ]]; then continue; fi
msg_run "Installing npm package:" "$pkg"
npm install -g --force "$pkg"
npm install -g --no-fund --no-progress --no-timing "$pkg"
echo ""
done