Skip to content

Commit

Permalink
chore: Allow usage with both React 18 and 19
Browse files Browse the repository at this point in the history
  • Loading branch information
Artur- committed Jan 9, 2025
1 parent 99d2d34 commit 84eee49
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions packages/ts/file-router/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@
"access": "public"
},
"peerDependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react": "18 || 19",
"react-dom": "18 || 19",
"react-router": "^7"
},
"devDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions packages/ts/models/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@
"@vaadin/hilla-lit-form": "24.7.0-alpha5"
},
"peerDependencies": {
"react": "^18",
"react-dom": "^18"
"react": "18 || 19",
"react-dom": "18 || 19"
},
"devDependencies": {
"@testing-library/react": "^16.1.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/ts/react-auth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@
"@vaadin/hilla-frontend": "24.7.0-alpha5"
},
"peerDependencies": {
"react": "^18",
"react-dom": "^18",
"react": "18 || 19",
"react-dom": "18 || 19",
"react-router": "^7"
},
"devDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions packages/ts/react-crud/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@
"@vaadin/react-components": "24.7.0-alpha3"
},
"peerDependencies": {
"react": "^18",
"react-dom": "^18"
"react": "18 || 19",
"react-dom": "18 || 19"
},
"devDependencies": {
"@testing-library/dom": "^10.4.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/ts/react-form/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@
"@vaadin/hilla-lit-form": "24.7.0-alpha5"
},
"peerDependencies": {
"react": "^18",
"react-dom": "^18"
"react": "18 || 19",
"react-dom": "18 || 19"
},
"devDependencies": {
"@testing-library/dom": "^10.4.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/ts/react-i18n/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@
"intl-messageformat": "^10.7.10"
},
"peerDependencies": {
"react": "^18",
"react-dom": "^18"
"react": "18 || 19",
"react-dom": "18 || 19"
},
"devDependencies": {
"@testing-library/dom": "^10.4.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/ts/react-signals/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@
"nanoid": "^5.0.9"
},
"peerDependencies": {
"react": "^18",
"react-dom": "^18"
"react": "18 || 19",
"react-dom": "18 || 19"
},
"devDependencies": {
"@testing-library/dom": "^10.4.0",
Expand Down

0 comments on commit 84eee49

Please # to comment.