Qualify collection compare-and-swap and explicit ensure mutations

This commit is contained in:
Timothy J. Aveni
2026-09-20 22:57:27 -07:00
parent 115976cacd
commit 33f674321b
5 changed files with 101 additions and 0 deletions
+6
View File
@@ -119,3 +119,9 @@ for (const [name, revision] of [
`dist/portable-reader/async/${name}.ts`,
generateRemoteTypeScriptBindings(asyncPlan.definition.bindingSchema, revision),
);
const { collectionsPlan } = await import("./collections-fixture.js");
const collections = await collectionsPlan();
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)));