-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
[Bug] README is not correctly shown on verdaccio using yarn npm publish
#1702
Comments
It's difficult to say since the npm protocols aren't documented, but I'd tend to say that it's probably a verdaccio issue, since the README are in the archives. |
I found the issue is that the berry/packages/plugin-npm-cli/sources/commands/npm/publish.ts Lines 164 to 199 in bedc0cf
Adding the return {
+ readme: "# yarn-verdaccio-readme\n",
_id: name,
_attachments: { I'm not sure if this should be fixed on the verdaccio side or the yarn side, but I'll report this to the verdaccio repo as well. |
Yeah, the |
Just stumbled across this issue myself. Unfamiliar with why it's not working like yarn 1 or npm, but I did do some digging into some potentially related issues: yarnpkg/website#1054 Looks like libnpmpublish references a EDIT: |
Hi! 👋 This issue looks stale, and doesn't feature the Note that we require Sherlock reproductions for long-lived issues (rather than standalone git repositories or similar) because we're a small team. Sherlock gives us the ability to check which bugs are still affecting the master branch at any given point, and decreases the amount of code we need to run on our own machines (thus leading to faster bug resolutions). It helps us help you! 😃 If you absolutely cannot reproduce a bug on Sherlock (for example because it's a Windows-only issue), a maintainer will have to manually add the |
Can someone in the Yarn team add the |
The thing is verdaccio does not unpack tarballs by design, at least the default storage, nexus does not care since has no UI, artifactory I'd guess the same (at least the last time I used it) and npmjs publich I think use the I'd be willing to fix it if you like the idea and I get some instructions how to do it, I already checked the code but I don't know how to start. |
@arcanis I got into this issue today, we publish using Yarn v3 to Azure without problem to see the README but the same against Verdaccio does not work. Could you please give us some hint on this topic? Surely @juanpicado is the go to person on Verdaccio side. |
Just a small notes from my side, |
Hi! It would be great if the yarn team could take this bug as a priority. We are in 2023 and haven't got any updates about it :( |
Describe the bug
README is not correctly shown on self-hosted verdaccio using
yarn npm publish
.To Reproduce
(require docker to launch verdaccio so as to reproduce)
Reproduction
Screenshots
Environment
Additional context
README.md
is uploaded correctly.npm publish
.The text was updated successfully, but these errors were encountered: