Releases: sverweij/dependency-cruiser
v3.0.0-beta-0
- 🐣 by default follow symlinks / add
--preserve-symlinks
option (issue #33, PR #37 thanks @ajafff for the contribution!!) - ⬆️ devDependencies: coffeescript, eslint, eslint-plugin-import
Breaking change: symbolic links followed by default
impact classification: low.
By default dependency-cruiser now follows links when resolving dependencies. This is consistent with how NodeJS behaves itself since version 6.
In the unlikely event you use symlinks (e.g. with npm link/ yarn workspaces) and depend on the old behaviour, you can do one of these:
- use the
--preserve-symlinks
command line option - in the
options
section of your.dependency-cruiser.json
add apreserveSymlinks
key with the valuetrue
.
globsmacked (v2.14.0)
v2.14.0-beta-0
v2.13.1
- ⬆️ acorn, chalk, commander, lodash, semver-try-require
- ⬆️ coffeescript, typescript
(This verifies dependency-cruiser also works with latest versions of coffeescript (2.2.1) and typescript (2.7.2)) - ⬆️ development dependencies eslint, eslint-plugin-node js-makedepend, mocha and nsp
Sorry Ben! (v2.13.0)
- 🐣 (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.
v2.13.0-beta-1
- 🐣 (typescript): add a command line switch to opt in to typescript pre-compilation dependencies
- 🐛 (typescript): make typescript (pre-compilation) dependency detection compiler version independent
- ⬆️ ajv, typescript
v2.12.1
v2.12.0
- 🐣 (typescript) also detect dependencies when only importing types. Fixes #28. The two next features are a side effect of this change:
- 🐣 (typescript) detect dependency to imports that aren't used (the typescript compiler throws these out)
- 🐣 (typescript) detect dependencies in tripple slash directives
- 🔧 some refactoring for better performance and easier maintenance
- ⬆️ ajv
v2.12.0-beta-2
- 🔧 some refactoring for better performance and easier maintenance
v2.12.0-beta-1
- 🐣 (typescript) also detect dependencies when only importing types. Fixes #28.
A side effect of this change is that dependency-cruiser now detects these (typescript) dependencies as well:
-
🐣 (typescript) detect dependency to imports that aren't used (the typescript compiler throws these out)
-
🐣 (typescript) detect dependencies in tripple slash directives
-
⬆️ ajv