Skip to content

[stable/5.1] Sort the oclif manifests with safe-stable-stringify 3.0.0 - #9195

Merged
isaacroldan merged 1 commit into
stable/5.1from
manifest-formatter-5.1
Nov 26, 2026
Merged

isaacroldan merged 1 commit into
stable/5.1from
manifest-formatter-5.1

Conversation

@craigmichaelmartin

Copy link
Copy Markdown
Contributor

WHY are these changes introduced?

main now writes the oclif manifests with safe-stable-stringify 3.0.0 (part of #9190), which puts empty aliases, args and hiddenAliases on one line. stable/5.1 still uses the old formatter, so a fix on main that edits one of those manifest entries doesn't apply cleanly to stable/5.1. Backports to the line should apply the same way they do on main.

WHAT is this pull request doing?

Applies the same change to stable/5.1: bin/prettify-manifests.js uses safe-stable-stringify 3.0.0 instead of json-stringify-deterministic (a root devDependency), and both oclif manifests are re-sorted. The manifests' content doesn't change, only their formatting. Nothing users install changes.

How to manually test your changes?

On this branch, run pnpm install && pnpm build && pnpm refresh-manifests: git status shows no changes.

🤖 Generated with Claude Code

Backports main's manifest formatter change (part of #9190) to stable/5.1, so stable/5.1 formats its
oclif manifests the way main does. Changes to command descriptions on main then also apply cleanly
to the line's manifests.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@craigmichaelmartin
craigmichaelmartin requested review from a team as code owners November 25, 2026 13:21
@github-actions github-actions Bot added the no-changelog This PR doesn't include a changeset entry. Is an internal only change not relevant to end users. label Nov 25, 2026
@isaacroldan
isaacroldan merged commit ba198f8 into stable/5.1 Nov 26, 2026
26 of 27 checks passed
@isaacroldan
isaacroldan deleted the manifest-formatter-5.1 branch November 26, 2026 10:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-changelog This PR doesn't include a changeset entry. Is an internal only change not relevant to end users.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants