Currently in Beta
Simple dependency visualization for Feature Sliced Design based on dependency-cruiser
requirements: dependency-cruiser requires the
graphviz
library, you can install it usingbrew
limitations: Currently, it only operates with the provided
tsconfig.json
andsrc
folder paths, which are assumed by default to be in the root directory.
npm i dependency-cruiser -D
npx fsd-cruise
npm i dependency-cruiser fsd-cruise -D
# Node usage variant
node node_modules/fsd-cruise/bin.js
# NPM scripts usage variant
# add to package.json scripts -> "generate:fsd-cruise": "node node_modules/fsd-cruise/bin.js"
- You can provide custom paths to
src
folder andtsconfig.json
npx fsd-cruise app/src app/tsconfig.json