You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
formatFiles
uses prettier v3 async api in context with prettier v2 which causes intermittent pipeline failures within tests nrwl/nx#23501The text was updated successfully, but these errors were encountered: