Why does the new peerDependency check make sense for development dependencies?
See original GitHub issueType of Issue
[x] Question
[ ] Bug Report
[ ] Feature Request
Description
With 2.3.0 the build fails if I have devDependencies that are not whitelisted. Why does this make sense? In the devDependencies I need to list all dependencies that I need for the build and test cycle, that includes e.g. jest or extra tools only required for development. Isn’t this the default setup? It adds a lot of churn to have to whitelist each of these dependencies.
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Understanding Peer Dependencies in JavaScript
Although useful for all developers alike, peer dependencies is a feature very ... Does that make sense? ... Check if B is already...
Read more >node.js - What's the difference between dependencies ...
Summary of important behavior differences: dependencies are installed on both: npm install from a directory that contains package.json ...
Read more >Dependencies Done Right | Yarn Blog
The devDependencies object guarantees that, for each entry, your package will be able to access the specified version of the dependency through ......
Read more >Add a means to install package peer dependencies ... - GitHub
For it to make sense for a user, it needs to check the ESLint package they installed, and not some specific version your...
Read more >Common npm mistakes - Medium
One of the best things about node development is npm. The large library of packages ... Then that library/framework is a peer dependency....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@CarstenLeue AN example is shown in nx-packaged, one of the libs: https://github.com/dherges/nx-packaged/tree/master/libs/one-lib
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
This action has been performed automatically by a bot.