Skip to content

Commit 73412e7

Browse files
committed
Update for yFiles for HTML 3.0.0.3
1 parent 1563548 commit 73412e7

File tree

5 files changed

+22
-23
lines changed

5 files changed

+22
-23
lines changed

integration-howto.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Adding yFiles as a dependency is almost as easy as installing an external librar
2424
```
2525
"dependencies": {
2626
...
27-
"@yfiles/yfiles": "../yFiles-for-HTML-Complete-3.0.0.1-Evaluation/lib/yfiles-30.0.1+eval-dev.tgz"
27+
"@yfiles/yfiles": "../yFiles-for-HTML-Complete-3.0.0.3-Evaluation/lib/yfiles-30.0.3+eval-dev.tgz"
2828
},
2929
```
3030

package.json

Lines changed: 16 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@yfiles/yfiles-angular-integration-basic",
3-
"version": "30.0.1",
3+
"version": "30.0.3",
44
"author": "yWorks GmbH <yfileshtml@yworks.com>",
55
"scripts": {
66
"ng": "ng",
@@ -9,34 +9,33 @@
99
"watch": "ng build --watch --configuration development",
1010
"test": "ng test",
1111
"postinstall": "npm run copy-eval-license",
12-
"copy-eval-license": "node -e \"require('fs').copyFileSync('../yFiles-for-HTML-Complete-3.0.0.1-Evaluation/lib/license.json','./src/license.json')\""
12+
"copy-eval-license": "node -e \"require('fs').copyFileSync('../yFiles-for-HTML-Complete-3.0.0.3-Evaluation/lib/license.json','./src/license.json')\""
1313
},
1414
"private": true,
1515
"dependencies": {
16-
"@angular/animations": "^19.1.5",
17-
"@angular/common": "^19.1.5",
18-
"@angular/compiler": "^19.1.5",
19-
"@angular/core": "^19.1.5",
20-
"@angular/forms": "^19.1.5",
21-
"@angular/platform-browser": "^19.1.5",
22-
"@angular/platform-browser-dynamic": "^19.1.5",
23-
"@angular/router": "^19.1.5",
16+
"@angular/animations": "^20.1.4",
17+
"@angular/common": "^20.1.4",
18+
"@angular/compiler": "^20.1.4",
19+
"@angular/core": "^20.1.4",
20+
"@angular/forms": "^20.1.4",
21+
"@angular/platform-browser": "^20.1.4",
22+
"@angular/router": "^20.1.4",
2423
"rxjs": "~7.8.1",
2524
"tslib": "^2.8.1",
2625
"zone.js": "~0.15.0",
27-
"@yfiles/yfiles": "../yFiles-for-HTML-Complete-3.0.0.1-Evaluation/lib/yfiles-30.0.1+eval-dev.tgz"
26+
"@yfiles/yfiles": "../yFiles-for-HTML-Complete-3.0.0.3-Evaluation/lib/yfiles-30.0.3+eval-dev.tgz"
2827
},
2928
"devDependencies": {
30-
"@angular-devkit/build-angular": "^19.1.6",
31-
"@angular/cli": "^19.1.6",
32-
"@angular/compiler-cli": "^19.1.5",
33-
"@types/jasmine": "~5.1.5",
34-
"jasmine-core": "~5.6.0",
29+
"@angular-devkit/build-angular": "^20.1.4",
30+
"@angular/cli": "^20.1.4",
31+
"@angular/compiler-cli": "^20.1.4",
32+
"@types/jasmine": "~5.1.8",
33+
"jasmine-core": "~5.9.0",
3534
"karma": "~6.4.4",
3635
"karma-chrome-launcher": "~3.2.0",
3736
"karma-coverage": "~2.2.1",
3837
"karma-jasmine": "~5.1.0",
3938
"karma-jasmine-html-reporter": "~2.1.0",
40-
"typescript": "~5.7.3"
39+
"typescript": "~5.8.3"
4140
}
4241
}

src/app/app.component.spec.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { AppComponent } from './app.component'
44
describe('AppComponent', () => {
55
beforeEach(() =>
66
TestBed.configureTestingModule({
7-
declarations: [AppComponent],
7+
imports: [AppComponent],
88
}),
99
)
1010

@@ -24,8 +24,8 @@ describe('AppComponent', () => {
2424
const fixture = TestBed.createComponent(AppComponent)
2525
fixture.detectChanges()
2626
const compiled = fixture.nativeElement as HTMLElement
27-
expect(compiled.querySelector('.content span')?.textContent).toContain(
28-
'yfiles-angular-integration-basic app is running!',
27+
expect(compiled.querySelector('.header h1')?.textContent).toContain(
28+
'A Basic yFiles Integration in Angular',
2929
)
3030
})
3131
})

src/app/graph-component/graph-component.component.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ describe('GraphComponentComponent', () => {
88

99
beforeEach(() => {
1010
TestBed.configureTestingModule({
11-
declarations: [GraphComponentComponent]
11+
imports: [GraphComponentComponent]
1212
})
1313
fixture = TestBed.createComponent(GraphComponentComponent)
1414
component = fixture.componentInstance

src/app/graph-component/graph-component.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export class GraphComponentComponent implements AfterViewInit {
1919
this.graphComponent = this.initializeGraphComponent()
2020
}
2121
// center the newly created graph
22-
this.graphComponent.fitGraphBounds()
22+
void this.graphComponent.fitGraphBounds()
2323
}
2424

2525
initializeGraphComponent(): GraphComponent {

0 commit comments

Comments
 (0)