g update @angular/core@18 @angular/cli@18

This commit is contained in:
2024-07-28 12:17:00 +02:00
parent 6073dd0779
commit c199eae4ff
5 changed files with 5563 additions and 3218 deletions

View File

@@ -18,12 +18,15 @@
"prefix": "app", "prefix": "app",
"architect": { "architect": {
"build": { "build": {
"builder": "@angular-devkit/build-angular:browser", "builder": "@angular-devkit/build-angular:application",
"options": { "options": {
"outputPath": "build/generated/resources", "outputPath": {
"base": "build/generated/resources"
},
"index": "src/index.html", "index": "src/index.html",
"main": "src/main.ts", "polyfills": [
"polyfills": "src/polyfills.ts", "src/polyfills.ts"
],
"tsConfig": "tsconfig.app.json", "tsConfig": "tsconfig.app.json",
"inlineStyleLanguage": "scss", "inlineStyleLanguage": "scss",
"assets": [ "assets": [
@@ -35,7 +38,8 @@
], ],
"scripts": [ "scripts": [
"node_modules/marked/marked.min.js" "node_modules/marked/marked.min.js"
] ],
"browser": "src/main.ts"
}, },
"configurations": { "configurations": {
"production": { "production": {
@@ -61,9 +65,7 @@
"sourceMap": true "sourceMap": true
}, },
"development": { "development": {
"buildOptimizer": false,
"optimization": false, "optimization": false,
"vendorChunk": true,
"extractLicenses": false, "extractLicenses": false,
"sourceMap": true, "sourceMap": true,
"namedChunks": true "namedChunks": true

8610
pdb-js/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -14,16 +14,16 @@
}, },
"private": true, "private": true,
"dependencies": { "dependencies": {
"@angular/animations": "^17.3.12", "@angular/animations": "^18.1.2",
"@angular/cdk": "^17.3.10", "@angular/cdk": "^17.3.10",
"@angular/common": "^17.3.12", "@angular/common": "^18.1.2",
"@angular/compiler": "^17.3.12", "@angular/compiler": "^18.1.2",
"@angular/core": "^17.3.12", "@angular/core": "^18.1.2",
"@angular/forms": "^17.3.12", "@angular/forms": "^18.1.2",
"@angular/material": "^17.3.10", "@angular/material": "^17.3.10",
"@angular/platform-browser": "^17.3.12", "@angular/platform-browser": "^18.1.2",
"@angular/platform-browser-dynamic": "^17.3.12", "@angular/platform-browser-dynamic": "^18.1.2",
"@angular/router": "^17.3.12", "@angular/router": "^18.1.2",
"luxon": "^3.4.3", "luxon": "^3.4.3",
"marked": "^12", "marked": "^12",
"ngx-markdown": "^17.0.0", "ngx-markdown": "^17.0.0",
@@ -33,9 +33,9 @@
"zone.js": "^0.14.8" "zone.js": "^0.14.8"
}, },
"devDependencies": { "devDependencies": {
"@angular-devkit/build-angular": "^17.3.8", "@angular-devkit/build-angular": "^18.1.2",
"@angular/cli": "^17.3.8", "@angular/cli": "^18.1.2",
"@angular/compiler-cli": "^17.3.12", "@angular/compiler-cli": "^18.1.2",
"@types/jasmine": "~4.3.0", "@types/jasmine": "~4.3.0",
"@types/luxon": "^3.3.2", "@types/luxon": "^3.3.2",
"@types/marked": "^4.0.8", "@types/marked": "^4.0.8",

View File

@@ -1,7 +1,7 @@
import { BrowserModule } from "@angular/platform-browser"; import { BrowserModule } from "@angular/platform-browser";
import { BrowserAnimationsModule } from "@angular/platform-browser/animations"; import { BrowserAnimationsModule } from "@angular/platform-browser/animations";
import { enableProdMode, NgModule } from "@angular/core"; import { enableProdMode, NgModule } from "@angular/core";
import { HttpClientModule } from "@angular/common/http"; import { provideHttpClient, withInterceptorsFromDi } from "@angular/common/http";
import { FormsModule, ReactiveFormsModule } from "@angular/forms"; import { FormsModule, ReactiveFormsModule } from "@angular/forms";
import { AppRoutingModule } from "./app-routing.module"; import { AppRoutingModule } from "./app-routing.module";
@@ -61,8 +61,7 @@ import { ConfirmationDialogComponent } from "./confirmation-dialog/confirmation-
import { FocusDirective } from "./focus.directive"; import { FocusDirective } from "./focus.directive";
import { MarkdownModule } from "ngx-markdown"; import { MarkdownModule } from "ngx-markdown";
@NgModule({ @NgModule({ declarations: [
declarations: [
AppComponent, AppComponent,
MainPageComponent, MainPageComponent,
HelpPageComponent, HelpPageComponent,
@@ -91,8 +90,7 @@ import { MarkdownModule } from "ngx-markdown";
ConfirmationDialogComponent, ConfirmationDialogComponent,
FocusDirective, FocusDirective,
], ],
imports: [ bootstrap: [AppComponent], imports: [MarkdownModule.forRoot(),
MarkdownModule.forRoot(),
BrowserModule, BrowserModule,
AppRoutingModule, AppRoutingModule,
FormsModule, FormsModule,
@@ -116,15 +114,10 @@ import { MarkdownModule } from "ngx-markdown";
MatTableModule, MatTableModule,
MatTooltipModule, MatTooltipModule,
BrowserAnimationsModule, BrowserAnimationsModule,
HttpClientModule, OverlayModule], providers: [{
OverlayModule,
],
providers: [{
provide: MAT_DIALOG_DEFAULT_OPTIONS, provide: MAT_DIALOG_DEFAULT_OPTIONS,
useValue: { hasBackdrop: true }, useValue: { hasBackdrop: true },
}], }, provideHttpClient(withInterceptorsFromDi())] })
bootstrap: [AppComponent],
})
export class AppModule {} export class AppModule {}
enableProdMode(); enableProdMode();

View File

@@ -5,6 +5,7 @@
"baseUrl": "./", "baseUrl": "./",
"outDir": "./dist/out-tsc", "outDir": "./dist/out-tsc",
"forceConsistentCasingInFileNames": true, "forceConsistentCasingInFileNames": true,
"esModuleInterop": true,
"strict": true, "strict": true,
"noImplicitOverride": true, "noImplicitOverride": true,
"noPropertyAccessFromIndexSignature": true, "noPropertyAccessFromIndexSignature": true,
@@ -12,7 +13,6 @@
"noFallthroughCasesInSwitch": true, "noFallthroughCasesInSwitch": true,
"sourceMap": true, "sourceMap": true,
"declaration": false, "declaration": false,
"downlevelIteration": true,
"experimentalDecorators": true, "experimentalDecorators": true,
"moduleResolution": "node", "moduleResolution": "node",
"importHelpers": true, "importHelpers": true,