tylerturdenpants / ember-attacher

Native tooltips and popovers for Ember.js

Home Page:https://tylerturdenpants.github.io/ember-attacher/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dependency lint finds multiple version of ember-compatibility-helpers

kriswill opened this issue · comments

When running ember test on my app, it complains about ember-compatibility-helpers consumed from deep within ember-attacher.

not ok 1 Chrome 65.0 - DependencyLint ember-compatibility-helpers
---
message: >
  Expected only one version of ember-compatibility-helpers, but found
  @org/app
  └─┬ @org/v0-engine
    └─┬ @org/presentation
      └─┬ ember-attacher
        └─┬ ember-popper
          ├── ember-compatibility-helpers@0.1.3
          ├─┬ @ember-decorators/argument
          │ └── ember-compatibility-helpers@1.0.0-beta.2
          └─┬ ember-decorators
            ├─┬ @ember-decorators/component
            │ └─┬ @ember-decorators/utils
            │   └── ember-compatibility-helpers@1.0.0-beta.1
            ├─┬ @ember-decorators/controller
            │ └─┬ @ember-decorators/utils
            │   └── ember-compatibility-helpers@1.0.0-beta.1
            ├─┬ @ember-decorators/data
            │ └─┬ @ember-decorators/utils
            │   └── ember-compatibility-helpers@1.0.0-beta.1
            ├─┬ @ember-decorators/object
            │ ├── ember-compatibility-helpers@0.1.3
            │ └─┬ @ember-decorators/utils
            │   └── ember-compatibility-helpers@1.0.0-beta.1
            └─┬ @ember-decorators/service
              └─┬ @ember-decorators/utils
                └── ember-compatibility-helpers@1.0.0-beta.1

using:

// config/dependency-lint.js
module.exports = {
  allowedVersions: {
    // ember-attacher is using various versions
    'ember-compatibility-helpers': '*'
  }
};

temporary work-around for dependency-lint, by suspending the constraints for this add-on.

Thanks @kriswill! Will see about adding a version bump downstream

Closed via #152