From 48e3db86ac734513cc1515b9f5bffb1f4f841e51 Mon Sep 17 00:00:00 2001 From: Fabian Jeglinski Date: Sun, 16 Feb 2020 13:27:12 +0100 Subject: [PATCH] refactor/rename gane to lm --- README.md | 2 +- angular.json | 18 +++++++++--------- e2e/src/app.e2e-spec.ts | 2 +- src/app/app.component.spec.ts | 6 +++--- src/index.html | 2 +- src/karma.conf.js | 2 +- 6 files changed, 16 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index f415bd9..b40a475 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# GaneWeb +# Life Map Web This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 7.3.5. diff --git a/angular.json b/angular.json index 08e9ff9..368336a 100644 --- a/angular.json +++ b/angular.json @@ -3,7 +3,7 @@ "version": 1, "newProjectRoot": "projects", "projects": { - "gane-web": { + "lm-web": { "root": "", "sourceRoot": "src", "projectType": "application", @@ -17,7 +17,7 @@ "build": { "builder": "@angular-devkit/build-angular:browser", "options": { - "outputPath": "dist/gane-web", + "outputPath": "dist/lm-web", "index": "src/index.html", "main": "src/main.ts", "polyfills": "src/polyfills.ts", @@ -62,18 +62,18 @@ "serve": { "builder": "@angular-devkit/build-angular:dev-server", "options": { - "browserTarget": "gane-web:build" + "browserTarget": "lm-web:build" }, "configurations": { "production": { - "browserTarget": "gane-web:build:production" + "browserTarget": "lm-web:build:production" } } }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", "options": { - "browserTarget": "gane-web:build" + "browserTarget": "lm-web:build" } }, "test": { @@ -107,7 +107,7 @@ } } }, - "gane-web-e2e": { + "lm-web-e2e": { "root": "e2e/", "projectType": "application", "prefix": "", @@ -116,11 +116,11 @@ "builder": "@angular-devkit/build-angular:protractor", "options": { "protractorConfig": "e2e/protractor.conf.js", - "devServerTarget": "gane-web:serve" + "devServerTarget": "lm-web:serve" }, "configurations": { "production": { - "devServerTarget": "gane-web:serve:production" + "devServerTarget": "lm-web:serve:production" } } }, @@ -136,5 +136,5 @@ } } }, - "defaultProject": "gane-web" + "defaultProject": "lm-web" } diff --git a/e2e/src/app.e2e-spec.ts b/e2e/src/app.e2e-spec.ts index f5394c1..68fd8a1 100644 --- a/e2e/src/app.e2e-spec.ts +++ b/e2e/src/app.e2e-spec.ts @@ -10,7 +10,7 @@ describe('workspace-project App', () => { it('should display welcome message', () => { page.navigateTo(); - expect(page.getTitleText()).toEqual('Welcome to gane-web!'); + expect(page.getTitleText()).toEqual('Welcome to lm web!'); }); afterEach(async () => { diff --git a/src/app/app.component.spec.ts b/src/app/app.component.spec.ts index dc81186..60159cf 100644 --- a/src/app/app.component.spec.ts +++ b/src/app/app.component.spec.ts @@ -20,16 +20,16 @@ describe('AppComponent', () => { expect(app).toBeTruthy(); }); - it(`should have as title 'gane-web'`, () => { + it(`should have as title 'lmweb'`, () => { const fixture = TestBed.createComponent(AppComponent); const app = fixture.debugElement.componentInstance; - expect(app.title).toEqual('gane-web'); + expect(app.title).toEqual('lm web'); }); it('should render title in a h1 tag', () => { const fixture = TestBed.createComponent(AppComponent); fixture.detectChanges(); const compiled = fixture.debugElement.nativeElement; - expect(compiled.querySelector('h1').textContent).toContain('Welcome to gane-web!'); + expect(compiled.querySelector('h1').textContent).toContain('Welcome to lm web!'); }); }); diff --git a/src/index.html b/src/index.html index 9c6b31d..0dc7fb1 100644 --- a/src/index.html +++ b/src/index.html @@ -2,7 +2,7 @@ - GaneWeb + Life Map Web diff --git a/src/karma.conf.js b/src/karma.conf.js index 2141053..6ccda19 100644 --- a/src/karma.conf.js +++ b/src/karma.conf.js @@ -16,7 +16,7 @@ module.exports = function (config) { clearContext: false // leave Jasmine Spec Runner output visible in browser }, coverageIstanbulReporter: { - dir: require('path').join(__dirname, '../coverage/gane-web'), + dir: require('path').join(__dirname, '../coverage/lm-web'), reports: ['html', 'lcovonly', 'text-summary'], fixWebpackSourcePaths: true },