Skip to content

Several ng update fixes#20560

Merged
alan-agius4 merged 3 commits intoangular:masterfrom
alan-agius4:cli-update
Apr 19, 2021
Merged

Several ng update fixes#20560
alan-agius4 merged 3 commits intoangular:masterfrom
alan-agius4:cli-update

Conversation

@alan-agius4
Copy link
Copy Markdown
Collaborator

fix(@angular/cli): run all migrations when updating from or between prereleases

With this change we consider the update schematics are idempotent. When updating from or between prereleases we will execute all migrations for the version.

refactor(@angular/cli): clean up left over @schematics/update code

fix(@angular/cli): ignore tsickle during updates
tsickle doesn't be a dependency in users projects, if it is most certain it will cause updates to fail due to mismatching peer dependency on TypeScript.

`tsickle` doesn't be a dependency in users projects, if it is most certain it will cause updates to fail due to mismatching peer dependency on TypeScript.
…rereleases

With this change we consider the update schematics are idempotent. When updating from or between prereleases we will execute all migrations for the version.
@alan-agius4 alan-agius4 added the target: rc This PR is targeted for the next release-candidate label Apr 19, 2021
@google-cla google-cla bot added the cla: yes label Apr 19, 2021
@alan-agius4 alan-agius4 requested a review from clydin April 19, 2021 12:00
@alan-agius4 alan-agius4 added the action: merge The PR is ready for merge by the caretaker label Apr 19, 2021
@alan-agius4 alan-agius4 merged commit 131379f into angular:master Apr 19, 2021
@alan-agius4 alan-agius4 deleted the cli-update branch April 19, 2021 18:28
@angular-automatic-lock-bot
Copy link
Copy Markdown

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 May 20, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker target: rc This PR is targeted for the next release-candidate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants