Skip to content

Commit

Permalink
fix: change sdk package to be peer dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
ptchayap committed Dec 20, 2024
1 parent 2457a73 commit 26d94ac
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
1 change: 1 addition & 0 deletions example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"build:ios": "cd ios && xcodebuild -workspace ReactNativeCliChatUiKitExample.xcworkspace -scheme ReactNativeCliChatUiKitExample -configuration Debug -sdk iphonesimulator CC=clang CPLUSPLUS=clang++ LD=clang LDPLUSPLUS=clang++ GCC_OPTIMIZATION_LEVEL=0 GCC_PRECOMPILE_PREFIX_HEADER=YES ASSETCATALOG_COMPILER_OPTIMIZATION=time DEBUG_INFORMATION_FORMAT=dwarf COMPILER_INDEX_STORE_ENABLE=NO"
},
"dependencies": {
"@amityco/ts-sdk-react-native": "^6.32.4",
"@react-native-async-storage/async-storage": "^1.22.3",
"@react-native-community/netinfo": "^11.3.1",
"@react-native-firebase/app": "^20.1.0",
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
"registry": "https://registry.npmjs.org/"
},
"devDependencies": {
"@amityco/ts-sdk-react-native": "^6.32.4",
"@commitlint/config-conventional": "^17.0.2",
"@evilmartians/lefthook": "^1.5.0",
"@react-native-async-storage/async-storage": "^1.22.3",
Expand Down Expand Up @@ -85,6 +86,7 @@
"@types/react": "^18.2.44"
},
"peerDependencies": {
"@amityco/ts-sdk-react-native": "^6.32.4",
"@react-native-firebase/app": "^20.1.0",
"@react-native-firebase/messaging": "^20.1.0",
"@react-navigation/native": "*",
Expand Down Expand Up @@ -174,7 +176,6 @@
]
},
"dependencies": {
"@amityco/ts-sdk-react-native": "^6.31.1",
"@reduxjs/toolkit": "^2.2.5",
"i18next": "22.4.10",
"moment": "2.29.4",
Expand Down
14 changes: 8 additions & 6 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "@amityco/react-native-cli-chat-ui-kit-example@workspace:example"
dependencies:
"@amityco/ts-sdk-react-native": ^6.32.4
"@babel/core": ^7.20.0
"@babel/preset-env": ^7.20.0
"@babel/runtime": ^7.20.0
Expand Down Expand Up @@ -43,7 +44,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "@amityco/react-native-cli-chat-ui-kit@workspace:."
dependencies:
"@amityco/ts-sdk-react-native": ^6.31.1
"@amityco/ts-sdk-react-native": ^6.32.4
"@commitlint/config-conventional": ^17.0.2
"@evilmartians/lefthook": ^1.5.0
"@react-native-async-storage/async-storage": ^1.22.3
Expand Down Expand Up @@ -85,6 +86,7 @@ __metadata:
turbo: ^1.10.7
typescript: ^5.2.2
peerDependencies:
"@amityco/ts-sdk-react-native": ^6.32.4
"@react-native-firebase/app": ^20.1.0
"@react-native-firebase/messaging": ^20.1.0
"@react-navigation/native": "*"
Expand All @@ -98,9 +100,9 @@ __metadata:
languageName: unknown
linkType: soft

"@amityco/ts-sdk-react-native@npm:^6.31.1":
version: 6.32.1
resolution: "@amityco/ts-sdk-react-native@npm:6.32.1"
"@amityco/ts-sdk-react-native@npm:^6.32.4":
version: 6.32.4
resolution: "@amityco/ts-sdk-react-native@npm:6.32.4"
dependencies:
"@react-native-async-storage/async-storage": ^1.17.7
"@react-native-community/netinfo": ^9.4.1
Expand All @@ -117,8 +119,8 @@ __metadata:
socket.io-client: 2.2.0
ts-jest: ^28.0.3
peerDependencies:
react-native: ^0.70.13
checksum: 60549709cecec5432e158ced027b0ad181183a22c8957981e1003060c4c4de2a7246d47007e3e2de2532062366de5942a991fdc445f32d56bcf2b758dad02cbc
react-native: ">=0.70.13"
checksum: ff1637cb9d23b79cff9eab073662ae6fd79eaaed10b053f52582281ec8c6efb5adf849522d25538e3d5df8ef5cba85ddbe33c7c92ab5d3299439b862cf85dfd8
languageName: node
linkType: hard

Expand Down

0 comments on commit 26d94ac

Please sign in to comment.