mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 07:49:52 +03:00
30 lines
444 B
Bash
30 lines
444 B
Bash
#!/bin/sh
|
|
|
|
# run from root folder, like `sh ./scripts/update_all.sh`
|
|
# as well as GNUMake (make) and python3
|
|
|
|
cd interface
|
|
rm -rf node_modules
|
|
corepack use pnpm@latest-10
|
|
pnpm update --latest
|
|
pnpm install
|
|
pnpm format
|
|
pnpm lint
|
|
|
|
cd ../mock-api
|
|
rm -rf node_modules
|
|
corepack use pnpm@latest-10
|
|
pnpm update --latest
|
|
pnpm install
|
|
pnpm format
|
|
|
|
cd ..
|
|
cd interface
|
|
pnpm build
|
|
pnpm webUI
|
|
|
|
cd ..
|
|
npx cspell "**"
|
|
|
|
sh ./scripts/generate_csv_and_headers.sh
|