gear: Change WebUI npm target
Since 4a00bbfed ("server: (webui) no more gzip compression (#21073)").
Signed-off-by: Vitaly Chikunov <vt@altlinux.org>
This commit is contained in:
parent
0122d1e6aa
commit
7c28f3abf0
2 changed files with 2 additions and 2 deletions
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
RET=0
|
RET=0
|
||||||
|
|
||||||
f=tools/server/public/index.html.gz
|
f=tools/server/public/bundle.js
|
||||||
email=$(git log -1 --pretty=%ae -- "$f")
|
email=$(git log -1 --pretty=%ae -- "$f")
|
||||||
if [[ $email != *@altlinux.org ]]; then
|
if [[ $email != *@altlinux.org ]]; then
|
||||||
echo >&2 "$f is not updated by ALT. Perhaps, run .gear/generate"
|
echo >&2 "$f is not updated by ALT. Perhaps, run .gear/generate"
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
workdir=tools/server/webui
|
workdir=tools/server/webui
|
||||||
target=tools/server/public/index.html.gz
|
target=tools/server/public
|
||||||
aikido-npm ci --ignore-scripts
|
aikido-npm ci --ignore-scripts
|
||||||
aikido-npm audit --audit-level=critical fix
|
aikido-npm audit --audit-level=critical fix
|
||||||
npm run build
|
npm run build
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue