mirror of
https://github.com/akvorado/akvorado.git
synced 2025-12-11 22:14:02 +01:00
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:
2
Makefile
2
Makefile
@@ -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…)
|
||||
|
||||
Reference in New Issue
Block a user