diff --git a/ui/angular.json b/ui/angular.json index 25cd7255a..ded5ced47 100644 --- a/ui/angular.json +++ b/ui/angular.json @@ -3,7 +3,7 @@ "version": 1, "newProjectRoot": "projects", "projects": { - "gateway": { + "ui": { "projectType": "application", "schematics": { "@schematics/angular:component": { @@ -17,7 +17,7 @@ "build": { "builder": "@angular-devkit/build-angular:browser", "options": { - "outputPath": "dist/gateway", + "outputPath": "dist/ui", "index": "src/index.html", "main": "src/main.ts", "polyfills": "src/polyfills.ts", @@ -69,15 +69,15 @@ "serve": { "builder": "@angular-devkit/build-angular:dev-server", "options": { - "browserTarget": "gateway:build", + "browserTarget": "ui:build", "proxyConfig": "src/proxy.conf.json" }, "configurations": { "production": { - "browserTarget": "gateway:build:production" + "browserTarget": "ui:build:production" }, "development": { - "browserTarget": "gateway:build:development" + "browserTarget": "ui:build:development" } }, "defaultConfiguration": "development" @@ -85,7 +85,7 @@ "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", "options": { - "browserTarget": "gateway:build" + "browserTarget": "ui:build" } }, "test": { diff --git a/ui/karma.conf.js b/ui/karma.conf.js index e4f96d35d..0cd435757 100644 --- a/ui/karma.conf.js +++ b/ui/karma.conf.js @@ -25,7 +25,7 @@ module.exports = function (config) { suppressAll: true // removes the duplicated traces }, coverageReporter: { - dir: require('path').join(__dirname, './coverage/gateway'), + dir: require('path').join(__dirname, './coverage/ui'), subdir: '.', reporters: [ { type: 'html' }, diff --git a/ui/package-lock.json b/ui/package-lock.json index 6c3874553..8d4a42cc2 100644 --- a/ui/package-lock.json +++ b/ui/package-lock.json @@ -1,11 +1,11 @@ { - "name": "gateway", + "name": "ui", "version": "0.0.0", "lockfileVersion": 2, "requires": true, "packages": { "": { - "name": "gateway", + "name": "ui", "version": "0.0.0", "dependencies": { "@angular/animations": "^16.2.9", diff --git a/ui/src/app/app.component.spec.ts b/ui/src/app/app.component.spec.ts index 2f0ba86ee..c27c5baf3 100644 --- a/ui/src/app/app.component.spec.ts +++ b/ui/src/app/app.component.spec.ts @@ -22,10 +22,10 @@ describe('AppComponent', () => { expect(app).toBeTruthy(); }); - it(`should have as title 'gateway'`, () => { + it(`should have as title 'ui'`, () => { const fixture = TestBed.createComponent(AppComponent); const app = fixture.componentInstance; - expect(app.title).toEqual('gateway'); + expect(app.title).toEqual('ui'); }); diff --git a/ui/src/app/app.component.ts b/ui/src/app/app.component.ts index 14be6de6a..707777495 100644 --- a/ui/src/app/app.component.ts +++ b/ui/src/app/app.component.ts @@ -7,7 +7,7 @@ import { HttpClient } from '@angular/common/http'; styleUrls: ['./app.component.scss'] }) export class AppComponent { - title = 'gateway'; + title = 'ui'; constructor( private http: HttpClient