Commit 34bb57b
fix(@schematics/angular): add tslib as a direct dependency for new libraries
Tslib version is bound to the TypeScript version used to comopile 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-13741 parent ed40356 commit 34bb57b
File tree
1 file changed
+3
-1
lines changed- packages/schematics/angular/library/files
1 file changed
+3
-1
lines changedLines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
7 | 9 | | |
8 | 10 | | |
9 | 11 | | |
0 commit comments