update angular to v19 #2

Merged
csimonis merged 2 commits from angular-update-v19 into main 2024-12-18 09:04:14 +00:00
9 changed files with 40 additions and 13376 deletions

View File

@ -27,6 +27,7 @@
} }
], ],
"styles": [ "styles": [
"@angular/material/prebuilt-themes/azure-blue.css",
"src/styles.css" "src/styles.css"
], ],
"scripts": [] "scripts": []
@ -85,6 +86,7 @@
} }
], ],
"styles": [ "styles": [
"@angular/material/prebuilt-themes/azure-blue.css",
"src/styles.css" "src/styles.css"
], ],
"scripts": [] "scripts": []

BIN
bun.lockb Executable file

Binary file not shown.

13345
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -10,29 +10,32 @@
}, },
"private": true, "private": true,
"dependencies": { "dependencies": {
"@angular/animations": "^18.2.0", "@angular/animations": "^19.0.4",
"@angular/common": "^18.2.0", "@angular/cdk": "19.0.3",
"@angular/compiler": "^18.2.0", "@angular/common": "^19.0.4",
"@angular/core": "^18.2.0", "@angular/compiler": "^19.0.4",
"@angular/forms": "^18.2.0", "@angular/core": "^19.0.4",
"@angular/platform-browser": "^18.2.0", "@angular/forms": "^19.0.4",
"@angular/platform-browser-dynamic": "^18.2.0", "@angular/material": "19.0.3",
"@angular/router": "^18.2.0", "@angular/platform-browser": "^19.0.4",
"rxjs": "~7.8.0", "@angular/platform-browser-dynamic": "^19.0.4",
"tslib": "^2.3.0", "@angular/router": "^19.0.4",
"zone.js": "~0.14.10" "rxjs": "~7.8.1",
"tailwind": "4.0.0",
"tslib": "^2.8.1",
"zone.js": "~0.15.0"
}, },
"devDependencies": { "devDependencies": {
"@angular-devkit/build-angular": "^18.2.2", "@angular-devkit/build-angular": "^19.0.5",
"@angular/cli": "^18.2.2", "@angular/cli": "^19.0.5",
"@angular/compiler-cli": "^18.2.0", "@angular/compiler-cli": "^19.0.4",
"@types/jasmine": "~5.1.0", "@types/jasmine": "~5.1.5",
"jasmine-core": "~5.2.0", "jasmine-core": "~5.2.0",
"karma": "~6.4.0", "karma": "~6.4.4",
"karma-chrome-launcher": "~3.2.0", "karma-chrome-launcher": "~3.2.0",
"karma-coverage": "~2.2.0", "karma-coverage": "~2.2.1",
"karma-jasmine": "~5.1.0", "karma-jasmine": "~5.1.0",
"karma-jasmine-html-reporter": "~2.1.0", "karma-jasmine-html-reporter": "~2.1.0",
"typescript": "~5.5.2" "typescript": "~5.5.4"
} }
} }

View File

@ -4,11 +4,10 @@ import { RouterOutlet } from '@angular/router';
import {EmployeeListComponent} from "./employee-list/employee-list.component"; import {EmployeeListComponent} from "./employee-list/employee-list.component";
@Component({ @Component({
selector: 'app-root', selector: 'app-root',
standalone: true, imports: [CommonModule, EmployeeListComponent],
imports: [CommonModule, EmployeeListComponent], templateUrl: './app.component.html',
templateUrl: './app.component.html', styleUrl: './app.component.css'
styleUrl: './app.component.css'
}) })
export class AppComponent { export class AppComponent {
title = 'lf10StarterNew'; title = 'lf10StarterNew';

View File

@ -3,7 +3,8 @@ import { provideRouter } from '@angular/router';
import { routes } from './app.routes'; import { routes } from './app.routes';
import {provideHttpClient, withInterceptorsFromDi} from "@angular/common/http"; import {provideHttpClient, withInterceptorsFromDi} from "@angular/common/http";
import { provideAnimationsAsync } from '@angular/platform-browser/animations/async';
export const appConfig: ApplicationConfig = { export const appConfig: ApplicationConfig = {
providers: [provideRouter(routes), provideHttpClient(withInterceptorsFromDi())] providers: [provideRouter(routes), provideHttpClient(withInterceptorsFromDi()), provideAnimationsAsync()]
}; };

View File

@ -5,11 +5,10 @@ import {HttpClient, HttpHeaders} from "@angular/common/http";
import {Employee} from "../Employee"; import {Employee} from "../Employee";
@Component({ @Component({
selector: 'app-employee-list', selector: 'app-employee-list',
standalone: true, imports: [CommonModule],
imports: [CommonModule], templateUrl: './employee-list.component.html',
templateUrl: './employee-list.component.html', styleUrl: './employee-list.component.css'
styleUrl: './employee-list.component.css'
}) })
export class EmployeeListComponent { export class EmployeeListComponent {
bearer = 'eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICIzUFQ0dldiN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ydWUsInByZWZlcnJlZF91c2VybmFtZSI6InVzZXIifQ.E5ir1Z-POpUU_jvTh8CzoMYO74qo_7uQXw7QQBUvXB2_37pT3_tutAq6sM4V5cNBu--fWar5bltlNcOAWd_7Kdb66Qc23i0RR9vPneoSduJAzoD8gtFbx8c7ltNR4pG-c6tdnkGhLLqM621DShaSlH8Shp-Z0-y4Iq3GFdQrAFH1CrRVYlW0qFv1EZsE9BmhW3hJwrR1S2IPiEN6MwhehLflLa_ZgLcF417ocIfK-6gbbRNAwXA-JajFVOZAEVXs-52Ta9Kb_EEQFpRsjXorfflmbizQmgrbhBUB7MTiPYIcRruZSYdfmjcE008PHnut52cTcVYEuOrUCUqY4VmhoQ';

View File

@ -6,8 +6,10 @@
<base href="/"> <base href="/">
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/x-icon" href="favicon.ico"> <link rel="icon" type="image/x-icon" href="favicon.ico">
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
</head> </head>
<body> <body class="mat-typography">
<app-root></app-root> <app-root></app-root>
</body> </body>
</html> </html>

View File

@ -1 +1,4 @@
/* You can add global styles to this file, and also import other style files */ /* You can add global styles to this file, and also import other style files */
html, body { height: 100%; }
body { margin: 0; font-family: Roboto, "Helvetica Neue", sans-serif; }