Skip to content

Conversation

@dannywillems
Copy link
Member

@dannywillems dannywillems commented Jul 10, 2025

See commit messages. The user is responsible from now to run npm run format src/bindings/mina-transaction.

It also makes the PR #2286 easier to finish. Adding new plugins or updating prettier should not require to update any other script or machinery.

This simplifies also the build process.

js-layout-to-types job should only be the generation of the files.
Prettifying the file should be done as a second step, by calling
`npm run format .`. This aligns with the UNIX philisophy that a script should be
doing only one thing, and well.

It removes some dependencies regarding prettier in the stanzas definition, and
simplify the addition of new plugins prettier might need.
In the previous patch, we decided to delegate the call to prettier to a second
step, called by the user. Therefore, we should stop ignoring the files.
@dannywillems dannywillems requested a review from a team as a code owner July 10, 2025 18:03
@dannywillems dannywillems merged commit 93a3924 into main Jul 10, 2025
27 of 28 checks passed
@dannywillems dannywillems deleted the dw/stop-running-prettier-js-layout branch July 10, 2025 19:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants