Skip to content

Commit e81e844

Browse files
DeborahKDeborahK
DeborahK
authored and
DeborahK
committed
Update to Angular v12
1 parent e65b438 commit e81e844

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+5232
-11594
lines changed

APM-Final/.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212

1313
# profiling files
1414
chrome-profiler-events*.json
15-
speed-measure-plugin*.json
1615

1716
# IDEs and editors
1817
/.idea

APM-Final/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Apm
22

3-
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 11.2.0.
3+
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 12.0.0.
44

55
## Development server
66

@@ -20,7 +20,7 @@ Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.
2020

2121
## Running end-to-end tests
2222

23-
Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/).
23+
Run `ng e2e` to execute the end-to-end tests via a platform of your choice.
2424

2525
## Further help
2626

APM-Final/angular.json

Lines changed: 23 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
"main": "src/main.ts",
2626
"polyfills": "src/polyfills.ts",
2727
"tsConfig": "tsconfig.app.json",
28-
"aot": true,
2928
"assets": [
3029
"src/favicon.ico",
3130
"src/assets",
@@ -38,19 +37,6 @@
3837
},
3938
"configurations": {
4039
"production": {
41-
"fileReplacements": [
42-
{
43-
"replace": "src/environments/environment.ts",
44-
"with": "src/environments/environment.prod.ts"
45-
}
46-
],
47-
"optimization": true,
48-
"outputHashing": "all",
49-
"sourceMap": false,
50-
"namedChunks": false,
51-
"extractLicenses": true,
52-
"vendorChunk": false,
53-
"buildOptimizer": true,
5440
"budgets": [
5541
{
5642
"type": "initial",
@@ -62,20 +48,37 @@
6248
"maximumWarning": "2kb",
6349
"maximumError": "4kb"
6450
}
65-
]
51+
],
52+
"fileReplacements": [
53+
{
54+
"replace": "src/environments/environment.ts",
55+
"with": "src/environments/environment.prod.ts"
56+
}
57+
],
58+
"outputHashing": "all"
59+
},
60+
"development": {
61+
"buildOptimizer": false,
62+
"optimization": false,
63+
"vendorChunk": true,
64+
"extractLicenses": false,
65+
"sourceMap": true,
66+
"namedChunks": true
6667
}
67-
}
68+
},
69+
"defaultConfiguration": "production"
6870
},
6971
"serve": {
7072
"builder": "@angular-devkit/build-angular:dev-server",
71-
"options": {
72-
"browserTarget": "apm:build"
73-
},
7473
"configurations": {
7574
"production": {
7675
"browserTarget": "apm:build:production"
76+
},
77+
"development": {
78+
"browserTarget": "apm:build:development"
7779
}
78-
}
80+
},
81+
"defaultConfiguration": "development"
7982
},
8083
"extract-i18n": {
8184
"builder": "@angular-devkit/build-angular:extract-i18n",
@@ -99,31 +102,6 @@
99102
],
100103
"scripts": []
101104
}
102-
},
103-
"lint": {
104-
"builder": "@angular-devkit/build-angular:tslint",
105-
"options": {
106-
"tsConfig": [
107-
"tsconfig.app.json",
108-
"tsconfig.spec.json",
109-
"e2e/tsconfig.json"
110-
],
111-
"exclude": [
112-
"**/node_modules/**"
113-
]
114-
}
115-
},
116-
"e2e": {
117-
"builder": "@angular-devkit/build-angular:protractor",
118-
"options": {
119-
"protractorConfig": "e2e/protractor.conf.js",
120-
"devServerTarget": "apm:serve"
121-
},
122-
"configurations": {
123-
"production": {
124-
"devServerTarget": "apm:serve:production"
125-
}
126-
}
127105
}
128106
}
129107
}

APM-Final/e2e/protractor.conf.js

Lines changed: 0 additions & 37 deletions
This file was deleted.

APM-Final/e2e/src/app.e2e-spec.ts

Lines changed: 0 additions & 23 deletions
This file was deleted.

APM-Final/e2e/src/app.po.ts

Lines changed: 0 additions & 11 deletions
This file was deleted.

APM-Final/e2e/tsconfig.json

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)