Files
EMS-ESP32/scripts/update_all.sh
2025-03-22 10:32:03 +01:00

32 lines
536 B
Bash

#!/bin/sh
# run from root folder, like `sh ./scripts/update_all.sh`
# make sure ncu is installed globally (https://github.com/raineorshine/npm-check-updates)
# as well as GNUMake (make) and python3
cd interface
rm -rf yarn.lock node_modules
touch yarn.lock
ncu -u
yarn set version stable
yarn
yarn format
yarn lint
cd ../mock-api
rm -rf yarn.lock node_modules
touch yarn.lock
ncu -u
yarn set version stable
yarn
yarn format
cd ..
cd interface
yarn build; yarn webUI
cd ..
npx cspell "**"
sh ./scripts/generate_csv_and_headers.sh