The Prometheus monitoring system and time series database.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
322 B

#!/bin/bash
set -e
current=$(pwd)
root_ui_folder=${current}/web/ui
function ncu() {
target=$1
npx npm-check-updates -u --target "${target}"
}
cd "${root_ui_folder}"
for workspace in $(jq -r '.workspaces[]' < package.json); do
cd "${workspace}"
ncu "$1"
cd "${root_ui_folder}"
done
ncu "$1"
npm install