- 🐣 (typescript): add a command line switch to opt in to typescript pre-compilation dependencies (#31)
- 🐛 (typescript): make typescript (pre-compilation) dependency detection compiler version independent
- ⬆️ ajv, typescript
This release partly makes the detection of typescript pre-compilation dependencies (unused imports and types-only imports) an opt-in affair, as this is not always desired.
If you need or want typescript pre-compilation only dependencies to be cruised do one of these:
- pass
--ts-pre-compilation-deps
as a command line option - if you have a .dependency-cruiser.json, put
"tsPreCompilationDeps": true
in the options section:
...
"options": {
"doNotFollow": "^node_modules",
"tsPreCompilationDeps": true
}
...
Read more in the FAQ and the command line reference.