mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 07:49:52 +03:00
script to update web as I'm lazy
This commit is contained in:
19
scripts/update_web.sh
Normal file
19
scripts/update_web.sh
Normal file
@@ -0,0 +1,19 @@
|
||||
#!/bin/sh
|
||||
|
||||
# run from root
|
||||
# make sure ncu is installed globally (https://github.com/raineorshine/npm-check-updates)
|
||||
|
||||
cd interface
|
||||
ncu -u
|
||||
yarn set version stable
|
||||
yarn
|
||||
yarn format
|
||||
yarn lint
|
||||
|
||||
cd ../mock-api
|
||||
ncu -u
|
||||
yarn set version stable
|
||||
yarn
|
||||
yarn format
|
||||
|
||||
cd ..
|
||||
Reference in New Issue
Block a user