Because @nx/devkitformatFiles is using prettier v3 the format call is awaited as v3 switched to async APIs(Breaking Change) but we have pinned prettier version within repo to v2. Now this api inconsistency might be the cause of those intermittent issues.
Library
all
Describe the feature that you would like added
We are running into intermittent issues on CI when invoking
prettier.format
within our nx workspace generators suite.Because
@nx/devkit
formatFiles
is using prettier v3 theformat
call is awaited as v3 switched to async APIs(Breaking Change) but we have pinned prettier version within repo to v2. Now this api inconsistency might be the cause of those intermittent issues.Task:
async
behaviours cannot exists it creates a problematic way forwardBlockers:
Have you discussed this feature with our team
No response
Additional context
No response
Validations
Priority
Normal
Related issues