Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

joy-treasury

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

joy-treasury

A CLI to clone Joy UI blocks into your project.

  • 0.1.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

Joy Treasury CLI

a cli for pulling code from joy-treasury project when you need to extend or customize the existing code.

Installation

npm

npm install joy-treasury -g

yarn

yarn global add joy-treasury

Tutorial

  1. go to joy-treasury github
  2. find a module you want to clone in packages (let's say that I want the packages/template-card-social)
  3. open your terminal and go to your root project directory
  4. run joy-treasury clone template-card-social
  5. you will see that the code is downloaded to src/joy-treasury folder (in your local project)

Usage

Usage: joy-treasury [options] [command]

Options:
  -v, --version                 output the current version
  -h, --help                    display help for command

Commands:
  init
  clone [options] <sources...>  clone components/styles to your config directory
  help [command]                display help for command

init

create a joy-treasury.config.js file that will be used when running clone.

joy-treasury init

Note that config file will be overridden by cli options (if specified)

clone

Usage: joy-treasury clone [options] <sources...>

clone components/styles to your config directory

Options:
  -d, --dir [directory]      destination directory
  -t, --template [template]  template of the files, typescript (default) | javascript
  -b, --branch [branch]      target branch on github
  --storybook                storybook file(s) will be included.
  --test                     test file(s) will be included.
  -h, --help                 display help for command

clone multiple modules

joy-treasury clone component-info style-info-apex

FAQs

Package last updated on 17 Jul 2023

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