Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

storybook-dependency-tree

Package Overview
Dependencies
Maintainers
0
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

storybook-dependency-tree

Storybook Dependency tree

  • 0.0.18
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
119
decreased by-43.06%
Maintainers
0
Weekly downloads
 
Created
Source

Storybook Addon: Dependency Tree

Overview

Storybook Dependency Tree is a Storybook addon that visualizes the dependency hierarchy of each story in a tree view. This tool helps developers better understand and navigate the dependencies and dependents associated with their stories, making the development process more efficient.

Note: This project is a work in progress and is actively being developed.

Dependency Tree Preview

Features

  • Visual Dependency Mapping: Automatically loads and displays all dependencies for the currently open story, providing a clear and structured view similar to storybook-addon-deps.
  • Dependents Visualization: In addition to dependencies, the addon also displays all dependents, helping you see which components rely on the current story.
  • Seamless Integration: Integrates smoothly with Storybook, enhancing your development workflow.
  • Runtime Execution: Runs at runtime without requiring any additional commands.
  • Zero Configuration: No configuration is needed to get started.

Dependencies

  • Dependency Loading: Powered by node-dependency-tree to accurately map and load dependencies.
  • Tree View: Utilizes MUI X for a robust and interactive tree view experience.

Installation

To install the addon, run the following command in your project directory:

npm i storybook-dependency-tree

After installation, add 'storybook-dependency-tree' to the addons property inside your main Storybook configuration file (e.g., main.js):

  stories: ["../src/**/*.mdx", "../src/**/*.stories.@(js|jsx|ts|tsx)"],
  addons: [
    ...
    "storybook-dependency-tree",
  ],

Keywords

FAQs

Package last updated on 03 Sep 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc