Commit d899dc83 authored by Igor Kulikov's avatar Igor Kulikov

Upgrade to Angular 9

parent 309f549a
...@@ -17,6 +17,7 @@ ...@@ -17,6 +17,7 @@
"build": { "build": {
"builder": "@angular-devkit/build-angular:browser", "builder": "@angular-devkit/build-angular:browser",
"options": { "options": {
"aot": true,
"outputPath": "dist/ngx-flowchart-demo", "outputPath": "dist/ngx-flowchart-demo",
"index": "src/index.html", "index": "src/index.html",
"main": "src/main.ts", "main": "src/main.ts",
...@@ -55,6 +56,10 @@ ...@@ -55,6 +56,10 @@
"type": "initial", "type": "initial",
"maximumWarning": "2mb", "maximumWarning": "2mb",
"maximumError": "5mb" "maximumError": "5mb"
},
{
"type": "anyComponentStyle",
"maximumWarning": "6kb"
} }
] ]
} }
...@@ -136,7 +141,8 @@ ...@@ -136,7 +141,8 @@
"configurations": { "configurations": {
"production": { "production": {
"project": "projects/ngx-flowchart/ng-package.prod.json" "project": "projects/ngx-flowchart/ng-package.prod.json"
} , "tsConfig": "projects/ngx-flowchart/tsconfig.lib.prod.json"
}
} }
}, },
"test": { "test": {
......
This diff is collapsed.
...@@ -11,35 +11,31 @@ ...@@ -11,35 +11,31 @@
}, },
"private": true, "private": true,
"peerDependencies": { "peerDependencies": {
"@angular/common": "^8.0.3", "jquery": "^3.4.1"
"@angular/core": "^8.0.3",
"jquery": "^3.4.1",
"typescript": "^3.1"
}, },
"devDependencies": { "devDependencies": {
"@angular/common": "^8.0.3", "@angular/common": "^9.0.0",
"@angular/core": "^8.0.3", "@angular/core": "^9.0.0",
"jquery": "^3.4.1", "jquery": "^3.4.1",
"@angular/animations": "^8.0.3", "@angular/animations": "^9.0.0",
"@angular/cdk": "^8.0.3", "@angular/cdk": "^8.0.3",
"@angular/compiler": "~8.2.11", "@angular/compiler": "~9.0.0",
"@angular/forms": "~8.2.11", "@angular/forms": "~9.0.0",
"@angular/platform-browser": "~8.2.11", "@angular/platform-browser": "~9.0.0",
"@angular/platform-browser-dynamic": "~8.2.11", "@angular/platform-browser-dynamic": "~9.0.0",
"@angular/router": "~8.2.11", "@angular/router": "~9.0.0",
"rxjs": "~6.5.2", "rxjs": "~6.5.2",
"tslib": "^1.10.0", "zone.js": "~0.10.2",
"zone.js": "~0.9.1", "@angular-devkit/build-angular": "~0.900.1",
"@angular-devkit/build-angular": "^0.803.25", "@angular-devkit/build-ng-packagr": "~0.900.1",
"@angular-devkit/build-ng-packagr": "~0.803.25", "@angular/cli": "~9.0.1",
"@angular/cli": "~8.3.25", "@angular/compiler-cli": "~9.0.0",
"@angular/compiler-cli": "~8.2.11", "@angular/language-service": "~9.0.0",
"@angular/language-service": "~8.2.11", "@types/node": "^12.11.1",
"@types/node": "~10.14.15",
"@types/jasmine": "~3.3.8", "@types/jasmine": "~3.3.8",
"@types/jasminewd2": "~2.0.3", "@types/jasminewd2": "~2.0.3",
"@types/jquery": "^3.3.31", "@types/jquery": "^3.3.31",
"codelyzer": "~5.1.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",
...@@ -47,11 +43,13 @@ ...@@ -47,11 +43,13 @@
"karma-coverage-istanbul-reporter": "~2.0.1", "karma-coverage-istanbul-reporter": "~2.0.1",
"karma-jasmine": "~2.0.1", "karma-jasmine": "~2.0.1",
"karma-jasmine-html-reporter": "^1.4.0", "karma-jasmine-html-reporter": "^1.4.0",
"ng-packagr": "^5.7.1", "ng-packagr": "^9.0.0",
"protractor": "~5.4.0", "protractor": "~5.4.0",
"ts-node": "~8.3.0", "ts-node": "~8.3.0",
"tsickle": "^0.35.0",
"tslint": "~5.18.0", "tslint": "~5.18.0",
"typescript": "~3.5.3" "typescript": "~3.7.5"
},
"dependencies": {
"tslib": "^1.10.0"
} }
} }
...@@ -198,6 +198,7 @@ export class FcNodeContainerComponent implements OnInit, AfterViewInit, OnChange ...@@ -198,6 +198,7 @@ export class FcNodeContainerComponent implements OnInit, AfterViewInit, OnChange
} }
@Directive()
export abstract class FcNodeComponent implements OnInit { export abstract class FcNodeComponent implements OnInit {
@Input() @Input()
......
...@@ -14,7 +14,6 @@ ...@@ -14,7 +14,6 @@
] ]
}, },
"angularCompilerOptions": { "angularCompilerOptions": {
"annotateForClosureCompiler": true,
"skipTemplateCodegen": true, "skipTemplateCodegen": true,
"strictMetadataEmit": true, "strictMetadataEmit": true,
"fullTemplateTypeCheck": true, "fullTemplateTypeCheck": true,
......
{
"extends": "./tsconfig.lib.json",
"angularCompilerOptions": {
"enableIvy": false
}
}
\ No newline at end of file
...@@ -4,11 +4,11 @@ ...@@ -4,11 +4,11 @@
"outDir": "./out-tsc/app", "outDir": "./out-tsc/app",
"types": ["jquery"] "types": ["jquery"]
}, },
"include": [ "files": [
"src/**/*.ts" "src/main.ts",
"src/polyfills.ts"
], ],
"exclude": [ "include": [
"src/test.ts", "src/**/*.d.ts"
"src/**/*.spec.ts"
] ]
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment