Socket
Socket
Sign inDemoInstall

@yeger/turbo-graph-ui

Package Overview
Dependencies
16
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @yeger/turbo-graph-ui

Interactive visualization of Turborepo task graphs.


Version published
Weekly downloads
373
decreased by-19.61%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

@yeger/turbo-graph-ui

npm

Interactive visualization of Turborepo task graphs.

Example Image

Installation

npm install --save-dev @yeger/turbo-graph
# or
yarn add -D @yeger/turbo-graph
# or
pnpm install -D @yeger/turbo-graph

Usage

The visualization can be opened by running this package's turbo-graph command. For simple usage, create a script in your root package.json.

{
  "script": {
    "graph": "turbo-graph"
  }
}

Nodes represent your workspaces, i.e., packages. Each workspace can have multiple nodes, each color defining the corresponding task (as seen in the toolbar).

CLI

  • -o, --open: Open the visualizer in the default browser.
  • -p, --port <port>: Port of the visualizer. (default: 29312)
  • -h, --help: Display help message

Controls

By right-clicking a node, only its (transitive) dependencies and dependents are shown.

Further, the checkboxes allow filtering nodes by their corresponding tasks.

The graph can be zoomed using the mouse-wheel and nodes may be dragged while holding the left mouse-button.

The "Reset" button centers the graph.

License

MIT - Copyright © Jan Müller

FAQs

Last updated on 05 Jun 2024

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc