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
The default version of Prettier used in nx (version "20.3.2") is outdated, specifically pointing to version 2.6.2. This version of Prettier was released over two years ago (in March 2022) and lacks the support for modern JavaScript/TypeScript features introduced in Prettier versions 3.x. This can cause compatibility problems, such as formatting incompatibility with newer TypeScript syntax, as well as missing bug fixes and enhancements.
Expected Behavior
Prettier's version should default to a modern, updated version (e.g., 3.4.2) that supports the latest JavaScript and TypeScript features.
GitHub Repo
No response
Steps to Reproduce
npx create-nx-workspace --preset=angular-monorepo
Inspect the package.json file for Prettier (installed in devDependencies).
Current Behavior
The default version of Prettier used in
nx
(version"20.3.2"
) is outdated, specifically pointing to version2.6.2
. This version of Prettier was released over two years ago (in March 2022) and lacks the support for modern JavaScript/TypeScript features introduced in Prettier versions3.x
. This can cause compatibility problems, such as formatting incompatibility with newer TypeScript syntax, as well as missing bug fixes and enhancements.Expected Behavior
Prettier's version should default to a modern, updated version (e.g.,
3.4.2
) that supports the latest JavaScript and TypeScript features.GitHub Repo
No response
Steps to Reproduce
npx create-nx-workspace --preset=angular-monorepo
package.json
file for Prettier (installed indevDependencies
).^2.6.2
.Nx Report
Failure Logs
Package Manager Version
No response
Operating System
Additional Information
No response
The text was updated successfully, but these errors were encountered: