Angular 11 compatibility update

This commit is contained in:
sercan 2020-11-12 11:08:11 +03:00
parent e5ce782c3b
commit 9be323f287
10 changed files with 2293 additions and 1882 deletions

View File

@ -57,7 +57,6 @@
"optimization": true, "optimization": true,
"outputHashing": "all", "outputHashing": "all",
"sourceMap": false, "sourceMap": false,
"extractCss": true,
"namedChunks": false, "namedChunks": false,
"aot": true, "aot": true,
"extractLicenses": true, "extractLicenses": true,
@ -82,8 +81,7 @@
"maximumWarning": "6kb" "maximumWarning": "6kb"
} }
], ],
"sourceMap": true, "sourceMap": true
"extractCss": true
}, },
"hmr": { "hmr": {
"budgets": [ "budgets": [

View File

@ -1,5 +1,5 @@
{ {
"extends": "../tsconfig.base.json", "extends": "../tsconfig.json",
"compilerOptions": { "compilerOptions": {
"outDir": "../out-tsc/app", "outDir": "../out-tsc/app",
"module": "commonjs", "module": "commonjs",

View File

@ -1,5 +1,5 @@
{ {
"extends": "../tsconfig.base.json", "extends": "../tsconfig.json",
"compilerOptions": { "compilerOptions": {
"outDir": "../out-tsc/e2e", "outDir": "../out-tsc/e2e",
"module": "commonjs", "module": "commonjs",

3924
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,84 +1,84 @@
{ {
"name": "fuse", "name": "fuse",
"version": "10.0.0", "version": "10.0.0",
"license": "https://themeforest.net/licenses/terms/regular", "license": "https://themeforest.net/licenses/terms/regular",
"scripts": { "scripts": {
"ng": "ng", "ng": "ng",
"start": "ng serve --open", "start": "ng serve --open",
"start:mem": "node --max_old_space_size=6144 ./node_modules/@angular/cli/bin/ng serve --open", "start:mem": "node --max_old_space_size=6144 ./node_modules/@angular/cli/bin/ng serve --open",
"build": "ng build", "build": "ng build",
"build:prod": "ng build --prod", "build:prod": "ng build --prod",
"build:prod:mem": "node --max_old_space_size=6144 ./node_modules/@angular/cli/bin/ng build --prod", "build:prod:mem": "node --max_old_space_size=6144 ./node_modules/@angular/cli/bin/ng build --prod",
"test": "ng test", "test": "ng test",
"lint": "ng lint", "lint": "ng lint",
"e2e": "ng e2e", "e2e": "ng e2e",
"bundle-report": "webpack-bundle-analyzer dist/stats.json" "bundle-report": "webpack-bundle-analyzer dist/stats.json"
}, },
"private": true, "private": true,
"dependencies": { "dependencies": {
"@agm/core": "1.1.0", "@agm/core": "1.1.0",
"@angular/animations": "10.0.5", "@angular/animations": "11.0.0",
"@angular/cdk": "10.1.0", "@angular/cdk": "10.1.0",
"@angular/common": "10.0.5", "@angular/common": "11.0.0",
"@angular/compiler": "10.0.5", "@angular/compiler": "11.0.0",
"@angular/core": "10.0.5", "@angular/core": "11.0.0",
"@angular/flex-layout": "10.0.0-beta.32", "@angular/flex-layout": "10.0.0-beta.32",
"@angular/forms": "10.0.5", "@angular/forms": "11.0.0",
"@angular/material": "10.1.0", "@angular/material": "10.1.0",
"@angular/material-moment-adapter": "10.1.0", "@angular/material-moment-adapter": "10.1.0",
"@angular/platform-browser": "10.0.5", "@angular/platform-browser": "11.0.0",
"@angular/platform-browser-dynamic": "10.0.5", "@angular/platform-browser-dynamic": "11.0.0",
"@angular/router": "10.0.5", "@angular/router": "11.0.0",
"@ngrx/effects": "8.6.0", "@ngrx/effects": "8.6.0",
"@ngrx/router-store": "8.6.0", "@ngrx/router-store": "8.6.0",
"@ngrx/store": "8.6.0", "@ngrx/store": "8.6.0",
"@ngrx/store-devtools": "8.6.0", "@ngrx/store-devtools": "8.6.0",
"@ngx-translate/core": "13.0.0", "@ngx-translate/core": "13.0.0",
"@swimlane/dragula": "3.8.0", "@swimlane/dragula": "3.8.0",
"@swimlane/ngx-charts": "14.0.0", "@swimlane/ngx-charts": "14.0.0",
"@swimlane/ngx-datatable": "17.1.0", "@swimlane/ngx-datatable": "17.1.0",
"@swimlane/ngx-dnd": "8.1.2", "@swimlane/ngx-dnd": "8.1.2",
"@types/prismjs": "1.16.1", "@types/prismjs": "1.16.1",
"angular-calendar": "0.28.16", "angular-calendar": "0.28.16",
"angular-in-memory-web-api": "0.11.0", "angular-in-memory-web-api": "0.11.0",
"chart.js": "2.9.3", "chart.js": "2.9.3",
"classlist.js": "1.1.20150312", "classlist.js": "1.1.20150312",
"d3": "5.16.0", "d3": "5.16.0",
"date-fns": "2.15.0", "date-fns": "2.15.0",
"lodash": "4.17.19", "lodash": "4.17.19",
"moment": "2.27.0", "moment": "2.27.0",
"ng2-charts": "2.3.2", "ng2-charts": "2.3.2",
"ngrx-store-freeze": "0.2.4", "ngrx-store-freeze": "0.2.4",
"ngx-color-picker": "9.1.0", "ngx-color-picker": "9.1.0",
"ngx-cookie-service": "3.1.2", "ngx-cookie-service": "3.1.2",
"perfect-scrollbar": "1.5.0", "perfect-scrollbar": "1.5.0",
"prismjs": "1.20.0", "prismjs": "1.20.0",
"rxjs": "6.6.0", "rxjs": "6.6.0",
"tslib": "2.0.0", "tslib": "2.0.0",
"web-animations-js": "2.3.2", "web-animations-js": "2.3.2",
"zone.js": "0.10.3" "zone.js": "0.10.3"
}, },
"devDependencies": { "devDependencies": {
"@angular/cli": "10.0.4", "@angular/cli": "11.0.0",
"@angular/compiler-cli": "10.0.5", "@angular/compiler-cli": "11.0.0",
"@angular/language-service": "10.0.5", "@angular/language-service": "11.0.0",
"@angular-devkit/build-angular": "0.1000.4", "@angular-devkit/build-angular": "0.1100.0",
"@types/jasmine": "3.5.2", "@types/jasmine": "3.5.2",
"@types/jasminewd2": "2.0.8", "@types/jasminewd2": "2.0.8",
"@types/lodash": "4.14.149", "@types/lodash": "4.14.149",
"@types/node": "12.12.6", "@types/node": "12.12.6",
"codelyzer": "6.0.0", "codelyzer": "6.0.0",
"jasmine-core": "3.5.0", "jasmine-core": "3.5.0",
"jasmine-spec-reporter": "5.0.2", "jasmine-spec-reporter": "5.0.2",
"karma": "5.1.0", "karma": "5.1.0",
"karma-chrome-launcher": "3.1.0", "karma-chrome-launcher": "3.1.0",
"karma-coverage-istanbul-reporter": "3.0.3", "karma-coverage-istanbul-reporter": "3.0.3",
"karma-jasmine": "3.3.1", "karma-jasmine": "3.3.1",
"karma-jasmine-html-reporter": "1.5.4", "karma-jasmine-html-reporter": "1.5.4",
"protractor": "7.0.0", "protractor": "7.0.0",
"ts-node": "8.3.0", "ts-node": "8.3.0",
"tslint": "6.1.2", "tslint": "6.1.2",
"typescript": "3.9.7", "typescript": "4.0.5",
"webpack-bundle-analyzer": "3.8.0" "webpack-bundle-analyzer": "3.8.0"
} }
} }

View File

@ -51,7 +51,7 @@ const appRoutes: Routes = [
BrowserModule, BrowserModule,
BrowserAnimationsModule, BrowserAnimationsModule,
HttpClientModule, HttpClientModule,
RouterModule.forRoot(appRoutes), RouterModule.forRoot(appRoutes, { relativeLinkResolution: 'legacy' }),
TranslateModule.forRoot(), TranslateModule.forRoot(),
InMemoryWebApiModule.forRoot(FakeDbService, { InMemoryWebApiModule.forRoot(FakeDbService, {

View File

@ -1,5 +1,5 @@
{ {
"extends": "./tsconfig.base.json", "extends": "./tsconfig.json",
"compilerOptions": { "compilerOptions": {
"outDir": "./out-tsc/app", "outDir": "./out-tsc/app",
"types": [ "types": [

View File

@ -1,31 +0,0 @@
{
"compileOnSave": false,
"compilerOptions": {
"baseUrl": "./src",
"outDir": "./dist/out-tsc",
"sourceMap": true,
"declaration": false,
"downlevelIteration": true,
"experimentalDecorators": true,
"module": "es2020",
"moduleResolution": "node",
"importHelpers": true,
"target": "es2015",
"typeRoots": [
"node_modules/@types"
],
"lib": [
"es2018",
"dom"
],
"paths": {
"@fuse": [
"@fuse/"
]
}
},
"angularCompilerOptions": {
"fullTemplateTypeCheck": false,
"strictInjectionParameters": false
}
}

View File

@ -1,17 +1,31 @@
/*
This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScripts language server to improve development experience.
It is not intended to be used to perform a compilation.
To learn more about this file see: https://angular.io/config/solution-tsconfig.
*/
{ {
"files": [], "compileOnSave": false,
"references": [ "compilerOptions": {
{ "baseUrl": "./src",
"path": "./tsconfig.app.json" "outDir": "./dist/out-tsc",
}, "sourceMap": true,
{ "declaration": false,
"path": "./tsconfig.spec.json" "downlevelIteration": true,
"experimentalDecorators": true,
"module": "es2020",
"moduleResolution": "node",
"importHelpers": true,
"target": "es2015",
"typeRoots": [
"node_modules/@types"
],
"lib": [
"es2018",
"dom"
],
"paths": {
"@fuse": [
"@fuse/"
]
} }
] },
"angularCompilerOptions": {
"fullTemplateTypeCheck": false,
"strictInjectionParameters": false
}
} }

View File

@ -1,5 +1,5 @@
{ {
"extends": "./tsconfig.base.json", "extends": "./tsconfig.json",
"compilerOptions": { "compilerOptions": {
"outDir": "./out-tsc/spec", "outDir": "./out-tsc/spec",
"types": [ "types": [