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
A helper should be employed in the various places NX tries to resolve a version string from the package.json to resolve the "real" version using pnpm for checks like this to enable fuller support for pnpm as the package manager.
Current Behavior
Running the example code:
nx g plugin my-plugin --directory=libs --importPath=@squareup/my-plugin
yields:
Error: The package.json lists a version of typescript that Nx is unable to validate - (catalog:)
This is because the generators use a check of the TS version which simply gets the entry from package.json and does not resolve catalogs from pnpm:
nx/packages/js/src/generators/init/init.ts
Line 34 in e0c49d3
Expected Behavior
A helper should be employed in the various places NX tries to resolve a version string from the package.json to resolve the "real" version using pnpm for checks like this to enable fuller support for pnpm as the package manager.
GitHub Repo
No response
Steps to Reproduce
package.json
:pnpm-workspace.yaml
:Nx Report
Failure Logs
Package Manager Version
9.11.0
Operating System
Additional Information
No response
The text was updated successfully, but these errors were encountered: