chore: import SiteForge Factory V5 source (baseline)

导入 SiteForge Factory V5 基线源码:
- FastAPI + SQLite + Docker Compose(Web + Worker)架构
- 四套商业主题 × 14 页面模板(1.1.0,含历史版本快照)
- 四种建站模式骨架 + 迁移审计 + 发布门禁
- 52 项 pytest 测试
- 补全计划主文档 docs/superpowers/plans/

Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
浅念
2026-10-22 10:42:19 +08:00
commit 3c57c167f2
264 changed files with 11682 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
param(
[string]$Python = "python"
)
$ErrorActionPreference = "Stop"
& $Python -m pip check
if ($LASTEXITCODE -ne 0) { throw "Python dependency check failed" }
& $Python -m compileall -q app
if ($LASTEXITCODE -ne 0) { throw "Python compilation failed" }
& $Python -m pytest -q --basetemp=.pytest_cache/check-tmp
if ($LASTEXITCODE -ne 0) { throw "Pytest failed" }
if (Get-Command node -ErrorAction SilentlyContinue) {
foreach ($file in @("app/static/admin.js", "app/static/editor.js", "app/static/factory-v2.js", "app/static/pro.js")) {
& node --check $file
if ($LASTEXITCODE -ne 0) { throw "JavaScript syntax check failed: $file" }
}
} else {
Write-Warning "Node.js is unavailable; JavaScript syntax checks were skipped."
}
Write-Host "SiteForge V5 checks passed."