feat: consolidate local-first mnote web runtime

This commit is contained in:
lix-2026
2026-05-28 22:01:44 +08:00
parent 7354807ee9
commit 39b9a0183a
154 changed files with 13591 additions and 12728 deletions
-9
View File
@@ -111,12 +111,6 @@ function Get-AppliedEnvFiles {
}
}
# Vite(开发模式)默认读取:仅对仓库内已存在的 webui 目录做显式识别
$viteDev = Join-Path $Root "LightRAG\lightrag_webui\.env.development"
if (Test-Path -LiteralPath $viteDev) {
$applied.Add((Resolve-Path -LiteralPath $viteDev).Path) | Out-Null
}
return $applied | Select-Object -Unique
}
@@ -273,10 +267,7 @@ function Get-MergeOrderScore {
# 目录组优先级:越大越[后覆盖](优先级更高)
$group = 0
if ($rel -match "^(?i)wolai-backend[/\\\\]") { $group = 60 }
elseif ($rel -match "^(?i)wolai-frontend[/\\\\]") { $group = 50 }
elseif ($rel -match "^(?i)infra[/\\\\]convex[/\\\\]") { $group = 40 }
elseif ($rel -match "^(?i)services[/\\\\]") { $group = 30 }
elseif ($rel -match "^(?i)LightRAG[/\\\\]") { $group = 20 }
elseif ($rel -match "^(?i)cankao[/\\\\]") { $group = -50 }
elseif ($rel -match "(?i)[/\\\\]test[/\\\\]") { $group = -40 }
else { $group = 0 }