refactor: update to tslib 2.0 and move to direct dependencies (#37198)

Tslib version is bound to the TypeScript version used to compile the library. Thus, we shouldn't list `tslib` as a  `peerDependencies`. This is because, a user can install libraries which have been compiled with older versions of TypeScript and thus require multiple `tslib` versions to be installed.

Reference: TOOL-1374 and TOOL-1375

Closes: #37188

PR Close #37198
This commit is contained in:
Alan Agius
2020-05-19 14:35:37 +02:00
committed by Kara Erickson
parent 8f1d0c317e
commit 772c5b8f64
24 changed files with 250 additions and 144 deletions
+2 -2
View File
@@ -10,11 +10,11 @@
"@angular/compiler": "0.0.0-PLACEHOLDER",
"@angular/core": "0.0.0-PLACEHOLDER",
"@angular/platform-browser": "0.0.0-PLACEHOLDER",
"@angular/platform-browser-dynamic": "0.0.0-PLACEHOLDER",
"tslib": "^1.10.0"
"@angular/platform-browser-dynamic": "0.0.0-PLACEHOLDER"
},
"dependencies": {
"domino": "^2.1.2",
"tslib": "^2.0.0",
"xhr2": "^0.2.0"
},
"repository": {