readme is empty from registry causing issues with yarn

I have a monorepo and have published a module and looks what I’d expect with reading the proper README.md file. However, over on yarn the module is showing the README.md from the root directory and not what was published. I was told by someone on the yarn project that the reason they are showing a different README.md is because npm’s registry endpoint has an empty readme and readmeFilename entries which I can confirm.

My projects are using TypeScript and each package in the monorepo is compiled into the dist directory for each package and that’s what is published with. The README.md for the package is in that directory, not the root README.md so I’m not sure why this isn’t just working.

So my question is, how can I get npm to return the proper readme so that the yarn page can show the proper README.md that it’s published with for the packages in my monorepo?

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.