docusaurus-plugin-react-docgen-typescript icon indicating copy to clipboard operation
docusaurus-plugin-react-docgen-typescript copied to clipboard

fix: ensure duplicate components are written to unique files

Open stufisher opened this issue 2 years ago • 2 comments

In our project we have components that are wrapped which means docgen detects components with the same name. This patch makes sure that each component is written to a unique file. Currently if two components have the same name then stringified props get concatenated together resulting in invalid json.

stufisher avatar Jul 10 '23 13:07 stufisher

👋 Hey there, thanks for the contrib! The changes are a bit difficult to follow due to formatting changes. I'll pick the functional bits and merge them in. I'll LYK when it's published

atomicpages avatar Apr 28 '24 20:04 atomicpages

Urgh sorry, the pre-commit hook must have used a newer version of prettier, i can put the style changes back if you like? The functional changes are 109 - 131

stufisher avatar Apr 29 '24 06:04 stufisher

Fixed in #23

atomicpages avatar Aug 29 '24 16:08 atomicpages