diff --git a/alfa-client/apps/alfa/project.json b/alfa-client/apps/alfa/project.json index 971b4de26cdead729cfb59358965bbdc55e9ccbc..3827d3099a7c741bde34548f13efa6754c7bbf3b 100644 --- a/alfa-client/apps/alfa/project.json +++ b/alfa-client/apps/alfa/project.json @@ -14,9 +14,7 @@ "build": { "executor": "@angular-devkit/build-angular:browser", "options": { - "allowedCommonJsDependencies": [ - "file-saver" - ], + "allowedCommonJsDependencies": ["file-saver"], "outputPath": "dist/apps/alfa", "index": "apps/alfa/src/index.html", "main": "apps/alfa/src/main.ts", @@ -34,11 +32,14 @@ "input": "libs/ui/src/lib/assets", "glob": "**/*", "output": "assets/icons" + }, + { + "input": "libs/design-system/src/assets", + "glob": "**/*", + "output": "assets/icons" } ], - "styles": [ - "apps/alfa/src/styles/main.scss" - ], + "styles": ["apps/alfa/src/styles/main.scss"], "scripts": [], "stylePreprocessorOptions": { "includePaths": [ @@ -85,9 +86,7 @@ ] } }, - "outputs": [ - "{options.outputPath}" - ] + "outputs": ["{options.outputPath}"] }, "serve": { "executor": "@angular-devkit/build-angular:dev-server", @@ -109,9 +108,7 @@ }, "lint": { "executor": "@nx/eslint:lint", - "outputs": [ - "{options.outputFile}" - ] + "outputs": ["{options.outputFile}"] }, "test": { "executor": "@nx/jest:jest", @@ -119,9 +116,7 @@ "tsConfig": "apps/alfa/tsconfig.spec.json", "jestConfig": "apps/alfa/jest.config.ts" }, - "outputs": [ - "{workspaceRoot}/coverage/apps/alfa" - ] + "outputs": ["{workspaceRoot}/coverage/apps/alfa"] }, "container": { "executor": "@nx-tools/nx-container:build", @@ -129,15 +124,11 @@ "engine": "docker", "push": false, "metadata": { - "images": [ - "docker.ozg-sh.de/alfa-client" - ], + "images": ["docker.ozg-sh.de/alfa-client"], "load": true, - "tags": [ - "build-latest" - ] + "tags": ["build-latest"] } } } } -} \ No newline at end of file +} diff --git a/alfa-client/apps/alfa/src/app/app.module.ts b/alfa-client/apps/alfa/src/app/app.module.ts index 566ebc0b3fd03aa04506016be0d3c16aa1bf1fd9..9d8f546ca38238abbf2842095d9d3f34b34aaf62 100644 --- a/alfa-client/apps/alfa/src/app/app.module.ts +++ b/alfa-client/apps/alfa/src/app/app.module.ts @@ -45,6 +45,7 @@ import { StoreRouterConnectingModule } from '@ngrx/router-store'; import { StoreModule } from '@ngrx/store'; import { StoreDevtoolsModule } from '@ngrx/store-devtools'; import { OAuthModule } from 'angular-oauth2-oidc'; +import { provideAngularSvgIcon } from 'angular-svg-icon'; import { de } from 'date-fns/locale'; import { HttpBinaryFileInterceptor } from '../../../../libs/tech-shared/src/lib/interceptor/http-binary-file.interceptor'; import { HttpXsrfInterceptor } from '../../../../libs/tech-shared/src/lib/interceptor/http-xsrf.interceptor'; @@ -159,6 +160,7 @@ const routes: Routes = [ deps: [MAT_DATE_LOCALE], }, provideHttpClient(withInterceptorsFromDi()), + provideAngularSvgIcon(), ], bootstrap: [AppComponent], })