Skip to content

Commit

Permalink
Add support for React 19 as a peer dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
robknight committed Dec 20, 2024
1 parent 0707741 commit 09a86aa
Show file tree
Hide file tree
Showing 22 changed files with 66 additions and 41 deletions.
25 changes: 25 additions & 0 deletions .changeset/clever-berries-kiss.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
"@pcd/zk-eddsa-event-ticket-pcd-ui": patch
"@pcd/semaphore-signature-pcd-ui": patch
"@pcd/ethereum-ownership-pcd-ui": patch
"@pcd/semaphore-identity-pcd-ui": patch
"@pcd/semaphore-group-pcd-ui": patch
"@pcd/ethereum-group-pcd-ui": patch
"@pcd/zk-eddsa-frog-pcd-ui": patch
"@pcd/passport-interface": patch
"@pcd/eddsa-ticket-pcd-ui": patch
"@pcd/eddsa-frog-pcd-ui": patch
"@pcd/halo-nonce-pcd-ui": patch
"@pcd/pod-ticket-pcd-ui": patch
"@pcd/rsa-ticket-pcd-ui": patch
"@pcd/rsa-image-pcd-ui": patch
"@pcd/webauthn-pcd-ui": patch
"@pcd/message-pcd-ui": patch
"@pcd/passport-ui": patch
"@pcd/eddsa-pcd-ui": patch
"@pcd/email-pcd-ui": patch
"@pcd/rsa-pcd-ui": patch
"@pcd/zuauth": patch
---

Add support for React 19 as a peer dependency
4 changes: 2 additions & 2 deletions packages/lib/passport-interface/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
"access": "public"
},
"peerDependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0"
"react": "^18.2.0 || ^19.0.0",
"react-dom": "^18.2.0 || ^19.0.0"
}
}
2 changes: 1 addition & 1 deletion packages/lib/passport-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"typescript": "^5.3.3"
},
"peerDependencies": {
"react": "^18.2.0"
"react": "^18.2.0 || ^19.0.0"
},
"publishConfig": {
"access": "public"
Expand Down
4 changes: 2 additions & 2 deletions packages/lib/zuauth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
"access": "public"
},
"peerDependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0"
"react": "^18.2.0 || ^19.0.0",
"react-dom": "^18.2.0 || ^19.0.0"
}
}
4 changes: 2 additions & 2 deletions packages/ui/eddsa-frog-pcd-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"access": "public"
},
"peerDependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0"
"react": "^18.2.0 || ^19.0.0",
"react-dom": "^18.2.0 || ^19.0.0"
}
}
4 changes: 2 additions & 2 deletions packages/ui/eddsa-pcd-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"access": "public"
},
"peerDependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0"
"react": "^18.2.0 || ^19.0.0",
"react-dom": "^18.2.0 || ^19.0.0"
}
}
4 changes: 2 additions & 2 deletions packages/ui/eddsa-ticket-pcd-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"access": "public"
},
"peerDependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0"
"react": "^18.2.0 || ^19.0.0",
"react-dom": "^18.2.0 || ^19.0.0"
}
}
4 changes: 2 additions & 2 deletions packages/ui/email-pcd-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"access": "public"
},
"peerDependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0"
"react": "^18.2.0 || ^19.0.0",
"react-dom": "^18.2.0 || ^19.0.0"
}
}
4 changes: 2 additions & 2 deletions packages/ui/ethereum-group-pcd-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"access": "public"
},
"peerDependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0"
"react": "^18.2.0 || ^19.0.0",
"react-dom": "^18.2.0 || ^19.0.0"
}
}
4 changes: 2 additions & 2 deletions packages/ui/ethereum-ownership-pcd-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"access": "public"
},
"peerDependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0"
"react": "^18.2.0 || ^19.0.0",
"react-dom": "^18.2.0 || ^19.0.0"
}
}
4 changes: 2 additions & 2 deletions packages/ui/halo-nonce-pcd-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"access": "public"
},
"peerDependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0"
"react": "^18.2.0 || ^19.0.0",
"react-dom": "^18.2.0 || ^19.0.0"
}
}
4 changes: 2 additions & 2 deletions packages/ui/message-pcd-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"access": "public"
},
"peerDependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0"
"react": "^18.2.0 || ^19.0.0",
"react-dom": "^18.2.0 || ^19.0.0"
}
}
4 changes: 2 additions & 2 deletions packages/ui/pod-ticket-pcd-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"access": "public"
},
"peerDependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0"
"react": "^18.2.0 || ^19.0.0",
"react-dom": "^18.2.0 || ^19.0.0"
}
}
4 changes: 2 additions & 2 deletions packages/ui/rsa-image-pcd-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"access": "public"
},
"peerDependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0"
"react": "^18.2.0 || ^19.0.0",
"react-dom": "^18.2.0 || ^19.0.0"
}
}
4 changes: 2 additions & 2 deletions packages/ui/rsa-pcd-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"access": "public"
},
"peerDependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0"
"react": "^18.2.0 || ^19.0.0",
"react-dom": "^18.2.0 || ^19.0.0"
}
}
4 changes: 2 additions & 2 deletions packages/ui/rsa-ticket-pcd-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"access": "public"
},
"peerDependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0"
"react": "^18.2.0 || ^19.0.0",
"react-dom": "^18.2.0 || ^19.0.0"
}
}
4 changes: 2 additions & 2 deletions packages/ui/semaphore-group-pcd-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"access": "public"
},
"peerDependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0"
"react": "^18.2.0 || ^19.0.0",
"react-dom": "^18.2.0 || ^19.0.0"
}
}
4 changes: 2 additions & 2 deletions packages/ui/semaphore-identity-pcd-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"access": "public"
},
"peerDependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0"
"react": "^18.2.0 || ^19.0.0",
"react-dom": "^18.2.0 || ^19.0.0"
}
}
4 changes: 2 additions & 2 deletions packages/ui/semaphore-signature-pcd-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"access": "public"
},
"peerDependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0"
"react": "^18.2.0 || ^19.0.0",
"react-dom": "^18.2.0 || ^19.0.0"
}
}
4 changes: 2 additions & 2 deletions packages/ui/webauthn-pcd-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"access": "public"
},
"peerDependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0"
"react": "^18.2.0 || ^19.0.0",
"react-dom": "^18.2.0 || ^19.0.0"
}
}
4 changes: 2 additions & 2 deletions packages/ui/zk-eddsa-event-ticket-pcd-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"access": "public"
},
"peerDependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0"
"react": "^18.2.0 || ^19.0.0",
"react-dom": "^18.2.0 || ^19.0.0"
}
}
4 changes: 2 additions & 2 deletions packages/ui/zk-eddsa-frog-pcd-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"access": "public"
},
"peerDependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0"
"react": "^18.2.0 || ^19.0.0",
"react-dom": "^18.2.0 || ^19.0.0"
}
}

0 comments on commit 09a86aa

Please sign in to comment.