File tree Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 55
55
- name : Build the lib (with the current version, as it is what is published on npm)
56
56
run : npm run build
57
57
- name : Downgrade dependencies to minimal required version
58
- run : npm install typescript@5.6.3 tslib@2.5.0 rxjs@7.6.0 zone.js@0.15.0 @angular/common@next @angular/compiler@next @angular/core@next @angular/platform-browser@next @angular/router@next @angular/cli@next @angular/compiler-cli@next @angular-devkit/build-angular@next --legacy-peer-deps
58
+ run : npm install typescript@5.6.3 tslib@2.5.0 rxjs@7.6.0 zone.js@0.15.0 @angular/common@19.0.0 @angular/compiler@19.0.0 @angular/core@19.0.0 @angular/platform-browser@19.0.0 @angular/router@19.0.0 @angular/cli@19.0.0 @angular/compiler-cli@19.0.0 @angular-devkit/build-angular@19.0.0 --legacy-peer-deps
59
59
env :
60
60
CI : true
61
61
- name : Run unit tests
Original file line number Diff line number Diff line change @@ -2,6 +2,8 @@ import { bootstrapApplication } from "@angular/platform-browser";
2
2
import { AppComponent } from "./app/app.component" ;
3
3
4
4
bootstrapApplication ( AppComponent )
5
- . catch ( ( err ) => {
5
+ . then ( ( ) => {
6
+ // Nothing to do
7
+ } , ( err ) => {
6
8
console . error ( err ) ;
7
9
} ) ;
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ import { HomeComponent } from "./app/home/home.component";
7
7
bootstrapApplication ( AppComponent , {
8
8
providers : [
9
9
provideRouter ( [
10
+ // eslint-disable-next-line @typescript-eslint/explicit-function-return-type
10
11
{ path : "lazy" , loadChildren : ( ) => import ( "./app/lazy/routes" ) . then ( m => m . routes ) } ,
11
12
{ path : "" , component : HomeComponent , pathMatch : "full" } ,
12
13
] ) ,
@@ -15,6 +16,8 @@ bootstrapApplication(AppComponent, {
15
16
provideIndexedDBStoreName ( "keyvaluepairs" ) ,
16
17
] ,
17
18
} )
18
- . catch ( ( err ) => {
19
+ . then ( ( ) => {
20
+ // Nothing to do
21
+ } , ( err ) => {
19
22
console . error ( err ) ;
20
23
} ) ;
You can’t perform that action at this time.
0 commit comments