Skip to content

Commit

Permalink
Angular 14 upgrade (#206)
Browse files Browse the repository at this point in the history
* ng update @angular/core@14 @angular/cli@14 --force
* ng update @angular/material@14 --force
* ng update @angular/flex-layout --force
* ng update @angular-eslint/schematics --force
* ng update @angular/fire --force
* Rebuild package-lock.json
* npm install firebase@latest
* In @typescript-eslint/naming-convention, allow all property names which require quotes
* Remove unnecessary ? pointed out by the compiler
* Upgrade dompurify and suppress CommonJS warning
  • Loading branch information
amdw committed Aug 3, 2022
1 parent 17419d6 commit ab2254d
Show file tree
Hide file tree
Showing 8 changed files with 12,527 additions and 12,473 deletions.
14 changes: 14 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,20 @@
{
"selector": "enumMember",
"format": ["PascalCase"]
},
{
"selector": [
"classProperty",
"objectLiteralProperty",
"typeProperty",
"classMethod",
"objectLiteralMethod",
"typeMethod",
"accessor",
"enumMember"
],
"format": null,
"modifiers": ["requiresQuotes"]
}
],
"no-shadow": "off",
Expand Down
4 changes: 2 additions & 2 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@
"buildOptimizer": false,
"sourceMap": true,
"optimization": false,
"namedChunks": true
"namedChunks": true,
"allowedCommonJsDependencies": ["dompurify"]
},
"configurations": {
"production": {
Expand Down Expand Up @@ -120,7 +121,6 @@
}
}
},
"defaultProject": "peoplemath",
"cli": {
"analytics": "c6a34dbb-19aa-4ffa-84db-4cd7dcc2e90b"
}
Expand Down

0 comments on commit ab2254d

Please sign in to comment.