feat: change tslib from direct dependency to peerDependency (#32167)

BREAKING CHANGE:

We no longer directly have a direct depedency on `tslib`. Instead it is now listed a `peerDependency`.

Users not using the CLI will need to manually install `tslib` via;
```
yarn add tslib
```
or
```
npm install tslib --save
```

PR Close #32167
This commit is contained in:
Alan Agius
2019-10-09 16:08:16 +02:00
committed by Miško Hevery
parent 868b3f9463
commit e2d5bc2514
16 changed files with 31 additions and 55 deletions

View File

@ -25,13 +25,13 @@
},
"homepage": "https://github.com/angular/angular/tree/master/packages/router",
"dependencies": {
"tslib": "^1.9.0"
},
"peerDependencies": {
"@angular/core": "0.0.0-PLACEHOLDER",
"@angular/common": "0.0.0-PLACEHOLDER",
"@angular/platform-browser": "0.0.0-PLACEHOLDER",
"rxjs": "^6.5.3"
"rxjs": "^6.5.3",
"tslib": "^1.9.0"
},
"ng-update": {
"packageGroup": "NG_UPDATE_PACKAGE_GROUP"