refactor/rename gane to lm

This commit is contained in:
Fabian Jeglinski
2020-02-16 13:27:12 +01:00
parent a458a64969
commit 48e3db86ac
6 changed files with 16 additions and 16 deletions
+1 -1
View File
@@ -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.
+9 -9
View File
@@ -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"
}
+1 -1
View File
@@ -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 () => {
+3 -3
View File
@@ -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!');
});
});
+1 -1
View File
@@ -2,7 +2,7 @@
<html lang="en">
<head>
<meta charset="utf-8">
<title>GaneWeb</title>
<title>Life Map Web</title>
<base href="/">
<meta name="viewport" content="width=device-width, initial-scale=1">
+1 -1
View File
@@ -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
},