Prove PresentationMount with authored generic graph operations
This commit is contained in:
@@ -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 });
|
||||
|
||||
Reference in New Issue
Block a user