Dollie Editor SDK guide
Registry Distribution
Distribute source components through shadcn-compatible registries.
Dollie Editor separates engine distribution from content distribution:
- npm distributes the editor engine and catalog packages;
- shadcn-compatible registries can distribute source components into an application.
This lets a component remain ordinary, editable React source while carrying the Dollie Editor engine as a dependency when needed.
Build registry output
npx dollie-editor build
The command builds configured catalog registry items into public registry JSON.
When to use each channel
Use an npm catalog package when you want versioned runtime content that applications import as a dependency.
Use a registry item when the integrator should receive and own the component source in their project.
Both paths should preserve the same stable catalog contract and editable field metadata.
Verify installed source
After adding a registry component, inspect the resulting files and dependency changes. Then run:
npx dollie-editor info --json
Do not assume that downloading source automatically registers it in the current editor.