Prepare self-contained open-source release (#1)

* feat: prepare self-contained open-source release

* fix: canonicalize missing managed paths

---------

Co-authored-by: luckyyzh <luckyyzh@users.noreply.github.com>
This commit is contained in:
Zihao Yang
2026-07-31 03:39:54 +08:00
committed by GitHub
co-authored by luckyyzh
parent 7392ab9dd7
commit 5c9c6631f5
34 changed files with 1310 additions and 137 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ import { join } from "node:path";
import { managedEnvironment, rootDir } from "./profile.mjs";
const target = process.argv[2] ?? "dev";
const allowedTargets = new Set(["dev", "dev:lan", "start", "start:lan"]);
const allowedTargets = new Set(["build", "dev", "dev:lan", "start", "start:lan"]);
if (!allowedTargets.has(target)) {
console.error(`Unsupported Pi Web script: ${target}`);
process.exit(2);