Update to Angular 9
This commit is contained in:
parent
4bf307990c
commit
4bf0db6b41
@ -27,6 +27,12 @@
|
||||
},
|
||||
"configurations": {
|
||||
"production": {
|
||||
"budgets": [
|
||||
{
|
||||
"type": "anyComponentStyle",
|
||||
"maximumWarning": "6kb"
|
||||
}
|
||||
],
|
||||
"optimization": true,
|
||||
"outputHashing": "all",
|
||||
"sourceMap": false,
|
||||
@ -119,7 +125,7 @@
|
||||
"schematics": {
|
||||
"@schematics/angular:component": {
|
||||
"prefix": "app",
|
||||
"styleext": "scss"
|
||||
"style": "scss"
|
||||
},
|
||||
"@schematics/angular:directive": {
|
||||
"prefix": "app"
|
||||
|
7372
src/Web/WebSPA/Client/package-lock.json
generated
7372
src/Web/WebSPA/Client/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -27,15 +27,15 @@
|
||||
"lint:ts": "tslint -c tslint.json Client/**/*.ts"
|
||||
},
|
||||
"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/platform-server": "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/platform-server": "9.1.13",
|
||||
"@angular/router": "9.1.13",
|
||||
"@microsoft/signalr": "3.0.1",
|
||||
"@ng-bootstrap/ng-bootstrap": "5.2.1",
|
||||
"bootstrap": "4.4.1",
|
||||
@ -47,26 +47,27 @@
|
||||
"ngx-toastr": "10.1.0",
|
||||
"normalize.css": "8.0.0",
|
||||
"@popperjs/core": "2.0.0",
|
||||
"rxjs": "~6.4.0",
|
||||
"rxjs": "~6.6.7",
|
||||
"rxjs-compat": "~6.4.0",
|
||||
"tslib": "^1.10.0",
|
||||
"webpack-dev-server": "3.1.14",
|
||||
"zone.js": "~0.9.1",
|
||||
"zone.js": "~0.10.2",
|
||||
"acorn-dynamic-import": "4.0.0",
|
||||
"acorn": "^6.0.0",
|
||||
"popper.js": "1.16.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@angular-devkit/build-angular": "0.803.23",
|
||||
"@angular/cli": "8.3.23",
|
||||
"@angular/compiler-cli": "8.2.14",
|
||||
"@angular/language-service": "8.2.14",
|
||||
"@angular-devkit/build-angular": "~0.901.15",
|
||||
"@angular/cli": "9.1.15",
|
||||
"@angular/compiler-cli": "9.1.13",
|
||||
"@angular/language-service": "9.1.13",
|
||||
"@types/core-js": "2.5.0",
|
||||
"@types/hammerjs": "2.0.35",
|
||||
"@types/jasmine": "^3.3.12",
|
||||
"@types/node": "^11.11.4",
|
||||
"@types/node": "^12.11.1",
|
||||
"@types/protractor": "4.0.0",
|
||||
"@types/selenium-webdriver": "3.0.10",
|
||||
"codelyzer": "^5.0.0-beta.1",
|
||||
"codelyzer": "^5.1.2",
|
||||
"eslint": "4.18.2",
|
||||
"handlebars": "^4.7.2",
|
||||
"jasmine-core": "^3.3.0",
|
||||
@ -86,7 +87,7 @@
|
||||
"ts-node": "~7.0.1",
|
||||
"tslint": "^5.14.0",
|
||||
"typedoc": "^0.15.0",
|
||||
"typescript": "3.4.5",
|
||||
"typescript": "3.8.3",
|
||||
"url-loader": "1.1.1",
|
||||
"webpack": "^4.29.6"
|
||||
}
|
||||
|
@ -14,7 +14,7 @@ import { Header } from '../shared/components/header/header';
|
||||
exports: [BasketStatusComponent]
|
||||
})
|
||||
export class BasketModule {
|
||||
static forRoot(): ModuleWithProviders {
|
||||
static forRoot(): ModuleWithProviders<BasketModule> {
|
||||
return {
|
||||
ngModule: BasketModule,
|
||||
providers: [
|
||||
|
@ -57,7 +57,7 @@ import { UppercasePipe } from './pipes/uppercase.pipe';
|
||||
]
|
||||
})
|
||||
export class SharedModule {
|
||||
static forRoot(): ModuleWithProviders {
|
||||
static forRoot(): ModuleWithProviders<SharedModule> {
|
||||
return {
|
||||
ngModule: SharedModule,
|
||||
providers: [
|
||||
|
@ -2,12 +2,14 @@
|
||||
"extends": "../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "../out-tsc/app",
|
||||
"module": "es2015",
|
||||
"baseUrl": "",
|
||||
"types": []
|
||||
},
|
||||
"exclude": [
|
||||
"test.ts",
|
||||
"**/*.spec.ts"
|
||||
"files": [
|
||||
"main.ts",
|
||||
"polyfills.ts"
|
||||
],
|
||||
"include": [
|
||||
"src/**/*.d.ts"
|
||||
]
|
||||
}
|
||||
|
@ -2,7 +2,6 @@
|
||||
"extends": "../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "../out-tsc/spec",
|
||||
"module": "commonjs",
|
||||
"target": "es5",
|
||||
"baseUrl": "",
|
||||
"types": [
|
||||
|
@ -16,7 +16,7 @@
|
||||
"es2016",
|
||||
"dom"
|
||||
],
|
||||
"module": "es2015"
|
||||
"module": "esnext"
|
||||
},
|
||||
"angularCompilerOptions": {
|
||||
"enableIvy": false
|
||||
|
Loading…
x
Reference in New Issue
Block a user