$ brew install graphviz
$ git clone [email protected]:mizdra/eslint-interactive.git
$ cd eslint-interactive
$ npx -p [email protected] -p dependency-cruiser@latest depcruise --config .dependency-cruiser.js --output-type dot src | dot -T svg > dependencygraph.svg
Last active
December 27, 2021 05:42
-
-
Save mizdra/f1596baccc0a6f454a7c8310fb3258cc to your computer and use it in GitHub Desktop.
The dependencies graph of eslint-interactive
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** @type {import('dependency-cruiser').IConfiguration} */ | |
module.exports = { | |
options: { | |
exclude: { | |
path: '^src/(types|cli|util|typings)', | |
}, | |
doNotFollow: { | |
path: 'node_modules', | |
dependencyTypes: ['npm', 'npm-dev', 'npm-optional', 'npm-peer', 'npm-bundled', 'npm-no-pkg'], | |
}, | |
includeOnly: '^src', | |
tsPreCompilationDeps: true, | |
tsConfig: { | |
fileName: 'tsconfig.src.json', | |
}, | |
enhancedResolveOptions: { | |
exportsFields: ['exports'], | |
conditionNames: ['import', 'require', 'node', 'default'], | |
}, | |
reporterOptions: { | |
dot: { | |
collapsePattern: '^src/(cli|util)', | |
}, | |
archi: { | |
collapsePattern: '^(packages|src|lib|app|bin|test(s?)|spec(s?))/[^/]+|node_modules/[^/]+', | |
}, | |
}, | |
}, | |
}; | |
// generated: [email protected] on 2021-12-26T18:00:01.364Z |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment