Skip to content

Commit 2f45aa5

Browse files
committed
build(npm): upgraded all libraries to the latest compatible versions
* Executed "nx migrate latest" to upgrade nx major version to version 17. * Major upgrade: @ngx-translate/\*, dompurify, npm, @types/\*, @commitlint/\*, conventional-changelog-conventionalcommits, prettier, semantic-release, typescript, ngx-scrollbar, angular-oauth2-oidc. * Minor and patch upgrade: bootstrap, d3-graphviz, moment-timezone, ngx-mat-select-search, tslib, @semantic-release/github, jest, jest-environment-jsdom, webpack-bundle-analyzer. * Library ngx-scrollbar changed configuration settings between major versions, so it was changed in app.module.ts.
1 parent 9a36c93 commit 2f45aa5

File tree

42 files changed

+2389
-1798
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+2389
-1798
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,3 +69,5 @@ apps/linker/src/styles.scss
6969
apps/password-reset/src/styles.scss
7070
apps/publications/src/styles.scss
7171
apps/user-profile/src/styles.scss
72+
73+
.nx/cache

.prettierignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,3 +51,5 @@ Thumbs.db
5151
.editorconfig
5252
.gitignore
5353
.prettierrc
54+
55+
/.nx/cache

apps/admin-gui-e2e/project.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
}
1919
},
2020
"lint": {
21-
"executor": "@nx/linter:eslint",
21+
"executor": "@nx/eslint:lint",
2222
"options": {
2323
"lintFilePatterns": ["apps/admin-gui-e2e/**/*.{js,ts}"]
2424
},

apps/admin-gui/project.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@
111111
}
112112
},
113113
"lint": {
114-
"executor": "@nx/linter:eslint",
114+
"executor": "@nx/eslint:lint",
115115
"options": {
116116
"lintFilePatterns": ["apps/admin-gui/src/**/*.ts", "apps/admin-gui/src/**/*.html"]
117117
},

apps/admin-gui/src/app/app.module.ts

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import { PERUN_API_SERVICE } from '@perun-web-apps/perun/tokens';
2323
import { AdminGuiConfigService } from './core/services/common/admin-gui-config.service';
2424
import { ApiModule, Configuration, ConfigurationParameters } from '@perun-web-apps/perun/openapi';
2525
import { GeneralModule } from '@perun-web-apps/general';
26-
import { NgScrollbarModule } from 'ngx-scrollbar';
26+
import { NG_SCROLLBAR_OPTIONS, NgScrollbarModule } from 'ngx-scrollbar';
2727
import { PerunSharedComponentsModule } from '@perun-web-apps/perun/components';
2828
import { PerunLoginModule } from '@perun-web-apps/perun/login';
2929
import { OAuthModule, OAuthStorage } from 'angular-oauth2-oidc';
@@ -72,10 +72,7 @@ const loadConfigs: (appConfig: AdminGuiConfigService) => () => Promise<void> =
7272
ApiModule,
7373
PerunSharedComponentsModule,
7474
PerunLoginModule,
75-
NgScrollbarModule.withConfig({
76-
autoWidthDisabled: false,
77-
visibility: 'hover',
78-
}),
75+
NgScrollbarModule,
7976
OAuthModule.forRoot(),
8077
],
8178
providers: [
@@ -103,11 +100,21 @@ const loadConfigs: (appConfig: AdminGuiConfigService) => () => Promise<void> =
103100
ApiInterceptor,
104101
API_INTERCEPTOR_PROVIDER,
105102
{ provide: OAuthStorage, useFactory: (): OAuthStorage => localStorage },
103+
{
104+
provide: NG_SCROLLBAR_OPTIONS,
105+
useValue: {
106+
autoWidthDisabled: false,
107+
visibility: 'hover',
108+
},
109+
},
106110
],
107111
bootstrap: [AppComponent],
108112
})
109113
export class AppModule {
110-
constructor(private customIconService: CustomIconService, private translate: TranslateService) {
114+
constructor(
115+
private customIconService: CustomIconService,
116+
private translate: TranslateService,
117+
) {
111118
this.translate.setDefaultLang('en');
112119
this.translate.use('en');
113120
this.customIconService.registerPerunRefreshIcon();

apps/consolidator-e2e/project.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
}
1919
},
2020
"lint": {
21-
"executor": "@nx/linter:eslint",
21+
"executor": "@nx/eslint:lint",
2222
"options": {
2323
"lintFilePatterns": ["apps/consolidator-e2e/**/*.{js,ts}"]
2424
}

apps/consolidator/project.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@
107107
}
108108
},
109109
"lint": {
110-
"executor": "@nx/linter:eslint",
110+
"executor": "@nx/eslint:lint",
111111
"options": {
112112
"lintFilePatterns": ["apps/consolidator/src/**/*.ts", "apps/consolidator/src/**/*.html"]
113113
}

apps/linker-e2e/project.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
}
1919
},
2020
"lint": {
21-
"executor": "@nx/linter:eslint",
21+
"executor": "@nx/eslint:lint",
2222
"options": {
2323
"lintFilePatterns": ["apps/linker-e2e/**/*.{js,ts}"]
2424
}

apps/linker/project.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@
100100
}
101101
},
102102
"lint": {
103-
"executor": "@nx/linter:eslint",
103+
"executor": "@nx/eslint:lint",
104104
"options": {
105105
"lintFilePatterns": ["apps/linker/src/**/*.ts", "apps/linker/src/**/*.html"]
106106
}

apps/password-reset-e2e/project.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
}
1919
},
2020
"lint": {
21-
"executor": "@nx/linter:eslint",
21+
"executor": "@nx/eslint:lint",
2222
"options": {
2323
"lintFilePatterns": ["apps/password-reset-e2e/**/*.{js,ts}"]
2424
},

0 commit comments

Comments
 (0)