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

@ -20,11 +20,11 @@
"magic-string": "^0.25.0",
"semver": "^6.3.0",
"source-map": "^0.6.1",
"tslib": "^1.9.0",
"yargs": "13.1.0"
},
"peerDependencies": {
"@angular/compiler": "0.0.0-PLACEHOLDER",
"tslib": "^1.9.0",
"typescript": ">=3.4 <3.6"
},
"engines": {