Skip to content

Commit

Permalink
fix: add peer dependencies (nextui-org#1651)
Browse files Browse the repository at this point in the history
* fix: add peer dependencies

* fix: update pnpm lock
  • Loading branch information
syi0808 authored Sep 23, 2023
1 parent c9c5564 commit 9ebaae0
Show file tree
Hide file tree
Showing 40 changed files with 191 additions and 27 deletions.
1 change: 1 addition & 0 deletions packages/components/accordion/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
},
"peerDependencies": {
"react": ">=18",
"react-dom": ">=18",
"framer-motion": ">=4.0.0"
},
"dependencies": {
Expand Down
3 changes: 2 additions & 1 deletion packages/components/avatar/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@
"postpack": "clean-package restore"
},
"peerDependencies": {
"react": ">=18"
"react": ">=18",
"react-dom": ">=18"
},
"dependencies": {
"@nextui-org/system": "workspace:*",
Expand Down
3 changes: 2 additions & 1 deletion packages/components/badge/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@
"postpack": "clean-package restore"
},
"peerDependencies": {
"react": ">=18"
"react": ">=18",
"react-dom": ">=18"
},
"dependencies": {
"@nextui-org/system-rsc": "workspace:*",
Expand Down
4 changes: 3 additions & 1 deletion packages/components/button/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@
"postpack": "clean-package restore"
},
"peerDependencies": {
"react": ">=18"
"react": ">=18",
"react-dom": ">=18",
"framer-motion": ">=4.0.0"
},
"dependencies": {
"@nextui-org/system": "workspace:*",
Expand Down
4 changes: 3 additions & 1 deletion packages/components/card/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@
"postpack": "clean-package restore"
},
"peerDependencies": {
"react": ">=18"
"react": ">=18",
"react-dom": ">=18",
"framer-motion": ">=4.0.0"
},
"dependencies": {
"@nextui-org/theme": "workspace:*",
Expand Down
3 changes: 2 additions & 1 deletion packages/components/checkbox/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@
"postpack": "clean-package restore"
},
"peerDependencies": {
"react": ">=18"
"react": ">=18",
"react-dom": ">=18"
},
"dependencies": {
"@nextui-org/system": "workspace:*",
Expand Down
3 changes: 2 additions & 1 deletion packages/components/chip/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@
"postpack": "clean-package restore"
},
"peerDependencies": {
"react": ">=18"
"react": ">=18",
"react-dom": ">=18"
},
"dependencies": {
"@nextui-org/shared-icons": "workspace:*",
Expand Down
3 changes: 2 additions & 1 deletion packages/components/code/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@
"postpack": "clean-package restore"
},
"peerDependencies": {
"react": ">=18"
"react": ">=18",
"react-dom": ">=18"
},
"dependencies": {
"@nextui-org/system-rsc": "workspace:*",
Expand Down
3 changes: 2 additions & 1 deletion packages/components/divider/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@
"postpack": "clean-package restore"
},
"peerDependencies": {
"react": ">=18"
"react": ">=18",
"react-dom": ">=18"
},
"dependencies": {
"@nextui-org/shared-utils": "workspace:*",
Expand Down
1 change: 1 addition & 0 deletions packages/components/dropdown/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
},
"peerDependencies": {
"react": ">=18",
"react-dom": ">=18",
"framer-motion": ">=4.0.0"
},
"dependencies": {
Expand Down
3 changes: 2 additions & 1 deletion packages/components/image/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@
"postpack": "clean-package restore"
},
"peerDependencies": {
"react": ">=18"
"react": ">=18",
"react-dom": ">=18"
},
"dependencies": {
"@nextui-org/system": "workspace:*",
Expand Down
3 changes: 2 additions & 1 deletion packages/components/input/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@
"postpack": "clean-package restore"
},
"peerDependencies": {
"react": ">=18"
"react": ">=18",
"react-dom": ">=18"
},
"dependencies": {
"@nextui-org/react-utils": "workspace:*",
Expand Down
3 changes: 2 additions & 1 deletion packages/components/kbd/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@
"postpack": "clean-package restore"
},
"peerDependencies": {
"react": ">=18"
"react": ">=18",
"react-dom": ">=18"
},
"dependencies": {
"@nextui-org/system-rsc": "workspace:*",
Expand Down
3 changes: 2 additions & 1 deletion packages/components/link/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@
"postpack": "clean-package restore"
},
"peerDependencies": {
"react": ">=18"
"react": ">=18",
"react-dom": ">=18"
},
"dependencies": {
"@nextui-org/shared-utils": "workspace:*",
Expand Down
3 changes: 2 additions & 1 deletion packages/components/listbox/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@
"postpack": "clean-package restore"
},
"peerDependencies": {
"react": ">=18"
"react": ">=18",
"react-dom": ">=18"
},
"dependencies": {
"@nextui-org/react-utils": "workspace:*",
Expand Down
3 changes: 2 additions & 1 deletion packages/components/menu/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@
"postpack": "clean-package restore"
},
"peerDependencies": {
"react": ">=18"
"react": ">=18",
"react-dom": ">=18"
},
"dependencies": {
"@nextui-org/system": "workspace:*",
Expand Down
1 change: 1 addition & 0 deletions packages/components/modal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
},
"peerDependencies": {
"react": ">=18",
"react-dom": ">=18",
"framer-motion": ">=4.0.0"
},
"dependencies": {
Expand Down
1 change: 1 addition & 0 deletions packages/components/navbar/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
},
"peerDependencies": {
"react": ">=18",
"react-dom": ">=18",
"framer-motion": ">=4.0.0"
},
"dependencies": {
Expand Down
3 changes: 2 additions & 1 deletion packages/components/pagination/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@
"postpack": "clean-package restore"
},
"peerDependencies": {
"react": ">=18"
"react": ">=18",
"react-dom": ">=18"
},
"dependencies": {
"@nextui-org/system": "workspace:*",
Expand Down
1 change: 1 addition & 0 deletions packages/components/popover/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
},
"peerDependencies": {
"react": ">=18",
"react-dom": ">=18",
"framer-motion": ">=4.0.0"
},
"dependencies": {
Expand Down
3 changes: 2 additions & 1 deletion packages/components/progress/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@
"postpack": "clean-package restore"
},
"peerDependencies": {
"react": ">=18"
"react": ">=18",
"react-dom": ">=18"
},
"dependencies": {
"@nextui-org/shared-utils": "workspace:*",
Expand Down
3 changes: 2 additions & 1 deletion packages/components/radio/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@
"postpack": "clean-package restore"
},
"peerDependencies": {
"react": ">=18"
"react": ">=18",
"react-dom": ">=18"
},
"dependencies": {
"@nextui-org/theme": "workspace:*",
Expand Down
1 change: 1 addition & 0 deletions packages/components/ripple/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
},
"peerDependencies": {
"react": ">=18",
"react-dom": ">=18",
"framer-motion": ">=4.0.0"
},
"dependencies": {
Expand Down
3 changes: 2 additions & 1 deletion packages/components/scroll-shadow/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@
"postpack": "clean-package restore"
},
"peerDependencies": {
"react": ">=18"
"react": ">=18",
"react-dom": ">=18"
},
"dependencies": {
"@nextui-org/system": "workspace:*",
Expand Down
1 change: 1 addition & 0 deletions packages/components/select/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
},
"peerDependencies": {
"react": ">=18",
"react-dom": ">=18",
"framer-motion": ">=4.0.0"
},
"dependencies": {
Expand Down
3 changes: 2 additions & 1 deletion packages/components/skeleton/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@
"postpack": "clean-package restore"
},
"peerDependencies": {
"react": ">=18"
"react": ">=18",
"react-dom": ">=18"
},
"dependencies": {
"@nextui-org/system-rsc": "workspace:*",
Expand Down
1 change: 1 addition & 0 deletions packages/components/snippet/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
},
"peerDependencies": {
"react": ">=18",
"react-dom": ">=18",
"framer-motion": ">=4.0.0"
},
"dependencies": {
Expand Down
3 changes: 2 additions & 1 deletion packages/components/spacer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@
"postpack": "clean-package restore"
},
"peerDependencies": {
"react": ">=18"
"react": ">=18",
"react-dom": ">=18"
},
"dependencies": {
"@nextui-org/system-rsc": "workspace:*",
Expand Down
3 changes: 2 additions & 1 deletion packages/components/spinner/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@
"postpack": "clean-package restore"
},
"peerDependencies": {
"react": ">=18"
"react": ">=18",
"react-dom": ">=18"
},
"dependencies": {
"@nextui-org/system-rsc": "workspace:*",
Expand Down
3 changes: 2 additions & 1 deletion packages/components/switch/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@
"postpack": "clean-package restore"
},
"peerDependencies": {
"react": ">=18"
"react": ">=18",
"react-dom": ">=18"
},
"dependencies": {
"@nextui-org/shared-utils": "workspace:*",
Expand Down
3 changes: 2 additions & 1 deletion packages/components/table/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@
"postpack": "clean-package restore"
},
"peerDependencies": {
"react": ">=18"
"react": ">=18",
"react-dom": ">=18"
},
"dependencies": {
"@nextui-org/checkbox": "workspace:*",
Expand Down
1 change: 1 addition & 0 deletions packages/components/tabs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
},
"peerDependencies": {
"react": ">=18",
"react-dom": ">=18",
"framer-motion": ">=4.0.0"
},
"dependencies": {
Expand Down
1 change: 1 addition & 0 deletions packages/components/tooltip/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
},
"peerDependencies": {
"react": ">=18",
"react-dom": ">=18",
"framer-motion": ">=4.0.0"
},
"dependencies": {
Expand Down
3 changes: 2 additions & 1 deletion packages/components/user/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@
"postpack": "clean-package restore"
},
"peerDependencies": {
"react": ">=18"
"react": ">=18",
"react-dom": ">=18"
},
"dependencies": {
"@nextui-org/system": "workspace:*",
Expand Down
1 change: 1 addition & 0 deletions packages/core/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@
},
"peerDependencies": {
"react": ">=18",
"react-dom": ">=18",
"framer-motion": ">=4.0.0"
},
"devDependencies": {
Expand Down
3 changes: 2 additions & 1 deletion packages/core/system/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@
"postpack": "clean-package restore"
},
"peerDependencies": {
"react": ">=18"
"react": ">=18",
"react-dom": ">=18"
},
"devDependencies": {
"clean-package": "2.2.0",
Expand Down
3 changes: 2 additions & 1 deletion packages/hooks/use-aria-modal-overlay/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@
"@react-aria/utils": "^3.20.0"
},
"peerDependencies": {
"react": ">=18"
"react": ">=18",
"react-dom": ">=18"
},
"devDependencies": {
"clean-package": "2.2.0",
Expand Down
3 changes: 2 additions & 1 deletion packages/hooks/use-aria-multiselect/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@
"@react-aria/utils": "^3.20.0"
},
"peerDependencies": {
"react": ">=18"
"react": ">=18",
"react-dom": ">=18"
},
"devDependencies": {
"clean-package": "2.2.0",
Expand Down
1 change: 1 addition & 0 deletions packages/utilities/framer-transitions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
},
"peerDependencies": {
"react": ">=18",
"react-dom": ">=18",
"framer-motion": ">=4.0.0"
},
"dependencies": {
Expand Down
Loading

0 comments on commit 9ebaae0

Please sign in to comment.