Skip to content

Use JsonRecast for composer.json package version updates#44

Open
samsonasik wants to merge 1 commit into
mainfrom
use-json-recast
Open

Use JsonRecast for composer.json package version updates#44
samsonasik wants to merge 1 commit into
mainfrom
use-json-recast

Conversation

@samsonasik

Copy link
Copy Markdown
Member

JsonRecast is editable JSON AST with visitor traversal and formatting-preserving printing.

https://github.com/boundwize/jsonrecast

JsonRecast parses JSON into an editable AST, lets you transform it with path-aware visitors, and prints the result while keeping the original formatting where possible.

For starter, this PR adds JsonRecast to require and make use of on ComposerJsonPackageVersionUpdater.

@samsonasik samsonasik requested a review from TomasVotruba July 3, 2026 00:07
@samsonasik

Copy link
Copy Markdown
Member Author

@TomasVotruba ready 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant