Skip to content

Commit

Permalink
feat(demo): update to angular 14
Browse files Browse the repository at this point in the history
  • Loading branch information
mhenkens authored and SuperITMan committed Sep 19, 2024
1 parent 29eec87 commit 90aa011
Show file tree
Hide file tree
Showing 88 changed files with 7,044 additions and 9,575 deletions.

This file was deleted.

12 changes: 0 additions & 12 deletions demo-app/ng12/src/app/parent-error-state-matcher.ts

This file was deleted.

33 changes: 0 additions & 33 deletions demo-app/ng12/src/app/password-validator.ts

This file was deleted.

773 changes: 386 additions & 387 deletions demo-app/ng13/package-lock.json

Large diffs are not rendered by default.

5 changes: 4 additions & 1 deletion demo-app/ng13/src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,10 @@ export class AppComponent implements OnDestroy {
private _routerSubscription: Subscription;
private _mediaQuerySubscription: Subscription;

public constructor(private _router: Router, public breakpointObserver: BreakpointObserver) {
public constructor(
private _router: Router,
public breakpointObserver: BreakpointObserver
) {
this.mobileQueryMatches = this.breakpointObserver.isMatched(MEDIA_MATCH);

this._mediaQuerySubscription = this.breakpointObserver.observe([MEDIA_MATCH]).subscribe((state: BreakpointState) => {
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<span *ngFor="let error of errors; trackBy: trackError" [ngClass]="getErrorClass()"> {{ error.message | translate : error.params }} </span>
<span *ngFor="let error of errors; trackBy: trackError" [ngClass]="getErrorClass()"> {{ error.message | translate: error.params }} </span>
2 changes: 1 addition & 1 deletion demo-app/ng13/src/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion demo-app/ng12/README.md → demo-app/ng14/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# DemoApp

This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 12.2.18.
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 13.4.0.

## Development server

Expand Down
6 changes: 2 additions & 4 deletions demo-app/ng12/angular.json → demo-app/ng14/angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
"scripts": [],
"vendorChunk": true,
"extractLicenses": false,
"preserveSymlinks": true,
"buildOptimizer": false,
"sourceMap": true,
"optimization": false,
Expand All @@ -47,7 +46,6 @@
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
"extractCss": true,
"namedChunks": false,
"extractLicenses": true,
"vendorChunk": false,
Expand Down Expand Up @@ -121,8 +119,8 @@
}
}
},
"defaultProject": "demo-app",
"cli": {
"defaultCollection": "@angular-eslint/schematics"
"schematicCollections": ["@angular-eslint/schematics"],
"analytics": false
}
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit 90aa011

Please sign in to comment.