Skip to content

Commit

Permalink
SHIBUI-1536 Updated ngrx library, disabled runtimeChecks
Browse files Browse the repository at this point in the history
  • Loading branch information
rmathis committed Oct 22, 2019
1 parent 973dde2 commit 6912545
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 23 deletions.
30 changes: 15 additions & 15 deletions ui/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@
"@angular/platform-browser-dynamic": "8.2.11",
"@angular/router": "8.2.11",
"@ng-bootstrap/ng-bootstrap": "5.1.1",
"@ngrx/effects": "7.4.0",
"@ngrx/entity": "7.4.0",
"@ngrx/router-store": "7.4.0",
"@ngrx/store": "7.4.0",
"@ngrx/store-devtools": "7.4.0",
"@ngrx/effects": "8.4.0",
"@ngrx/entity": "8.4.0",
"@ngrx/router-store": "8.4.0",
"@ngrx/store": "8.4.0",
"@ngrx/store-devtools": "8.4.0",
"bootstrap": "4.3.1",
"core-js": "^2.4.1",
"deep-object-diff": "^1.1.0",
Expand Down Expand Up @@ -73,4 +73,4 @@
"typescript": "3.5.3",
"webpack-bundle-analyzer": "^3.3.2"
}
}
}
10 changes: 8 additions & 2 deletions ui/src/app/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,13 @@ import { NavigationService } from './core/service/navigation.service';
],
imports: [
StoreModule.forRoot(reducers, {
metaReducers
metaReducers,
runtimeChecks: {
strictActionImmutability: false,
strictActionSerializability: false,
strictStateImmutability: false,
strictStateSerializability: false
}
}),
StoreDevtoolsModule.instrument({
maxAge: 25, // Retains last 25 states
Expand All @@ -42,7 +48,7 @@ import { NavigationService } from './core/service/navigation.service';
EffectsModule.forRoot([]),
BrowserModule,
CoreModule.forRoot(),
StoreRouterConnectingModule,
StoreRouterConnectingModule.forRoot(),
NgbDropdownModule,
NgbModalModule,
NgbPopoverModule,
Expand Down

0 comments on commit 6912545

Please sign in to comment.