🐣 check against dependencies in package.json
- Adds a 'dependencyTypes' array to the extraction output format that
describes whether the dependency is e.g. a dependency or devDependency
in package.json, a core module, local one, could not be determined,
... - Adds a 'dependencyTypes' array to the validation rules definition. The
associated rule checks if there is an intersection between the
dependencyTypes array defined in the rules file and the one in the 'to'
of the output object. - Deprecates the 'coreModule' attribute - the dependencyTypes contains
the same information and the format is more elegant and flexible.Deprecated means: will definitely be gone in version v2.0.0 and higher.
🔧 Other stuff
- When displaying transpiler info (
depcruise --info
) dependency-cruiser
now takes the current version of the transpiler into account in determining availability - Adds the checks against package.json to dependency-cruisers own dependency-cruiser
rules. - ⬆️ ajv