Skip to content

Commit f801790

Browse files
committed
Update Angular
1 parent ca9a3cb commit f801790

26 files changed

+7365
-4477
lines changed

src/AngularComponents/.browserslistrc

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,17 @@
1-
# This file is currently used by autoprefixer to adjust CSS to support the below specified browsers
1+
# This file is used by the build system to adjust CSS and JS output to support the specified browsers below.
22
# For additional information regarding the format and rule options, please see:
33
# https://github.com/browserslist/browserslist#queries
4-
#
5-
# For IE 9-11 support, please remove 'not' from the last line of the file and adjust as needed
64

7-
> 0.5%
8-
last 2 versions
5+
# For the full list of supported browsers by the Angular framework, please see:
6+
# https://angular.io/guide/browser-support
7+
8+
# You can see what browsers were selected by your queries by running:
9+
# npx browserslist
10+
11+
last 1 Chrome version
12+
last 1 Firefox version
13+
last 2 Edge major versions
14+
last 2 Safari major versions
15+
last 2 iOS major versions
916
Firefox ESR
10-
not dead
11-
not IE 9-11
17+
not IE 11 # Angular supports IE 11 only as an opt-in. To opt-in, remove the 'not' prefix on this line.

src/AngularComponents/.gitignore

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,15 @@
44
/dist
55
/tmp
66
/out-tsc
7+
# Only exists if Bazel was run
8+
/bazel-out
79

810
# dependencies
911
/node_modules
1012

1113
# profiling files
12-
chrome-profiler-events.json
13-
speed-measure-plugin.json
14+
chrome-profiler-events*.json
15+
speed-measure-plugin*.json
1416

1517
# IDEs and editors
1618
/.idea
@@ -27,6 +29,7 @@ speed-measure-plugin.json
2729
!.vscode/tasks.json
2830
!.vscode/launch.json
2931
!.vscode/extensions.json
32+
.history/*
3033

3134
# misc
3235
/.sass-cache

src/AngularComponents/README.md

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

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

55
## Development server
66

@@ -24,4 +24,4 @@ Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protrac
2424

2525
## Further help
2626

27-
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md).
27+
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.

src/AngularComponents/angular.json

Lines changed: 39 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,51 @@
44
"newProjectRoot": "projects",
55
"projects": {
66
"coverage-app": {
7+
"projectType": "application",
8+
"schematics": {
9+
"@schematics/angular:component": {
10+
"inlineTemplate": true,
11+
"inlineStyle": true,
12+
"skipTests": true
13+
},
14+
"@schematics/angular:class": {
15+
"skipTests": true
16+
},
17+
"@schematics/angular:directive": {
18+
"skipTests": true
19+
},
20+
"@schematics/angular:guard": {
21+
"skipTests": true
22+
},
23+
"@schematics/angular:interceptor": {
24+
"skipTests": true
25+
},
26+
"@schematics/angular:module": {
27+
"skipTests": true
28+
},
29+
"@schematics/angular:pipe": {
30+
"skipTests": true
31+
},
32+
"@schematics/angular:service": {
33+
"skipTests": true
34+
},
35+
"@schematics/angular:application": {
36+
"strict": true
37+
}
38+
},
739
"root": "",
840
"sourceRoot": "src",
9-
"projectType": "application",
1041
"prefix": "app",
11-
"schematics": {},
1242
"architect": {
1343
"build": {
1444
"builder": "@angular-devkit/build-angular:browser",
1545
"options": {
16-
"aot": true,
1746
"outputPath": "dist/coverage-app",
1847
"index": "src/index.html",
1948
"main": "src/main.ts",
2049
"polyfills": "src/polyfills.ts",
21-
"tsConfig": "src/tsconfig.app.json",
50+
"tsConfig": "tsconfig.app.json",
51+
"aot": true,
2252
"assets": [
2353
"src/favicon.ico",
2454
"src/assets"
@@ -40,19 +70,19 @@
4070
"outputHashing": "all",
4171
"sourceMap": false,
4272
"namedChunks": false,
43-
"aot": true,
4473
"extractLicenses": true,
4574
"vendorChunk": false,
4675
"buildOptimizer": true,
4776
"budgets": [
4877
{
4978
"type": "initial",
50-
"maximumWarning": "2mb",
51-
"maximumError": "5mb"
79+
"maximumWarning": "500kb",
80+
"maximumError": "1mb"
5281
},
5382
{
5483
"type": "anyComponentStyle",
55-
"maximumWarning": "6kb"
84+
"maximumWarning": "2kb",
85+
"maximumError": "4kb"
5686
}
5787
]
5888
}
@@ -74,38 +104,9 @@
74104
"options": {
75105
"browserTarget": "coverage-app:build"
76106
}
77-
},
78-
"test": {
79-
"builder": "@angular-devkit/build-angular:karma",
80-
"options": {
81-
"main": "src/test.ts",
82-
"polyfills": "src/polyfills.ts",
83-
"tsConfig": "src/tsconfig.spec.json",
84-
"karmaConfig": "src/karma.conf.js",
85-
"styles": [
86-
"src/styles.css"
87-
],
88-
"scripts": [],
89-
"assets": [
90-
"src/favicon.ico",
91-
"src/assets"
92-
]
93-
}
94-
},
95-
"lint": {
96-
"builder": "@angular-devkit/build-angular:tslint",
97-
"options": {
98-
"tsConfig": [
99-
"src/tsconfig.app.json",
100-
"src/tsconfig.spec.json"
101-
],
102-
"exclude": [
103-
"**/node_modules/**"
104-
]
105-
}
106107
}
107108
}
108109
}
109110
},
110111
"defaultProject": "coverage-app"
111-
}
112+
}

0 commit comments

Comments
 (0)