Skip to content

Commit 523663b

Browse files
authored
Merge pull request #13 from yWorks/dev
2.1.0 - Bump dependencies and docs, allow React 19
2 parents c1423d5 + e71e16e commit 523663b

File tree

9 files changed

+4352
-59
lines changed

9 files changed

+4352
-59
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,3 @@ license.json
55
yfiles-license.json
66
*.tsbuildinfo
77
.tsup/
8-
package-lock.json

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@ You can learn how to work with the yFiles npm module in our [Developer’s Guide
2424
In addition to yFiles, the Organization Chart component requires React to be installed in your project.
2525
If you want to start your project from scratch, we recommend using vite:
2626
```
27-
npm create vite@6.1.1 my-orgchart-app -- --template react-ts
27+
npm create vite@latest my-orgchart-app -- --template react-ts
2828
```
2929

3030
Add the yFiles dependency:
3131
```
32-
npm install <yFiles package path>/lib/yfiles-30.0.0+dev.tgz
32+
npm install <yFiles package path>/lib-dev/yfiles-30.0.4+dev.tgz
3333
```
3434

3535
<details>
@@ -39,9 +39,9 @@ You can learn how to work with the yFiles npm module in our [Developer’s Guide
3939

4040
```json
4141
"dependencies": {
42-
"react": "^18.2.0",
43-
"react-dom": "^18.2.0",
44-
"@yfiles/yfiles": "./lib/yfiles-30.0.0+dev.tgz"
42+
"react": "^19.2.0",
43+
"react-dom": "^19.2.0",
44+
"@yfiles/yfiles": "./lib-dev/yfiles-30.0.4+dev.tgz"
4545
}
4646
```
4747
</details>

docs/introduction/GettingStarted.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@ You can learn how to work with the yFiles npm module in our [Developer’s Guide
2626
In addition to yFiles, the Organization Chart component requires React to be installed in your project.
2727
If you want to start your project from scratch, we recommend using vite:
2828
```
29-
npm create vite@6.1.1 my-orgchart-app -- --template react-ts
29+
npm create vite@latest my-orgchart-app -- --template react-ts
3030
```
3131

3232
Add the yFiles dependency:
3333
```
34-
npm install <yFiles package path>/lib/yfiles-30.0.0+dev.tgz
34+
npm install <yFiles package path>/lib-dev/yfiles-30.0.4+dev.tgz
3535
```
3636

3737
<details>
@@ -41,9 +41,9 @@ You can learn how to work with the yFiles npm module in our [Developer’s Guide
4141

4242
```json
4343
"dependencies": {
44-
"react": "^18.2.0",
45-
"react-dom": "^18.2.0",
46-
"@yfiles/yfiles": "./lib/yfiles-30.0.0+dev.tgz"
44+
"react": "^19.2.0",
45+
"react-dom": "^19.2.0",
46+
"@yfiles/yfiles": "./lib-dev/yfiles-30.0.4+dev.tgz"
4747
}
4848
```
4949
</details>

0 commit comments

Comments
 (0)