Skip to content

Commit 272e1b8

Browse files
authored
Update react-native-executorch to npm version (#11)
1 parent a26e6ec commit 272e1b8

File tree

5 files changed

+83
-83
lines changed

5 files changed

+83
-83
lines changed

examples/llama/components/Messages.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export default function Messages({
3939
<AnimatedChatLoading />
4040
</View>
4141
) : (
42-
<Text style={styles.messageText}> {llmResponse}</Text>
42+
<Text style={styles.messageText}> {llmResponse.trim()}</Text>
4343
)}
4444
</View>
4545
)}

examples/llama/ios/Podfile.lock

+2-2
Original file line numberDiff line numberDiff line change
@@ -970,7 +970,7 @@ PODS:
970970
- React-Mapbuffer (0.74.5):
971971
- glog
972972
- React-debug
973-
- react-native-executorch (0.1.3):
973+
- react-native-executorch (0.1.0):
974974
- DoubleConversion
975975
- glog
976976
- hermes-engine
@@ -1492,7 +1492,7 @@ SPEC CHECKSUMS:
14921492
React-jsitracing: 3b6060bbf5317663667e1dd93560c7943ab86ccc
14931493
React-logger: 257858bd55f3a4e1bc0cf07ddc8fb9faba6f8c7c
14941494
React-Mapbuffer: 6c1cacdbf40b531f549eba249e531a7d0bfd8e7f
1495-
react-native-executorch: 728eeddcadb41b4d5a4245dccd9bb563d00db6da
1495+
react-native-executorch: 8ed8ade26ff47d44c6582e5e7454934c71cde32a
14961496
react-native-safe-area-context: a240ad4b683349e48b1d51fed1611138d1bdad97
14971497
React-nativeconfig: ba9a2e54e2f0882cf7882698825052793ed4c851
14981498
React-NativeModulesApple: 8d11ff8955181540585c944cf48e9e7236952697

examples/llama/ios/llama/Info.plist

+74-74
Original file line numberDiff line numberDiff line change
@@ -1,77 +1,77 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
33
<plist version="1.0">
4-
<dict>
5-
<key>CADisableMinimumFrameDurationOnPhone</key>
6-
<true/>
7-
<key>CFBundleDevelopmentRegion</key>
8-
<string>$(DEVELOPMENT_LANGUAGE)</string>
9-
<key>CFBundleDisplayName</key>
10-
<string>llama</string>
11-
<key>CFBundleExecutable</key>
12-
<string>$(EXECUTABLE_NAME)</string>
13-
<key>CFBundleIdentifier</key>
14-
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
15-
<key>CFBundleInfoDictionaryVersion</key>
16-
<string>6.0</string>
17-
<key>CFBundleName</key>
18-
<string>$(PRODUCT_NAME)</string>
19-
<key>CFBundlePackageType</key>
20-
<string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string>
21-
<key>CFBundleShortVersionString</key>
22-
<string>1.0.0</string>
23-
<key>CFBundleSignature</key>
24-
<string>????</string>
25-
<key>CFBundleURLTypes</key>
26-
<array>
27-
<dict>
28-
<key>CFBundleURLSchemes</key>
29-
<array>
30-
<string>com.anonymous.llama</string>
31-
</array>
32-
</dict>
33-
</array>
34-
<key>CFBundleVersion</key>
35-
<string>1</string>
36-
<key>LSRequiresIPhoneOS</key>
37-
<true/>
38-
<key>NSAppTransportSecurity</key>
39-
<dict>
40-
<key>NSAllowsArbitraryLoads</key>
41-
<false/>
42-
<key>NSAllowsLocalNetworking</key>
43-
<true/>
44-
</dict>
45-
<key>UIAppFonts</key>
46-
<array>
47-
<string>Aeonik-Regular.otf</string>
48-
<string>Aeonik-Medium.otf</string>
49-
</array>
50-
<key>UILaunchStoryboardName</key>
51-
<string>SplashScreen</string>
52-
<key>UIRequiredDeviceCapabilities</key>
53-
<array>
54-
<string>arm64</string>
55-
</array>
56-
<key>UIRequiresFullScreen</key>
57-
<false/>
58-
<key>UIStatusBarStyle</key>
59-
<string>UIStatusBarStyleDefault</string>
60-
<key>UISupportedInterfaceOrientations</key>
61-
<array>
62-
<string>UIInterfaceOrientationPortrait</string>
63-
<string>UIInterfaceOrientationPortraitUpsideDown</string>
64-
</array>
65-
<key>UISupportedInterfaceOrientations~ipad</key>
66-
<array>
67-
<string>UIInterfaceOrientationPortrait</string>
68-
<string>UIInterfaceOrientationPortraitUpsideDown</string>
69-
<string>UIInterfaceOrientationLandscapeLeft</string>
70-
<string>UIInterfaceOrientationLandscapeRight</string>
71-
</array>
72-
<key>UIUserInterfaceStyle</key>
73-
<string>Light</string>
74-
<key>UIViewControllerBasedStatusBarAppearance</key>
75-
<false/>
76-
</dict>
77-
</plist>
4+
<dict>
5+
<key>CADisableMinimumFrameDurationOnPhone</key>
6+
<true/>
7+
<key>CFBundleDevelopmentRegion</key>
8+
<string>$(DEVELOPMENT_LANGUAGE)</string>
9+
<key>CFBundleDisplayName</key>
10+
<string>llama</string>
11+
<key>CFBundleExecutable</key>
12+
<string>$(EXECUTABLE_NAME)</string>
13+
<key>CFBundleIdentifier</key>
14+
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
15+
<key>CFBundleInfoDictionaryVersion</key>
16+
<string>6.0</string>
17+
<key>CFBundleName</key>
18+
<string>$(PRODUCT_NAME)</string>
19+
<key>CFBundlePackageType</key>
20+
<string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string>
21+
<key>CFBundleShortVersionString</key>
22+
<string>1.0.0</string>
23+
<key>CFBundleSignature</key>
24+
<string>????</string>
25+
<key>CFBundleURLTypes</key>
26+
<array>
27+
<dict>
28+
<key>CFBundleURLSchemes</key>
29+
<array>
30+
<string>com.anonymous.llama</string>
31+
</array>
32+
</dict>
33+
</array>
34+
<key>CFBundleVersion</key>
35+
<string>1</string>
36+
<key>LSRequiresIPhoneOS</key>
37+
<true/>
38+
<key>NSAppTransportSecurity</key>
39+
<dict>
40+
<key>NSAllowsArbitraryLoads</key>
41+
<false/>
42+
<key>NSAllowsLocalNetworking</key>
43+
<true/>
44+
</dict>
45+
<key>UIAppFonts</key>
46+
<array>
47+
<string>Aeonik-Regular.otf</string>
48+
<string>Aeonik-Medium.otf</string>
49+
</array>
50+
<key>UILaunchStoryboardName</key>
51+
<string>SplashScreen</string>
52+
<key>UIRequiredDeviceCapabilities</key>
53+
<array>
54+
<string>arm64</string>
55+
</array>
56+
<key>UIRequiresFullScreen</key>
57+
<false/>
58+
<key>UIStatusBarStyle</key>
59+
<string>UIStatusBarStyleDefault</string>
60+
<key>UISupportedInterfaceOrientations</key>
61+
<array>
62+
<string>UIInterfaceOrientationPortrait</string>
63+
<string>UIInterfaceOrientationPortraitUpsideDown</string>
64+
</array>
65+
<key>UISupportedInterfaceOrientations~ipad</key>
66+
<array>
67+
<string>UIInterfaceOrientationPortrait</string>
68+
<string>UIInterfaceOrientationPortraitUpsideDown</string>
69+
<string>UIInterfaceOrientationLandscapeLeft</string>
70+
<string>UIInterfaceOrientationLandscapeRight</string>
71+
</array>
72+
<key>UIUserInterfaceStyle</key>
73+
<string>Light</string>
74+
<key>UIViewControllerBasedStatusBarAppearance</key>
75+
<false/>
76+
</dict>
77+
</plist>

examples/llama/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"metro-config": "^0.80.12",
1717
"react": "18.2.0",
1818
"react-native": "0.74.5",
19-
"react-native-executorch": "file:../../react-native-executorch-0.1.0.tgz",
19+
"react-native-executorch": "0.1.0",
2020
"react-native-loading-spinner-overlay": "^3.0.1",
2121
"react-native-markdown-display": "^7.0.2",
2222
"react-native-reanimated": "~3.10.1",

examples/llama/yarn.lock

+5-5
Original file line numberDiff line numberDiff line change
@@ -6176,7 +6176,7 @@ __metadata:
61766176
metro-config: ^0.80.12
61776177
react: 18.2.0
61786178
react-native: 0.74.5
6179-
react-native-executorch: "file:../../react-native-executorch-0.1.3.tgz"
6179+
react-native-executorch: 0.1.0
61806180
react-native-loading-spinner-overlay: ^3.0.1
61816181
react-native-markdown-display: ^7.0.2
61826182
react-native-reanimated: ~3.10.1
@@ -7813,13 +7813,13 @@ __metadata:
78137813
languageName: node
78147814
linkType: hard
78157815

7816-
"react-native-executorch@file:../../react-native-executorch-0.1.3.tgz::locator=llama%40workspace%3A.":
7817-
version: 0.1.3
7818-
resolution: "react-native-executorch@file:../../react-native-executorch-0.1.3.tgz::locator=llama%40workspace%3A."
7816+
"react-native-executorch@npm:0.1.0":
7817+
version: 0.1.0
7818+
resolution: "react-native-executorch@npm:0.1.0"
78197819
peerDependencies:
78207820
react: "*"
78217821
react-native: "*"
7822-
checksum: 14439532d24554c881de19e0a9501465dbcf3cf10da60f1b13954fc0b8c35356976f13feba48fd2db4e8e70f76e98a172fa5c6118c7f0da88fefa327009c52cd
7822+
checksum: b0ea4cbf6e7bf254ca5476a2711bbc62e72ff9b666f904a087a9199ddc702152c71acadf7c9ecdba3ee731ce5073261d9d8356d57f3ea861f032a7d793b568ed
78237823
languageName: node
78247824
linkType: hard
78257825

0 commit comments

Comments
 (0)