Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# Angular2021
# MyBusiness

Ejercicio 1
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 11.2.7.
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 11.2.1.

## Development server

Expand Down
20 changes: 12 additions & 8 deletions angular.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
{
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"cli": {
"analytics": false
},
"version": 1,
"newProjectRoot": "projects",
"projects": {
"angular2021": {
"my-business": {
"projectType": "application",
"schematics": {
"@schematics/angular:component": {
Expand All @@ -20,7 +23,7 @@
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"outputPath": "dist/angular2021",
"outputPath": "dist/my-business",
"index": "src/index.html",
"main": "src/main.ts",
"polyfills": "src/polyfills.ts",
Expand All @@ -31,6 +34,7 @@
"src/assets"
],
"styles": [
"node_modules/bootstrap/dist/css/bootstrap.min.css",
"src/styles.scss"
],
"scripts": []
Expand Down Expand Up @@ -68,18 +72,18 @@
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"browserTarget": "angular2021:build"
"browserTarget": "my-business:build"
},
"configurations": {
"production": {
"browserTarget": "angular2021:build:production"
"browserTarget": "my-business:build:production"
}
}
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "angular2021:build"
"browserTarget": "my-business:build"
}
},
"test": {
Expand Down Expand Up @@ -116,16 +120,16 @@
"builder": "@angular-devkit/build-angular:protractor",
"options": {
"protractorConfig": "e2e/protractor.conf.js",
"devServerTarget": "angular2021:serve"
"devServerTarget": "my-business:serve"
},
"configurations": {
"production": {
"devServerTarget": "angular2021:serve:production"
"devServerTarget": "my-business:serve:production"
}
}
}
}
}
},
"defaultProject": "angular2021"
"defaultProject": "my-business"
}
2 changes: 1 addition & 1 deletion e2e/src/app.e2e-spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ describe('workspace-project App', () => {

it('should display welcome message', async () => {
await page.navigateTo();
expect(await page.getTitleText()).toEqual('angular2021 app is running!');
expect(await page.getTitleText()).toEqual('my-business app is running!');
});

afterEach(async () => {
Expand Down
2 changes: 1 addition & 1 deletion karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ module.exports = function (config) {
suppressAll: true // removes the duplicated traces
},
coverageReporter: {
dir: require('path').join(__dirname, './coverage/angular2021'),
dir: require('path').join(__dirname, './coverage/my-business'),
subdir: '.',
reporters: [
{ type: 'html' },
Expand Down
Loading