Skip to content

CLI: publish components (modulora publish) #7

Description

@jal-co

Publish a component from the CLI to the /r/@username/name registry endpoint.

Scope

  • Read a local registry-item (shadcn shape) + files; validate against @modulora/spec.
  • POST to the authenticated publish endpoint (reuses #22 publish server fn).
  • Respect the creator distribution-channel preference (#28) — CLI publish is one channel.
  • Version bump via Tegami (Milestone 0: publish/versioning via Tegami #5).

Acceptance criteria

  • modulora publish uploads a valid component and it appears in the catalog + on the profile.
  • Rejects invalid registry items with a clear error.
  • Only the namespace owner can publish (server-enforced).

Area: CLI

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions