Svisualize icon indicating copy to clipboard operation
Svisualize copied to clipboard

Support monorepos

Open mcmxcdev opened this issue 1 year ago โ€ข 0 comments

Problem

When observing the tree generated by svisualize, most components that we are using are missing.

I assume this is because we use a Turborepo monorepo, and most components come from an import like import { Button } from @org/ui

It seems that only relative imports like ./Button are resolved and visualized properly.

Solution

Not sure what the exact problem is, but I assume that https://pnpm.io/workspaces are not supported yet.

Additional information

No response

๐Ÿ‘จโ€๐Ÿ‘งโ€๐Ÿ‘ฆ Contributing

  • [ ] ๐Ÿ™‹โ€โ™‚๏ธ Yes, I'd love to make a PR to implement this feature!

mcmxcdev avatar Apr 02 '24 01:04 mcmxcdev