build: do not run install scripts with npm

We don't need them and they are a bit of a security hazard (but then, we
execute them, so that does not protect much).
This commit is contained in:
Vincent Bernat
2025-09-17 00:12:13 +02:00
parent 82958eee8e
commit dab2f78751

View File

@@ -119,7 +119,7 @@ console/filter/parser.go: console/filter/parser.peg ; $(info $(M) generate PEG p
console/frontend/node_modules: console/frontend/package.json console/frontend/package-lock.json
console/frontend/node_modules: ; $(info $(M) fetching node modules)
$Q (cd console/frontend ; $(NPM) ci --loglevel=error --no-audit --no-fund) && touch $@
$Q (cd console/frontend ; $(NPM) ci --loglevel=error --ignore-scripts --no-audit --no-fund) && touch $@
console/data/frontend: $(GENERATED_JS)
console/data/frontend: $(shell $(LSFILES) console/frontend 2> /dev/null)
console/data/frontend: ; $(info $(M) building console frontend)