Skip to content

Commit

Permalink
Merge pull request #24 from a8cteam51/fix/remove-blockbase
Browse files Browse the repository at this point in the history
Removes blockbase dependency
  • Loading branch information
tommusrhodus authored Jul 31, 2024
2 parents 9197151 + 4e2bd3d commit 6a5f7bd
Show file tree
Hide file tree
Showing 7 changed files with 240 additions and 165 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,7 @@ As a rule of thumb, if there is another source of updates for a piece of code, i

### Theme Structure

This demo project contains a theme called `build-processes-demo` which is a child theme of the [Blockbase](https://wordpress.org/themes/blockbase/) theme. Using Blockbase is **not** a requirement, but it is a good example of a FSE theme.

The usage of a child theme is strongly encouraged even if the project is built upon a Twenty\* theme. Rather than modifying the theme directly and disabling updates by renaming it, it is better to create a child theme and use the Twenty\* theme as a parent theme. That way, we can still benefit from fixes in the template theme **and** it makes it much easier to figure out what the customizations were when the inevitable redesign rolls around in 3-5 years.
This demo project contains a Block Theme called `build-processes-demo` which is setup to work with all build processes set out in `composer.json` and `package.json`. This theme is a recommendation of structure only. You can modify or replace this as needed if needed. [Block Canvas](https://github.com/Automattic/themes/tree/trunk/block-canvas) is also an excellent starter theme you can consider.

In general, any active theme on the site should contain the following folder structure:

Expand Down
1 change: 0 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
"require-dev": {
"a8cteam51/team51-configs": "dev-trunk",

"wpackagist-theme/blockbase": "*",
"wpackagist-plugin/woocommerce": "*",

"wp-cli/i18n-command": "^2.6",
Expand Down
395 changes: 238 additions & 157 deletions composer.lock

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ Theme URI: https://github.com/a8cteam51/build-processes-demo
Author: WordPress Special Projects
Author URI: https://wpspecialprojects.wordpress.com
Description: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam et tincidunt metus, eu rutrum sapien.
Template: blockbase
Version: 1.0.0
Update URI: false
Requires at least: 6.1
Expand Down
1 change: 0 additions & 1 deletion themes/build-processes-demo/style-rtl.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ Theme URI: https://github.com/a8cteam51/build-processes-demo
Author: WordPress Special Projects
Author URI: https://wpspecialprojects.wordpress.com
Description: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam et tincidunt metus, eu rutrum sapien.
Template: blockbase
Version: 1.0.0
Update URI: false
Requires at least: 6.1
Expand Down
1 change: 0 additions & 1 deletion themes/build-processes-demo/style.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion themes/build-processes-demo/style.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 6a5f7bd

Please sign in to comment.