Skip to content
This repository was archived by the owner on Jun 17, 2022. It is now read-only.

Upgrade Angular to 9 #151

Merged
merged 5 commits into from
Aug 17, 2020
Merged

Conversation

Hinton
Copy link
Member

@Hinton Hinton commented Aug 14, 2020

Updated using ng update.

@Hinton Hinton force-pushed the feature/upgrade-angular branch from 3765b72 to ec86ac9 Compare August 14, 2020 22:20
@Hinton Hinton force-pushed the feature/upgrade-angular branch from ec86ac9 to 2866c6f Compare August 14, 2020 22:24
@@ -6,6 +6,7 @@ import {
OnDestroy,
OnInit,
Output,
Directive,
Copy link
Member

Choose a reason for hiding this comment

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

linter should complain not alphabetial

Copy link
Member Author

Choose a reason for hiding this comment

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

We seem to be missing the ordered-imports rule in tslint configs. I added the rule and ran lint:fix.

Copy link
Member Author

Choose a reason for hiding this comment

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

After digging a bit, it seems that tslint:recommended has changed a bit between versions. Since it was updated during the TypeScript upgrade we got the new recommended rules.

Most if not all of the code formatting rules have been removed, palantir/tslint#4871. TSlint is now also deprecated with the recommendation to migrate over to ESlint and use Prettier for code formatting rules.

We can either re-add the removed rules or migrate to ESlint and Prettier.

kspearrin
kspearrin previously approved these changes Aug 17, 2020
package.json Outdated
},
"dependencies": {
"@angular/animations": "7.2.1",
"@angular/animations": "9.1.12",
"@angular/cdk": "7.2.1",
Copy link
Member

Choose a reason for hiding this comment

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

Does this CDK need updating too?

@kspearrin kspearrin merged commit 8fe7891 into bitwarden:master Aug 17, 2020
@Hinton Hinton deleted the feature/upgrade-angular branch February 18, 2021 19:08
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants