mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-25 05:34:05 -08:00
043a2954f8
* create lezer-promql module + move codemirror to a pure esm module + unified dependencies Signed-off-by: Augustin Husson <husson.augustin@gmail.com> * ignore test utils file and remove the type "module" in package.json Signed-off-by: Augustin Husson <husson.augustin@gmail.com> * use jest to run the lezer-promql test Signed-off-by: Augustin Husson <husson.augustin@gmail.com> * give an automatic way to update the ui dependencies Signed-off-by: Augustin Husson <husson.augustin@gmail.com> * update all dependencies using make update-npm-deps Signed-off-by: Augustin Husson <husson.augustin@gmail.com> * fix react-app test Signed-off-by: Augustin Husson <husson.augustin@gmail.com> * remove generated file Signed-off-by: Augustin Husson <husson.augustin@gmail.com> * remove unnecessary backslash in script Signed-off-by: Augustin Husson <husson.augustin@gmail.com> * fix reviews Signed-off-by: Augustin Husson <husson.augustin@gmail.com> * rewording Signed-off-by: Augustin Husson <husson.augustin@gmail.com> * use npx to run lezer-generator Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
17 lines
273 B
Bash
Executable file
17 lines
273 B
Bash
Executable file
#!/bin/bash
|
|
|
|
function ncu() {
|
|
target=$1
|
|
npx npm-check-updates -u --target "${target}"
|
|
}
|
|
|
|
cd web/ui
|
|
for workspace in $(npm ls --production --depth 1 -json | jq -r '.dependencies[].resolved[8:]'); do
|
|
cd "${workspace}"
|
|
ncu "$1"
|
|
cd ../
|
|
done
|
|
|
|
ncu "$1"
|
|
npm install
|