Skip to content

Commit 638b102

Browse files
authored
Merge pull request #9 from yWorks/dev
2.1.0 - Bump dependencies and docs, allow React 19
2 parents aea68c5 + e5eb917 commit 638b102

File tree

9 files changed

+4340
-41
lines changed

9 files changed

+4340
-41
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
@@ -31,12 +31,12 @@ You can learn how to work with the yFiles npm module in our [Developer’s Guide
3131
In addition to yFiles, the Supply Chain component requires React to be installed in your project.
3232
If you want to start your project from scratch, we recommend using vite:
3333
```
34-
npm create vite@6.1.1 my-supply-chain-app -- --template react-ts
34+
npm create vite@latest my-supply-chain-app -- --template react-ts
3535
```
3636

3737
Add the yFiles dependency:
3838
```
39-
npm install <yFiles package path>/lib/yfiles-30.0.0+dev.tgz
39+
npm install <yFiles package path>/lib-dev/yfiles-30.0.4+dev.tgz
4040
```
4141

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

4747
```json
4848
"dependencies": {
49-
"react": "^18.2.0",
50-
"react-dom": "^18.2.0",
51-
"yfiles": "./lib/yfiles-30.0.0+dev.tgz"
49+
"react": "^19.2.0",
50+
"react-dom": "^19.2.0",
51+
"yfiles": "./lib-dev/yfiles-30.0.4+dev.tgz"
5252
}
5353
```
5454
</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 Supply Chain 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-supply-chain-app -- --template react-ts
29+
npm create vite@latest my-supply-chain-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": "./lib/yfiles-30.0.0+dev.tgz"
44+
"react": "^19.2.0",
45+
"react-dom": "^19.2.0",
46+
"yfiles": "./lib-dev/yfiles-30.0.4+dev.tgz"
4747
}
4848
```
4949
</details>

0 commit comments

Comments
 (0)