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:
Overview
Bud is an extendable, zero configuration scaffolding CLI for WordPress editor blocks, also known as Gutenberg.
Requirements
Requirement | Version |
---|
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.5 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:
yarn generate plugin
yarn generate block
But, you can also write your own custom generators, or install/share them by writing a plugin for Bud.
Documentation forthcoming. For now, you can run yarn generate:list
to see what is available out-of-the-box.
All commands:
Command | Description |
---|
bud | Bud CLI |
bud generate | Run a generator. |
bud init | Create a new project |
bud list | List available budfiles |
bud preset | Run a preset. |
Dependencies
- 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
- @roots/bud
- @roots/bud-generators
- arr-rotate
- 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.
Help support our open-source development efforts by becoming a patron.
![Carrot](https://cdn.roots.io/app/uploads/carrot.svg)
Keep track of development and community news.