-
Notifications
You must be signed in to change notification settings - Fork 28
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
help testing with yarn #16
Comments
I've weeded out the yarn from our services. I don't think we have any projects left. I'll check and get back to you if i find any. |
As @danielabel said we don't have yarn anymore. But I know Kibana is using it so I gave that a go with somewhat amazing results.
Essentially I think whatever converts the I also don't think it is needed... why don't you just run But I would suggest not using Kibana to try that as the audit JSON output is 59GB in size ... and it isn't easy to parse on a normal workstation 😄 |
Did a quick test
output
If I run
After I say
That said what happened was the creation of a file I also tried this in a monorepo (yarn workspaces) and that fails immediately |
Thanks! So the converter was not my idea but seemed a good one - I checked yarn audit output and it's very different. I assumed the output format of npm audit is pretty much what the registry returns and I'm surprised yarn returned something else. Maybe something else confused me. Anyway, looking into mapping it to what the rest of the core logic expects could be a better way out in this case. As for kibana audit, It's larger than most of my disks partitions :p Does yarn audit work with yarn workspaces? |
Yes if I run |
Another reason to try using yarn audit output instead. Please share the yarn and package files you used if they're not secret. I'd like to make more e2e tests out of those. |
For the monorepo workspace I used this For a generic yarn project you can do
😄 |
Hello, On some project, I reproduced the same error as the one reported by MerlinDMC: The reason I used
If If you agree with the strategy of this commit, I can work on a PR for the Cheers |
check out If you can PR the adapter to the branch, I could pull it in and figure out what to do with the fixing part. I could make it depend on some information and later we'd work with yarn people to get it addressed. |
Also, I postponed work on the investigate feature and it's not available now. |
I get the following with
|
Hi @Undistraction. Thanks for reporting. Which version of Node are you using? I remember @naugtur was keen on supporting older node versions, so they might be open to changing this code. |
Uh... Yes... Let's. Thanks! |
published a new version (2.0.0-4) with a total rewrite of yarn support. please check if it works for you. @Undistraction @rouanw @danielabel @MerlinDMC @mtt87 @clement-escolano |
@naugtur Unfortunately (
And
|
Looks like it didn't even switch to yarn and the --yarn flag didn't work. |
published 2.0.0-5 and it should work fine now |
@naugtur That's working great for me. Thanks. Feel free to ping me if you need anything testing in yarn in the future. |
the fix option for yarn is not implemented correctly so I'll have more stuff to test. |
v2.0.0 is out |
v2.2.0 @naugtur I'm now seeing this hanging. There is the following output, then nothing:
I've left this for 15 mins and there is still no output. Running |
Hi everyone. |
Just a little feedback for yarn: For a middle-sized vue-based project this has worked smoothly with yarn version 1.22.5, even in the gitlab CI pipeline. Only the global install does not work - So our gitlab CI looks like this:
|
you could install in a container and use that as the CI base. |
We didn't specify the version so it should be 2.3.1. It also didn't work locally on my computer to install via yarn add global. |
I personally don't use yarn for any real projects at this time so it'd be helpful if someone with real life examples tested the support.
How to?
check-audit
andresolve-audit
commands on your yarn project. use--yarn
flag to enable supportAnyone willing to help?
@clement-escolano @MerlinDMC @danielabel @rouanw
The text was updated successfully, but these errors were encountered: