update frontend env

* Switch from yarn to plain npm
* Update all package dependencies
* Start to port to new APIs
This commit is contained in:
2023-04-29 07:25:03 +02:00
parent ebba4371eb
commit 3e2a462b38
7 changed files with 802 additions and 626 deletions

View File

@@ -49,15 +49,14 @@ tags:
$(VAR):
@mkdir $(VAR)
@touch ./var/job.db
cd web/frontend && yarn install
cd web/frontend && npm install
$(DB):
./cc-backend --migrate-db
$(SVELTE_TARGETS): $(SVELTE_SRC)
$(info ===> BUILD frontend)
cd web/frontend && yarn build
cd web/frontend && npm run build
install: $(TARGET)
@WORKSPACE=$(PREFIX)