ember-cli-dependency-lint icon indicating copy to clipboard operation
ember-cli-dependency-lint copied to clipboard

ignores config/dependency-lint in an addon

Open BryanCrotaz opened this issue 6 years ago • 3 comments

Getting version conflict issues for ember-assign-polyfill. Tried putting config in main addon and in dummy app, with no difference.

Tried both of these:

'use strict';
module.exports={
  generateTests: false
}
'use strict';
module.exports={
  allowedVersions: {
    'ember-assign-polyfill': '*'
  }
}

I still get a failing test in both versions.

ember-cli 3.7.1 ember-cli-dependency-lint: 1.1.3

BryanCrotaz avatar Feb 20 '19 23:02 BryanCrotaz

I was able to get this working by putting the config in the dummy app. It raises a question for me though. Should this config be in the top-level config/

scottkidder avatar Sep 25 '19 13:09 scottkidder

A year later and it happened to me again. Luckily google brought me back here. Any thoughts on a solution?

BryanCrotaz avatar Nov 20 '20 06:11 BryanCrotaz

The config should be located in dummy app of an addon. The config is not for the addon but for the dummy app, which is used in testing. That gets clear when migrating to v2 addon format.

Other config files have been moved in the meantime as well: https://github.com/ember-cli/ember-addon-output/tree/v5.4.0/tests/dummy/config The root config folder does not even exists anymore in latest addon blueprints.

jelhan avatar Nov 08 '23 06:11 jelhan