mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-02-10 12:51:39 +00:00
scripts: update install-npm-packages.sh
This commit is contained in:
@@ -21,6 +21,9 @@ packages=(
|
|||||||
"js-debug"
|
"js-debug"
|
||||||
"stylelint-lsp"
|
"stylelint-lsp"
|
||||||
"blade-formatter"
|
"blade-formatter"
|
||||||
|
"@loopback/cli"
|
||||||
|
"corepack"
|
||||||
|
"standardjs"
|
||||||
)
|
)
|
||||||
|
|
||||||
for pkg in "${packages[@]}"; do
|
for pkg in "${packages[@]}"; do
|
||||||
@@ -30,7 +33,7 @@ for pkg in "${packages[@]}"; do
|
|||||||
if [[ ${pkg:0:1} == "#" ]]; then continue; fi
|
if [[ ${pkg:0:1} == "#" ]]; then continue; fi
|
||||||
|
|
||||||
msg_run "Installing npm package:" "$pkg"
|
msg_run "Installing npm package:" "$pkg"
|
||||||
npm install -g --force --no-fund --no-progress --no-timing "$pkg"
|
npm install -g --no-fund --no-progress --no-timing "$pkg"
|
||||||
echo ""
|
echo ""
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|||||||
@@ -3,4 +3,5 @@
|
|||||||
# Set whether or not to follow arbitrary file
|
# Set whether or not to follow arbitrary file
|
||||||
# paths in source statements (since 0.8.0).
|
# paths in source statements (since 0.8.0).
|
||||||
external-sources=true
|
external-sources=true
|
||||||
|
includeAllWorkspaceSymbols=true
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user