Dependency-checks rule does not respect the pnpm workspace: *
version signature
#26707
Closed
4 tasks
Labels
Current Behavior
I am working on few various types of NX monorepo package based projects and I have faced an issue with nx-dependency-checks eslint rule after upgrading to PNPM version 9.
PNPM enforces to use "workspace:" protocol for workspace packages but ESLint fails when I use my workspace libraries with such depndendencies mark.
I am using ESLint flat config and so far I have been marking my workspace packages devDependencies in package.json as e.g. "@org/my-lib": "" but after upgrading to PNPM v9, I changed marks to "@org/my-lib": "workspace:".
ESLint fails with error:
The version specifier does not contain the installed version of "@org/my-lib" package: 0.0.1
Expected Behavior
ESLint properly maps the version, like it does for
*
GitHub Repo
No response
Steps to Reproduce
Nx Report
Failure Logs
No response
Package Manager Version
No response
Operating System
Additional Information
My pnpm-workspace.yaml looks like this:
packages:
The text was updated successfully, but these errors were encountered: