Skip to content

Config Extensions#15

Merged
charlesnutter merged 2 commits into
mainfrom
feat/site-composition
Jul 5, 2026
Merged

Config Extensions#15
charlesnutter merged 2 commits into
mainfrom
feat/site-composition

Conversation

@charlesnutter

@charlesnutter charlesnutter commented Jul 5, 2026

Copy link
Copy Markdown
Member

Description

  • Per-recipe options: in config.dq.yml passed as native recipe inputs at scaffold time
  • theme.layout baked into the theme at scaffold (copies shell variant, deletes others — no runtime setting)
  • homepage.blocks composes the front page from recipe-advertised blocks at a /home view
  • dq-install writes each recipe's available options back into config.dq.yml as commented blocks; --exclude-options to list in terminal only
  • Interactive wizard asks layout/options/homepage
  • Pure logic extracted into src/Config + src/Registry; PHPUnit suite (29 tests) + CI
  • Drupal 11.4 forward-compat: vendor/bin/dr detection, dr recipe:apply support, post-recipes cache rebuild, core-recipe-unpack ^11.2 constraint; stack floor ^11.3

Testing

composer test; full e2e scaffold on 11.4.1 (path repos) — inputs, layout bake, homepage composition, geometric preset + font fetch, Tome export all verified.

Clarify in presets.md that the starterkit gitignores presets/overrides.css
only for its own repo hygiene and withholds its .gitignore from
generate-theme — in a site the file is committed, since it cannot be
regenerated once dq:cleanup removes config.dq.yml.
Fixes surfaced by a full end-to-end scaffold on core 11.4.1:

- prefer core's consolidated CLI (vendor/bin/dr, 11.4+) for
  generate-theme and recipe application — the legacy
  core/scripts/drupal path breaks on relocated docroots and the drush
  `recipe` command is gone; older cores fall back to the previous paths
- rebuild caches after the recipes loop so subsequent drush calls boot
  a container that knows recipe-installed extensions
- dq-install: core-recipe-unpack peer constraint ^1.0 -> ^11.2 (the
  package now version-syncs with core; the 1.x alphas are gone)
- stack floor: ^11.1.8 -> ^11.3 across README, skills, and the umbrella
  module generator; tested range is 11.3 + 11.4
@charlesnutter charlesnutter merged commit 7899e3b into main Jul 5, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant