Download the PHP package ucf/ucf-news-block-theme without Composer
On this page you can find all versions of the php package ucf/ucf-news-block-theme. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ucf/ucf-news-block-theme
More information about ucf/ucf-news-block-theme
Files in ucf/ucf-news-block-theme
Package ucf-news-block-theme
Short Description Build pipeline for UCF Today Block Theme styles.
License
Informations about the package ucf-news-block-theme
UCF Today Block Theme
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
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.