@alignui-kit/cli
v0.2.2
Published
AlignUI component installer CLI — add AlignUI starter components to any project.
Downloads
543
Maintainers
Readme
@alignui-kit/cli
AlignUI component installer CLI.
Usage
npx @alignui-kit/cli setup --project /absolute/path/to/project
npx @alignui-kit/cli list --query accordion
npx @alignui-kit/cli add ui/accordion --project /absolute/path/to/projectCommands
setup: createalignui.config.jsonin target projectlist: list available components from bundled registryadd: install one component and its transitive component dependencies
Config file
alignui.config.json lets you customize file destination mapping and import rewrite mapping.
Template source in development
When this CLI runs inside the monorepo, add reads source files directly from the workspace root components tree first. This keeps components as the single source of truth during local development.
In published package usage, it falls back to bundled templates under packages/cli/templates/components.
To force a custom source root, set:
ALIGNUI_REGISTRY_SOURCE_ROOT=/absolute/path/to/source-root