Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update react-native-executorch to npm version #11

Merged
merged 2 commits into from
Nov 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/llama/components/Messages.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export default function Messages({
<AnimatedChatLoading />
</View>
) : (
<Text style={styles.messageText}> {llmResponse}</Text>
<Text style={styles.messageText}> {llmResponse.trim()}</Text>
)}
</View>
)}
Expand Down
4 changes: 2 additions & 2 deletions examples/llama/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -970,7 +970,7 @@ PODS:
- React-Mapbuffer (0.74.5):
- glog
- React-debug
- react-native-executorch (0.1.3):
- react-native-executorch (0.1.0):
- DoubleConversion
- glog
- hermes-engine
Expand Down Expand Up @@ -1492,7 +1492,7 @@ SPEC CHECKSUMS:
React-jsitracing: 3b6060bbf5317663667e1dd93560c7943ab86ccc
React-logger: 257858bd55f3a4e1bc0cf07ddc8fb9faba6f8c7c
React-Mapbuffer: 6c1cacdbf40b531f549eba249e531a7d0bfd8e7f
react-native-executorch: 728eeddcadb41b4d5a4245dccd9bb563d00db6da
react-native-executorch: 8ed8ade26ff47d44c6582e5e7454934c71cde32a
react-native-safe-area-context: a240ad4b683349e48b1d51fed1611138d1bdad97
React-nativeconfig: ba9a2e54e2f0882cf7882698825052793ed4c851
React-NativeModulesApple: 8d11ff8955181540585c944cf48e9e7236952697
Expand Down
148 changes: 74 additions & 74 deletions examples/llama/ios/llama/Info.plist
Original file line number Diff line number Diff line change
@@ -1,77 +1,77 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CADisableMinimumFrameDurationOnPhone</key>
<true/>
<key>CFBundleDevelopmentRegion</key>
<string>$(DEVELOPMENT_LANGUAGE)</string>
<key>CFBundleDisplayName</key>
<string>llama</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>$(PRODUCT_NAME)</string>
<key>CFBundlePackageType</key>
<string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string>
<key>CFBundleShortVersionString</key>
<string>1.0.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleURLTypes</key>
<array>
<dict>
<key>CFBundleURLSchemes</key>
<array>
<string>com.anonymous.llama</string>
</array>
</dict>
</array>
<key>CFBundleVersion</key>
<string>1</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<false/>
<key>NSAllowsLocalNetworking</key>
<true/>
</dict>
<key>UIAppFonts</key>
<array>
<string>Aeonik-Regular.otf</string>
<string>Aeonik-Medium.otf</string>
</array>
<key>UILaunchStoryboardName</key>
<string>SplashScreen</string>
<key>UIRequiredDeviceCapabilities</key>
<array>
<string>arm64</string>
</array>
<key>UIRequiresFullScreen</key>
<false/>
<key>UIStatusBarStyle</key>
<string>UIStatusBarStyleDefault</string>
<key>UISupportedInterfaceOrientations</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationPortraitUpsideDown</string>
</array>
<key>UISupportedInterfaceOrientations~ipad</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationPortraitUpsideDown</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
<key>UIUserInterfaceStyle</key>
<string>Light</string>
<key>UIViewControllerBasedStatusBarAppearance</key>
<false/>
</dict>
</plist>
<dict>
<key>CADisableMinimumFrameDurationOnPhone</key>
<true/>
<key>CFBundleDevelopmentRegion</key>
<string>$(DEVELOPMENT_LANGUAGE)</string>
<key>CFBundleDisplayName</key>
<string>llama</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>$(PRODUCT_NAME)</string>
<key>CFBundlePackageType</key>
<string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string>
<key>CFBundleShortVersionString</key>
<string>1.0.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleURLTypes</key>
<array>
<dict>
<key>CFBundleURLSchemes</key>
<array>
<string>com.anonymous.llama</string>
</array>
</dict>
</array>
<key>CFBundleVersion</key>
<string>1</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<false/>
<key>NSAllowsLocalNetworking</key>
<true/>
</dict>
<key>UIAppFonts</key>
<array>
<string>Aeonik-Regular.otf</string>
<string>Aeonik-Medium.otf</string>
</array>
<key>UILaunchStoryboardName</key>
<string>SplashScreen</string>
<key>UIRequiredDeviceCapabilities</key>
<array>
<string>arm64</string>
</array>
<key>UIRequiresFullScreen</key>
<false/>
<key>UIStatusBarStyle</key>
<string>UIStatusBarStyleDefault</string>
<key>UISupportedInterfaceOrientations</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationPortraitUpsideDown</string>
</array>
<key>UISupportedInterfaceOrientations~ipad</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationPortraitUpsideDown</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
<key>UIUserInterfaceStyle</key>
<string>Light</string>
<key>UIViewControllerBasedStatusBarAppearance</key>
<false/>
</dict>
</plist>
2 changes: 1 addition & 1 deletion examples/llama/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"metro-config": "^0.80.12",
"react": "18.2.0",
"react-native": "0.74.5",
"react-native-executorch": "file:../../react-native-executorch-0.1.0.tgz",
"react-native-executorch": "0.1.0",
"react-native-loading-spinner-overlay": "^3.0.1",
"react-native-markdown-display": "^7.0.2",
"react-native-reanimated": "~3.10.1",
Expand Down
10 changes: 5 additions & 5 deletions examples/llama/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6176,7 +6176,7 @@ __metadata:
metro-config: ^0.80.12
react: 18.2.0
react-native: 0.74.5
react-native-executorch: "file:../../react-native-executorch-0.1.3.tgz"
react-native-executorch: 0.1.0
react-native-loading-spinner-overlay: ^3.0.1
react-native-markdown-display: ^7.0.2
react-native-reanimated: ~3.10.1
Expand Down Expand Up @@ -7813,13 +7813,13 @@ __metadata:
languageName: node
linkType: hard

"react-native-executorch@file:../../react-native-executorch-0.1.3.tgz::locator=llama%40workspace%3A.":
version: 0.1.3
resolution: "react-native-executorch@file:../../react-native-executorch-0.1.3.tgz::locator=llama%40workspace%3A."
"react-native-executorch@npm:0.1.0":
version: 0.1.0
resolution: "react-native-executorch@npm:0.1.0"
peerDependencies:
react: "*"
react-native: "*"
checksum: 14439532d24554c881de19e0a9501465dbcf3cf10da60f1b13954fc0b8c35356976f13feba48fd2db4e8e70f76e98a172fa5c6118c7f0da88fefa327009c52cd
checksum: b0ea4cbf6e7bf254ca5476a2711bbc62e72ff9b666f904a087a9199ddc702152c71acadf7c9ecdba3ee731ce5073261d9d8356d57f3ea861f032a7d793b568ed
languageName: node
linkType: hard

Expand Down
Loading