Comments (7)
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.
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.
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.
We can only warn instead of failing build.
from ember-cli-dependency-checker.
@quaertym true, but yarn
and npm
already do that, so I'm not sure where the benefit would be
from ember-cli-dependency-checker.
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.
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)
- Bower deprecations in ember-cli 4.3 HOT 5
- peer-dependency of ember-cli 3.2 HOT 2
- Fix ember-cli 4.x deprecations
- Reported Vulnerability for package set-value/2.0.1 with ember-cli-dependency-checker/3.3.1 version
- does not properly detect resolutions
- 3.3.2 includes the CI config
- Detect yarn and surface correct error message HOT 2
- Add ember-cli team to `npm` for releases... HOT 1
- Incorrectly flagging optional dependencies HOT 6
- dev dependencies required to be installed before running ember-deploy HOT 4
- Unhelpful message `TypeError: Invalid Version: *` HOT 2
- Broken with npm5 generated shrinkwraps HOT 2
- Yarn workspaces HOT 2
- Gets confused when dealing with Bower packages installed via Yarn HOT 5
- can't find packages if different directory specified in .bowerrc HOT 1
- False positive `Missing npm packages:` when installing from tarball HOT 1
- Yarn PnP Support HOT 1
- Resolution of file: paths still failing HOT 3
- Major version release notes?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ember-cli-dependency-checker.