script to update web as I'm lazy

This commit is contained in:
proddy
2024-11-28 11:22:21 +01:00
parent 272bb84a16
commit b11f9be5e7

19
scripts/update_web.sh Normal file
View 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 ..