Skip to content
This repository was archived by the owner on Nov 22, 2024. It is now read-only.

Conversation

@alan-agius4
Copy link
Collaborator

@alan-agius4 alan-agius4 commented Oct 14, 2019

feat: add tslib as peerDependency

nguniversal, relied on a hidden dependency of tslib due to importHelpers

"importHelpers": true,
which was previously installed by the Angular framework. This, however changed with this PR angular/angular#32167

With this change we now list tslib as a required peerDepedency.

Users not using the CLI will need to manually install tslib via;

yarn add tslib

or

npm install tslib --save

Reference: TOOL-836

@alan-agius4 alan-agius4 added the target: minor target: minor This PR is targeted for the next minor release label Oct 14, 2019
@alan-agius4 alan-agius4 requested a review from vikerman October 14, 2019 15:04
@alan-agius4
Copy link
Collaborator Author

Also related to angular/angular#32167

nguniversal, relied on a hidden dependency of `tslib` due to `importHelpers`
https://github.com/angular/universal/blob/5798f198db1fb0bce9dbfb850751429a3724084a/modules/bazel-tsconfig-build.json#L11 which was previously installed by the Angular framework. This, however changed with this PR angular/angular#32167

With this change we now list `tslib` as a required peerDepedency.

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

Reference: TOOL-836
@alan-agius4 alan-agius4 changed the title feat: change tslib from direct dependency to peerDependency feat: add tslib as peerDependency Oct 14, 2019
@CaerusKaru CaerusKaru merged commit 4b20ee3 into angular:master Oct 15, 2019
@alan-agius4 alan-agius4 deleted the tslib-peer branch October 15, 2019 19:12
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Nov 15, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

target: minor target: minor This PR is targeted for the next minor release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants