mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-06-09 20:58:12 +01:00
Fix Kan build failure (TS7016 nodemailer) (#14856)
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
committed by
GitHub
parent
bdc968e86d
commit
06cf2ec50d
@@ -50,7 +50,7 @@ function update_script() {
|
|||||||
cd /opt/kan
|
cd /opt/kan
|
||||||
set -a && source /opt/kan/.env && set +a
|
set -a && source /opt/kan/.env && set +a
|
||||||
export NEXT_PUBLIC_USE_STANDALONE_OUTPUT=true
|
export NEXT_PUBLIC_USE_STANDALONE_OUTPUT=true
|
||||||
$STD pnpm install --ignore-scripts
|
$STD pnpm install --ignore-scripts --prod=false
|
||||||
export CI=true
|
export CI=true
|
||||||
find /opt/kan/packages /opt/kan/apps -name 'tsconfig.json' -exec sed -i 's|"@kan/tsconfig/|"../../tooling/typescript/|g' {} +
|
find /opt/kan/packages /opt/kan/apps -name 'tsconfig.json' -exec sed -i 's|"@kan/tsconfig/|"../../tooling/typescript/|g' {} +
|
||||||
$STD pnpm build --filter=@kan/web
|
$STD pnpm build --filter=@kan/web
|
||||||
|
|||||||
@@ -45,7 +45,7 @@ msg_info "Building Application"
|
|||||||
cd /opt/kan
|
cd /opt/kan
|
||||||
set -a && source /opt/kan/.env && set +a
|
set -a && source /opt/kan/.env && set +a
|
||||||
export NEXT_PUBLIC_USE_STANDALONE_OUTPUT=true NEXT_PUBLIC_BASE_URL BETTER_AUTH_TRUSTED_ORIGINS NEXT_PUBLIC_ALLOW_CREDENTIALS BETTER_AUTH_SECRET
|
export NEXT_PUBLIC_USE_STANDALONE_OUTPUT=true NEXT_PUBLIC_BASE_URL BETTER_AUTH_TRUSTED_ORIGINS NEXT_PUBLIC_ALLOW_CREDENTIALS BETTER_AUTH_SECRET
|
||||||
$STD pnpm install --ignore-scripts
|
$STD pnpm install --ignore-scripts --prod=false
|
||||||
export CI=true
|
export CI=true
|
||||||
find /opt/kan/packages /opt/kan/apps -name 'tsconfig.json' -exec sed -i 's|"@kan/tsconfig/|"../../tooling/typescript/|g' {} +
|
find /opt/kan/packages /opt/kan/apps -name 'tsconfig.json' -exec sed -i 's|"@kan/tsconfig/|"../../tooling/typescript/|g' {} +
|
||||||
$STD pnpm build --filter=@kan/web
|
$STD pnpm build --filter=@kan/web
|
||||||
|
|||||||
Reference in New Issue
Block a user