From 48270e2d6cafd386e6c10070418d3595236fa45f Mon Sep 17 00:00:00 2001 From: Tobias <96661824+CrazyWolf13@users.noreply.github.com> Date: Mon, 10 Nov 2025 23:42:10 +0100 Subject: [PATCH] Refactor yarn commands in install script --- install/domain-locker-install.sh | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/install/domain-locker-install.sh b/install/domain-locker-install.sh index aef83e81c..b4335ea59 100644 --- a/install/domain-locker-install.sh +++ b/install/domain-locker-install.sh @@ -21,11 +21,10 @@ fetch_and_deploy_gh_release "domain-locker" "Lissy93/domain-locker" msg_info "Building Domain-Locker" cd /opt/domain-locker -export COREPACK_ENABLE_DOWNLOAD_PROMPT=0 -corepack enable -$STD yarn install --immutable -$STD yarn add @angular/build@$(curl -s https://raw.githubusercontent.com/Lissy93/domain-locker/refs/heads/main/package-lock.json | jq -r '.packages["node_modules/@angular/build"].version') -$STD yarn add typescript@5.5 +export COREPACK_ENABLE_DOWNLOAD_PROMPT=0 && corepack enable +yarn install --immutable +yarn add @angular/build@$(curl -s https://raw.githubusercontent.com/Lissy93/domain-locker/refs/heads/main/package-lock.json | jq -r '.packages["node_modules/@angular/build"].version') +yarn add typescript@5.5 export NODE_OPTIONS="--max-old-space-size=2048" cat </opt/domain-locker.env # Database connection @@ -39,7 +38,7 @@ DL_PG_NAME=$PG_DB_NAME DL_ENV_TYPE=selfHosted NITRO_PRESET=node_server EOF -$STD yarn build +yarn build msg_info "Built Domain-Locker" msg_info "Creating Service"