New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
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
  • npm
  • Socket score

Version published
Weekly downloads
5
decreased by-58.33%
Maintainers
0
Weekly downloads
 
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:

  1. 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.
  2. 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.
  3. Component Uninstallation:

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

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

Keywords

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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc