dependency-cruiser
Advanced tools
Comparing version 1.6.2 to 1.6.3
{ | ||
"name": "dependency-cruiser", | ||
"version": "1.6.2", | ||
"version": "1.6.3", | ||
"description": "Validate and visualize dependencies. With your rules. JavaScript, TypeScript. ES6, CommonJS, AMD.", | ||
@@ -5,0 +5,0 @@ "bin": { |
@@ -8,8 +8,10 @@ # Dependency cruiser ![Dependency cruiser](https://raw.githubusercontent.com/sverweij/dependency-cruiser/master/doc/assets/ZKH-Dependency-recolored-160.png) | ||
- Run through the dependencies in any JavaScript or TypeScript project and ... | ||
- ... show them e.g. in a graph | ||
- ... validate them against a set of (your own!) rules | ||
- ... report violated rules | ||
- in text (for in your rules) | ||
- | ||
- ... **validate** them against a set of (your own) rules | ||
- ... **report** violated rules | ||
- in text (for in your builds) | ||
- in graphics (for on your eyeballs) | ||
As a nice side effect it can generate **cool dependency graphs** | ||
you can stick on the wall to impress your grandma. | ||
## How do I use it? | ||
@@ -72,3 +74,4 @@ | ||
The `dot` reporter, for instance, will color edges representing violated | ||
dependencies in a signaling color (red for errors, orange for warnings). | ||
dependencies in a signaling color (red for errors, orange for warnings) - the | ||
picture on top of this README is a sample of that. | ||
@@ -81,3 +84,3 @@ The `err` reporter only emits (text) output when there's something wrong. | ||
``` | ||
![sample err output](https://github.com/sverweij/dependency-cruiser/blob/master/doc/assets/sample-err-output.png) | ||
![sample err output](https://raw.githubusercontent.com/sverweij/dependency-cruiser/master/doc/assets/sample-err-output.png) | ||
@@ -98,2 +101,3 @@ - Read more about the err, dot, but also the csv and html reporters in the | ||
- [Output format](./doc/output-format.md) | ||
- [Road map](https://github.com/sverweij/dependency-cruiser/projects/1) | ||
@@ -100,0 +104,0 @@ ## License |
@@ -118,3 +118,3 @@ "use strict"; | ||
} catch (e) { | ||
throw new Error(`Extracting dependencies ran afoul of... ${e.message} in ${pFileName}`); | ||
throw new Error(`Extracting dependencies ran afoul of...\n\n ${e.message}\n... in ${pFileName}\n\n`); | ||
} | ||
@@ -121,0 +121,0 @@ } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
424292
116