chore: update to Angular 9
This commit is contained in:
Родитель
10646e9916
Коммит
4033c284ce
|
@ -13,6 +13,7 @@
|
|||
"build": {
|
||||
"builder": "@angular-devkit/build-angular:browser",
|
||||
"options": {
|
||||
"aot": true,
|
||||
"outputPath": "dist/rpstrackerng",
|
||||
"index": "src/index.html",
|
||||
"main": "src/main.ts",
|
||||
|
@ -49,6 +50,10 @@
|
|||
"type": "initial",
|
||||
"maximumWarning": "2mb",
|
||||
"maximumError": "5mb"
|
||||
},
|
||||
{
|
||||
"type": "anyComponentStyle",
|
||||
"maximumWarning": "6kb"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
34
package.json
34
package.json
|
@ -11,30 +11,30 @@
|
|||
},
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@angular/animations": "~8.2.14",
|
||||
"@angular/common": "~8.2.14",
|
||||
"@angular/compiler": "~8.2.14",
|
||||
"@angular/core": "~8.2.14",
|
||||
"@angular/forms": "~8.2.14",
|
||||
"@angular/platform-browser": "~8.2.14",
|
||||
"@angular/platform-browser-dynamic": "~8.2.14",
|
||||
"@angular/router": "~8.2.14",
|
||||
"@angular/animations": "~9.1.13",
|
||||
"@angular/common": "~9.1.13",
|
||||
"@angular/compiler": "~9.1.13",
|
||||
"@angular/core": "~9.1.13",
|
||||
"@angular/forms": "~9.1.13",
|
||||
"@angular/platform-browser": "~9.1.13",
|
||||
"@angular/platform-browser-dynamic": "~9.1.13",
|
||||
"@angular/router": "~9.1.13",
|
||||
"@ng-bootstrap/ng-bootstrap": "^4.0.1",
|
||||
"bootstrap": "^4.2.1",
|
||||
"core-js": "^2.5.4",
|
||||
"rxjs": "~6.6.3",
|
||||
"tslib": "^1.9.0",
|
||||
"zone.js": "~0.9.1"
|
||||
"tslib": "^1.10.0",
|
||||
"zone.js": "~0.10.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@angular-devkit/build-angular": "~0.803.29",
|
||||
"@angular/cli": "~8.3.29",
|
||||
"@angular/compiler-cli": "~8.2.14",
|
||||
"@angular/language-service": "~8.2.14",
|
||||
"@types/node": "~8.9.4",
|
||||
"@angular-devkit/build-angular": "~0.901.14",
|
||||
"@angular/cli": "~9.1.14",
|
||||
"@angular/compiler-cli": "~9.1.13",
|
||||
"@angular/language-service": "~9.1.13",
|
||||
"@types/node": "^12.11.1",
|
||||
"@types/jasmine": "~2.8.8",
|
||||
"@types/jasminewd2": "~2.0.3",
|
||||
"codelyzer": "^5.0.1",
|
||||
"codelyzer": "^5.1.2",
|
||||
"jasmine-core": "~2.99.1",
|
||||
"jasmine-spec-reporter": "~4.2.1",
|
||||
"karma": "~3.1.1",
|
||||
|
@ -45,6 +45,6 @@
|
|||
"protractor": "~5.4.0",
|
||||
"ts-node": "~7.0.0",
|
||||
"tslint": "~5.11.0",
|
||||
"typescript": "~3.5.3"
|
||||
"typescript": "~3.8.3"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2,7 +2,9 @@ import { BehaviorSubject, Observable } from 'rxjs';
|
|||
import { distinctUntilChanged, pluck } from 'rxjs/operators';
|
||||
|
||||
import { State, INITIAL_STATE, StateKey } from './app-state';
|
||||
import { Injectable } from "@angular/core";
|
||||
|
||||
@Injectable()
|
||||
export class Store {
|
||||
|
||||
private subj = new BehaviorSubject<State>(INITIAL_STATE);
|
||||
|
|
|
@ -4,8 +4,11 @@
|
|||
"outDir": "../out-tsc/app",
|
||||
"types": []
|
||||
},
|
||||
"exclude": [
|
||||
"test.ts",
|
||||
"**/*.spec.ts"
|
||||
"files": [
|
||||
"main.ts",
|
||||
"polyfills.ts"
|
||||
],
|
||||
"include": [
|
||||
"src/**/*.d.ts"
|
||||
]
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче