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
With pnpm monorepo, if there's a "package": "workspace:*" dependency in the package.json, pnpm licenses list does not generate the version field for such dependency for some reason (even though it is specified in dependencies package.json). Because of this the tool simply does not work in such an environment.
The text was updated successfully, but these errors were encountered:
Sorry for only responding now, I didn't have notifications turned on for the repo 😅
pnpm licenses list has quite a few bugs/inconsistencies oftentimes, I cannot reproduce the issue because for me the monorepo dependencies are excluded completely from the output.
I am not sure if I am missing some flag or similar but pnpm only lists non-workspace dependencies for me
I tested v7, v8 and v9 of pnpm but they all behaved the same
With pnpm monorepo, if there's a
"package": "workspace:*"
dependency in thepackage.json
,pnpm licenses list
does not generate theversion
field for such dependency for some reason (even though it is specified in dependenciespackage.json
). Because of this the tool simply does not work in such an environment.The text was updated successfully, but these errors were encountered: