@ -292,7 +292,7 @@ fmt-check:
checks : checks -frontend checks -backend
checks : checks -frontend checks -backend
.PHONY : checks -frontend
.PHONY : checks -frontend
checks-frontend : svg-check
checks-frontend : lockfile-check svg-check
.PHONY : checks -backend
.PHONY : checks -backend
checks-backend : swagger -check swagger -validate
checks-backend : swagger -check swagger -validate
@ -700,6 +700,17 @@ svg-check: svg
exit 1; \
exit 1; \
fi
fi
.PHONY : lockfile -check
lockfile-check :
npm install --package-lock-only
@diff= $$ ( git diff package-lock.json) ; \
if [ -n " $$ diff " ] ; then \
echo "package-lock.json is inconsistent with package.json" ; \
echo "Please run 'npm install --package-lock-only' and commit the result:" ; \
echo " $$ {diff} " ; \
exit 1; \
fi
.PHONY : update -translations
.PHONY : update -translations
update-translations :
update-translations :
mkdir -p ./translations
mkdir -p ./translations