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
When the binary of a dev dependency of a package in a monorepo is used in a GitHub actions workflow (using yarn --cwd), the binary is reported as unlisted.
Indeed, the issue is that Knip does not understand to assign dependencies to the workspaces in packages/client when using the --cwd packages/client argument.
Similar issue to #433. Unfortunately I'll answer this the same.
Not unfortunate, that's totally understandable! Do you think it'd be worth adding a note in the docs about this somewhere? I'd be happy to tackle that if so
Reproduction url
https://stackblitz.com/edit/github-e9sos1?file=packages%2Fclient%2Fpackage.json
Description of the issue
When the binary of a dev dependency of a package in a monorepo is used in a GitHub actions workflow (using
yarn --cwd
), the binary is reported as unlisted.packages/client/package.json
:.github/workflows/node.yml
:Output:
For reference, I ran into this issue as part of statelyai/xstate#4974. Planned workaround is to add
.github/workflows/node.yml
toignore
for now.I would expect no error to be reported.
The text was updated successfully, but these errors were encountered: