Git Product home page Git Product logo

Comments (7)

Turbo87 avatar Turbo87 commented on May 29, 2024

in theory that sounds like a good idea, though in general I'm a little worried about it due to the other issues that peer dependencies have.

one example is ESLint plugins and ember-cli-eslint: the plugins usually declare an eslint peer dependency, but since the Ember app only has a dependency on ember-cli-eslint (which depends on broccoli-lint-eslint which depends on eslint) yarn will show warnings during yarn install. I'm worried that we'll run into similar issues 🤔

from ember-cli-dependency-checker.

samselikoff avatar samselikoff commented on May 29, 2024

I see.

Would it be possible to inspect the "final graph" (if there is such a thing) to check for the presence of eslint?

from ember-cli-dependency-checker.

Turbo87 avatar Turbo87 commented on May 29, 2024

yes, but you might actually end up with several different versions if a subsubsubsubsubdependency misbehaves and has eslint as an actual dependency.

from ember-cli-dependency-checker.

quaertym avatar quaertym commented on May 29, 2024

We can only warn instead of failing build.

from ember-cli-dependency-checker.

Turbo87 avatar Turbo87 commented on May 29, 2024

@quaertym true, but yarn and npm already do that, so I'm not sure where the benefit would be

from ember-cli-dependency-checker.

rwjblue avatar rwjblue commented on May 29, 2024

One benefit is that npm and yarn only warn once upon install, whereas this addon would warn upon each invocation of ember...

from ember-cli-dependency-checker.

rwjblue avatar rwjblue commented on May 29, 2024

Also, see ember-cli/rfcs#112 for some background context here. I still need to dust off that RFC and re-submit it to emberjs/rfcs though...

from ember-cli-dependency-checker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.