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,31 +12,33 @@ 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() {
'ASP.NET MVC': 'https://dotnet.microsoft.com/apps/aspnet/mvc', return {
Azure: 'https://azure.microsoft.com/', 'ASP.NET MVC': 'https://dotnet.microsoft.com/apps/aspnet/mvc',
'BlogEngine.NET': 'http://www.dotnetblogengine.net/', Azure: 'https://azure.microsoft.com/',
'Database Abstraction': 'https://github.com/danieljsummers/DatabaseAbstraction', 'BlogEngine.NET': 'http://www.dotnetblogengine.net/',
'Digital Ocean': 'https://www.digitalocean.com/', 'Database Abstraction': 'https://github.com/danieljsummers/DatabaseAbstraction',
Giraffe: 'https://github.com/giraffe-fsharp/Giraffe', 'Digital Ocean': 'https://www.digitalocean.com/',
GitHub: 'https://github.com/', Giraffe: 'https://github.com/giraffe-fsharp/Giraffe',
'GitHub Pages': 'https://pages.github.com/', GitHub: 'https://github.com/',
Hexo: 'https://hexo.io/', 'GitHub Pages': 'https://pages.github.com/',
Hugo: 'https://gohugo.io/', Hexo: 'https://hexo.io/',
Jekyll: 'https://jekyllrb.com/', Hugo: 'https://gohugo.io/',
MongoDB: 'https://www.mongodb.com/', Jekyll: 'https://jekyllrb.com/',
MySQL: 'https://www.mysql.com/', MongoDB: 'https://www.mongodb.com/',
myWebLog: 'https://github.com/bit-badger/myWebLog', MySQL: 'https://www.mysql.com/',
nginx: 'http://nginx.org/', myWebLog: 'https://github.com/bit-badger/myWebLog',
Orchard: 'https://orchardproject.net/', nginx: 'http://nginx.org/',
PHP: 'https://www.php.net/', Orchard: 'https://orchardproject.net/',
PostgreSQL: 'https://www.postgresql.org/', PHP: 'https://www.php.net/',
'Rackspace Cloud': 'https://www.rackspace.com/cloud', PostgreSQL: 'https://www.postgresql.org/',
RavenDB: 'https://ravendb.net/', 'Rackspace Cloud': 'https://www.rackspace.com/cloud',
RethinkDB: 'https://rethinkdb.com/', RavenDB: 'https://ravendb.net/',
'SQL Server': 'https://www.microsoft.com/en-us/sql-server/', RethinkDB: 'https://rethinkdb.com/',
'Vue.js': 'https://vuejs.org/', 'SQL Server': 'https://www.microsoft.com/en-us/sql-server/',
WordPress: 'https://wordpress.org' 'Vue.js': 'https://vuejs.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