Skip to content

Commit

Permalink
Move zod and react to peerDependencies, allow react 19 (#144)
Browse files Browse the repository at this point in the history
  • Loading branch information
jakubkottnauer authored Dec 22, 2024
1 parent f8f6211 commit df38752
Show file tree
Hide file tree
Showing 10 changed files with 155 additions and 58 deletions.
10 changes: 10 additions & 0 deletions .changeset/odd-crabs-cry.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
"@autoform/mantine": minor
"@autoform/shadcn": minor
"@autoform/react": minor
"@autoform/mui": minor
"@autoform/yup": minor
"@autoform/zod": minor
---

Mark react and zod as peerDependencies, allow React 19 as a peer dependency
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,4 @@ yarn-error.log*
# Misc
.DS_Store
*.pem
.idea
2 changes: 1 addition & 1 deletion apps/docs/pages/docs/react/custom-integration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ Update your `package.json` file with the appropriate information and scripts:
"prepublishOnly": "npm run build"
},
"peerDependencies": {
"react": "^17.0.0 || ^18.0.0",
"react": "^17 || ^18 || ^19",
"@autoform/react": "^1.0.0",
"@autoform/core": "^1.0.0"
},
Expand Down
Loading

0 comments on commit df38752

Please sign in to comment.