dependency-cruiser

Validate and visualize dependencies. Your rules. JavaScript, TypeScript, CoffeeScript. ES6, CommonJS, AMD.

MIT License

Downloads
1.5M
Stars
4.9K
Committers
47

Bot releases are hidden (Show)

dependency-cruiser -

Published by sverweij over 5 years ago

  • build(npm): ⬆️ regexp-tree, eslint, mocha
  • bugfix(resolve): swap out awesome-typescript-loader for tsconfig-paths-webpack-plugin (#100)
    which fixes #99 - so * in left hand sides of tsconfig paths now get processed correctly. Thanks to @alecf for raising that issue.
dependency-cruiser -

Published by sverweij over 5 years ago

  • fix(npm): pull in safe-regex (#98)
    there's a security problem in one of safe-regex's transient dependencies (mem). It can be solved upstream by upgrading safe-regex's dependencies - there's even a PR for it already, but that's been waiting to get merged for >14 days. Until that happens we're going to use a copy of the function (sometimes a little copying is better than a little dependency...) - which has been refactored a bit to be easier to understand & has a little better test coverage than it had in the original repo.
  • build(npm): 👞 proxy-quire (was a stray in the devDependencies)
  • build(npm): ⬆️ eslint, eslint-plugin-mocha, nyc (all of them devDependencies)
dependency-cruiser - Collapse (v4.13.0)

Published by sverweij over 5 years ago

  • feature(report): adds a reporter that generates a graph collapsed to folders (#92)
  • bugfix(config): tweak the no-non-package-json 'recommended' rule - fixes #97
  • build(npm): ⬆️ acorn, ajv, handlebars, inquirer, eslint, eslint-plugin-import, nyc, typescript
dependency-cruiser -

Published by sverweij over 5 years ago

  • bugfix(api): allow absolute paths as arguments (#95) - thanks @felixjung for raising this issue and validating the fix!
dependency-cruiser - Recolor the dot (v4.12.0)

Published by sverweij over 5 years ago

  • feature(dot): tweak default dot reporter colors (#93)
  • build(npm): ⬆️ ajv, resolve, eslint, eslint-plugin-import, eslint-plugin-mocha, tslint, typescript
  • feature(dot): add labels with the rule violation names in dot output (#91)
dependency-cruiser - Monocombine (v4.11.0)

Published by sverweij almost 6 years ago

  • fix(cli): tweak the init 'no-non-package-json' rule
  • feature(resolve): support monorepo 'combined' dependencies (#89)
  • build(npm): ⬆️ acorn, chalk, eslint, eslint-plugin-node
  • feature(cli): add --config/ -c as an alias for --validate/ -v (#88)
dependency-cruiser - interactive, 'init? (v4.10.0)

Published by sverweij almost 6 years ago

  • feature(cli): make --init interactive (#86)
  • build(npm): ⬆️ ajv, resolve, eslint, tslint
  • refactor(*): spring cleaning (#85)
  • doc(site): generate dependency-cruiser's own graph with a slightly more interactive interface (dependency-cruiser-dependency-graph.html) as finger play to build a reporter that has more interactivity.
dependency-cruiser - extend extend (v4.9.0)

Published by sverweij almost 6 years ago

  • feature(cli): also accept js variant as default config file (#84)
  • feature(cli): allow the 'extends' attribute to receive an array of file paths (#83)
  • feature(rules): adds the 'ignore' severity level (#82)
dependency-cruiser - embrace extend (v4.8.0)

Published by sverweij almost 6 years ago

  • feature(cli): add extends attribute to the .dependency-cruiser config format (#79)
    (See the extends documentation for details.)
  • doc(examples): refresh some of the real world samples
  • build(npm): ⬆️ eslint, typescript
dependency-cruiser -

Published by sverweij almost 6 years ago

  • 🐛 exclude now works better => see #80 for details
  • ⬆️ ajv
dependency-cruiser - configuration === programming (v4.7.0)

Published by sverweij almost 6 years ago

  • 🐣 allow for javascript config files in addition to the .json ones (#74 - issue #73) - thanks @spion for bringing this up!
  • 🐛 when writing to stdout specify utf8 as character encoding (#77 - issue #76) - on some platforms (windows 10, or at least some installations thereof) apparently there was a fallback to something non-utf8, which confuses the heck out of tools processing the output. With this fix it should predictably be utf8 always.
  • ⬆️ acorn-walk and some development dependencies
dependency-cruiser -

Published by sverweij almost 6 years ago

  • bugfix(cli): don't return a nonzero exit code when there's transgressions and the reporter !== 'err' (#71)
  • feature(npm): add alternate graphviz rendering command samples to the package.json
  • build(npm): ⬆️ acorn, ajv, symlink-dir
dependency-cruiser -

Published by sverweij almost 6 years ago

  • 🐛 place nodes in the dot reporter a tad closer together, so the diagram is easier to navigate
  • 🐛 make sorting transgressions in the summary more deterministic
  • 👷 tweak some build scripts to ease releasing
  • ⬆️ safe-regex and some development dependencies
dependency-cruiser -

Published by sverweij about 6 years ago

  • adds support for 'Michael Jackson Script' (mjs) (#67)
  • 🔧 use only enhancedResolve for resolution (#68)
  • ⬆️ dependencies acorn, acorn-walk, ajv, commander, semver, semver-try-require
  • ⬆️ devDependencies, chai, coffeescript, eslint, js-makedepend, typescript
  • 🔧 make deriving the sort key for the incidencematrix easier to read
dependency-cruiser -

Published by sverweij about 6 years ago

dependency-cruiser - comments? (v4.6.0)

Published by sverweij about 6 years ago

  • 🐛 if an exception occurs, return 1 as an exit code (#62)
  • 🐛 use typescript native tsconfig parsing and flattening (#63)
  • 🐣 allow comments in .dependency-cruiser.json config files (#64)
  • 🔧 : ⬆️ acorn, lodash, upem, eslint
dependency-cruiser -

Published by sverweij about 6 years ago

  • PR #62
dependency-cruiser -

Published by sverweij about 6 years ago

  • ⬆️ various dependencies (acorn, ajv, commander, glob, handlebars, semver-try-require, awesome-typescript-loader) and verify dependency-cruiser still works as intended with those upgraded dependencies
  • 💅 don't publish .DS_store to npm
dependency-cruiser - over the rainbow (v4.5.0)

Published by sverweij about 6 years ago

  • 🐥 Adds the --ts-config command line option as a .dependency-cruiser.json option - see the documentation for details.
  • 🐣 Adds a new dot reporter that colors modules based on their properties. Thanks to @davidlav for requesting this feature.

rcdot - rich coloured dot reporter

Adds a new reporter type (rcdot) in the API and the command line that colors modules based on their properties. This enhances the visual grep-ability of the output, that especially helps with mixed source code bases. Typical usage:

depcruise --output-type rcdot --validate -- src | dot -T svg > coloreddependencies.svg

sample rcdot reporter output:

sample dot reporter output for the same source code:

dependency-cruiser -

Published by sverweij about 6 years ago

See PR #60