WORK-115
ID:WORK-115Status:ready

Migrate community package postTransform uses to declarative config

With WORK-110 through WORK-114 complete, convert the 5 postTransform uses identified in SPEC-033 to their declarative equivalents. Validate identical HTML output before and after each migration.

Priority:mediumComplexity:moderateMilestone:v1.0.0Source:SPEC-033

Acceptance Criteria

  • Beat rune (runes/storytelling/src/config.ts) — postTransform replaced with valueMap/mapTarget on the status modifier
  • ComparisonRow rune (runes/marketing/src/config.ts) — postTransform replaced with valueMap/mapTarget
  • Testimonial rune (runes/marketing/src/config.ts) — postTransform replaced with repeat on structure entry for star ratings
  • refrakt inspect output is identical before and after for each migrated rune
  • All existing tests pass
  • CSS coverage tests pass (no selector regressions)
  • The 4 remaining postTransform uses (genuinely complex cases) are untouched

Approach

  1. For each rune, capture the current refrakt inspect output as a baseline
  2. Replace the postTransform with the equivalent declarative config
  3. Compare inspect output to confirm identical HTML
  4. Run full test suite after each migration

References

History

  1. 59ded4a
    Content edited
  2. f262d7b
    source+SPEC-033
  3. 41d5c52
    Created (ready, medium, moderate, transform, themes, runes, v1.0.0)