Skip to content

Commit

Permalink
ng9
Browse files Browse the repository at this point in the history
  • Loading branch information
Hypercubed committed Jan 6, 2020
1 parent b4b4546 commit aea375c
Show file tree
Hide file tree
Showing 9 changed files with 1,141 additions and 866 deletions.
14 changes: 11 additions & 3 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"aot": false,
"outputPath": "dist/ngxGraph",
"index": "src/index.html",
"main": "src/main.ts",
Expand All @@ -24,6 +25,12 @@
},
"configurations": {
"production": {
"budgets": [
{
"type": "anyComponentStyle",
"maximumWarning": "6kb"
}
],
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
Expand All @@ -35,10 +42,10 @@
"sourceMap": false,
"extractCss": true,
"namedChunks": false,
"aot": true,
"aot": false,
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true
"buildOptimizer": false
}
}
},
Expand Down Expand Up @@ -120,7 +127,8 @@
"configurations": {
"production": {
"project": "projects/swimlane/ngx-graph/ng-package.prod.json"
}
, "tsConfig": "projects/swimlane/ngx-graph/tsconfig.lib.prod.json"
}
}
},
"test": {
Expand Down
1,927 changes: 1,095 additions & 832 deletions package-lock.json

Large diffs are not rendered by default.

42 changes: 21 additions & 21 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,19 @@
},
"license": "MIT",
"dependencies": {
"@angular/animations": "^8.2.14",
"@angular/common": "^8.2.14",
"@angular/compiler": "^8.2.14",
"@angular/core": "^8.2.14",
"@angular/elements": "^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.0.0-rc.7",
"@angular/common": "^9.0.0-rc.7",
"@angular/compiler": "^9.0.0-rc.7",
"@angular/core": "^9.0.0-rc.7",
"@angular/elements": "^9.0.0-rc.7",
"@angular/forms": "^9.0.0-rc.7",
"@angular/platform-browser": "^9.0.0-rc.7",
"@angular/platform-browser-dynamic": "^9.0.0-rc.7",
"@angular/router": "^9.0.0-rc.7",
"@ngx-loading-bar/core": "^4.2.0",
"@ngx-loading-bar/http-client": "^4.2.0",
"@stackblitz/sdk": "^1.2.0",
"@swimlane/docspa-core": "^4.0.0",
"@swimlane/docspa-core": "^4.2.0",
"@swimlane/docspa-remark-preset": "^2.0.1",
"@swimlane/docspa-stackblitz": "^4.0.0",
"@swimlane/ngx-charts": "^12.0.1",
Expand All @@ -59,27 +59,28 @@
"rxjs": "^6.5.4",
"smoothscroll-polyfill": "^0.4.3",
"transformation-matrix": "^1.15.3",
"tslib": "^1.10.0",
"url-resolve": "^1.0.0",
"vfile": "^3.0.0",
"vfile-reporter": "^5.1.1",
"webcola": "^3.3.8",
"zone.js": "~0.9.1"
"zone.js": "~0.10.2"
},
"devDependencies": {
"@angular-devkit/build-angular": "^0.803.21",
"@angular-devkit/build-ng-packagr": "^0.803.21",
"@angular/cli": "^8.3.21",
"@angular/compiler-cli": "^8.2.14",
"@angular/language-service": "^8.2.14",
"@angular-devkit/build-angular": "~0.900.0-rc.7",
"@angular-devkit/build-ng-packagr": "~0.900.0-rc.7",
"@angular/cli": "^9.0.0-rc.7",
"@angular/compiler-cli": "^9.0.0-rc.7",
"@angular/language-service": "^9.0.0-rc.7",
"@swimlane/prettier-config-swimlane": "^2.0.0",
"@types/jasmine": "~2.8.6",
"@types/jasminewd2": "~2.0.3",
"@types/mdast": "^3.0.3",
"@types/node": "^13.1.4",
"@types/node": "^12.11.1",
"@types/unist": "^2.0.2",
"@types/vfile": "^3.0.2",
"angular-cli-ghpages": "^0.5.3",
"codelyzer": "~5.0.1",
"codelyzer": "^5.1.2",
"cross-env": "^6.0.3",
"jasmine-core": "~2.99.1",
"jasmine-spec-reporter": "~4.2.1",
Expand All @@ -88,14 +89,13 @@
"karma-coverage-istanbul-reporter": "~2.0.0",
"karma-jasmine": "~1.1.1",
"karma-jasmine-html-reporter": "^0.2.2",
"ng-packagr": "^5.7.1",
"ng-packagr": "^9.0.0-rc.3",
"prettier": "^1.19.1",
"protractor": "^5.4.0",
"ts-node": "~5.0.1",
"tslib": "^1.9.0",
"tslint": "~5.11.0",
"tslint-config-prettier": "^1.17.0",
"tslint-config-swimlane": "^4.0.0",
"typescript": "~3.5.3"
"typescript": "~3.6.4"
}
}
8 changes: 4 additions & 4 deletions projects/swimlane/ngx-graph/src/lib/graph/graph.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,10 +100,10 @@ export class GraphComponent extends BaseChartComponent implements OnInit, OnChan
@Output() zoomChange: EventEmitter<number> = new EventEmitter();
@Output() clickHandler: EventEmitter<MouseEvent> = new EventEmitter();

@ContentChild('linkTemplate', {static: false}) linkTemplate: TemplateRef<any>;
@ContentChild('nodeTemplate', {static: false}) nodeTemplate: TemplateRef<any>;
@ContentChild('clusterTemplate', {static: false}) clusterTemplate: TemplateRef<any>;
@ContentChild('defsTemplate', {static: false}) defsTemplate: TemplateRef<any>;
@ContentChild('linkTemplate') linkTemplate: TemplateRef<any>;
@ContentChild('nodeTemplate') nodeTemplate: TemplateRef<any>;
@ContentChild('clusterTemplate') clusterTemplate: TemplateRef<any>;
@ContentChild('defsTemplate') defsTemplate: TemplateRef<any>;

@ViewChild(ChartComponent, { read: ElementRef, static: true }) chart: ElementRef;
@ViewChildren('nodeElement') nodeElements: QueryList<ElementRef>;
Expand Down
1 change: 0 additions & 1 deletion projects/swimlane/ngx-graph/tsconfig.lib.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
"lib": ["dom", "es2015"]
},
"angularCompilerOptions": {
"annotateForClosureCompiler": true,
"skipTemplateCodegen": true,
"strictMetadataEmit": true,
"fullTemplateTypeCheck": true,
Expand Down
6 changes: 6 additions & 0 deletions projects/swimlane/ngx-graph/tsconfig.lib.prod.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"extends": "./tsconfig.lib.json",
"angularCompilerOptions": {
"enableIvy": false
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
[nodeWidth]=150
[nodeHeight]=100
[layoutSettings]="layoutSettings"
[curve]="curve"
[enableZoom]="true"
[autoZoom]="true">

Expand Down
6 changes: 3 additions & 3 deletions src/tsconfig.app.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"outDir": "../out-tsc/app",
"types": []
},
"exclude": [
"src/test.ts",
"**/*.spec.ts"
"files": [
"main.ts",
"polyfills.ts"
]
}
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"outDir": "./dist/out-tsc",
"sourceMap": true,
"declaration": false,
"module": "es2015",
"module": "esnext",
"moduleResolution": "node",
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
Expand Down

0 comments on commit aea375c

Please sign in to comment.