Skip to content

v0.11.0 — Registry lifecycle commands

Choose a tag to compare

@jal-co jal-co released this 31 May 03:32
· 7 commits to main since this release
49f18e7

What's New

Registry lifecycle commands

The CLI can now manage a registry, not just create it. Four new commands, all built on a shared registry core that reads the root registry plus every included per-directory registry — so they behave identically across the include and flat patterns.

  • remove <name> — the full reverse of any add-*. Deletes the item's source file(s), prunes the registry.json entry, and removes the matching docs page (and its meta.json line). Confirm-gated by default; --yes to skip.
  • list [--type] [--json] — inspect the registry, grouped by components / hooks / blocks / themes. --type filters by kind; --json emits a scriptable, machine-readable view.
  • add-theme <name> — rounds out the add-* family. Registers a theme-<name> registry:theme item with starter light/dark CSS tokens and a docs page.
  • build — convenience passthrough to your project's registry:build script (or shadcn build), with package-manager detection from the project lockfile.

Under the hood

  • New shared registry-item core powering add / remove / list, with registryHasItem unified across every command.
  • Docs updated: README + the CLI options reference now cover all four commands.
  • Test suite expanded to 81 passing tests (new unit coverage for the core + integration coverage for the new commands).

Full Changelog

v0.9.0...v0.11.0