Skip to content
This repository was archived by the owner on Oct 5, 2026. It is now read-only.

Use JsonRecast for composer.json package version updates - #44

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

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 👍

@samsonasik
samsonasik deleted the use-json-recast branch July 5, 2026 08:55
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants