Tags: utopia-php/cli
Tags
refactor(monorepo): simplify absorb/sync flows (-635 LoC) - Drop the 17 per-package mirror CI workflows: they were inert in the monorepo and only re-tested, on the mirror, code the monorepo's own matrix already gated pre-merge. absorb now strips all incoming workflows and writes only mirror.yml; the ratchet lint over packages/* (no uses: left to pin) goes too. - Make absorb's mirror ruleset idempotent: update whatever branch ruleset already exists in place instead of skipping on a name clash (the gap that left auth's mirror without the split-app bypass). - Remove the standalone `import` command — unused, and it left a package without mirror.yml/banner/ruleset. import_package() stays as absorb's helper. - Trim absorbing.md/creating.md/README to match. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Soften sibling constraints to caret ranges (#9) Intra-utopia requires move from X.Y.* pins to ^X.Y across cli, http, platform, queue and servers (client and pools already used carets). For 0.x siblings the range is equivalent today, but the style is uniform and minors flow through automatically once packages reach 1.0. servers' broad 'validators 0.*' narrows to ^0.2, matching the released line. Co-authored-by: Claude Fable 5 <[email protected]>
Hoist phpunit to the monorepo toolchain (#3) One phpunit (^12) pinned in the root composer.json; packages no longer declare it. Package test scripts call `phpunit`, resolved from the root vendor/bin which bin/monorepo puts on PATH; mirror workflows get it via setup-php's tools input. Migrates the phpunit 9 era leftovers: cli and platform phpunit.xml schemas, cli's @dataProvider annotation to an attribute. cli's mirror test matrix moves to 8.3-8.5 (phpunit 12 needs >=8.3). bin/monorepo absorb now strips phpunit and rewrites test scripts for incoming libraries. Co-authored-by: Claude Fable 5 <[email protected]>
PreviousNext