Socket
Book a DemoInstallSign in
Socket

@colidy/ui

Package Overview
Dependencies
Maintainers
0
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@colidy/ui

ColidyUI CLI

2.0.6
latest
npmnpm
Version published
Maintainers
0
Created
Source

ColidyUI CLI

A CLI with helper commands for managing ColidyUI components inside a Next.js project.

  • Website
  • Documentation

Features

  • Initialization of the ColidyUI components into a Next.js project (init command).
  • Installation of specific or all components (install command).
  • Uninstallation of components (uninstall command).

Installation

To install the ColidyUI CLI, use npm:

npm install -g @colidy/ui
# or
npx @colidy/ui

Usage

Initializing ColidyUI

To initialize ColidyUI inside your Next.js project, run:

colidyui init

This command checks for required files (tailwind.config.ts, tsconfig.json, globals.css) and sets up the necessary configurations.

Installing Components

To install a specific ColidyUI component, use:

colidyui install <component_name>

You can also install multiple components at once by separating their names with commas:

colidyui install component1,component2

Uninstalling Components

To uninstall a specific ColidyUI component, use:

colidyui uninstall <component_name>

Listing Available Components

To list all available ColidyUI components, run:

colidyui components

Key Functionalities:

  • Config Management:

    • The script checks and manages a local colidy.config.json file to store configurations like the directory for component installation.
    • Provides functions to get, update, and validate the configuration.
  • Component Installation:

    • Fetches the list of components from a GitHub repository.
    • Validates component names and dependencies.
    • Installs components into the specified directory, handles dependencies, and logs the process.
  • Component Uninstallation:

    • Removes a specified component from the project directory.
  • Command Structure:

    • The CLI uses commander to define commands (init, install, uninstall) and their respective actions.

Keywords

ui

FAQs

Package last updated on 04 Oct 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.