Skip to content

lukethacoder/lwc-dependency-viewer

Repository files navigation

LWC Dependency Viewer logo

LWC Dependency Viewer


  • 🖼️ Visual representation of your LWCs
  • 🔎 Component Search
  • 💡 Highlight linked components
  • 🔩 Indicators for LWC file types (HTML/JS/CSS)
  • 📦 See which LWC are referencing Apex/StaticResources
  • 🔑 Run locally without needing to install anything into your org

Getting Started

pnpm install

# before running, open the `scripts/walk-files.ts` script and replace the 
# FOLDER_TO_SEARCH` value with your project path.
#
# pending https://github.com/lukethacoder/lwc-dependency-viewer/issues/1
pnpm walk

# run the dev server
pnpm dev

# this should open at http://localhost:5173/ 

Default output.json has been generated from the trailheadapps/lwc-recipes repository as an example usage.

Screenshots

Hover LWC to see its neighbours

Click an LWC to open up a file view and to see any related Apex Classes and/or StaticResource references

Open up the search (keyboard shortcut /) and easily search for the LWC you're looking for.

Hide orphan LWCs that exist on their own and don't relate to other LWCs

Adjust the curve-style to your liking

Contribution

See Contributing Guide.

License

MIT.

About

🟡 Scan your LWC files to see the dependencies - displayed on a cytoscape powered graph

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy