GithubHelp home page GithubHelp logo

bridgetownrb / automations Goto Github PK

View Code? Open in Web Editor NEW
7.0 3.0 0.0 48 KB

A collection of helpful automations that can be applied to Bridgetown websites.

Ruby 100.00%
bridgetown bridgetown-plugin bridgetown-automation

automations's Introduction

NOTE: This repo has been deprecated. Starting with Bridgetown 0.19.2, popular automations are now bundled with the Bridgetown CLI directly. Read the Bundled Configurations documentations to learn more.


Bridgetown Automations

A collection of helpful automation scripts that can be applied to Bridgetown websites.

Simply run bundle exec bridgetown apply URL, where URL is this repo URL along with the automation filename. You can also run an automation as part of a new site setup using bundle exec bridgetown new mysite -a URL.

If you already have an automation script you like to use, you can include additional automations by calling apply_from_url. For example:

# my_script.rb

apply_from_url "https://github.com/bridgetownrb/automations/netlify.rb"

๐Ÿ–‡ To include your automation, file a pull request and we'll review it for inclusion in this list!

Other Repos:

In addition to the automations here, check out some other GitHub repos which include Bridgetown automations:

List of Automations:

Swup.js Page Transitions

โšก๏ธ Adds Swup for fast animated page transitions that make your site feel modern and cool. (If you've used Turbolinks in the past, you'll love Swup!)

๐Ÿ›  Review or Install:

bundle exec bridgetown apply https://github.com/bridgetownrb/automations/swup.rb

PurgeCSS Post-Build Hook

๐Ÿงผ Adds a builder plugin which runs PurgeCSS against the output HTML + frontend Javascript and produces a much smaller CSS output bundle for sites which use large CSS frameworks.

๐Ÿ›  Review or Install:

bundle exec bridgetown apply https://github.com/bridgetownrb/automations/purgecss.rb

Automated Test Suite using Minitest

โš™๏ธ Adds a basic test suite using Minitest and Rails DOM assertions for extremely fast verification of your output HTML.

๐Ÿ›  Review or Install:

bundle exec bridgetown apply https://github.com/bridgetownrb/automations/minitesting.rb

Netlify TOML Configuration

โš™๏ธ Adds a basic configuration to your site for use in Netlify deployments.

๐Ÿ›  Review or Install:

bundle exec bridgetown apply https://github.com/bridgetownrb/automations/netlify.rb

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.