build: refresh release artifacts with admin /admin asset base

Redeploy-ready admin/user/api bundles after shared-domain path fix.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
s.esmaeili
2026-10-31 23:09:26 +03:30
co-authored by Cursor
parent 09c17a9045
commit 046d8f541a
197 changed files with 248 additions and 178 deletions
+17
View File
@@ -0,0 +1,17 @@
#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*) basedir=`cygpath -w "$basedir"`;;
esac
if [ -z "$NODE_PATH" ]; then
export NODE_PATH="/mnt/e/hedena_gold/node_modules/.pnpm/prisma@5.22.0/node_modules/prisma/build/node_modules:/mnt/e/hedena_gold/node_modules/.pnpm/prisma@5.22.0/node_modules/prisma/node_modules:/mnt/e/hedena_gold/node_modules/.pnpm/prisma@5.22.0/node_modules:/mnt/e/hedena_gold/node_modules/.pnpm/node_modules"
else
export NODE_PATH="/mnt/e/hedena_gold/node_modules/.pnpm/prisma@5.22.0/node_modules/prisma/build/node_modules:/mnt/e/hedena_gold/node_modules/.pnpm/prisma@5.22.0/node_modules/prisma/node_modules:/mnt/e/hedena_gold/node_modules/.pnpm/prisma@5.22.0/node_modules:/mnt/e/hedena_gold/node_modules/.pnpm/node_modules:$NODE_PATH"
fi
if [ -x "$basedir/node" ]; then
exec "$basedir/node" "$basedir/../../../../../../prisma@5.22.0/node_modules/prisma/build/index.js" "$@"
else
exec node "$basedir/../../../../../../prisma@5.22.0/node_modules/prisma/build/index.js" "$@"
fi
+12
View File
@@ -0,0 +1,12 @@
@SETLOCAL
@IF NOT DEFINED NODE_PATH (
@SET "NODE_PATH=E:\hedena_gold\node_modules\.pnpm\prisma@5.22.0\node_modules\prisma\build\node_modules;E:\hedena_gold\node_modules\.pnpm\prisma@5.22.0\node_modules\prisma\node_modules;E:\hedena_gold\node_modules\.pnpm\prisma@5.22.0\node_modules;E:\hedena_gold\node_modules\.pnpm\node_modules"
) ELSE (
@SET "NODE_PATH=E:\hedena_gold\node_modules\.pnpm\prisma@5.22.0\node_modules\prisma\build\node_modules;E:\hedena_gold\node_modules\.pnpm\prisma@5.22.0\node_modules\prisma\node_modules;E:\hedena_gold\node_modules\.pnpm\prisma@5.22.0\node_modules;E:\hedena_gold\node_modules\.pnpm\node_modules;%NODE_PATH%"
)
@IF EXIST "%~dp0\node.exe" (
"%~dp0\node.exe" "%~dp0\..\..\..\..\..\..\prisma@5.22.0\node_modules\prisma\build\index.js" %*
) ELSE (
@SET PATHEXT=%PATHEXT:;.JS;=;%
node "%~dp0\..\..\..\..\..\..\prisma@5.22.0\node_modules\prisma\build\index.js" %*
)
+41
View File
@@ -0,0 +1,41 @@
#!/usr/bin/env pwsh
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
$exe=""
$pathsep=":"
$env_node_path=$env:NODE_PATH
$new_node_path="E:\hedena_gold\node_modules\.pnpm\prisma@5.22.0\node_modules\prisma\build\node_modules;E:\hedena_gold\node_modules\.pnpm\prisma@5.22.0\node_modules\prisma\node_modules;E:\hedena_gold\node_modules\.pnpm\prisma@5.22.0\node_modules;E:\hedena_gold\node_modules\.pnpm\node_modules"
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
# Fix case when both the Windows and Linux builds of Node
# are installed in the same directory
$exe=".exe"
$pathsep=";"
} else {
$new_node_path="/mnt/e/hedena_gold/node_modules/.pnpm/prisma@5.22.0/node_modules/prisma/build/node_modules:/mnt/e/hedena_gold/node_modules/.pnpm/prisma@5.22.0/node_modules/prisma/node_modules:/mnt/e/hedena_gold/node_modules/.pnpm/prisma@5.22.0/node_modules:/mnt/e/hedena_gold/node_modules/.pnpm/node_modules"
}
if ([string]::IsNullOrEmpty($env_node_path)) {
$env:NODE_PATH=$new_node_path
} else {
$env:NODE_PATH="$new_node_path$pathsep$env_node_path"
}
$ret=0
if (Test-Path "$basedir/node$exe") {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "$basedir/node$exe" "$basedir/../../../../../../prisma@5.22.0/node_modules/prisma/build/index.js" $args
} else {
& "$basedir/node$exe" "$basedir/../../../../../../prisma@5.22.0/node_modules/prisma/build/index.js" $args
}
$ret=$LASTEXITCODE
} else {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "node$exe" "$basedir/../../../../../../prisma@5.22.0/node_modules/prisma/build/index.js" $args
} else {
& "node$exe" "$basedir/../../../../../../prisma@5.22.0/node_modules/prisma/build/index.js" $args
}
$ret=$LASTEXITCODE
}
$env:NODE_PATH=$env_node_path
exit $ret