From 202d513019884207799177b0db91778735d13939 Mon Sep 17 00:00:00 2001 From: Michael Mayer Date: Thu, 18 Sep 2025 09:52:02 +0200 Subject: [PATCH] Scripts: Update dist/install-nodejs.sh Signed-off-by: Michael Mayer --- scripts/dist/install-nodejs.sh | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/scripts/dist/install-nodejs.sh b/scripts/dist/install-nodejs.sh index be1a326b1..0f1d64c48 100755 --- a/scripts/dist/install-nodejs.sh +++ b/scripts/dist/install-nodejs.sh @@ -42,16 +42,18 @@ fi echo "Configuring NPM..." sudo npm config set cache ~/.cache/npm echo "Updating NPM..." -sudo npm update -g npm +sudo npm install -g --no-fund npm@latest n@latest +echo "Installing npm-check-updates and license-report..." +sudo npm install -g --ignore-scripts --no-fund --no-audit --no-update-notifier npm-check-updates@latest license-report@latest echo "Installing TestCafe..." -sudo npm install -g npm@latest npm-check-updates@latest license-report@latest n@latest testcafe@3.7.2 +sudo npm install -g --ignore-scripts --no-fund --no-audit --no-update-notifier testcafe@3.7.2 echo "Installing Vitest..." -sudo npm install -g vitest @vitest/browser @vitest/coverage-v8 @vitest/ui +sudo npm install -g --ignore-scripts --no-fund --no-audit --no-update-notifier vitest @vitest/browser @vitest/coverage-v8 @vitest/ui echo "Installing ESLint..." -sudo npm install -g eslint prettier globals \ +sudo npm install -g --ignore-scripts --no-fund --no-audit --no-update-notifier eslint prettier globals \ @eslint/eslintrc @eslint/js eslint-config-prettier eslint-formatter-pretty \ eslint-plugin-html eslint-plugin-import eslint-plugin-node eslint-plugin-prettier \ eslint-plugin-vue eslint-plugin-vuetify eslint-webpack-plugin echo "Installing Vue Language Server..." -sudo npm install -g @vue/language-server +sudo npm install -g --ignore-scripts --no-fund --no-audit --no-update-notifier @vue/language-server echo "Done." \ No newline at end of file