Change project name to Homepage

Disable angular analytics prompt.
This commit is contained in:
Cameron Cordes
2020-03-06 15:28:23 -05:00
committed by Cameron Cordes
parent 64e73eea85
commit 42543f0abe
2 changed files with 14 additions and 11 deletions

View File

@@ -3,7 +3,7 @@
"version": 1,
"newProjectRoot": "projects",
"projects": {
"TestWebsite": {
"Homepage": {
"root": "",
"sourceRoot": "src",
"projectType": "application",
@@ -13,7 +13,7 @@
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"outputPath": "dist/TestWebsite",
"outputPath": "dist/Homepage",
"index": "src/index.html",
"main": "src/main.ts",
"polyfills": "src/polyfills.ts",
@@ -50,18 +50,18 @@
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"browserTarget": "TestWebsite:build"
"browserTarget": "Homepage:build"
},
"configurations": {
"production": {
"browserTarget": "TestWebsite:build:production"
"browserTarget": "Homepage:build:production"
}
}
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "TestWebsite:build"
"browserTarget": "Homepage:build"
}
},
"test": {
@@ -95,7 +95,7 @@
}
}
},
"TestWebsite-e2e": {
"Homepage-e2e": {
"root": "e2e/",
"projectType": "application",
"architect": {
@@ -103,11 +103,11 @@
"builder": "@angular-devkit/build-angular:protractor",
"options": {
"protractorConfig": "e2e/protractor.conf.js",
"devServerTarget": "TestWebsite:serve"
"devServerTarget": "Homepage:serve"
},
"configurations": {
"production": {
"devServerTarget": "TestWebsite:serve:production"
"devServerTarget": "Homepage:serve:production"
}
}
},
@@ -123,5 +123,8 @@
}
}
},
"defaultProject": "TestWebsite"
}
"defaultProject": "Homepage",
"cli": {
"analytics": false
}
}

View File

@@ -9,6 +9,6 @@ describe('workspace-project App', () => {
it('should display welcome message', () => {
page.navigateTo();
expect(page.getParagraphText()).toEqual('Welcome to TestWebsite!');
expect(page.getParagraphText()).toEqual('Welcome to Homepage!');
});
});