Skip to content

chore(i18n): align Composer i18n scripts with WP-CLI#389

Merged
circlecube merged 1 commit intomainfrom
fix/i18n-composer-command
Apr 20, 2026
Merged

chore(i18n): align Composer i18n scripts with WP-CLI#389
circlecube merged 1 commit intomainfrom
fix/i18n-composer-command

Conversation

@circlecube
Copy link
Copy Markdown
Member

Summary

Align composer.json i18n scripts with current WP-CLI i18n behavior (org standardization).

Changes

  • Remove --no-purge from wp i18n make-json where present; keep rm -f languages/*.json && before make-json (orphan Jed JSON cleanup).
  • Add --pretty-print to wp i18n make-php where missing.
  • Remove i18n-mo / make-mo and @i18n-mo from script chains.
  • Add or refresh scripts-descriptions so every scripts entry is documented.

Verification

  • composer validate
  • composer run-script --list

- Remove deprecated --no-purge from wp i18n make-json; keep rm -f languages/*.json SOP
- Add --pretty-print to wp i18n make-php where missing
- Remove legacy i18n-mo / make-mo and @i18n-mo chains
- Complete scripts-descriptions for all composer scripts
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 3, 2026

Coverage: Base 35.54% → PR 35.54% (must not decrease).
✅ No decrease.

Code Coverage

project coverage report 35.54% @ 72117d7

@circlecube circlecube self-assigned this Apr 3, 2026
@circlecube circlecube requested a review from a team April 3, 2026 18:34
@circlecube circlecube merged commit 52b0622 into main Apr 20, 2026
15 checks passed
@circlecube circlecube deleted the fix/i18n-composer-command branch April 20, 2026 15:35
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.

2 participants