v0.5.0-alpha
Pre-releaseFirst minor bump on the alpha line. Consolidates the per-consumer build / package scripts (Proclaim's proclaim_build.php, lib_cwmscripture's build-package.php, CWMScriptureLinks' build-package.php) into two generic binaries — cwm-build and cwm-package — driven by new build: and package: blocks in cwm-build.config.json.
Headline changes
cwm-build(new) — config-driven extension zip builder; loose / strict exclude modes, vendor pruning, include-roots filter, ensure-minified gate, run-mode pre-build, optional 3-way version promptcwm-package(rewritten) — multi-extension package assembler with fourincludes[]entry types (self/subBuild/prebuilt/inline), twoinnerLayouts, opt-in self-verifyBuild\Prompt— extractedask()helper with the countdown + ANSI redraw fix from Proclaim (#5)cwm-article— generic CWM release announcement poster (#7)cwm-joomla-cms-deps— generic joomla-cms test source cloner (#7)build-assets.jstemplate — config-driven asset copier (#7)cwm-releasepre-flight —git pull --ff-only+ submodule sync + warn on untagged submodule pointers (#6)
Important — schema is additive but cwm-package's behavior changed
bin/cwm-package was a thin bash -c \$build.command wrapper in 0.4.x; in 0.5.0-alpha it's a config-driven assembler reading a package: block. Any consumer that had cwm-package wired to invoke their old build script needs to either switch the wired script back to build.command directly, OR add a package: block to their cwm-build.config.json.
Consumers pinned to ^0.4@alpha correctly do NOT auto-pick this up. Bump your constraint to ^0.5@alpha and follow the migration guide in CHANGELOG.md before bumping.
Test suite
| Metric | v0.4.1-alpha | v0.5.0-alpha |
|---|---|---|
| Tests | 40 | 91 |
| Assertions | 100 | 310 |
Closed issues
- #5 — Move
proclaim_build.php/build-package.phpinto build-tools as config-drivencwm-build+cwm-packagebinaries - #6 —
cwm-release: add pre-flightgit pull+ submodule update before bumping - #7 — Move
cwm-article.sh,joomla-cms-deps.php, and parameterizebuild-assets.jsinto build-tools
What's deferred
- Per-consumer migrations (Proclaim, lib_cwmscripture, CWMScriptureLinks) land as separate PRs in those repos that switch
build.commandandpackage.commandto the new binaries and delete the legacy build scripts. They unlock fully oncomposer updateonce consumers bump to^0.5@alpha.
See the full release notes and migration guide in CHANGELOG.md.