New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@roots/bud

Package Overview
Dependencies
Maintainers
5
Versions
1021
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@roots/bud

  • 1.0.0-rc.7
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
8.9K
decreased by-7.73%
Maintainers
5
Weekly downloads
 
Created
Source

Bud

MIT License devDependency Status Build Status Maintainability Follow Roots

Powerful Block Scaffolding for WordPress
Built with ❤️

Official Website | Documentation | Change Log

Supporting

Bud is an open source project and completely free to use.

However, the amount of effort needed to maintain and develop new features and products within the Roots ecosystem is not sustainable without proper financial backing. If you have the capability, please consider donating using the links below:

Donate via Patreon Donate via PayPal

Overview

Bud is an extendable, zero configuration scaffolding CLI for WordPress editor blocks, also known as Gutenberg.

Requirements

RequirementVersion
PHP>=7.2
Node>=12

Usage

Bud is currently pre-release. But, you can try it out now:

npx @roots/bud@1.0.0-rc.7 init [project-dir]

This will initialize your project and install @roots/bud as a local dev dependency.

After initializing, you might try additional generators to kick-start your dev process.

Select from a list of available generators:

yarn bud generate

Run a particular generator by name:

yarn bud generate block

If you are using Bud in order to build a plugin for the WordPress block editor, you can get started with a recommended preset rather than running several generators manually:

yarn bud preset wp-plugin

This is equivalent to:

yarn bud generate wp-plugin
yarn bud generate block
yarn bud generate wp-editor-component-image
yarn bud generate wp-editor-extension

You can write your own custom generators and presets or install/share them by writing a plugin for Bud.

Documentation forthcoming. For now, you can run yarn bud list to see what is available out-of-the-box.

All commands:

CommandDescription
budBud CLI
bud generateRun a generator.
bud initCreate a new project
bud listList available budfiles
bud presetRun a preset.

Dependencies

  • @roots/bud-generators
  • arr-rotate
  • chalk
  • enquirer
  • esm
  • execa
  • find-plugins
  • fs-extra
  • globby
  • handlebars
  • handlebars-helpers
  • ink
  • ink-link
  • ink-spinner
  • ink-text-input
  • ink-use-stdout-dimensions
  • lodash
  • pastel
  • prettier
  • prop-types
  • react
  • resolve-pkg
  • rxjs

Development dependencies

  • babel-eslint
  • eslint
  • eslint-plugin-react
  • eslint-plugin-react-hooks
  • husky
  • markdownlint-cli
  • npm-run-all

Contributing

Contributions are welcome from everyone.

We have contributing guidelines to help you get started.

Bud sponsors

Help support our open-source development efforts by becoming a patron.

Kinsta KM Digital Carrot

Community

Keep track of development and community news.

FAQs

Package last updated on 29 Jun 2020

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