mirror of
https://github.com/Luzifer/password.git
synced 2024-12-20 04:41:17 +00:00
Fix node package vulnerabilities, switch to NPM
Yarn does not support automatic fix of vulnerabilities (yarnpkg/yarn#7075) so use NPM which does Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
6357317b30
commit
aad5aeaf79
4 changed files with 10198 additions and 8239 deletions
2
Makefile
2
Makefile
|
@ -7,7 +7,7 @@ compile_js:
|
||||||
-w "$(CURDIR)/js" \
|
-w "$(CURDIR)/js" \
|
||||||
-u $(shell id -u) \
|
-u $(shell id -u) \
|
||||||
node:10-alpine \
|
node:10-alpine \
|
||||||
sh -c "yarn && npx webpack"
|
sh -c "npx npm@lts ci && npx webpack"
|
||||||
|
|
||||||
debug:
|
debug:
|
||||||
go-bindata --debug -o cmd/password/bindata.go --pkg=main frontend/...
|
go-bindata --debug -o cmd/password/bindata.go --pkg=main frontend/...
|
||||||
|
|
File diff suppressed because it is too large
Load diff
6542
js/package-lock.json
generated
Normal file
6542
js/package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load diff
4764
js/yarn.lock
4764
js/yarn.lock
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue