Our package.json lists many peer dependencies as just dependencies, but should be reflected as peer dependencies:
- reflect-metadata
- rxjs
- zone.js
- es6-shim
This is to make sure duplicates don't end up in bundles, and to make sure Angular is sharing the same instances of modules. This is particularly important with RxJS where importing operators has a side effect of monkey-patching the Observable imported from rxjs/Observable.
Our package.json lists many peer dependencies as just dependencies, but should be reflected as peer dependencies:
This is to make sure duplicates don't end up in bundles, and to make sure Angular is sharing the same instances of modules. This is particularly important with RxJS where importing operators has a side effect of monkey-patching the
Observableimported fromrxjs/Observable.