Build flattens components/*/*.json manifests into a registry tree under ./r.
Output:
r/registry.json — catalog of all items (no source URLs embedded)
r/<name>.json — full item manifest with absolute file URLs
r/<name>/<file> — copy of every file referenced by the item