-
-
Notifications
You must be signed in to change notification settings - Fork 150
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Script parser doesn't account for optional "run" when running scripts #560
Labels
bug
Something isn't working
Comments
This issue is specific to monorepos. Knip should not match In general Knip should handle either |
Closing this as "wontfix". |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It seems like the script parser doesn't detect scripts when omitting the
run
keyword for package managers likepnpm
andyarn
.In the following Github Action example, the
start:server
script is reported as an unlisted binary:This is fixable by explicitly using
run
like this:pnpm -F @snaplet/seed run start:server &
.But it would be cool if the script parser works without it. 😄
The text was updated successfully, but these errors were encountered: