Socket
Socket
Sign inDemoInstall

@bolt/generator-bolt

Package Overview
Dependencies
15
Maintainers
5
Versions
314
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bolt/generator-bolt


Version published
Maintainers
5
Created

Readme

Source

Bolt Component Generator (powered by Yeoman)

Generating A New Component (only available inside the Bolt monorepo for now)

To generate a new Bolt component, run the following inside the root of the Bolt monorepo and walk through the CLI prompts.

yarn create:create-component

You can also run yarn cc for short!

Auto-fill out CLI options:

Currently two CLI options can be pre-filled out -- name and description which only requires you to hit ENTER to confirm the default value is what you want.

yarn cc --name "carousel" --description "an awesome carousel component"

Note: There's still some work left to be done to finish deeply wiring up the Bolt build tools with task-specific generators like this one. Even more awesome updates involving this are still in progress!

Keywords

FAQs

Last updated on 28 Jul 2021

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc