Skip to content

Commit 82217f2

Browse files
authored
feat(*): Upgrade to Angular 12 (#232)
- Updgrade to Angular 12 - Upgrade tooling to latest - Fix old usage of jasmine to use jest BREAKING CHANGE: The upgrade to Angular 12 breaks compatibility with Angular 11.
1 parent b2ae7e9 commit 82217f2

File tree

7 files changed

+10894
-11598
lines changed

7 files changed

+10894
-11598
lines changed

.eslintrc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99
"eslint:recommended",
1010
"plugin:@typescript-eslint/eslint-recommended",
1111
"plugin:@typescript-eslint/recommended",
12-
"prettier",
13-
"prettier/@typescript-eslint",
1412
"plugin:prettier/recommended"
1513
],
1614
"rules": {

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ The following list describes the compatibility with Angular:
4242
| `7.x` | `9.x` |
4343
| `8.x` | `10.x` |
4444
| `9.x` | `11.x` |
45+
| `10.x` | `12.x` |
4546

4647
<br>
4748

angular.json

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
{
22
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
3+
"cli": {
4+
"analytics": false
5+
},
36
"version": 1,
47
"newProjectRoot": "projects",
58
"projects": {
@@ -41,10 +44,15 @@
4144
"main": "projects/angular-notifier-demo/src/main.ts",
4245
"polyfills": "projects/angular-notifier-demo/src/polyfills.ts",
4346
"tsConfig": "projects/angular-notifier-demo/tsconfig.app.json",
44-
"aot": true,
4547
"assets": ["projects/angular-notifier-demo/src/favicon.ico", "projects/angular-notifier-demo/src/assets"],
4648
"styles": ["projects/angular-notifier-demo/src/styles.scss"],
47-
"scripts": []
49+
"scripts": [],
50+
"vendorChunk": true,
51+
"extractLicenses": false,
52+
"buildOptimizer": false,
53+
"sourceMap": true,
54+
"optimization": false,
55+
"namedChunks": true
4856
},
4957
"configurations": {
5058
"production": {
@@ -58,11 +66,11 @@
5866
"outputHashing": "all",
5967
"sourceMap": false,
6068
"namedChunks": false,
61-
"extractLicenses": false,
6269
"vendorChunk": false,
6370
"buildOptimizer": true
6471
}
65-
}
72+
},
73+
"defaultConfiguration": ""
6674
},
6775
"serve": {
6876
"builder": "@angular-devkit/build-angular:dev-server",

0 commit comments

Comments
 (0)