From 14a8b90b92aac2077ce477d7d5db0969ecbf12a1 Mon Sep 17 00:00:00 2001 From: Miguel Angel Simon Sierra Date: Wed, 23 Sep 2026 11:35:07 -0400 Subject: [PATCH] docs(catalog): keep scaffolding guidance concise --- scripts/scaffold-example-manifests.ts | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/scripts/scaffold-example-manifests.ts b/scripts/scaffold-example-manifests.ts index bb5078cb7c..92d11994b5 100644 --- a/scripts/scaffold-example-manifests.ts +++ b/scripts/scaffold-example-manifests.ts @@ -1,19 +1,6 @@ #!/usr/bin/env tsx -/** - * Generate registry-item.json manifests for every example in registry/examples/, - * without changing the top-level registry index. - * - * Reads the legacy registry/examples/templates.json (label + hint) and probes - * each example's index.html for dimensions / duration data attributes. - * Placeholder `__VIDEO_DURATION__` falls back to 10 (the init-time default). - * - * Idempotent — safe to re-run, but will overwrite any hand-edits. Intended as - * one-shot scaffolding for PR 3. - * - * Usage: - * bun run scripts/scaffold-example-manifests.ts - * bun run scripts/scaffold-example-manifests.ts --only warm-grain - */ +// Explicit scaffolding overwrites authored example manifests; indexing never runs it. +// Usage: bun scripts/scaffold-example-manifests.ts [--only warm-grain] import { readFileSync, writeFileSync, readdirSync, statSync } from "node:fs"; import { join, relative, resolve, dirname } from "node:path";