import { describe, expect, it } from "vitest"; import { REGISTRY_ARTIFACT_SCHEMA_VERSION, REGISTRY_INSTALL_RECEIPT_SCHEMA_VERSION, REGISTRY_MANIFEST_SCHEMA_VERSION, buildRegistryArtifact, buildRegistryFile, computeRegistryHash, finalizeRegistryManifest, registryArtifactDigest, registryArtifactSchema, registryInstallReceiptSchema, registryManifestSchema, type RegistryManifestDraft, } from "./registry.js"; function manifestDraft(): RegistryManifestDraft { const buttonSource = buildRegistryFile({ path: "components/Button/index.tsx", role: "source", content: "export function Button() { return