• Stars
    star
    318
  • Rank 129,253 (Top 3 %)
  • Language
    TypeScript
  • License
    MIT License
  • Created almost 4 years ago
  • Updated 11 days ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

High-performance build system that supports SWC, esbuild, and Babel

bud.js

MIT License npm Follow Roots

bud.js

Configurable, extensible build tools for modern single and multi-page web applications


What is bud.js?

Configurable, extensible build tools for modern single and multi-page web applications.

Goals

bud.js wants to be:

  • Reliable, yielding consistent and predictable behaviors regardless of specified options.
  • Fast, leveraging parallel processing, smart caching and an asyncronous events based API to keep build times minimal.
  • Extensible, with a fully featured plugin system to support an ecosystem of packaged modules
  • Simple, to get started and straight forward to maintain

Features

  • Zero config by default. Check out this codesandbox template with react, postcss modules and no config.
  • Modular by design. Use only what you need.
  • Multi-compiler support.
  • Heckin’ fast.
  • Lux developer tooling and semi-automated dependency management.
  • Support for configuration files authored with TypeScript, JSON, YML, CJS and ESM.
  • Support for CDNs like skypack and unpkg.
  • Customizable and extensible.

Requirements

  • Node 16+
  • yarn 1.22 or higher
  • npm 8.3 or higher
  • Windows users must run bud.js under the Windows Subsystem for Linux.

Getting started

Quickly scaffold a new project with create-bud-app:

npx create-bud-app

If you want to add bud.js to an existing project or want to further customize the scaffolded app check out the Getting Started guide.

There are many example implementations available.

Modules

Presets

Name Usage Latest
@roots/bud-preset-recommend πŸ“š Usage npm
@roots/bud-preset-wordpress πŸ“š Usage npm
@roots/sage πŸ“š Usage npm

Extensions

Name Usage Latest
@roots/bud-babel πŸ“š Usage npm
@roots/bud-compress πŸ“š Usage npm
@roots/bud-criticalcss πŸ“š Usage npm
@roots/bud-emotion πŸ“š Usage npm
@roots/bud-entrypoints πŸ“š Usage npm
@roots/bud-esbuild πŸ“š Usage npm
@roots/bud-eslint πŸ“š Usage npm
@roots/bud-imagemin πŸ“š Usage npm
@roots/bud-mdx πŸ“š Usage npm
@roots/bud-postcss πŸ“š Usage npm
@roots/bud-prettier πŸ“š Usage npm
@roots/bud-purgecss πŸ“š Usage npm
@roots/bud-react πŸ“š Usage npm
@roots/bud-sass πŸ“š Usage npm
@roots/bud-solid πŸ“š Usage npm
@roots/bud-stylelint πŸ“š Usage npm
@roots/bud-swc πŸ“š Usage npm
@roots/bud-tailwindcss πŸ“š Usage npm
@roots/bud-bud-tailwindcss-theme-json πŸ“š Usage npm
@roots/bud-minify πŸ“š Usage npm
@roots/bud-typescript πŸ“š Usage npm
@roots/bud-vue πŸ“š Usage npm
@roots/bud-wordpress-dependencies πŸ“š Usage npm
@roots/bud-wordpress-externals πŸ“š Usage npm
@roots/bud-wordpress-theme-json πŸ“š Usage npm

Have you produced a bud.js extension and want to share it here? Please, create an issue sharing information about your project.

For more information on authoring your own extension consult the documentation and the source code of the extensions in this repository.

Packages

Also included in the bud monorepo are packages which are not specific to bud.js but are used by the framework. These packages could conceivably be used in other projects.

Name Latest
@roots/blade-loader npm
@roots/browserslist-config npm
@roots/container npm
@roots/critical-css-webpack-plugin npm
@roots/dependencies npm
@roots/entrypoints-webpack-plugin npm
@roots/eslint-config npm
@roots/filesystem npm
@roots/wordpress-dependencies-webpack-plugin npm
@roots/wordpress-externals-webpack-plugin npm
@roots/wordpress-hmr npm
@roots/wordpress-theme-json-webpack-plugin npm
@roots/wordpress-transforms npm

Contributing

Contributions are welcome from everyone.

We have contribution guidelines to help you get started.

License

bud.js is licensed under MIT.

Community

Keep track of development and community news.

Sponsors

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

However, the amount of effort needed to maintain and develop new features and projects within the Roots ecosystem is not sustainable without proper financial backing. If you have the capability, please consider sponsoring Roots.

KM Digital Carrot WordPress.com Pantheon Worksite Safety Copia Digital

More Repositories

1

sage

WordPress starter theme with Laravel Blade components and templates, Tailwind CSS, and a modern development workflow
PHP
12,542
star
2

bedrock

WordPress boilerplate with Composer, easier configuration, and an improved folder structure
PHP
6,069
star
3

trellis

WordPress LEMP stack with PHP 8.1, Composer, WP-CLI and more
Jinja
2,462
star
4

soil

WordPress plugin which contains a collection of modules to apply theme-agnostic front-end modifications
PHP
1,024
star
5

acorn

Laravel components for WordPress plugins and themes
PHP
682
star
6

wp-password-bcrypt

WordPress plugin to implement secure bcrypt hashed passwords
PHP
612
star
7

roots-example-project.com

Example Roots stack project (Trellis, Bedrock, Sage)
Jinja
459
star
8

wp-stage-switcher

WordPress plugin that allows you to switch between different environments from the admin bar
PHP
367
star
9

sage-woocommerce

WooCommerce integration for Sage 9 themes
PHP
213
star
10

bedrock-capistrano

Capistrano configs/integration for Bedrock
Ruby
178
star
11

docs

πŸ“ Documentation for Roots projects
168
star
12

trellis-cli

A CLI to manage Trellis projects
Go
163
star
13

wordpress

Automatically updated WordPress composer package
163
star
14

wp-h5bp-htaccess

WordPress plugin that adds HTML5 Boilerplate's .htaccess
PHP
153
star
15

roots-sass

Deprecated in favor of Sage
132
star
16

clover

WordPress plugin boilerplate
JavaScript
82
star
17

capistrano-grunt

Capistrano extension for Grunt tasks
Ruby
67
star
18

roots-rewrites

Unsupported: Clean URL rewrites for WordPress assets
PHP
62
star
19

multisite-url-fixer

Fixes WordPress issues with home and site URL on multisite when using Bedrock
PHP
57
star
20

sage-translations

Community translations for the Sage WordPress starter theme
Shell
52
star
21

wp-config

Bedrock's failsafe wp-config
PHP
50
star
22

wordpress-nginx

Chef cookbook to create Nginx sites for WordPress applications
Ruby
48
star
23

roots-wrapper-toolbar

WordPress plugin that displays the base and main templates selected by the Roots wrapper in the WordPress toolbar
PHP
48
star
24

palette-webpack-plugin

Generate a JSON file containing your color palette from existing Sass maps and/or Tailwind.
JavaScript
46
star
25

roots-cli

*Pre-alpha* Start a new Roots project with one command
Go
41
star
26

grunt-wp-assets

Unsupported: WordPress assets revisioning
JavaScript
40
star
27

bedrock-autoloader

Bedrock Autoloader enables standard plugins to be required just like must-use plugins
PHP
38
star
28

wordpress-packager

Helper to generate WordPress Composer packages
PHP
37
star
29

issue-closer-action

GitHub action to automatically close issues/PRs that don't match a regexp
JavaScript
34
star
30

sage-installer

Sage 9 installer
PHP
31
star
31

setup-trellis-cli

πŸ‘· Sets up Trellis CLI for GitHub Action workflows
JavaScript
27
star
32

bedrock-docker

https://roots.io/bedrock/
Dockerfile
25
star
33

sage-cli

Perform tasks with the Sage theme
TypeScript
21
star
34

acorn-prettify

Acorn Prettify contains a collection of modules to apply theme-agnostic front-end modifications to your Acorn-powered WordPress sites.
PHP
21
star
35

wp-cli-theme-activation

WP-CLI command for theme activation and setting options
PHP
19
star
36

acorn-example-package

A template for creating your own Acorn packages
PHP
18
star
37

grunt-wp-version

Unsupported: This project has been replaced with https://github.com/roots/grunt-wp-assets
JavaScript
18
star
38

wp-cookbook

Chef cookbook for WordPress sites
Ruby
17
star
39

wordpress-full

Automatically updated WordPress composer package (full version, with wp-content and themes)
16
star
40

wp-blade-check

Checks and displays an admin notice if your uncompiled Blade templates are publicly accessible
PHP
16
star
41

guidelines

Coding and contributing guidelines for Roots projects
16
star
42

wordpress-no-content

Automatically updated WordPress composer package (version without wp-content)
13
star
43

sage-lib

Library files for Sage 9
PHP
13
star
44

js-dom-router

JavaScript DOM Router
TypeScript
13
star
45

acorn-mail

Simple WordPress SMTP using Acorn.
PHP
13
star
46

bedrock-disallow-indexing

Disallow indexing of your site on non-production environments.
PHP
12
star
47

gutenberg-examples

8
star
48

.github

Default community health files for GitHub projects
TypeScript
7
star
49

vsce-blade-syntax

Roots specific syntax highlighting for blade template files
5
star
50

bud-generators

Standard generator library for @roots/bud.
HTML
5
star
51

discourse-topic-github-release-action

Post published GitHub releases from a repository to a Discourse instance.
JavaScript
4
star
52

dockerfiles

Dockerfile
4
star
53

trellis-deploy-action

GitHub Action for deploying Trellis sites
4
star
54

ansible-role-mailpit

Ansible Role - Mailpit email testing for developers
Jinja
3
star
55

homebrew-tap

Ruby
3
star
56

wordpress-generator-legacy

Legacy generator for the roots/wordpress Composer package. See https://github.com/roots/wordpress-packager for the current version.
PHP
1
star
57

support

PHP
1
star
58

acorn-fse-helper

Bootstrap FSE support in Acorn-based WordPress themes.
PHP
1
star