Skip to content

Commit

Permalink
Release 1.0.0.beta1 and brand new website
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredcwhite committed Jan 13, 2022
1 parent 0f66a7e commit 32e455b
Show file tree
Hide file tree
Showing 264 changed files with 5,273 additions and 7,922 deletions.
41 changes: 34 additions & 7 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,27 +9,54 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

...

## 1.0.0.beta1 — 2022-01-13

### General

- Brand new [website](https://edge.bridgetownrb.com) and refreshed documentation. _Yowza!_ Special thanks to [@adrianvalenz](https://github.com/adrianvalenz) for contributing refreshed branding and content enhancements and to [Whitefusion](https://www.whitefusion.studio) for overall design & development of the new site.

### Added

- Native esbuild integration, default site template switched to use esbuild + postcss [#461](https://github.com/bridgetownrb/bridgetown/pull/461) ([jaredcwhite](https://github.com/jaredcwhite))
- **BREAKING CHANGE:** you will need to run `bin/bridgetown webpack update` so the build process can find the relocated assets manifest file.
- New site template design along with ERB and Serbea support via CLI flags [#475](https://github.com/bridgetownrb/bridgetown/pull/461) ([jaredcwhite](https://github.com/jaredcwhite))

### Changed

- Refactor how Rake tasks are loaded or displayed ([jaredcwhite](https://github.com/jaredcwhite))
- Clean up listener and watcher, resolves #467 ([jaredcwhite](https://github.com/jaredcwhite))
- Update Stimulus and Turbo configurations to latest versions ([jaredcwhite](https://github.com/jaredcwhite))
- Permit Rails 7 versions of Active Support & Active Model ([jaredcwhite](https://github.com/jaredcwhite))
- Improve the display of build errors [#479](https://github.com/bridgetownrb/bridgetown/pull/479) ([jaredcwhite](https://github.com/jaredcwhite))
- Remove the Swup bundled configuration and enhance Turbo instead [#471](https://github.com/bridgetownrb/bridgetown/pull/471) ([jaredcwhite](https://github.com/jaredcwhite))

### Fixed

- Switch routes to path from absolute_path for Ruby 3.1 compatibility ([jaredcwhite](https://github.com/jaredcwhite))
- Fix origins autoload issue in #472 ([jaredcwhite](https://github.com/jaredcwhite))
- Add `.ruby-version` file to new sites ([jaredcwhite](https://github.com/jaredcwhite))

## 1.0.0.alpha11 - 2021-11-29

- Allow saving of models with repo origin [#452](https://github.com/bridgetownrb/bridgetown/pull/452) ([jaredcwhite](https://github.com/jaredcwhite)
- Normalize previous/next resource API between Ruby and Liquid [#466](https://github.com/bridgetownrb/bridgetown/pull/466) ([jaredcwhite](https://github.com/jaredcwhite)
- Allow saving of models with repo origin [#452](https://github.com/bridgetownrb/bridgetown/pull/452) ([jaredcwhite](https://github.com/jaredcwhite))
- Normalize previous/next resource API between Ruby and Liquid [#466](https://github.com/bridgetownrb/bridgetown/pull/466) ([jaredcwhite](https://github.com/jaredcwhite))
- Docs: Add a nginx section in deployment [#447](https://github.com/bridgetownrb/bridgetown/pull/447) ([Eric-Guo](https://github.com/Eric-Guo))
- Switch to streaming/event source mechanism for live reload [#458](https://github.com/bridgetownrb/bridgetown/pull/458) ([jaredcwhite](https://github.com/jaredcwhite)
- Hooks refactor & cleaning up SSR reload hook [#457](https://github.com/bridgetownrb/bridgetown/pull/457) ([jaredcwhite](https://github.com/jaredcwhite)
- Switch to streaming/event source mechanism for live reload [#458](https://github.com/bridgetownrb/bridgetown/pull/458) ([jaredcwhite](https://github.com/jaredcwhite))
- Hooks refactor & cleaning up SSR reload hook [#457](https://github.com/bridgetownrb/bridgetown/pull/457) ([jaredcwhite](https://github.com/jaredcwhite))
- Add `BRIDGETOWN_ENV` to render config [#460](https://github.com/bridgetownrb/bridgetown/pull/460) ([ayushn21](https://github.com/ayushn21))
- Fix production ENV issue with Roda file-based routes
- Move `Collection#sort_resources!` to a public method

## 1.0.0.alpha10 - 2021-11-15

- Fix class duplication bug with reloads and `ActiveSupport::DescendantsTracker` [#450](https://github.com/bridgetownrb/bridgetown/pull/450) ([jaredcwhite](https://github.com/jaredcwhite)
- Remove extra space from plugins command output [#449](https://github.com/bridgetownrb/bridgetown/pull/449) ([jacobherrington](https://github.com/jacobherrington)
- Fix class duplication bug with reloads and `ActiveSupport::DescendantsTracker` [#450](https://github.com/bridgetownrb/bridgetown/pull/450) ([jaredcwhite](https://github.com/jaredcwhite))
- Remove extra space from plugins command output [#449](https://github.com/bridgetownrb/bridgetown/pull/449) ([jacobherrington](https://github.com/jacobherrington))

## 1.0.0.alpha9 - 2021-11-11

- Remove the Liquid Component gem dependency
- Add support for environment CLI flags (`-e production` or `--environment=production`)
- Integrate Serbea 1.0 into Bridgetown [#440](https://github.com/bridgetownrb/bridgetown/pull/440) ([jaredcwhite](https://github.com/jaredcwhite)
- Integrate Serbea 1.0 into Bridgetown [#440](https://github.com/bridgetownrb/bridgetown/pull/440) ([jaredcwhite](https://github.com/jaredcwhite))
- Add new console commands via ConsoleMethods mixin [#439](https://github.com/bridgetownrb/bridgetown/pull/439) ([jaredcwhite](https://github.com/jaredcwhite)
- Support long version form in CLI (`--version`) [#445](https://github.com/bridgetownrb/bridgetown/pull/445) ([Eric-Guo](https://github.com/Eric-Guo))

Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<p align="center">
<a href="https://www.bridgetownrb.com">
<img src="https://www.bridgetownrb.com/images/bridgetown-logo-twitter-card.jpg" alt="Bridgetown" width="750" />
<a href="https://edge.bridgetownrb.com">
<img src="https://edge.bridgetownrb.com/images/bridgetown-logo-twitter-card.jpg" alt="Bridgetown" width="750" />
</a>
</p>

<h1 align="center">
<a href="https://www.bridgetownrb.com">Bridgetown</a>
<a href="https://edge.bridgetownrb.com">Bridgetown</a>
</h1>

Bridgetown is a Webpack-aware, Ruby-powered static site generator for the modern [Jamstack](https://bridgetownrb.com/docs/jamstack/) era. Bridgetown takes your content, API data, and frontend assets; renders templates in Markdown, Liquid, ERB, and many other formats; and exports a complete website ready to be served by fast Jamstack services like Vercel or Render or traditional web servers like Caddy or Nginx.
Bridgetown is a next-generation, progressive site generator & fullstack framework, powered by Ruby. Bridgetown takes your content, API data, and frontend assets; renders templates in Markdown, Liquid, ERB, and many other formats; and exports a complete website ready to be served by fast CDNs like Render or traditional web servers like Caddy or Nginx.

[![Build Status](https://github.com/bridgetownrb/bridgetown/workflows/build/badge.svg)](https://github.com/bridgetownrb/bridgetown/actions?query=workflow%3Abuild+branch%3Amain)
[![Gem Version](https://img.shields.io/gem/v/bridgetown.svg)](https://rubygems.org/gems/bridgetown)
Expand Down
2 changes: 1 addition & 1 deletion bridgetown-core/lib/bridgetown-core/version.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# frozen_string_literal: true

module Bridgetown
VERSION = "1.0.0.alpha11"
VERSION = "1.0.0.beta1"
CODE_NAME = "Pearl"
end
30 changes: 28 additions & 2 deletions bridgetown-website/.gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,33 @@
# Bridgetown
output
node_modules
.sass-cache
.bridgetown-cache
.bridgetown-metadata
.bridgetown-webpack

# Dependency folders
node_modules
vendor

# Caches
.npm
.node_repl_history

# Ignore bundler config.
/.bundle

# Ignore Byebug command history file.
.byebug_history

# dotenv environment variables file
.env

# Mac files
.DS_Store

# Yarn
yarn-error.log
yarn-debug.log*
.pnp/
.pnp.js
# Yarn Integrity file
.yarn-integrity
1 change: 1 addition & 0 deletions bridgetown-website/.linthtmlignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
src/_components/post_card.serb
src/_docs/components.md
src/_docs/components/liquid.md
1 change: 1 addition & 0 deletions bridgetown-website/.ruby-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.0.3
24 changes: 7 additions & 17 deletions bridgetown-website/Gemfile
Original file line number Diff line number Diff line change
@@ -1,28 +1,18 @@
# frozen_string_literal: true

source "https://rubygems.org"
git_source(:github) { |repo| "https://github.com/#{repo}.git" }

gem "bridgetown", path: "../bridgetown"
gem "bridgetown-builder", path: "../bridgetown-builder"
gem "bridgetown-core", path: "../bridgetown-core"
gem "bridgetown-paginate", path: "../bridgetown-paginate"

group :bridgetown_plugins do
gem "bridgetown-feed", "~> 2.1"
gem "bridgetown-quick-search", "~> 1.1"
gem "bridgetown-seo-tag", "~> 5.0"
gem "bridgetown-svg-inliner", "~> 1.0"
end
gem "puma", "~> 5.5"

group :test, optional: true do
gem "minitest"
gem "minitest-profile"
gem "minitest-reporters"
gem "nokogiri"
gem "rails-dom-testing"
gem "shoulda"
end
gem "bridgetown-feed", "~> 2.1", group: :bridgetown_plugins
gem "bridgetown-quick-search", "~> 1.1", group: :bridgetown_plugins
gem "bridgetown-seo-tag", "~> 5.0", group: :bridgetown_plugins
gem "bridgetown-svg-inliner", "~> 1.0", group: :bridgetown_plugins

gem "puma", "~> 5.5"
# required by @ruby2js/webpack-loader
gem "ruby2js", "~> 4.2"
gem "gems", "~> 1.2"
3 changes: 3 additions & 0 deletions bridgetown-website/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# New 2021 Website for Bridgetown

TODO: build and launch a new website for Bridgetown! =)
25 changes: 19 additions & 6 deletions bridgetown-website/Rakefile
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# frozen_string_literal: true

require "bridgetown"

Bridgetown.load_tasks

#
# Standard set of tasks, which you can customize if you wish:
#
desc "Build the Bridgetown site for deployment"
task deploy: [
:clean,
Expand All @@ -29,16 +30,28 @@ task :clean do
end

namespace :frontend do
desc "Build the frontend with Webpack for deployment"
desc "Build the frontend with esbuild for deployment"
task :build do
sh "yarn run webpack-build"
sh "yarn run esbuild"
end

desc "Watch the frontend with Webpack during development"
desc "Watch the frontend with esbuild during development"
task :dev do
sh "yarn run webpack-dev --color"
sh "yarn run esbuild-dev"
rescue Interrupt
end
end

#
# Add your own Rake tasks here! You can use `environment` as a prerequisite
# in order to write automations or other commands requiring a loaded site.
#
# task :my_task => :environment do
# puts site.root_dir
# automation do
# say_status :rake, "I'm a Rake tast =) #{site.config.url}"
# end
# end

# Run rake without specifying any command to execute a deploy build by default.
task default: :deploy
7 changes: 1 addition & 6 deletions bridgetown-website/bridgetown.config.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
url: "https://www.bridgetownrb.com"
permalink: simple
timezone: America/Los_Angeles

autoloader_collapsed_paths:
- plugins/testing
template_engine: serbea

collections:
docs:
Expand All @@ -18,6 +16,3 @@ pagination:
# Environment-specific settings
development:
unpublished: true

svg:
optimize: true
4 changes: 2 additions & 2 deletions bridgetown-website/config.ru
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# frozen_string_literal: true
# This file is used by Rack-based servers during the Bridgetown boot process.

require "bridgetown-core/rack/boot"

Bridgetown::Rack.boot

run RodaApp.freeze.app
run RodaApp.freeze.app # see server/roda_app.rb
Loading

0 comments on commit 32e455b

Please sign in to comment.