Registry / testing / ember-cli-dependency-lint

ember-cli-dependency-lint

JSON →
library2.0.1jsnpmunverified

An Ember CLI addon (v2.0.1) that lints addon dependencies to detect duplicate or conflicting versions, preventing subtle runtime bugs caused by clobbered files in the final build. It creates automated test cases for each addon dependency and provides a CLI command for detailed conflict reports. Differentiators: automated testing integration vs manual audit, built-in exclusion for build-time addons like ember-cli-babel. Low release cadence (last major v2.0.1, previous v1.0.2). Requires Node.js 10+ or 12+.

npm install ember-cli-dependency-lint
INSTALL
IMPORT
SIG · EMBER-CLI-DEPENDEN
E
ember-cli-dependency-lint
testingjavascriptv2.0.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

default
let lint = require('ember-cli-dependency-lint');
import lint from 'ember-cli-dependency-lint';
This is a Node.js addon, typically used via Ember CLI's addon system, not directly imported. If used programmatically, use CommonJS require.

Installs the addon and runs the dependency lint command to check for version conflicts.

ember install ember-cli-dependency-lint ember dependency-lint
Debug
Known issues
gotchaBuild-time addons (e.g., ember-cli-babel) are automatically exempt; conflicts in those are not reported.
fix
Review the list of default exemptions via source or docs; override with addon config if needed.
affects: >=1.0.0
deprecatedNode.js <10 is no longer supported since v2.0.0.
fix
Upgrade Node.js to 10.x or 12+.
affects: >=2.0.0
breakingIn v2.0.0, the CLI output format changed; scripts parsing output may break.
fix
Update any automation scripts to handle new JSON/spacing format.
affects: 2.0.0
Errors
Common errors & fixes
Cannot find module 'ember-cli-dependency-lint'
The addon is not installed or not in the Ember CLI project's package.json.
fix
Run `ember install ember-cli-dependency-lint` to install and add dev dependency.
Your node version (x.x.x) is not supported by ember-cli-dependency-lint (minimum 10).
Node.js version is below 10, causing a dependency engine check failure.
fix
Upgrade Node.js to 10.x or higher.
Upgrade
Version history
2.0.1latest on npm
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
ember-cli-dependency-lint — npm install ember-cli-dependency-lint · libregistry