Should the dependencies be peer dependencies?
See original GitHub issueShould the dependencies be peer dependencies? It seems like these should be provided by the runtime environonment:
"dependencies": {
"@angular/compiler": "^5.0.0",
"@angular/common": "^5.0.0",
"@angular/core": "^5.0.0",
"core-js": "^2.4.1",
"rxjs": "^5.5.0",
"zone.js": "^0.8.12"
},
Issue Analytics
- State:
- Created 6 years ago
- Reactions:3
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Understanding Peer Dependencies in JavaScript
Peer dependencies really come into play when you're developing code that will be used by others, such as plugins and packages.
Read more >Why use peer dependencies in npm for plugins?
When should you use peer dependencies? ... Common scenarios are plugins for larger frameworks. Think of things like Gulp, Grunt, Babel, Mocha, etc....
Read more >Why use peer dependencies?
Peer dependencies are a useful pattern to avoid duplicated libraries ending up on the client, but it's likely not worth it for most...
Read more >Peer Dependencies | Node.js
One piece of advice: peer dependency requirements, unlike those for regular dependencies, should be lenient. You should not lock your peer ...
Read more >NPM: Dependencies vs Peer Dependencies | by Tapaswi
To conclude, dependencies are the package references that are used by your library without which it cannot work and to be installed along...
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
By the looks of it I won’t have time for that build cleanup, but I’ve released 2.0.0 which updates to Angular 6 and switches the
dependencies
topeerDependencies
.I’ve also got some other things that need cleaning up that I’m planning on doing altogether.