Skip to content

Commit ba19bc1

Browse files
authored
feat(*): Upgrade to Angular 9 (#201)
- Updgrade to Angular 9 - Update docs Closes #168. BREAKING CHANGE: The upgrade to Angular 9 breaks compatibility with Angular 8.
1 parent f6799dd commit ba19bc1

File tree

13 files changed

+6231
-3471
lines changed

13 files changed

+6231
-3471
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ The following list describes the compatibility with Angular:
3939
| `4.x` | `6.x` |
4040
| `5.x` | `7.x` |
4141
| `6.x` | `8.x` |
42+
| `7.x` | `9.x` |
4243

4344
<br>
4445

angular.json

Lines changed: 81 additions & 82 deletions
Original file line numberDiff line numberDiff line change
@@ -1,84 +1,83 @@
11
{
2-
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
3-
"version": 1,
4-
"newProjectRoot": "projects",
5-
"projects": {
6-
"angular-notifier": {
7-
"projectType": "library",
8-
"root": "projects/angular-notifier",
9-
"sourceRoot": "projects/angular-notifier/src",
10-
"architect": {
11-
"build": {
12-
"builder": "@angular-devkit/build-ng-packagr:build",
13-
"options": {
14-
"tsConfig": "projects/angular-notifier/tsconfig.lib.json",
15-
"project": "projects/angular-notifier/ng-package.json"
16-
}
17-
},
18-
"test": {
19-
"builder": "@angular-builders/jest:run",
20-
"options": {
21-
"configPath": "jest.config.json"
22-
}
23-
}
24-
}
25-
},
26-
"angular-notifier-demo": {
27-
"projectType": "application",
28-
"root": "projects/angular-notifier-demo/",
29-
"sourceRoot": "projects/angular-notifier-demo/src",
30-
"architect": {
31-
"build": {
32-
"builder": "@angular-devkit/build-angular:browser",
33-
"options": {
34-
"outputPath": "dist/angular-notifier-demo",
35-
"index": "projects/angular-notifier-demo/src/index.html",
36-
"main": "projects/angular-notifier-demo/src/main.ts",
37-
"polyfills": "projects/angular-notifier-demo/src/polyfills.ts",
38-
"tsConfig": "projects/angular-notifier-demo/tsconfig.app.json",
39-
"aot": false,
40-
"assets": [
41-
"projects/angular-notifier-demo/src/favicon.ico",
42-
"projects/angular-notifier-demo/src/assets"
43-
],
44-
"styles": [
45-
"projects/angular-notifier-demo/src/styles.scss"
46-
],
47-
"scripts": []
48-
},
49-
"configurations": {
50-
"production": {
51-
"fileReplacements": [
52-
{
53-
"replace": "projects/angular-notifier-demo/src/environments/environment.ts",
54-
"with": "projects/angular-notifier-demo/src/environments/environment.prod.ts"
55-
}
56-
],
57-
"optimization": true,
58-
"outputHashing": "all",
59-
"sourceMap": false,
60-
"extractCss": true,
61-
"namedChunks": false,
62-
"aot": true,
63-
"extractLicenses": false,
64-
"vendorChunk": false,
65-
"buildOptimizer": true
66-
}
67-
}
68-
},
69-
"serve": {
70-
"builder": "@angular-devkit/build-angular:dev-server",
71-
"options": {
72-
"browserTarget": "angular-notifier-demo:build"
73-
},
74-
"configurations": {
75-
"production": {
76-
"browserTarget": "angular-notifier-demo:build:production"
77-
}
78-
}
79-
}
80-
}
81-
}
82-
},
83-
"defaultProject": "angular-notifier"
2+
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
3+
"version": 1,
4+
"newProjectRoot": "projects",
5+
"projects": {
6+
"angular-notifier": {
7+
"projectType": "library",
8+
"root": "projects/angular-notifier",
9+
"sourceRoot": "projects/angular-notifier/src",
10+
"architect": {
11+
"build": {
12+
"builder": "@angular-devkit/build-ng-packagr:build",
13+
"options": {
14+
"tsConfig": "projects/angular-notifier/tsconfig.lib.json",
15+
"project": "projects/angular-notifier/ng-package.json"
16+
},
17+
"configurations": {
18+
"production": {
19+
"tsConfig": "projects/angular-notifier/tsconfig.lib.prod.json"
20+
}
21+
}
22+
},
23+
"test": {
24+
"builder": "@angular-builders/jest:run",
25+
"options": {
26+
"configPath": "jest.config.json"
27+
}
28+
}
29+
}
30+
},
31+
"angular-notifier-demo": {
32+
"projectType": "application",
33+
"root": "projects/angular-notifier-demo/",
34+
"sourceRoot": "projects/angular-notifier-demo/src",
35+
"architect": {
36+
"build": {
37+
"builder": "@angular-devkit/build-angular:browser",
38+
"options": {
39+
"outputPath": "dist/angular-notifier-demo",
40+
"index": "projects/angular-notifier-demo/src/index.html",
41+
"main": "projects/angular-notifier-demo/src/main.ts",
42+
"polyfills": "projects/angular-notifier-demo/src/polyfills.ts",
43+
"tsConfig": "projects/angular-notifier-demo/tsconfig.app.json",
44+
"aot": true,
45+
"assets": ["projects/angular-notifier-demo/src/favicon.ico", "projects/angular-notifier-demo/src/assets"],
46+
"styles": ["projects/angular-notifier-demo/src/styles.scss"],
47+
"scripts": []
48+
},
49+
"configurations": {
50+
"production": {
51+
"fileReplacements": [
52+
{
53+
"replace": "projects/angular-notifier-demo/src/environments/environment.ts",
54+
"with": "projects/angular-notifier-demo/src/environments/environment.prod.ts"
55+
}
56+
],
57+
"optimization": true,
58+
"outputHashing": "all",
59+
"sourceMap": false,
60+
"extractCss": true,
61+
"namedChunks": false,
62+
"extractLicenses": false,
63+
"vendorChunk": false,
64+
"buildOptimizer": true
65+
}
66+
}
67+
},
68+
"serve": {
69+
"builder": "@angular-devkit/build-angular:dev-server",
70+
"options": {
71+
"browserTarget": "angular-notifier-demo:build"
72+
},
73+
"configurations": {
74+
"production": {
75+
"browserTarget": "angular-notifier-demo:build:production"
76+
}
77+
}
78+
}
79+
}
80+
}
81+
},
82+
"defaultProject": "angular-notifier"
8483
}

0 commit comments

Comments
 (0)