mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-28 11:10:12 +08:00
TypeScript 3.9 requires tslib 2.0.0, with this change we; - Update tslib existing and new workspaces to use tslib 2.0.0 - Update new and existing libraries to use tslib 2.0.0 as a direct depedency. 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. Closes: #17753 Reference: TOOL-1374
11 lines
270 B
Plaintext
11 lines
270 B
Plaintext
{
|
|
"name": "<%= dasherize(packageName) %>",
|
|
"version": "0.0.1",
|
|
"peerDependencies": {
|
|
"@angular/common": "^<%= angularLatestVersion %>",
|
|
"@angular/core": "^<%= angularLatestVersion %>"
|
|
},
|
|
"dependencies": {
|
|
"tslib": "^<%= tsLibLatestVersion %>"
|
|
}
|
|
} |