Update to Angular 9 (step 2)

This commit is contained in:
Daniel J. Summers 2020-04-04 15:51:47 -05:00
parent 2e5cbff769
commit ad72e0f362
5 changed files with 1764 additions and 1035 deletions

View File

@ -22,7 +22,7 @@
"main": "src/main.ts", "main": "src/main.ts",
"polyfills": "src/polyfills.ts", "polyfills": "src/polyfills.ts",
"tsConfig": "tsconfig.app.json", "tsConfig": "tsconfig.app.json",
"aot": false, "aot": true,
"assets": [ "assets": [
"src/favicon.ico", "src/favicon.ico",
"src/assets" "src/assets"
@ -45,7 +45,6 @@
"sourceMap": false, "sourceMap": false,
"extractCss": true, "extractCss": true,
"namedChunks": false, "namedChunks": false,
"aot": true,
"extractLicenses": true, "extractLicenses": true,
"vendorChunk": false, "vendorChunk": false,
"buildOptimizer": true, "buildOptimizer": true,

View File

@ -11,27 +11,27 @@
}, },
"private": true, "private": true,
"dependencies": { "dependencies": {
"@angular/animations": "~8.2.13", "@angular/animations": "~9.1.0",
"@angular/common": "~8.2.13", "@angular/common": "~9.1.0",
"@angular/compiler": "~8.2.13", "@angular/compiler": "~9.1.0",
"@angular/core": "~8.2.13", "@angular/core": "~9.1.0",
"@angular/forms": "~8.2.13", "@angular/forms": "~9.1.0",
"@angular/platform-browser": "~8.2.13", "@angular/platform-browser": "~9.1.0",
"@angular/platform-browser-dynamic": "~8.2.13", "@angular/platform-browser-dynamic": "~9.1.0",
"@angular/router": "~8.2.13", "@angular/router": "~9.1.0",
"rxjs": "~6.4.0", "rxjs": "~6.5.5",
"tslib": "^1.10.0", "tslib": "^1.10.0",
"zone.js": "~0.9.1" "zone.js": "~0.10.2"
}, },
"devDependencies": { "devDependencies": {
"@angular-devkit/build-angular": "~0.803.18", "@angular-devkit/build-angular": "~0.901.0",
"@angular/cli": "~8.3.18", "@angular/cli": "~9.1.0",
"@angular/compiler-cli": "~8.2.13", "@angular/compiler-cli": "~9.1.0",
"@angular/language-service": "~8.2.13", "@angular/language-service": "~9.1.0",
"@types/jasmine": "~3.3.8", "@types/jasmine": "~3.3.8",
"@types/jasminewd2": "~2.0.3", "@types/jasminewd2": "~2.0.3",
"@types/node": "~8.9.4", "@types/node": "^12.11.1",
"codelyzer": "^5.0.0", "codelyzer": "^5.1.2",
"jasmine-core": "~3.4.0", "jasmine-core": "~3.4.0",
"jasmine-spec-reporter": "~4.2.1", "jasmine-spec-reporter": "~4.2.1",
"karma": "~4.1.0", "karma": "~4.1.0",
@ -42,6 +42,6 @@
"protractor": "~5.4.0", "protractor": "~5.4.0",
"ts-node": "~7.0.0", "ts-node": "~7.0.0",
"tslint": "~5.15.0", "tslint": "~5.15.0",
"typescript": "~3.5.3" "typescript": "~3.8.3"
} }
} }

View File

@ -12,7 +12,8 @@ export class TechnologyComponent implements OnInit {
@Input() tech: Technology @Input() tech: Technology
/** External links to technology products */ /** External links to technology products */
private techLinks = { get techLinks() {
return {
'ASP.NET MVC': 'https://dotnet.microsoft.com/apps/aspnet/mvc', 'ASP.NET MVC': 'https://dotnet.microsoft.com/apps/aspnet/mvc',
Azure: 'https://azure.microsoft.com/', Azure: 'https://azure.microsoft.com/',
'BlogEngine.NET': 'http://www.dotnetblogengine.net/', 'BlogEngine.NET': 'http://www.dotnetblogengine.net/',
@ -38,6 +39,7 @@ export class TechnologyComponent implements OnInit {
'Vue.js': 'https://vuejs.org/', 'Vue.js': 'https://vuejs.org/',
WordPress: 'https://wordpress.org' WordPress: 'https://wordpress.org'
} }
}
constructor() { } constructor() { }

View File

@ -9,7 +9,7 @@
"src/polyfills.ts" "src/polyfills.ts"
], ],
"include": [ "include": [
"src/**/*.ts" "src/**/*.d.ts"
], ],
"exclude": [ "exclude": [
"src/test.ts", "src/test.ts",

File diff suppressed because it is too large Load Diff