Update to Angular 9

This commit is contained in:
Cameron Cordes
2020-03-06 16:16:28 -05:00
parent 7b96c98e69
commit 3b2e027f13
5 changed files with 2590 additions and 1262 deletions

View File

@@ -13,6 +13,7 @@
"build": { "build": {
"builder": "@angular-devkit/build-angular:browser", "builder": "@angular-devkit/build-angular:browser",
"options": { "options": {
"aot": true,
"outputPath": "dist/Homepage", "outputPath": "dist/Homepage",
"index": "src/index.html", "index": "src/index.html",
"main": "src/main.ts", "main": "src/main.ts",
@@ -29,6 +30,12 @@
}, },
"configurations": { "configurations": {
"production": { "production": {
"budgets": [
{
"type": "anyComponentStyle",
"maximumWarning": "6kb"
}
],
"fileReplacements": [ "fileReplacements": [
{ {
"replace": "src/environments/environment.ts", "replace": "src/environments/environment.ts",

3798
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -11,32 +11,32 @@
}, },
"private": true, "private": true,
"dependencies": { "dependencies": {
"@angular/animations": "^8.2.14", "@angular/animations": "^9.0.5",
"@angular/cdk": "^7.3.2", "@angular/cdk": "^7.3.2",
"@angular/cli": "^8.3.25", "@angular/cli": "^9.0.5",
"@angular/common": "^8.2.14", "@angular/common": "^9.0.5",
"@angular/compiler": "^8.2.14", "@angular/compiler": "^9.0.5",
"@angular/compiler-cli": "^8.2.14", "@angular/compiler-cli": "^9.0.5",
"@angular/core": "^8.2.14", "@angular/core": "^9.0.5",
"@angular/forms": "^8.2.14", "@angular/forms": "^9.0.5",
"@angular/material": "^7.3.2", "@angular/material": "^7.3.2",
"@angular/platform-browser": "^8.2.14", "@angular/platform-browser": "^9.0.5",
"@angular/platform-browser-dynamic": "^8.2.14", "@angular/platform-browser-dynamic": "^9.0.5",
"@angular/router": "^8.2.14", "@angular/router": "^9.0.5",
"angulartics2": "^8.1.0", "angulartics2": "^8.1.0",
"core-js": "^2.5.4", "core-js": "^2.5.4",
"json-schema-traverse": "^0.4.1", "json-schema-traverse": "^0.4.1",
"rxjs": "~6.4.0", "rxjs": "~6.5.4",
"tslib": "^1.9.0", "tslib": "^1.10.0",
"web-animations-js": "^2.3.1", "web-animations-js": "^2.3.2",
"zone.js": "~0.9.1" "zone.js": "~0.10.2"
}, },
"devDependencies": { "devDependencies": {
"@angular-devkit/build-angular": "^0.803.25", "@angular-devkit/build-angular": "~0.900.5",
"@angular/language-service": "^8.2.14", "@angular/language-service": "^9.0.5",
"@types/jasmine": "~2.8.8", "@types/jasmine": "~2.8.8",
"@types/jasminewd2": "~2.0.3", "@types/jasminewd2": "~2.0.3",
"@types/node": "~8.9.4", "@types/node": "^12.11.1",
"jasmine-core": "~2.99.1", "jasmine-core": "~2.99.1",
"jasmine-spec-reporter": "~4.2.1", "jasmine-spec-reporter": "~4.2.1",
"karma": "~3.0.0", "karma": "~3.0.0",
@@ -47,6 +47,6 @@
"protractor": "~5.4.0", "protractor": "~5.4.0",
"ts-node": "~7.0.0", "ts-node": "~7.0.0",
"tslint": "~5.11.0", "tslint": "~5.11.0",
"typescript": "^3.5.3" "typescript": "^3.7.5"
} }
} }

View File

@@ -4,8 +4,11 @@
"outDir": "../out-tsc/app", "outDir": "../out-tsc/app",
"types": [] "types": []
}, },
"exclude": [ "files": [
"test.ts", "main.ts",
"**/*.spec.ts" "polyfills.ts"
],
"include": [
"src/**/*.d.ts"
] ]
} }

View File

@@ -6,7 +6,7 @@
"outDir": "./dist/out-tsc", "outDir": "./dist/out-tsc",
"sourceMap": true, "sourceMap": true,
"declaration": false, "declaration": false,
"module": "es2015", "module": "esnext",
"moduleResolution": "node", "moduleResolution": "node",
"emitDecoratorMetadata": true, "emitDecoratorMetadata": true,
"experimentalDecorators": true, "experimentalDecorators": true,