mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 00:09:51 +03:00
32 lines
536 B
Bash
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
|