From 0a7d331a5707ccc34720fa145b394d8fdf29c43e Mon Sep 17 00:00:00 2001 From: Ismo Vuorinen Date: Wed, 22 Feb 2023 09:42:16 +0200 Subject: [PATCH] scripts: update install-npm-packages.sh --- scripts/install-npm-packages.sh | 5 ++++- shellcheckrc | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/install-npm-packages.sh b/scripts/install-npm-packages.sh index 0e16b06..d782d2a 100755 --- a/scripts/install-npm-packages.sh +++ b/scripts/install-npm-packages.sh @@ -21,6 +21,9 @@ packages=( "js-debug" "stylelint-lsp" "blade-formatter" + "@loopback/cli" + "corepack" + "standardjs" ) for pkg in "${packages[@]}"; do @@ -30,7 +33,7 @@ for pkg in "${packages[@]}"; do if [[ ${pkg:0:1} == "#" ]]; then continue; fi 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 "" done diff --git a/shellcheckrc b/shellcheckrc index 1e045e7..7898c5b 100644 --- a/shellcheckrc +++ b/shellcheckrc @@ -3,4 +3,5 @@ # Set whether or not to follow arbitrary file # paths in source statements (since 0.8.0). external-sources=true +includeAllWorkspaceSymbols=true