Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/deebloo/wireit-visualizer
visualize your wireit build graph
https://github.com/deebloo/wireit-visualizer
Last synced: 3 months ago
JSON representation
visualize your wireit build graph
- Host: GitHub
- URL: https://github.com/deebloo/wireit-visualizer
- Owner: deebloo
- Created: 2023-11-20T17:58:11.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-26T15:53:14.000Z (8 months ago)
- Last Synced: 2024-10-05T13:07:42.857Z (3 months ago)
- Language: TypeScript
- Homepage:
- Size: 419 KB
- Stars: 5
- Watchers: 2
- Forks: 1
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Wireit Visualizer
Wireit Visualizer gives you the ability to generate a graph visualization of your build configuration.
```bash
npx wireit-visualizer@latest --open
```## Options
| name | short | description | default |
| ------------ | ----- | ----------------------- | ---------- |
| --port | -p | server port | 4200 |
| --open | -o | auto open browser | false |
| --visualizer | -v | "graphviz" \| "mermaid" | "graphviz" |## Example Output
This repo generats the following graph
```mermaid
graph LR
:start[:start]-->:build[:build]
:build[:build]-->:graphviz[:graphviz]
:test[:test]-->:build[:build]
:tsc[:tsc]-->mock/core:build[mock/core:build]
:build[:build]-->:mermaid[:mermaid]
mock/core:build[mock/core:build]-->mock/core:tsc[mock/core:tsc]
:build[:build]-->:shoelace[:shoelace]
:build[:build]-->:tsc[:tsc]
:start[:start]-->mock/common:build[mock/common:build]
mock/common:build[mock/common:build]-->mock/core:build[mock/core:build]
mock/common:build[mock/common:build]-->mock/common:css[mock/common:css]```
This repo is a POC for the following issue filed on the wireit repo. https://github.com/google/wireit/issues/977
## Development
### Install
```bash
npm i
```### Start local server (in watch mode)
```bash
npm start --watch
```