Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/s4ff0x/fsd-cruise


https://github.com/s4ff0x/fsd-cruise

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

        

# [fsd-cruise](https://www.npmjs.com/package/fsd-cruise)

> `Currently in Beta`

[npm]: https://www.npmjs.com/package/fsd-cruise

[![npm](https://img.shields.io/npm/v/fsd-cruise?style=flat-square)][npm]

Simple dependency visualization for [Feature Sliced Design](https://feature-sliced.design/) based on [dependency-cruiser](https://www.npmjs.com/package/dependency-cruiser)

## Usage

### Install dependency-cruiser and run with npx

```shell
yarn add dependency-cruiser -D
npx fsd-cruise
```

> **requirements:** dependency-cruiser requires the `graphviz` library, which will be automatically installed using `brew`

> **limitations:** Currently, it only operates with the provided `tsconfig.json` and `src` folder paths, which are assumed by default to be in the root directory.
## Customization

1. You can provide custom paths to `src` folder and `tsconfig.json`
```shell
npx fsd-cruise app/src app/tsconfig.json
```

## Output example
image