Skip to content

Commit

Permalink
chore: move dependencies to peerDependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
callaars committed Mar 1, 2025
1 parent 3a73fed commit 89fe4db
Show file tree
Hide file tree
Showing 3 changed files with 61 additions and 4 deletions.
2 changes: 2 additions & 0 deletions example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
"react": "18.3.1",
"react-dom": "18.3.1",
"react-native": "0.76.7",
"react-native-gesture-handler": "~2.20.2",
"react-native-reanimated": "~3.16.1",
"react-native-safe-area-context": "4.12.0",
"react-native-toast-message": "^2.2.1",
"react-native-web": "~0.19.13"
Expand Down
8 changes: 5 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,6 @@
"immer": "^10.1.1",
"lodash": "^4.17.21",
"moment-timezone": "^0.5.47",
"react-native-gesture-handler": "^2.24.0",
"react-native-reanimated": "^3.16.7",
"zustand": "^5.0.3"
},
"devDependencies": {
Expand All @@ -91,6 +89,8 @@
"react": "18.3.1",
"react-native": "0.76.7",
"react-native-builder-bob": "^0.37.0",
"react-native-gesture-handler": "^2.24.0",
"react-native-reanimated": "^3.16.7",
"release-it": "^17.10.0",
"ts-jest": "^29.2.6",
"typescript": "^5.2.2"
Expand All @@ -100,7 +100,9 @@
},
"peerDependencies": {
"react": "*",
"react-native": "*"
"react-native": "*",
"react-native-gesture-handler": "^2.24.0",
"react-native-reanimated": "^3.16.7"
},
"workspaces": [
"example"
Expand Down
55 changes: 54 additions & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3218,6 +3218,8 @@ __metadata:
peerDependencies:
react: "*"
react-native: "*"
react-native-gesture-handler: ^2.24.0
react-native-reanimated: ^3.16.7
languageName: unknown
linkType: soft

Expand Down Expand Up @@ -6407,6 +6409,8 @@ __metadata:
react-dom: 18.3.1
react-native: 0.76.7
react-native-builder-bob: ^0.37.0
react-native-gesture-handler: ~2.20.2
react-native-reanimated: ~3.16.1
react-native-safe-area-context: 4.12.0
react-native-toast-message: ^2.2.1
react-native-web: ~0.19.13
Expand Down Expand Up @@ -11633,7 +11637,7 @@ __metadata:
languageName: node
linkType: hard

"prop-types@npm:^15.8.1":
"prop-types@npm:^15.7.2, prop-types@npm:^15.8.1":
version: 15.8.1
resolution: "prop-types@npm:15.8.1"
dependencies:
Expand Down Expand Up @@ -11849,7 +11853,56 @@ __metadata:
languageName: node
linkType: hard

"react-native-gesture-handler@npm:~2.20.2":
version: 2.20.2
resolution: "react-native-gesture-handler@npm:2.20.2"
dependencies:
"@egjs/hammerjs": ^2.0.17
hoist-non-react-statics: ^3.3.0
invariant: ^2.2.4
prop-types: ^15.7.2
peerDependencies:
react: "*"
react-native: "*"
checksum: 8d9e7496615dad4e6bb6dd1c750c2d3b2e57c6173a1d466b4503b28b159b1dbbb1e7527c3d4bda12324422200c07835f34d81c9bd3cd1b7f594b22949bef274a
languageName: node
linkType: hard

"react-native-is-edge-to-edge@npm:1.1.6":
version: 1.1.6
resolution: "react-native-is-edge-to-edge@npm:1.1.6"
peerDependencies:
react: ">=18.2.0"
react-native: ">=0.73.0"
checksum: 4e07c1e34c01c8d50fd7c1d0460db06f6f0515197405230386a8ffb950cb724b10743af032310d1384df0a90059bfb8992ba2d93344ce86315315f0493feccc2
languageName: node
linkType: hard

"react-native-reanimated@npm:^3.16.7":
version: 3.17.1
resolution: "react-native-reanimated@npm:3.17.1"
dependencies:
"@babel/plugin-transform-arrow-functions": ^7.0.0-0
"@babel/plugin-transform-class-properties": ^7.0.0-0
"@babel/plugin-transform-classes": ^7.0.0-0
"@babel/plugin-transform-nullish-coalescing-operator": ^7.0.0-0
"@babel/plugin-transform-optional-chaining": ^7.0.0-0
"@babel/plugin-transform-shorthand-properties": ^7.0.0-0
"@babel/plugin-transform-template-literals": ^7.0.0-0
"@babel/plugin-transform-unicode-regex": ^7.0.0-0
"@babel/preset-typescript": ^7.16.7
convert-source-map: ^2.0.0
invariant: ^2.2.4
react-native-is-edge-to-edge: 1.1.6
peerDependencies:
"@babel/core": ^7.0.0-0
react: "*"
react-native: "*"
checksum: fd05040a3fc6a8f4efb387657c0cd6c314e5e6b50f859e127d6891d8f81c65b020ddcf78615aa0074b4e134e450d38c40db916c544e1e2efa26c50c82815607d
languageName: node
linkType: hard

"react-native-reanimated@npm:~3.16.1":
version: 3.16.7
resolution: "react-native-reanimated@npm:3.16.7"
dependencies:
Expand Down

0 comments on commit 89fe4db

Please sign in to comment.