2.0.2 • Published 1 month ago

@yeger/turbo-graph v2.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
1 month ago

@yeger/turbo-graph

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 packages. Each package can have multiple nodes, each color defining the corresponding task.

CLI

Optionally, the CLI command can be followed by a list of tasks names that are loaded at startup. E.g., turbo-graph build test will load build and test tasks. Like the --filter option listed below, this only applies if the --open open option is used.

  • -f, --filter <filter>: Filter nodes by a Turborepo filter (e.g., my-lib...).
  • -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 double-clicking a node, its package is used as the filter.

License

MIT - Copyright © Jan Müller

2.0.2

1 month ago

2.0.1

3 months ago

2.0.0

3 months ago

1.0.7

4 months ago

1.0.6

4 months ago

1.0.5

4 months ago

1.0.4

5 months ago

1.0.2

9 months ago

1.0.1

9 months ago

1.0.0

9 months ago

0.4.9

10 months ago

0.4.8

10 months ago

1.0.3

5 months ago

0.4.7

12 months ago

0.4.6

1 year ago

0.4.5

1 year ago

0.4.4

1 year ago

0.4.3

1 year ago

0.4.2

1 year ago

0.4.1

1 year ago

0.4.0

1 year ago

0.3.0

1 year ago

0.2.2

1 year ago

0.2.1

1 year ago

0.2.0

1 year ago