ucf / ucf-news-block-theme
Build pipeline for UCF Today Block Theme styles.
Package info
github.com/UCF/ucf-news-block-theme
Type:wordpress-theme
pkg:composer/ucf/ucf-news-block-theme
Requires
- composer/installers: ~1.0
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-10-20 18:20:46 UTC
README
A WordPress block theme for UCF Today (https://www.ucf.edu/news).
- Contributors: UCF Web Communications
- Requires at least: WordPress 7.0
- Tested up to: 7.0
- Requires PHP: 8.1
- License: GPL-3.0-or-later
Purpose
This project provides a clean foundation for the UCF Today website's editorial storytelling experience.
The theme focuses on WordPress block-theme architecture and reusable content-building primitives so teams can create creative, engaging story layouts in the editor.
This initial scaffold intentionally does not define visual styles yet. It sets up only the minimum required files and documentation needed to start implementation.
What's Included
- Block theme metadata and registration files
- Basic template and template parts
- Minimal
theme.jsonconfiguration - Contributor documentation and working notes
Project Structure
.
├── .wp-env.json
├── CLAUDE.md
├── CONTRIBUTING.md
├── LICENSE
├── README.md
├── assets/
│ └── css/
│ └── main.css
├── functions.php
├── index.php
├── package.json
├── parts/
│ ├── footer.html
│ └── header.html
├── src/
│ └── scss/
│ └── style.scss
├── templates/
│ └── index.html
├── theme.json
└── style.css
Local Development
- Place this directory in your WordPress install under
wp-content/themes/ucf-news-block-theme. - Activate "UCF Today Block Theme" in Appearance > Themes.
- Install Node dependencies with
npm install. - Build theme styles with
npm run build. - Use
npm run watchduring development to rebuild on file changes. - Open the Site Editor to begin creating templates, patterns, and style definitions.
Build Commands
npm run build: Compilesrc/scss/style.scsstoassets/css/main.css.npm run watch: Watch and recompile styles during development.npm run env:start: Start a local WordPress test environment viawp-env.npm run env:stop: Stop the localwp-envenvironment.npm run env:clean: Reset thewp-envenvironment.npm version patch|minor|major: Bump version inpackage.json/package-lock.jsonand sync theVersion:header instyle.css.
Versioning Process
Use npm versioning as the single source of truth for release version updates.
Standard workflow (creates a version commit and git tag):
- Ensure your branch is clean and up to date.
- Choose one command based on release type:
npm version patchfor bugfix releases (e.g.0.1.0->0.1.1)npm version minorfor backward-compatible feature releases (e.g.0.1.0->0.2.0)npm version majorfor breaking changes (e.g.0.1.0->1.0.0)
- Confirm updated files:
package.jsonpackage-lock.jsonstyle.css(theme headerVersion:line)
- Push branch and tags:
git pushgit push --tags
No-tag workflow (useful for PR preparation):
- Run
npm version patch --no-git-tag-version(orminor/major). - Commit the resulting file updates in your branch.
Implementation note:
- The sync step is handled by
npm run version:sync, which is called automatically via npm'sversionlifecycle hook.
Roadmap
Near-term work for this project:
- Define UCF Today design tokens in
theme.json. - Add reusable pattern and block-style primitives for storytelling components.
- Add automated quality checks when implementation requirements are defined.
License
This project is released under the GNU General Public License v3.0 or later. See LICENSE.