-
-
Notifications
You must be signed in to change notification settings - Fork 193
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
Workspaces no longer correctly identified since 5.10 #617
Comments
Thanks for the report. Does it work like before if you use |
I don't sure if it's related, but I've mentioned today that the config ignored if I run default It was easy to spot, because I use jest plugin for visual tests, but I have visual tests as unused files when I run default option.
UPD: Not an issue. I was reporting to a file, but put '>>' instead of '>' |
@glemiron Sound like a different issue. Feel free to open a new ticket with more details. |
@webpro Yeah it does actually. That doesn't appear to affect anything else obvious so probably we can do that for now. I'd still suggest this needs a fix though since the leading |
Totally agree, just wanted to make sure what is exactly the issue here. |
🚀 This issue has been resolved in v5.12.1. See Release 5.12.1 for release notes. Using Knip in a commercial project? Please consider sponsoring me. |
Updating to versions greater than 5.9.4 gives us thousands of errors. Running with the debug flag shows the reason for this, our workspaces are no longer properly identified. In the debug output I see the following:
Workspace config in our root package json looks like this:
The name field in each of the workspace's package.json files includes the namespace for our npm org, which I assume is where its finding those names. But they don't map to what we have defined in config, which looks like:
Holler if you need anymore information.
The text was updated successfully, but these errors were encountered: