Skip to content

Commit b102598

Browse files
committed
build(Angular Bump v9): Bump version and fix issues caused by update
1 parent 11d83f3 commit b102598

File tree

5 files changed

+1560
-716
lines changed

5 files changed

+1560
-716
lines changed

angular.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
"build": {
1212
"builder": "@angular-devkit/build-angular:browser",
1313
"options": {
14+
"aot": true,
1415
"outputPath": "dist",
1516
"index": "src/index.html",
1617
"main": "src/main.ts",
@@ -27,6 +28,12 @@
2728
},
2829
"configurations": {
2930
"production": {
31+
"budgets": [
32+
{
33+
"type": "anyComponentStyle",
34+
"maximumWarning": "6kb"
35+
}
36+
],
3037
"optimization": true,
3138
"outputHashing": "all",
3239
"sourceMap": false,
@@ -123,7 +130,7 @@
123130
"schematics": {
124131
"@schematics/angular:component": {
125132
"prefix": "app",
126-
"styleext": "css"
133+
"style": "css"
127134
},
128135
"@schematics/angular:directive": {
129136
"prefix": "app"

package.json

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -15,35 +15,35 @@
1515
},
1616
"private": true,
1717
"dependencies": {
18-
"@angular/animations": "^8.2.14",
18+
"@angular/animations": "^9.1.12",
1919
"@angular/cdk": "^8.2.3",
20-
"@angular/common": "^8.2.14",
21-
"@angular/compiler": "^8.2.14",
22-
"@angular/core": "^8.2.14",
23-
"@angular/forms": "^8.2.14",
20+
"@angular/common": "^9.1.12",
21+
"@angular/compiler": "^9.1.12",
22+
"@angular/core": "^9.1.12",
23+
"@angular/forms": "^9.1.12",
2424
"@angular/material": "^8.2.3",
2525
"@angular/material-moment-adapter": "^8.2.3",
26-
"@angular/platform-browser": "^8.2.14",
27-
"@angular/platform-browser-dynamic": "^8.2.14",
28-
"@angular/router": "^8.2.14",
26+
"@angular/platform-browser": "^9.1.12",
27+
"@angular/platform-browser-dynamic": "^9.1.12",
28+
"@angular/router": "^9.1.12",
2929
"bowser": "^2.9.0",
3030
"core-js": "^2.4.1",
3131
"hammerjs": "^2.0.8",
3232
"moment": "^2.27.0",
3333
"rxjs": "^6.6.0",
3434
"rxjs-compat": "^6.0.0-rc.0",
35-
"tslib": "^1.9.0",
36-
"zone.js": "~0.9.1"
35+
"tslib": "^1.10.0",
36+
"zone.js": "~0.10.2"
3737
},
3838
"devDependencies": {
39-
"@angular-devkit/build-angular": "~0.803.29",
40-
"@angular/cli": "^8.3.29",
41-
"@angular/compiler-cli": "8.2.14",
42-
"@angular/language-service": "^8.2.14",
39+
"@angular-devkit/build-angular": "~0.901.12",
40+
"@angular/cli": "^9.1.12",
41+
"@angular/compiler-cli": "9.1.12",
42+
"@angular/language-service": "^9.1.12",
4343
"@types/jasmine": "~2.8.6",
4444
"@types/jasminewd2": "~2.0.2",
45-
"@types/node": "~9.4.7",
46-
"codelyzer": "^5.0.1",
45+
"@types/node": "^12.11.1",
46+
"codelyzer": "^5.1.2",
4747
"jasmine-core": "~3.1.0",
4848
"jasmine-spec-reporter": "~4.2.1",
4949
"karma": "~2.0.0",
@@ -55,6 +55,6 @@
5555
"protractor": "~5.3.0",
5656
"ts-node": "~5.0.1",
5757
"tslint": "~5.9.1",
58-
"typescript": "3.5.3"
58+
"typescript": "3.8.3"
5959
}
6060
}

src/app/shared/shared.module.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ import { ProjectDetailsModule } from '../+portfolio-page/project-details/project
2929
]
3030
})
3131
export class SharedModule {
32-
public static forRoot(): ModuleWithProviders {
32+
public static forRoot(): ModuleWithProviders<SharedModule> {
3333
return {
3434
ngModule: SharedModule,
3535
providers: []

src/tsconfig.app.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,11 @@
55
"baseUrl": "./",
66
"types": []
77
},
8-
"exclude": [
9-
"test.ts",
10-
"**/*.spec.ts"
8+
"files": [
9+
"main.ts",
10+
"polyfills.ts"
11+
],
12+
"include": [
13+
"src/**/*.d.ts"
1114
]
1215
}

0 commit comments

Comments
 (0)