build: Make use of npm lock file and updated lock file

This commit is contained in:
Patrick Sy 2025-11-19 14:47:14 +01:00
parent 7f8a15ba4c
commit 18ac1d6c19
Signed by: Patrick.Sy
GPG key ID: DDDC8EC51823195E
2 changed files with 18 additions and 13 deletions

View file

@ -166,14 +166,14 @@ tasks:
generates:
- node_modules/.package-lock.json
cmds:
- "{{.NPM_CMD}} install"
- "{{.NPM_CMD}} ci"
status:
- test -d node_modules
deps:install:
desc: Install all dependencies
cmds:
- "{{.NPM_CMD}} install"
- "{{.NPM_CMD}} ci"
- "{{.HUGO_CMD}} mod get -u"
- "{{.HUGO_CMD}} mod tidy"