Protect unsaved edits and partial operation outcomes; improve source/library navigation and mobile density; stabilize virtual masonry near the bottom. Add single-target LoRA stack append/replace, collapsed CLIP rows with preserved weights, and verified asynchronous delivery. Update docs, version metadata, CI checks, and production assets.
55 lines
1.4 KiB
PowerShell
55 lines
1.4 KiB
PowerShell
param(
|
|
[string]$PythonExe = "D:\comfyui\ComfyUI-aki-v1.5\ComfyUI-aki-v1.5\python\python.exe"
|
|
)
|
|
|
|
$ErrorActionPreference = "Stop"
|
|
$Root = Split-Path -Parent $PSScriptRoot
|
|
$Frontend = Join-Path $Root "gallery_ui"
|
|
|
|
if (-not (Test-Path -LiteralPath $PythonExe)) {
|
|
$PythonExe = "python"
|
|
}
|
|
|
|
Push-Location $Root
|
|
try {
|
|
& $PythonExe -m pytest
|
|
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
|
|
& $PythonExe -m compileall py\gallery
|
|
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
|
|
node --test tests/comfy_lora_stack_bridge.test.mjs
|
|
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
|
|
}
|
|
finally {
|
|
Pop-Location
|
|
}
|
|
|
|
Push-Location $Frontend
|
|
try {
|
|
cmd /c npm run typecheck
|
|
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
|
|
cmd /c npm run lint
|
|
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
|
|
cmd /c npm run audit:i18n
|
|
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
|
|
cmd /c npm run test:run
|
|
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
|
|
cmd /c npm run audit:security
|
|
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
|
|
cmd /c npm run build
|
|
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
|
|
cmd /c npm run audit:dist
|
|
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
|
|
}
|
|
finally {
|
|
Pop-Location
|
|
}
|
|
|
|
Push-Location $Root
|
|
try {
|
|
powershell -ExecutionPolicy Bypass -File scripts\check-release.ps1
|
|
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
|
|
}
|
|
finally {
|
|
Pop-Location
|
|
}
|