1import { VERSION } from "./version.ts";23Deno.test("workspace package versions match the runtime version", async () => {4 const cli = JSON.parse(await Deno.readTextFile("cli/deno.json"));5 const shared = JSON.parse(await Deno.readTextFile("shared/deno.json"));6 if (cli.version !== VERSION || shared.version !== VERSION) {7 throw new Error(8 `version mismatch: runtime=${VERSION}, cli=${cli.version}, shared=${shared.version}`,9 );10 }11});