Bump Angular to 18
This commit is contained in:
parent
7c9a057d32
commit
5479be90b8
4 changed files with 2131 additions and 2160 deletions
32
package.json
32
package.json
|
@ -28,17 +28,17 @@
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@angular/animations": "^17.3.12",
|
"@angular/animations": "^18.2.13",
|
||||||
"@angular/cdk": "^17.3.10",
|
"@angular/cdk": "^18.2.14",
|
||||||
"@angular/common": "^17.3.12",
|
"@angular/common": "^18.2.13",
|
||||||
"@angular/compiler": "^17.3.12",
|
"@angular/compiler": "^18.2.13",
|
||||||
"@angular/core": "^17.3.12",
|
"@angular/core": "^18.2.13",
|
||||||
"@angular/forms": "^17.3.12",
|
"@angular/forms": "^18.2.13",
|
||||||
"@angular/material": "^17.3.10",
|
"@angular/material": "^18.2.14",
|
||||||
"@angular/platform-browser": "^17.3.12",
|
"@angular/platform-browser": "^18.2.13",
|
||||||
"@angular/platform-browser-dynamic": "^17.3.12",
|
"@angular/platform-browser-dynamic": "^18.2.13",
|
||||||
"@angular/platform-server": "^17.3.12",
|
"@angular/platform-server": "^18.2.13",
|
||||||
"@angular/router": "^17.3.12",
|
"@angular/router": "^18.2.13",
|
||||||
"@mapbox/point-geometry": "^0.1.0",
|
"@mapbox/point-geometry": "^0.1.0",
|
||||||
"@maplibre/ngx-maplibre-gl": "^17.4.3",
|
"@maplibre/ngx-maplibre-gl": "^17.4.3",
|
||||||
"@turf/bbox": "^7.1.0",
|
"@turf/bbox": "^7.1.0",
|
||||||
|
@ -46,17 +46,17 @@
|
||||||
"@turf/helpers": "^7.1.0",
|
"@turf/helpers": "^7.1.0",
|
||||||
"angular-plotly.js": "^5.2.2",
|
"angular-plotly.js": "^5.2.2",
|
||||||
"maplibre-gl": "^4.7.1",
|
"maplibre-gl": "^4.7.1",
|
||||||
"ngx-flexible-layout": "~17.0.4",
|
"ngx-flexible-layout": "~18.0.2",
|
||||||
"plotly.js-basic-dist-min": "2.31.1",
|
"plotly.js-basic-dist-min": "2.31.1",
|
||||||
"rxjs": "^7.8.1",
|
"rxjs": "^7.8.1",
|
||||||
"ts-helpers": "^1.1.2",
|
"ts-helpers": "^1.1.2",
|
||||||
"zone.js": "~0.14.10"
|
"zone.js": "~0.14.10"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@angular-devkit/build-angular": "^17.3.11",
|
"@angular-devkit/build-angular": "^18.2.12",
|
||||||
"@angular/cli": "^17.3.11",
|
"@angular/cli": "^18.2.12",
|
||||||
"@angular/compiler-cli": "^17.3.12",
|
"@angular/compiler-cli": "^18.2.13",
|
||||||
"@angular/language-service": "^17.3.12",
|
"@angular/language-service": "^18.2.13",
|
||||||
"@hey-api/openapi-ts": "^0.45.1",
|
"@hey-api/openapi-ts": "^0.45.1",
|
||||||
"@types/geojson": "^7946.0.15",
|
"@types/geojson": "^7946.0.15",
|
||||||
"@types/jasmine": "~5.1.5",
|
"@types/jasmine": "~5.1.5",
|
||||||
|
|
4230
pnpm-lock.yaml
generated
4230
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load diff
|
@ -2,7 +2,7 @@ import { BrowserModule } from '@angular/platform-browser'
|
||||||
import { BrowserAnimationsModule } from '@angular/platform-browser/animations'
|
import { BrowserAnimationsModule } from '@angular/platform-browser/animations'
|
||||||
import { NgModule, LOCALE_ID } from '@angular/core'
|
import { NgModule, LOCALE_ID } from '@angular/core'
|
||||||
import { FormsModule } from '@angular/forms'
|
import { FormsModule } from '@angular/forms'
|
||||||
import { HttpClientModule } from '@angular/common/http'
|
import { provideHttpClient, withInterceptorsFromDi } from '@angular/common/http'
|
||||||
|
|
||||||
import { MatButtonModule } from '@angular/material/button'
|
import { MatButtonModule } from '@angular/material/button'
|
||||||
import { MatIconModule } from '@angular/material/icon'
|
import { MatIconModule } from '@angular/material/icon'
|
||||||
|
@ -32,34 +32,26 @@ import { HtmlSnackbarComponent } from './custom-snackbar/custom-snackbar.compone
|
||||||
|
|
||||||
import { AppRoutingModule } from './app-routing.module'
|
import { AppRoutingModule } from './app-routing.module'
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({ declarations: [
|
||||||
declarations: [
|
|
||||||
AppComponent,
|
AppComponent,
|
||||||
PageNotFoundComponent,
|
PageNotFoundComponent,
|
||||||
HtmlSnackbarComponent,
|
HtmlSnackbarComponent,
|
||||||
],
|
],
|
||||||
imports: [
|
bootstrap: [
|
||||||
|
AppComponent
|
||||||
|
], imports: [
|
||||||
// ApolloModule,
|
// ApolloModule,
|
||||||
|
|
||||||
BrowserModule,
|
BrowserModule,
|
||||||
BrowserAnimationsModule,
|
BrowserAnimationsModule,
|
||||||
|
|
||||||
FormsModule,
|
FormsModule,
|
||||||
HttpClientModule,
|
|
||||||
|
|
||||||
MatToolbarModule,
|
MatToolbarModule,
|
||||||
MatButtonModule,
|
MatButtonModule,
|
||||||
MatIconModule,
|
MatIconModule,
|
||||||
MatSnackBarModule,
|
MatSnackBarModule,
|
||||||
|
|
||||||
MatTooltipModule,
|
MatTooltipModule,
|
||||||
|
|
||||||
FlexLayoutModule,
|
FlexLayoutModule,
|
||||||
|
|
||||||
AppRoutingModule,
|
AppRoutingModule,
|
||||||
LoginModule,
|
LoginModule], providers: [
|
||||||
],
|
|
||||||
providers: [
|
|
||||||
ActionsService,
|
ActionsService,
|
||||||
AuthenticationService,
|
AuthenticationService,
|
||||||
BootstrapService,
|
BootstrapService,
|
||||||
|
@ -75,9 +67,6 @@ import { AppRoutingModule } from './app-routing.module'
|
||||||
provide: LOCALE_ID,
|
provide: LOCALE_ID,
|
||||||
useValue: "en-IN"
|
useValue: "en-IN"
|
||||||
},
|
},
|
||||||
],
|
provideHttpClient(withInterceptorsFromDi()),
|
||||||
bootstrap: [
|
] })
|
||||||
AppComponent
|
|
||||||
]
|
|
||||||
})
|
|
||||||
export class AppModule {}
|
export class AppModule {}
|
|
@ -3,6 +3,7 @@
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"importHelpers": true,
|
"importHelpers": true,
|
||||||
"module": "es2020",
|
"module": "es2020",
|
||||||
|
"esModuleInterop": true,
|
||||||
"outDir": "./dist/out-tsc",
|
"outDir": "./dist/out-tsc",
|
||||||
"sourceMap": true,
|
"sourceMap": true,
|
||||||
"declaration": false,
|
"declaration": false,
|
||||||
|
@ -18,7 +19,6 @@
|
||||||
"dom",
|
"dom",
|
||||||
"esnext.asynciterable"
|
"esnext.asynciterable"
|
||||||
],
|
],
|
||||||
"allowSyntheticDefaultImports": true,
|
|
||||||
"useDefineForClassFields": false
|
"useDefineForClassFields": false
|
||||||
},
|
},
|
||||||
"angularCompilerOptions": {
|
"angularCompilerOptions": {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue