mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-11-02 01:11:31 +01:00
21 lines
1.2 KiB
Diff
21 lines
1.2 KiB
Diff
--- a/src/pybind/mgr/dashboard/CMakeLists.txt
|
|
+++ b/src/pybind/mgr/dashboard/CMakeLists.txt
|
|
@@ -76,7 +76,7 @@
|
|
|
|
add_npm_command(
|
|
OUTPUT "${CMAKE_SOURCE_DIR}/src/pybind/mgr/dashboard/frontend/node_modules"
|
|
- COMMAND CYPRESS_CACHE_FOLDER=${CMAKE_SOURCE_DIR}/build/src/pybind/mgr/dashboard/cypress NG_CLI_ANALYTICS=false npm ci -f ${mgr-dashboard-userconfig}
|
|
+ COMMAND CYPRESS_CACHE_FOLDER=${CMAKE_SOURCE_DIR}/build/src/pybind/mgr/dashboard/cypress NG_CLI_ANALYTICS=false yarn install --network-timeout 600000 --frozen-lockfile ${mgr-dashboard-userconfig}
|
|
DEPENDS frontend/package.json
|
|
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/src/pybind/mgr/dashboard/frontend
|
|
COMMENT "dashboard frontend dependencies are being installed"
|
|
@@ -119,7 +119,7 @@
|
|
|
|
add_npm_command(
|
|
OUTPUT "${CMAKE_SOURCE_DIR}/src/pybind/mgr/dashboard/frontend/dist"
|
|
- COMMAND DASHBOARD_FRONTEND_LANGS="${DASHBOARD_FRONTEND_LANGS}" npm run build:localize -- ${npm_args}
|
|
+ COMMAND DASHBOARD_FRONTEND_LANGS="${DASHBOARD_FRONTEND_LANGS}" yarn run build:localize ${npm_args}
|
|
DEPENDS ${frontend_src} frontend/node_modules
|
|
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/src/pybind/mgr/dashboard/frontend
|
|
COMMENT "dashboard frontend is being created"
|