Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(@schematics/angular): add migration ensure that tslib is insta… #15800

Merged
merged 1 commit into from
Oct 9, 2019
Merged

feat(@schematics/angular): add migration ensure that tslib is insta… #15800

merged 1 commit into from
Oct 9, 2019

Conversation

alan-agius4
Copy link
Collaborator

…lled

Related to: angular/angular#32167

@alan-agius4 alan-agius4 added the target: major This PR is targeted for the next major release label Oct 9, 2019
@alan-agius4 alan-agius4 requested a review from clydin October 9, 2019 14:04

export function addTsLib(): Rule {
return host => {
removePackageJsonDependency(host, 'tslib');
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this to ensure it is not a dev dep?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes

@mgechev mgechev merged commit 08bc4df into angular:master Oct 9, 2019
@alan-agius4 alan-agius4 deleted the tslib-migration branch October 9, 2019 18:05
IgorMinar referenced this pull request in angular/angular Oct 15, 2019
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
@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 9, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
target: major This PR is targeted for the next major release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants