Install prettier3 + alpha solidity plugin in parallel #640
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
<This PR is based on top of the 0.19 update branch>
This PR installs 2 combinations of prettier + plugin versions (prettier2 + solidity v1 plugin and prettier3 + solidity v2 beta puglin) in parallel. This has been done creating two separate implementations of PrettyPrinter, and having each one as an individual package with their own dependencies.
The interface of the PrettyPrinter has been unified to the one of v3 (mainly some functions went from sync to async), so every direct and indirect usage of the printer have been updated as well.
All calls to documentFormat are still being handled by prettier 2 + plugin v1, but 1% of the calls also run prettier3+plugin v2 beta, and logging any exception on sentry.