Prove PresentationMount with authored generic graph operations

This commit is contained in:
Timothy J. Aveni
2026-09-25 11:30:14 -07:00
parent 73148d76e1
commit a83239892c
14 changed files with 244 additions and 0 deletions
+15
View File
@@ -126,6 +126,21 @@ await mkdir("dist/portable-reader/collections", { recursive: true });
await writeFile("dist/portable-reader/collections/plan.json", JSON.stringify(collections));
await writeFile("dist/portable-reader/collections/kernel.json", JSON.stringify(compileKernelProgram(collections)));
const { presentationMountPlan } = await import("./presentation-mount-fixture.js");
const presentationMount = await presentationMountPlan();
await mkdir("dist/portable-reader/presentation-mount", { recursive: true });
await writeFile("dist/portable-reader/presentation-mount/plan.json", JSON.stringify(presentationMount));
await writeFile(
"dist/portable-reader/presentation-mount/kernel.json",
JSON.stringify(compileKernelProgram(presentationMount)),
);
await writeFile(
"dist/portable-reader/presentation-mount/browser.ts",
generatePortableTypeScriptBindings(presentationMount.definition.bindingSchema, "presentation-runtime@1", {
target: "browser",
}),
);
const { compoundCrdtPlan } = await import("./compound-crdt-fixture.js");
const compoundCrdt = await compoundCrdtPlan();
await mkdir("dist/portable-reader/compound-crdt", { recursive: true });