Files
ForgeFlow-Public/START-FORGEFLOW-OVERLAY.ps1
T
NuklearRabbit f60b269686
ForgeFlow quality gate / quality (push) Successful in 4m12s
ForgeFlow quality gate / secret-scan (push) Successful in 7s
Publish curated ForgeFlow source from 2ed1787c0b52
2026-09-29 22:50:57 +02:00

20 lines
724 B
PowerShell

$ErrorActionPreference = "Stop"
$project = Split-Path -Parent $MyInvocation.MyCommand.Path
Set-Location $project
$manifest = Get-Content (Join-Path $project "package.json") -Raw | ConvertFrom-Json
if ($manifest.name -ne "forgeflow" -or $manifest.version -ne "0.6.0") {
throw "This overlay is not ForgeFlow 0.6.0."
}
Write-Host "ForgeFlow 0.6.0 overlay validation" -ForegroundColor Cyan
Write-Host "Project: $project"
& npm install --no-audit --no-fund
if ($LASTEXITCODE -ne 0) { throw "npm install failed with exit code $LASTEXITCODE." }
& npm run check
if ($LASTEXITCODE -ne 0) { throw "npm run check failed with exit code $LASTEXITCODE." }
Write-Host "Starting ForgeFlow 0.6.0..." -ForegroundColor Green
& npm start